]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
DCIGETTEXT: Use getcwd, asprintf to construct absolute pathname
[thirdparty/glibc.git] / ChangeLog
1 2017-06-21 Florian Weimer <fweimer@redhat.com>
2
3 * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
4 asprintf to construct an absolute pathname.
5
6 2017-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7
8 * misc/tst-preadvwritev2-common.c: New file.
9 * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
10 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
11
12 2017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
13
14 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
15 annotation.
16 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
17
18 2017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
19
20 * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
21 hidden __GI__dl_argv symbol.
22
23 2017-06-21 Florian Weimer <fweimer@redhat.com>
24
25 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
26 to parse addresses with IPv6 scope IDs.
27
28 2017-06-21 Florian Weimer <fweimer@redhat.com>
29
30 Add the __inet_pton_length helper function.
31 * resolv/resolv-internal.h (__inet_pton_length): Declare.
32 * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
33 Add length argument.
34 (__inet_pton): New function.
35 (inet_pton4): Add length argument.
36 (hex_digit_value): New function.
37 (inet_pton6): Add length argument. Call hex_digit_value. Use
38 memmove and memset to fill :: gap.
39 * resolv/Makefile (tests, tsts-static, tests-internal): Add
40 tst-inet_pton.
41 * resolv/tst-inet_pton.c: New file.
42 * support/Makefile (libsupport-routines): Add xmprotect.
43 * support/xunistd.h (xmprotect): Declare.
44 * support/xmprotect.c: New file.
45
46 2017-06-21 Florian Weimer <fweimer@redhat.com>
47
48 Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
49 * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
50 (call_gai, check_ai): New functions.
51 (expect_failure, expect_success): Use them. Add logging.
52
53 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
54
55 * sysdeps/powerpc/powerpc64/multiarch/Makefile
56 (sysdep_routines): Add memchr_power8.
57 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58 (memchr): Add __memchr_power8 to list of memchr functions.
59 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
60 * sysdeps/powerpc/powerpc64/multiarch/memchr.c
61 (memchr): Add __memchr_power8 to ifunc list.
62 * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
63
64 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
65
66 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
67 (__llrintf): Define as strong alias of __llrint.
68 (llrintf): Define as weak alias of __llrint.
69 (__lrintf): Define as strong alias of __llrint.
70 (lrintf): Define as weak alias of __llrint.
71 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
72 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
73 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Remove file content.
74 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
75
76 2017-06-20 Zack Weinberg <zackw@panix.com>
77
78 * bits/signum-generic.h: Renamed from bits/signum.h.
79 Add proper multiple include guard and misuse check.
80 Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
81 Move definition of SIGIO to "archaic names for compatibility" section.
82 * bits/signum.h: New file which just includes bits/signum-generic.h.
83 * sysdeps/unix/bsd/bits/signum.h
84 * sysdeps/unix/sysv/linux/bits/signum.h
85 * sysdeps/unix/sysv/linux/alpha/bits/signum.h
86 * sysdeps/unix/sysv/linux/hppa/bits/signum.h
87 * sysdeps/unix/sysv/linux/mips/bits/signum.h
88 * sysdeps/unix/sysv/linux/sparc/bits/signum.h
89 Just include <bits/signum-generic.h> and then add or adjust
90 signal constants. Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
91
92 * signal/Makefile: Install bits/signum-generic.h.
93 * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
94
95 * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
96 universal. Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
97
98 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
99 * sysdeps/unix/sysv/linux/Makefile: Run it.
100
101 2017-06-20 Zack Weinberg <zackw@panix.com>
102
103 * locale/xlocale.h: Rename to...
104 * locale/bits/types/__locale_t.h: ...here. Adjust commentary.
105 Only define struct __locale_struct and __locale_t, not locale_t.
106 * locale/bits/types/locale_t.h: New file; define locale_t here.
107 * locale/Makefile (headers): Update to match.
108
109 * include/xlocale.h: Delete wrapper.
110 * include/bits/types/__locale_t.h: New wrapper.
111 * include/bits/types/locale_t.h: New wrapper.
112
113 * ctype/ctype.h, include/printf.h, include/time.h
114 * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
115 * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
116 * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
117 Correct outdated comments regarding the standardization status of
118 the functions that take locale_t arguments.
119
120 * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
121 * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
122 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
123 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
124 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
125 * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
126 Don't include xlocale.h. If necessary, include locale.h instead.
127
128 * stdlib/strtold_l.c: Unconditionally include wchar.h.
129
130 * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
131 * include/monetary.h, include/stdlib.h, include/time.h
132 * include/wchar.h, locale/duplocale.c, locale/freelocale.c
133 * locale/global-locale.c, locale/langinfo.h, locale/locale.h
134 * locale/localeinfo.h, locale/newlocale.c
135 * locale/nl_langinfo_l.c, locale/uselocale.c
136 * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
137 * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
138 * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
139 * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
140 * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
141 * string/strcasecmp.c, string/strcoll_l.c, string/string.h
142 * string/strings.h, string/strncase.c, string/strxfrm_l.c
143 * sysdeps/ieee754/float128/strtof128_l.c
144 * sysdeps/ieee754/float128/wcstof128.c
145 * sysdeps/ieee754/float128/wcstof128_l.c
146 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
147 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
148 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
149 * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
150 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
151 * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
152 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
153 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
154 * sysdeps/x86_64/strcasecmp_l-nonascii.c
155 * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
156 * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
157 * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
158 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
159 * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
160 * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
161 * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
162 * wctype/towctrans_l.c, wctype/wcfuncs_l.c
163 * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
164 Change all uses of __locale_t to locale_t.
165
166 2017-06-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
167
168 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
169 for !__OFF_T_MATCHES_OFF64_T.
170 * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
171 implementation based on open64.
172 * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
173 * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
174
175 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
176
177 * elf/dl-tunables.list: Move x86 specific tunables to ...
178 * sysdeps/x86/dl-tunables.list: Here. New file.
179
180 2017-06-20 Joseph Myers <joseph@codesourcery.com>
181
182 [BZ #21635]
183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
184 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
185 * conform/data/signal.h-data (uc_mcontext): XFAIL for
186 powerpc32-linux.
187 * conform/data/ucontext.h-data (uc_mcontext): Likewise.
188
189 [BZ #21634]
190 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
191 (conformtest-xfail-conds): New variable.
192 * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
193 * conform/data/ucontext.h-data (uc_sigmask): Likewise.
194
195 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
196
197 * benchtests/powf-inputs: Add reduced trace from wrf.
198
199 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
200 Erich Elsen <eriche@google.com>
201
202 * elf/dl-tunables.list (tune): Add ifunc,
203 x86_non_temporal_threshold,
204 x86_data_cache_size and x86_shared_cache_size.
205 * manual/tunables.texi: Document glibc.tune.ifunc,
206 glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
207 and glibc.tune.x86_non_temporal_threshold.
208 * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
209 * sysdeps/x86/cpu-tunables.c: Likewise.
210 * sysdeps/x86/cacheinfo.c
211 (init_cacheinfo): Check and get data cache size, shared cache
212 size and non temporal threshold from cpu_features.
213 * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
214 New.
215 [HAVE_TUNABLES] Include <unistd.h>.
216 [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
217 [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
218 [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
219 IFUNC selection, data cache size, shared cache size and non
220 temporal threshold.
221 * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
222 shared_cache_size and non_temporal_threshold.
223
224 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
225
226 * benchtests/README: Describe workload feature.
227 * benchtests/bench-skeleton.c (main): Add support for
228 benchmarking traces from workloads.
229
230 2017-06-20 Zack Weinberg <zackw@panix.com>
231
232 * string/string.h (__mempcpy_inline): Delete.
233 * sysdeps/x86_64/multiarch/mempcpy.c
234 * sysdeps/x86_64/multiarch/stpcpy.c:
235 Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
236 before including string.h.
237
238 2017-06-20 Paul A. Clarke <pc@us.ibm.com>
239
240 * benchtests/Makefile (bench-math): Add powf.
241 * benchtests/powf-inputs: New file.
242
243 2017-06-20 Zack Weinberg <zackw@panix.com>
244
245 * bits/string.h, string/bits/string.h
246 * sysdeps/aarch64/bits/string.h
247 * sysdeps/m68k/m680x0/m68020/bits/string.h
248 * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
249 * sysdeps/x86/bits/string.h: Delete file.
250
251 * string/string.h: Don't include bits/string.h.
252 * string/bits/string3.h: Rename to bits/string_fortified.h.
253 No need to undef various symbols that the removed headers
254 might have defined as macros.
255 * string/Makefile (headers): Remove bits/string.h, change
256 bits/string3.h to bits/string_fortified.h.
257 * string/string-inlines.c: Update commentary. Remove definitions
258 of various macros that nothing looks at anymore. Don't directly
259 include bits/string.h. Set _STRING_INLINE_unaligned here, based on
260 compiler-predefined macros.
261 * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
262 _is_ defined, provide internal hidden alias __strncat.
263 * include/string.h: Declare internal hidden alias __strncat.
264 Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
265 not defined.
266 * include/bits/string3.h: Rename to bits/string_fortified.h,
267 update to match above.
268
269 * sysdeps/i386/string-inlines.c: Define compat symbols for
270 everything formerly defined by sysdeps/x86/bits/string.h.
271 Make existing definitions into compat symbols as well.
272 Remove some no-longer-necessary messing around with macros.
273
274 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
275 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
276 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
277 * sysdeps/s390/multiarch/mempcpy.c
278 No need to define _HAVE_STRING_ARCH_mempcpy.
279 Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
280
281 * sysdeps/i386/i686/multiarch/strncat-c.c
282 * sysdeps/s390/multiarch/strncat-c.c
283 * sysdeps/x86_64/multiarch/strncat-c.c
284 Define STRNCAT_PRIMARY. Don't change definition of libc_hidden_def.
285
286 2017-06-20 Rical Jasan <ricaljasan@pacific.net>
287
288 * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
289 (LDBL_DIG): Likewise.
290 (LDBL_MIN_EXP): Likewise.
291 (LDBL_MIN_10_EXP): Likewise.
292 (LDBL_MAX_EXP): Likewise.
293 (LDBL_MAX_10_EXP): Likewise.
294 (LDBL_MAX): Likewise.
295 (LDBL_MIN): Likewise.
296 (LDBL_EPSILON): Likewise.
297 (FLT_ROUNDS): Change standard from ISO to C90.
298 (FLT_RADIX): Likewise.
299 (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
300 (FLT_DIG, DBL_DIG): Likewise.
301 (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
302 (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
303 (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
304 (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
305 (FLT_MAX, DBL_MAX): Likewise.
306 (FLT_MIN, DBL_MIN): Likewise.
307 (FLT_EPSILON, DBL_EPSILON): Likewise.
308
309 2017-06-19 Joseph Myers <joseph@codesourcery.com>
310
311 * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
312 [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
313 [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
314 * sysdeps/mips/math-tests.h
315 [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
316 conditional code.
317
318 2017-06-19 Florian Weimer <fweimer@redhat.com>
319
320 * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
321 It cannot change while __libc_setlocale_lock is acquired.
322
323 2017-06-19 Florian Weimer <fweimer@redhat.com>
324
325 * elf/rtld.c (audit_list_string): New variable.
326 (audit_list): Update comment.
327 (struct audit_list_iter): Define.
328 (audit_list_iter_init, audit_list_iter_next): New function.
329 (dl_main): Use struct audit_list_iter to process audit modules.
330 (process_dl_audit): Call dso_name_valid_for_suid.
331 (process_envvars): Set audit_list_string instead of calling
332 process_dl_audit.
333
334 2017-06-19 Florian Weimer <fweimer@redhat.com>
335
336 * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
337 (dso_name_valid_for_suid): New function.
338 (handle_ld_preload): Likewise.
339 (dl_main): Call it. Remove alloca.
340
341 2017-06-19 Joseph Myers <joseph@codesourcery.com>
342
343 [BZ #21625]
344 * posix/sys/wait.h (strust rusage forward declaration): Change
345 [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
346 !__USE_XOPEN2K].
347 (wait3): Likewise.
348
349 * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
350 * configure: Regenerated.
351 * manual/install.texi (Tools for Compilation): Document
352 requirement for GCC 4.9 or later.
353 * INSTALL: Regenerated.
354
355 2017-06-19 Florian Weimer <fweimer@redhat.com>
356
357 [BZ #21624]
358 CVE-2017-1000366
359 * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
360 __libc_enable_secure.
361
362 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
363
364 [BZ #21539]
365 * NEWS: Mention s390 ptrace request changes.
366 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
367 (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
368 PTRACE_SETFPREGS): Remove enum constant.
369 (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
370 Remove defines.
371 (PTRACE_SINGLEBLOCK): New enum constant.
372 (PT_STEPBLOCK): New define.
373 (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
374 PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
375 PTRACE_TE_ABORT_RAND): New enum constant and define.
376 * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
377 * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
378 New file.
379 * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
380
381 2017-06-16 Florian Weimer <fweimer@redhat.com>
382
383 * resolv/res_init.c (res_vinit_1): Use getline to read from the
384 configuration file.
385 (__res_vinit): Adjust.
386
387 2017-06-19 Florian Weimer <fweimer@redhat.com>
388
389 * resolv/res_init.c (res_vinit_1): New function.
390 (__res_vinit): Call it. Handle file open and memory allocation
391 failures.
392 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
393 erno from __res_maybe_init failure.
394 (_nss_dns_gethostbyname4_r): Likewise.
395 (_nss_dns_gethostbyaddr2_r): Likewise.
396 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
397 (_nss_dns_getnetbyaddr_r): Likewise.
398
399 2017-06-19 Florian Weimer <fweimer@redhat.com>
400
401 * resolv/res_init.c: Reformat to GNU style.
402
403 2017-06-19 Florian Weimer <fweimer@redhat.com>
404
405 * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
406 (is_sort_mask): New function.
407 (__res_vinit): Use it.
408
409 2017-06-19 Florian Weimer <fweimer@redhat.com>
410
411 * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
412 conditionals.
413
414 2017-06-19 Florian Weimer <fweimer@redhat.com>
415
416 * resolv/res-close.c: New file.
417 * resolv/res_init.c (__res_iclose, res_nclose)
418 (res_thread_freeres): Remove definitions.
419 * resolv/Makefile (routines): Add res-close.
420
421 2017-06-19 Florian Weimer <fweimer@redhat.com>
422
423 * resolv/res_randomid.c: New file.
424 * resolv/res_init.c (res_randomid): Remove definition.
425 * resolv/Makefile (routines): Add res_randomid.
426
427 2017-06-19 Florian Weimer <fweimer@redhat.com>
428
429 * include/resolv.h (__res_vinit): Declare as hidden.
430 * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
431 * resolv/res_libc.c (res_init): Likewise.
432
433 2017-06-19 Joseph Myers <joseph@codesourcery.com>
434
435 [BZ #21457]
436 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
437 _libc_xmmreg): Use __ctx in defining field.
438
439 [BZ #21597]
440 * signal/signal.h (siginterrupt): Make declaration conditional on
441 [__USE_XOPEN_EXTENDED || __USE_MISC].
442
443 [BZ #21584]
444 * signal/signal.h: Make includes of <bits/sigstack.h> and
445 <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
446 __USE_MISC].
447 (sigaltstack): Make declaration conditional on
448 [__USE_XOPEN_EXTENDED || __USE_MISC].
449
450 [BZ #21575]
451 * resource/bits/types/struct_rusage.h: New file.
452 * include/bits/types/struct_rusage.h: Likewise.
453 * bits/resource.h (struct rusage): Include
454 <bits/types/struct_rusage.h> instead of defining here.
455 * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
456 Likewise.
457 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
458 Likewise.
459 * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
460 Likewise.
461 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
462 Likewise.
463 * resource/Makefile (headers): Add bits/types/struct_rusage.h.
464 * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
465 Include <bits/types/struct_rusage.h>
466
467 2017-06-19 Florian Weimer <fweimer@redhat.com>
468
469 * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
470
471 2017-06-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
472
473 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
474
475 2017-06-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
476
477 * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
478
479 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
480
481 [BZ #21537]
482 * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
483 Check SHARED instead of PIC.
484 (SYSCALL_PIC_SETUP): Add missing semicolons.
485 * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
486 Check SHARED instead of PIC.
487 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
488 (__makecontext_ret): Adjust code to jump to exit.
489
490 2017-06-19 Christian Borntraeger <borntraeger@de.ibm.com>
491
492 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
493 Simplify code by always using SVC 0 instead of EX.
494 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
495
496 2017-06-16 H.J. Lu <hongjiu.lu@intel.com>
497
498 * elf/Versions (ld): Remove _dl_out_of_memory.
499
500 2017-06-16 Joseph Myers <joseph@codesourcery.com>
501
502 * timezone/private.h: Update from tzcode 2017b.
503 * timezone/tzfile.h: Likewise.
504 * timezone/tzselect.ksh: Likewise.
505 * timezone/zdump.c: Likewise.
506 * timezone/zic.c: Likewise.
507 * timezone/Makefile (tz-cflags): Add -D_ISOMAC
508 -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
509 * time/tzset.c (SECSPERDAY): New macro.
510
511 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
512
513 * manual/string.texi (strdup): Complete header and standards
514 annotation.
515 (strncpy): Likewise.
516
517 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
518
519 * manual/arith.texi (FP_NAN): Add or complete header and standard
520 annotations.
521 (FP_INFINITE): Likewise.
522 (FP_ZERO): Likewise.
523 (FP_SUBNORMAL): Likewise.
524 (FP_NORMAL): Likewise.
525 (SNAN): Likewise.
526 (SNANL): Likewise.
527 (totalorderf): Likewise.
528 (totalorderl): Likewise.
529 (totalordermagf): Likewise.
530 (totalordermagl): Likewise.
531 (_Complex_I): Likewise.
532 (I): Likewise.
533
534 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
535
536 * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
537 standard annotation.
538 (ARGP_HELP_SHORT_USAGE): Likewise.
539 (ARGP_HELP_SEE): Likewise.
540 (ARGP_HELP_LONG): Likewise.
541 (ARGP_HELP_PRE_DOC): Likewise.
542 (ARGP_HELP_POST_DOC): Likewise.
543 (ARGP_HELP_DOC): Likewise.
544 (ARGP_HELP_BUG_ADDR): Likewise.
545 (ARGP_HELP_LONG_ONLY): Likewise.
546 (ARGP_HELP_EXIT_ERR): Likewise.
547 (ARGP_HELP_EXIT_OK): Likewise.
548 (ARGP_HELP_STD_ERR): Likewise.
549 (ARGP_HELP_STD_USAGE): Likewise.
550 (ARGP_HELP_STD_HELP): Likewise.
551
552 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
553
554 * manual/Makefile: Generate summary.texi with summary.pl. Force
555 use of the C locale. Update Perl dependency comment.
556 * manual/header.texi: Update reference to summary.awk.
557 * manual/macros.texi: Refer authors to `summary.pl --help'.
558 * manual/summary.awk: Remove file.
559 * manual/summary.pl: New file. Generate summary.texi, and check
560 for @standards-related syntax errors.
561 * manual/argp.texi: Convert header and standards @comments to
562 @standards.
563 * manual/arith.texi: Likewise.
564 * manual/charset.texi: Likewise.
565 * manual/conf.texi: Likewise.
566 * manual/creature.texi: Likewise.
567 * manual/crypt.texi: Likewise.
568 * manual/ctype.texi: Likewise.
569 * manual/debug.texi: Likewise.
570 * manual/errno.texi: Likewise.
571 * manual/filesys.texi: Likewise.
572 * manual/getopt.texi: Likewise.
573 * manual/job.texi: Likewise.
574 * manual/lang.texi: Likewise.
575 * manual/llio.texi: Likewise.
576 * manual/locale.texi: Likewise.
577 * manual/math.texi: Likewise.
578 * manual/memory.texi: Likewise.
579 * manual/message.texi: Likewise.
580 * manual/pattern.texi: Likewise.
581 * manual/pipe.texi: Likewise.
582 * manual/process.texi: Likewise.
583 * manual/resource.texi: Likewise.
584 * manual/search.texi: Likewise.
585 * manual/setjmp.texi: Likewise.
586 * manual/signal.texi: Likewise.
587 * manual/socket.texi: Likewise.
588 * manual/startup.texi: Likewise.
589 * manual/stdio.texi: Likewise.
590 * manual/string.texi: Likewise.
591 * manual/sysinfo.texi: Likewise.
592 * manual/syslog.texi: Likewise.
593 * manual/terminal.texi: Likewise.
594 * manual/threads.texi: Likewise.
595 * manual/time.texi: Likewise.
596 * manual/users.texi: Likewise.
597
598 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
599
600 * manual/macros.texi (@standards): New macro. Provide placeholder
601 for header and standards annotations.
602 (@standardsx): New macro. Likewise, for lists of @*x elements.
603
604 2017-06-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
605
606 * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
607 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
608 rule.
609 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
610 sync_file_range.
611
612 * support/support_test_main.c (support_test_main): Use optstring
613 member for option string in getopt_long.
614 * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
615 (CMDLINE_OPTSTRING): New define.
616 * support/test-driver.h (test_config): Add optstring member.
617
618 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
619
620 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
621 strcspn-sse2, strpbrk-sse2 and strspn-sse2.
622 * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
623 Check USE_AS_STRPBRK instead of STRPBRK_P.
624 * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
625 * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
626 * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
627 * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
628 * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
629 * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
630 * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
631 * sysdeps/x86_64/multiarch/strspn.c: Likewise.
632 * sysdeps/x86_64/multiarch/strcspn.S: Removed.
633 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
634 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
635 * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
636 and "#endif".
637
638 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
639
640 * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
641 * sysdeps/x86_64/multiarch/wcscpy.c: New file.
642
643 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
644
645 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
646 strcat-sse2.
647 * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
648 * sysdeps/x86_64/multiarch/strcat.c: Likewise.
649 * sysdeps/x86_64/multiarch/strncat.c: Likewise.
650 * sysdeps/x86_64/multiarch/strcat.S: Removed.
651 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
652
653 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
654 Erich Elsen <eriche@google.com>
655
656 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
657 memcmp-sse2.
658 * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
659 * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
660 * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
661 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
662 * sysdeps/x86_64/multiarch/memcmp.S: Removed.
663 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
664
665 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
666 Erich Elsen <eriche@google.com>
667
668 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
669 memset-sse2-unaligned-erms, and memset_chk-nonshared.
670 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
671 (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
672 Update comments.
673 * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
674 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
675 * sysdeps/x86_64/multiarch/memset.c: Likewise.
676 * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
677 * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
678 * sysdeps/x86_64/multiarch/memset.S: Removed.
679 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
680 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
681 (__memset_chk_erms): New function.
682
683 2017-06-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
684
685 * configure.ac(--enable-tunables): Enable by default.
686 * configure: Regenerate.
687 * NEWS: Mention change.
688 * manual/install.texi (enable-tunables): Adjust documentation.
689 * INSTALL: Regenerate.
690
691 2017-06-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
692
693 [BZ #18988]
694 * benchtests/thread_create-inputs: New file.
695 * benchtests/thread_create-source.c: Likewise.
696 * support/xpthread_attr_setguardsize.c: Likewise.
697 * support/Makefile (libsupport-routines): Add
698 xpthread_attr_setguardsize object.
699 * support/xthread.h: Add xpthread_attr_setguardsize prototype.
700 * benchtests/Makefile (bench-pthread): Add thread_create.
701 * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
702 then mprotect the required area.
703 (guard_position): New function.
704 (setup_stack_prot): Likewise.
705
706 2017-06-14 H.J. Lu <hongjiu.lu@intel.com>
707 Erich Elsen <eriche@google.com>
708 Adhemerval Zanella <adhemerval.zanella@linaro.org>
709
710 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
711 memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
712 mempcpy_chk-nonshared and memmove_chk-nonshared.
713 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
714 (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
715 __memcpy_chk_erms and __mempcpy_chk_erms. Update comments.
716 * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
717 * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
718 * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
719 * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
720 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
721 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
722 * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
723 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
724 * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
725 * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
726 * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
727 * sysdeps/x86_64/multiarch/memcpy.S: Removed.
728 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
729 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
730 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
731 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
732 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
733 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
734 (__mempcpy_chk_erms): New function.
735 (__memmove_chk_erms): Likewise.
736 (__memcpy_chk_erms): New alias.
737
738 2017-06-14 Florian Weimer <fweimer@redhat.com>
739
740 * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
741 * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
742
743 2017-06-14 Zack Weinberg <zackw@panix.com>
744
745 * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
746 Reorganize file. Declare errno here. When __ASSEMBLER__ is
747 defined, don't declare anything other than the E-constants.
748
749 * include/errno.h: Change conditional for exposing internal
750 declarations to (not _ISOMAC and not __ASSEMBLER__).
751 * bits/errno.h: Remove logic for __need_Emath. Document
752 requirements for a port-specific bits/errno.h.
753
754 * sysdeps/unix/sysv/linux/bits/errno.h
755 * sysdeps/unix/sysv/linux/alpha/bits/errno.h
756 * sysdeps/unix/sysv/linux/hppa/bits/errno.h
757 * sysdeps/unix/sysv/linux/mips/bits/errno.h
758 * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
759 Add multiple-include guard and check against improper inclusion.
760 Remove __need_Emath logic. Don't declare errno here. Ensure all
761 constants are defined as simple integer literals. Consistent
762 formatting.
763 * sysdeps/mach/hurd/errnos.awk: Likewise. Only define error_t and
764 enum __error_t_codes if __ASSEMBLER__ is not defined.
765 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
766
767 * argp/argp.h, string/argz.h: Don't define __need_error_t before
768 including errno.h.
769 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
770 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
771 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
772 * sysdeps/x86_64/fpu/s_cosf.S
773 * sysdeps/x86_64/fpu/s_sincosf.S
774 * sysdeps/x86_64/fpu/s_sinf.S:
775 Just include errno.h; don't define __need_Emath or include
776 bits/errno.h directly.
777
778 2017-06-14 Zack Weinberg <zackw@panix.com>
779
780 * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
781 * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
782 * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
783
784 * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
785 for IOV_MAX.
786 * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
787 Don't install bits/uio.h.
788 * misc/sys/uio.h: Don't include bits/uio.h. Do include
789 bits/types/struct_iovec.h and bits/uio_lim.h. Set UIO_MAXIOV
790 based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
791
792 * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
793 and __need_IOV_MAX. Don't define IOV_MAX at all.
794 * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
795
796 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
797 Include bits/types/struct_iovec.h, not bits/uio.h.
798 Use __ssize_t, not ssize_t, in function prototypes.
799 Don't use hard TAB for double space after period in comments.
800
801 2017-06-14 Alan Modra <amodra@gmail.com>
802
803 * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
804 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
805 refsym and sym parameters. Adjust callers.
806 * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
807 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
808 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
809 * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
810 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
811 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
812 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
813 * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
814 * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
815 * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
816 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
817 Likewise.
818 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
819 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
820 * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
821 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
822 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
823 * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
824 * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
825 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
826 (_dl_reloc_overflow): Increase buffser size. Formatting.
827 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
828 Delete reloc param, add refsym and sym. Check optimized plt
829 call stubs for localentry:0 functions. Adjust callers.
830 (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
831 and sym parameters. Adjust callers.
832 (_dl_reloc_overflow): Move attribute.
833 (_dl_error_localentry): Declare.
834 * elf/dl-runtime.c (_dl_fixup): Save original sym. Pass
835 refsym and sym to elf_machine_fixup_plt.
836 * elf/testobj6.c (preload): Call printf.
837
838 2017-06-14 Alan Modra <amodra@gmail.com>
839
840 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
841 (NOPS, ENTRY_3): New macros.
842 (ENTRY): Rewrite.
843 (ENTRY_TOCLESS): Define.
844 (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
845 EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
846 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
847 * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
848 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
849 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
850 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
851 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
852 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
853 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
854 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
855 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
856 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
857 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
858 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
859 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
860 * sysdeps/powerpc/powerpc64/memset.S: Likewise.
861 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
862 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
863 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
864 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
865 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
866 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
867 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
868 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
869 * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
870 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
871 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
872 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
873 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
874 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
875 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
876 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
877 * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
878 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
879 * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
880 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
881 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
882 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
883 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
884 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
885 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
886 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
887 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
888 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
889 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
890 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
891 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
892 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
893 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
894 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
895 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
896 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
897 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
898 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
899 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
900 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
901 * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
902 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
903 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
904 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
905 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
906 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
907 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
908 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
909 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
910 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
911 Likewise.
912 * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
913 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
914 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
915 * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
916 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
917 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
918 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
919 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
920 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
921 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
922 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
923 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
924 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
925 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
926 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
927 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
928 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
929 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
930 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
931 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
932 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
933 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
934 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
935 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
936 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
937 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
938 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
939 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
940 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
941 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
942 * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier. Don't
943 add nop when SHARED.
944 * sysdeps/powerpc/powerpc64/start.S: Fix comment.
945 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
946 define.
947 (ENTRY_TOCLESS): Define.
948 * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
949 * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
950 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
951
952 2017-06-14 Alan Modra <amodra@gmail.com>
953
954 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
955 MEMSET_is_local.
956 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
957 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
958 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
959 Define MEMSET.
960 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
961 STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
962 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise. Don't add
963 nop after local calls.
964 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
965 Don't add nop after local call.
966 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise. Add missing
967 CALL_MCOUNT.
968
969 2017-06-14 Alan Modra <amodra@gmail.com>
970
971 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
972 (FUNC_LABEL): Rename from DOT_LABEL.
973 (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
974 Use .p2align rather than .align.
975 (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
976 (ABORT_TRANSACTION): Likewise.
977 (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
978 particularly at end. Add semicolon at invocation as necessary.
979 (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
980 (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
981 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
982 END): Adjust to suit.
983
984 2017-06-14 Alan Modra <amodra@gmail.com>
985
986 * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
987 FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
988 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
989 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
990 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
992 uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
993
994 2017-06-14 Alan Modra <amodra@gmail.com>
995
996 * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
997 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
998
999 2017-06-13 Gordana Cmiljanovic <gordana.cmiljanovic@imgtec.com>
1000
1001 [BZ #21548]
1002 * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
1003 8 and use it when copying general purpose registers.
1004 * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
1005 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
1006 mips o32.
1007 * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
1008 new test for mips o32.
1009 * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
1010 8 and use it when copying general purpose registers.
1011 * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
1012
1013 2017-06-13 Florian Weimer <fweimer@redhat.com>
1014
1015 * configure.ac (find_cxx_header): Suppress compiler error message.
1016
1017 2017-06-13 Florian Weimer <fweimer@redhat.com>
1018
1019 * malloc/dynarray-skeleton.c: List begin/end as defined functions.
1020 (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
1021 * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
1022 begin/end.
1023 * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
1024 dynarray_int_end.
1025 (test_str): Test dynarray_str_begin, dynarray_str_end.
1026
1027 2017-06-13 H.J. Lu <hongjiu.lu@intel.com>
1028
1029 [BZ #21573]
1030 * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
1031 $(common-objpfx)bits/std_abs.h.
1032 [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
1033 New target.
1034 * config.make.in (c++-bits-std_abs-h): New.
1035 * configure.ac (find_cxx_header): Use "\,$1," with sed.
1036 (CXX_BITS_STD_ABS_H): New.
1037 (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
1038 * configure: Regenerated.
1039
1040 2017-06-13 Zack Weinberg <zackw@panix.com>
1041
1042 * posix/bits/cpu-set.h: Correct indentation of preprocessor
1043 directives.
1044
1045 2017-06-12 Zack Weinberg <zackw@panix.com>
1046
1047 * bits/sched.h: Remove __need_schedparam logic and replace with a
1048 normal multiple-include guard. Change field name in struct
1049 sched_param from __sched_priority to sched_priority. Delete
1050 everything under #ifndef __cpu_set_t_defined.
1051 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. Also sync with
1052 kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
1053
1054 * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
1055 For compatibility, #define sched_priority to itself, and #define
1056 __sched_priority as sched_priority.
1057 * posix/bits/cpu-set.h: New file containing, verbatim, the code
1058 that was under #ifndef __cpu_set_t_defined in
1059 sysdeps/unix/sysv/linux/bits/sched.h.
1060 * include/bits/cpu-set.h: New wrapper.
1061 * posix/Makefile: Install bits/cpu-set.h.
1062
1063 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1064 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1065 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1066
1067 * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
1068 (%all_floats_pfx): Add macro prefix for float128 (FLT128).
1069 * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
1070 * math/libm-test-isfinite.inc (finite_test): Likewise.
1071 * math/libm-test-lgamma.inc (gamma_test): Likewise.
1072 * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
1073 (nexttoward_test_data}: Likewise.
1074 * math/libm-test-remainder.inc (drem_test): Likewise.
1075 * math/libm-test-scalb.inc (scalb_test): Likewise.
1076 (scalb_test_data): Likewise.
1077 * math/libm-test-significand.inc (significand_test): Likewise.
1078 (significand_test_data): Likewise.
1079 * math/libm-test-support.c (check_complex): Replace __complex__
1080 FLOAT with CFLOAT to get the support for old compiler.
1081 * math/libm-test-support.h (check_complex): Likewise.
1082 * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
1083 * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
1084 * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
1085 * math/test-float128.h: New file.
1086 * math/test-math-floatn.h: New file.
1087
1088 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1089
1090 * include/float.h: Allow the definition of macros prefixed with
1091 FLT128 even if _ISOMAC is defined, but provided that
1092 __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
1093
1094 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1095
1096 * manual/math.texi (Mathematics): Add description for _FloatN and
1097 _FloatNx types and mentions that they are not support in glibc for
1098 any architecture, so far.
1099 * manual/arith.texi (wcstof, wcstold): Replace the mention to
1100 stdlib.h with wchar.h.
1101 (Parsing of Floats): Add descriptions for strtofN and wcstofN.
1102 (Printing of Floats): Add description for strfromfN.
1103
1104 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1105 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1106 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1107
1108 * include/gmp.h (__mpn_construct_float128): New declaration.
1109 * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
1110 (__strtof128_l): New declaration.
1111 (__strtof128_nan): Likewise.
1112 (__wcstof128_nan): Likewise.
1113 (__strtof128_internal): Likewise.
1114 (____strtof128_l_internal): Likewise.
1115 * include/wchar.h: Include bits/floatn.h for _Float128 tests.
1116 (__wcstof128_l): New declaration.
1117 (__wcstof128_internal): Likewise.
1118
1119 * stdlib/Makefile (bug-strtod2): Link libm too.
1120
1121 * stdlib/stdlib.h (strtof128): New declaration.
1122 (strtof128_l): Likewise.
1123
1124 * stdlib/tst-strtod-nan-locale-main.c: Updated to use
1125 tst-strtod.h macros to ensure float128 gets tested too.
1126
1127 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
1128
1129 * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
1130 tests.
1131 (IF_FLOAT128): New macro.
1132 (GEN_TEST_STRTOD): Update to optionally include _Float128 in
1133 the tests.
1134 (STRTOD_TEST_FOREACH): Likewise.
1135
1136 * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
1137 wcstof128 functions into libc.
1138
1139 * sysdeps/ieee754/float128/Versions: Add exports for the above
1140 new functions.
1141
1142 * sysdeps/ieee754/float128/mpn2float128.c: New file.
1143 * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
1144 * sysdeps/ieee754/float128/strtof128.c: New file.
1145 * sysdeps/ieee754/float128/strtof128_l.c: New file.
1146 * sysdeps/ieee754/float128/strtof128_nan.c: New file.
1147 * sysdeps/ieee754/float128/wcstof128.c: New file.
1148 * sysdeps/ieee754/float128/wcstof128_l.c: New file.
1149 * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
1150 * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
1151 (CFLAGS-wcstof128_l): Likewise.
1152
1153 * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
1154 (wcstof128): New declaration.
1155 (wcstof128_l): Likewise.
1156
1157 2017-06-12 Joseph Myers <joseph@codesourcery.com>
1158
1159 [BZ #21552]
1160 * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
1161 not [__USE_XOPEN].
1162 * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
1163
1164 [BZ #21550]
1165 * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
1166
1167 2017-06-12 H.J. Lu <hongjiu.lu@intel.com>
1168
1169 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1170 strcpy-sse2 and stpcpy-sse2.
1171 * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
1172 * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
1173 * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
1174 * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
1175 * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
1176 * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
1177 * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
1178 * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
1179 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
1180 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1181 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
1182 * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
1183 (libc_hidden_def): Always defined as empty.
1184 * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
1185 Always Defined as empty.
1186
1187 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1188
1189 * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
1190
1191 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1192
1193 [BZ #15105]
1194 [BZ #19463]
1195 * include/string.h: Add internal redirect for __stpcpy.
1196 * string/Makefile: Remove bits/string2.h.
1197 * string/string.h: Update comment.
1198 * string/string-inlines.c: Remove bits/string2.h include and comment.
1199 * string/bits/string2.h: Remove file.
1200
1201 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1202
1203 * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
1204 * sunrpc/clnt_gen.c (clnt_create): Likewise.
1205 * sunrpc/des_impl.c (_des_crypt): Likewise.
1206 * sunrpc/key_call.c (key_gendes): Likewise.
1207 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1208 * sunrpc/svc_simple.c (universal): Likewise.
1209 * sunrpc/svc_tcp.c (svctcp_create): Likewise.
1210 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1211 * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
1212
1213 2017-06-10 Zack Weinberg <zackw@panix.com>
1214
1215 * stdlib/errno.h: Correct an outdated comment.
1216
1217 2017-06-09 Paul A. Clarke <pc@us.ibm.com>
1218
1219 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
1220 Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
1221 CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
1222 * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
1223 New file. Invoke newly supported sysconf values for powerpc,
1224 and report results. If none are supported, report so.
1225 * sysdeps/unix/sysv/linux/powerpc/Makefile (tests): Add new test,
1226 tst-sysconf.
1227
1228 2017-06-09 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1229
1230 * include/sys/auxv.h (__getauxval): Add a prototype and its
1231 libc_hidden_proto.
1232 * misc/getauxval.c (__getauxval): Use libc_hidden_def.
1233
1234 2017-06-09 Joseph Myers <joseph@codesourcery.com>
1235
1236 [BZ #21561]
1237 * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
1238 [__USE_XOPEN_EXTENDED].
1239 (id_t): Likewise.
1240 (include of <bits/types/siginfo_t.h): Likewise.
1241 (waitid): Likewise.
1242 * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
1243 on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
1244 (WEXITED): Likewise.
1245 (WCONTINUED): Likewise.
1246 (WNOWAIT): Likewise.
1247 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
1248 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1249 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1250
1251 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
1252 libc.so PLT entry optional.
1253 (__gtsf2): Likewise.
1254 (__unorddf2): Likewise.
1255 (__unordsf2): Likewise.
1256 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
1257 New optional libc.so PLT entry.
1258
1259 [BZ #21554]
1260 * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
1261 not [__USE_XOPEN].
1262
1263 [BZ #21560]
1264 * posix/sys/wait.h: Condition include of <signal.h> on
1265 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]. Include <bits/types.h>
1266 unconditionally.
1267 [!__pid_t_defined] (pid_t): Define typedef.
1268
1269 2017-06-09 Zack Weinberg <zackw@panix.com>
1270
1271 * include/errno.h (__errno_location): Use __attribute_const__
1272 instead of bare __attribute__.
1273
1274 2017-06-09 Zack Weinberg <zackw@panix.com>
1275
1276 * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
1277 (common-generated): Add libc-modules.h and libc-modules.stmp in a
1278 more appropriate location. Also add dl-tunable-list.h and
1279 dl-tunable-list.stmp.
1280
1281 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
1282
1283 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
1284
1285 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
1286
1287 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1288 strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
1289 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1290 (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
1291 __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
1292 * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
1293 * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
1294 * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
1295 * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
1296 * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
1297 * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
1298
1299 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
1300
1301 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1302 memrchr-sse2 and memrchr-avx2.
1303 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1304 (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
1305 __memrchr_sse2.
1306 * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
1307 * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
1308 * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
1309
1310 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
1311
1312 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1313 strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
1314 wcschr-sse2 and wcschr-avx2.
1315 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1316 (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
1317 __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
1318 __wcschr_sse2.
1319 * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
1320 * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
1321 * sysdeps/x86_64/multiarch/strchr.c: Likewise.
1322 * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
1323 * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
1324 * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
1325 * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
1326 * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
1327 * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
1328 * sysdeps/x86_64/multiarch/strchr.S: Removed.
1329
1330 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
1331
1332 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1333 strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
1334 wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
1335 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1336 (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
1337 __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
1338 __wcslen_sse2 and __wcsnlen_avx2.
1339 * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
1340 * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
1341 * sysdeps/x86_64/multiarch/strlen.c: Likewise.
1342 * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
1343 * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
1344 * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
1345 * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
1346 * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
1347 * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
1348 * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
1349 * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
1350 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
1351 vzeroupper is preferred and AVX unaligned load is fast.
1352
1353 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
1354
1355 * sysdeps/x86_64/memchr.S (MEMCHR): New. Depending on if
1356 USE_AS_WMEMCHR is defined.
1357 (PCMPEQ): Likewise.
1358 (memchr): Renamed to ...
1359 (MEMCHR): This. Support wmemchr if USE_AS_WMEMCHR is defined.
1360 Replace pcmpeqb with PCMPEQ.
1361 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1362 memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
1363 wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
1364 * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
1365 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1366 * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
1367 * sysdeps/x86_64/multiarch/memchr.c: Likewise.
1368 * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
1369 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
1370 * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
1371 * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
1372 * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
1373 * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
1374 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1375 (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
1376 __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
1377 __wmemchr_sse2.
1378
1379 2017-06-09 Florian Weimer <fweimer@redhat.com>
1380
1381 * malloc/Makefile (test-srcs): Remove tst-dynarray,
1382 tst-dynarray-fail.
1383
1384 2017-06-09 Florian Weimer <fweimer@redhat.com>
1385
1386 Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
1387 * support/support_test_verify_impl.c
1388 (support_test_verify_exit_impl): Split from
1389 support_test_verify_impl.
1390 * support/check.h (TEST_VERIFY): Drop status argument from
1391 support_test_verify_impl call.
1392 (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
1393 (support_test_verify_impl): Remove status argument.
1394 (support_test_verify_exit_impl): Declare.
1395
1396 2017-06-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
1397
1398 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
1399 mention of magic numbers in comments.
1400 (_dl_procinfo): Fix undefined behavior
1401
1402 2017-06-08 Joseph Myers <joseph@codesourcery.com>
1403
1404 * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
1405 [XPG4].
1406 (WEXITED): Likewise.
1407 (WSTOPPED): Likewise.
1408 (WCONTINUED): Likewise.
1409 (WNOHANG): Likewise.
1410 (WNOWAIT): Likewise.
1411 (idtype_t): Likewise.
1412 (P_ALL): Likewise.
1413 (P_PID): Likewise.
1414 (P_PGID): Likewise.
1415 (id_t): Likewise.
1416 (siginfo_t): Likewise.
1417 (wait3): Likewise.
1418 (waitid): Likewise.
1419 (signal.h): Do not allow header for [XPG4].
1420 (sys/resource.h): Likewise.
1421 (si_*): Do not allow for [XPG4].
1422 (W*): Likewise.
1423 (P_*): Likewise.
1424 (BUS_): Likewise.
1425 (CLD_): Likewise.
1426 (FPE_): Likewise.
1427 (ILL_): Likewise.
1428 (POLL_): Likewise.
1429 (SEGV_): Likewise.
1430 (SI_): Likewise.
1431 (TRAP_): Likewise.
1432 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
1433 variable.
1434
1435 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
1436
1437 [BZ #21528]
1438 * elf/dl-minimal.c (__strtoul_internal): Removed.
1439 (strtoul): Likewise.
1440 * elf/dl-misc.c (_dl_strtoul): New function.
1441 * elf/dl-tunables.c (tunables_strtoul): Removed.
1442 (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
1443 * elf/rtld.c (process_envvars): Likewise.
1444 * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
1445 Likewise.
1446 * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
1447
1448 2017-06-08 Zack Weinberg <zackw@panix.com>
1449
1450 * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
1451 * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
1452 * wcsmbs/bits/types/wint_t.h: New single-type definition files.
1453 * wctype/bits/wctype-wchar.h: New file holding declarations shared
1454 between wctype.h and wchar.h.
1455
1456 * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
1457 Install them.
1458
1459 * include/bits/types/FILE.h, include/bits/types/__FILE.h
1460 * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
1461 * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
1462 New wrappers.
1463 * include/stdio.h, include/wchar.h, include/wctype.h:
1464 No need to handle __need macros.
1465
1466 * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
1467 * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
1468 * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
1469 * wcsmbs/wchar.h, wctype/wctype.h
1470 * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
1471 Use the new files instead of __need macros.
1472
1473 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
1474
1475 * string/test-memrchr.c (test_main): Add tests for len == 0
1476 and tests for positions close to the beginning, which are
1477 equivalent to positions close to the end for memchr.
1478
1479 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
1480
1481 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
1482 comments.
1483 * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
1484 instead of wmemset.h.
1485 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
1486 * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
1487 * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
1488
1489 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1490
1491 * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
1492 spec->info.is_binary128 to zero.
1493 * stdio-common/printf.h (printf_info): Add new member is_binary128
1494 to indicate that the number being converted to string is compatible
1495 with the IEC 60559 binary128 format.
1496 * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
1497 _Float128 numbers.
1498 * stdio-common/printf_fphex.c: Include ieee754_float128.h and
1499 ldbl-128/printf_fphex_macros.h
1500 (__printf_fphex): Add code to deal with _Float128 numbers.
1501 * stdio-common/printf_size.c (__printf_size): Likewise.
1502 * stdio-common/vfprintf.c (process_arg): Initialize member
1503 info.is_binary128 to zero.
1504 * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
1505 * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
1506 (strfromf128): New declaration.
1507 * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
1508 to one.
1509 * sysdeps/ieee754/float128/Makefile: Add strfromf128.
1510 * sysdeps/ieee754/float128/Versions: Likewise.
1511 * sysdeps/ieee754/float128/strfromf128.c: New file.
1512
1513 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1514
1515 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
1516 ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
1517 (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
1518 * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
1519 (PRINT_FPHEX): New function-like macro that can be used for long
1520 double, as well as for _Float128
1521
1522 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1523
1524 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
1525 (__printf_fp_l): Use the new macro to avoid duplicating code.
1526 * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
1527 (__printf_fphex): Use the new macro to avoid duplicating code.
1528 * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
1529 (__printf_size): Use the new macro to avoid duplicating code.
1530
1531 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1532
1533 * include/gmp.h: Include bits/floatn.h
1534 (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
1535 * stdlib/gmp-impl.h: Also check if alloca is not defined before
1536 including stack-alloc.h. It could have been defined by other header
1537 which not necessarily defines HAVE_ALLOCA.
1538 * sysdeps/ieee754/float128/Makefile: New file.
1539 * sysdeps/ieee754/float128/float1282mpn.c: New file.
1540 * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
1541 redefining __mpn_extract_long_double to __mpn_extract_float128, then
1542 redefine __mpn_extract_long_double to __mpn_extract_float128.
1543 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
1544 _Float128 to allow float128_private.h overrides.
1545
1546 2017-06-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1547
1548 * stdlib/fpioconst.h: Include bits/floatn.h.
1549 (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
1550 power of ten table should be.
1551 (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
1552 * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
1553 to include larger tables when _Float128 support is enabled.
1554 (_fpioconst_pow10): Likewise.
1555
1556 2017-06-07 Joseph Myers <joseph@codesourcery.com>
1557
1558 * include/bits/types/clock_t.h: Use #include <path> instead of
1559 #include "../../path".
1560 * include/bits/types/clockid_t.h: Likewise.
1561 * include/bits/types/struct_iovec.h: Likewise.
1562 * include/bits/types/struct_itimerspec.h: Likewise.
1563 * include/bits/types/struct_osockaddr.h: Likewise.
1564 * include/bits/types/struct_sigstack.h: Likewise.
1565 * include/bits/types/struct_timespec.h: Likewise.
1566 * include/bits/types/struct_timeval.h: Likewise.
1567 * include/bits/types/struct_tm.h: Likewise.
1568 * include/bits/types/time_t.h: Likewise.
1569 * include/bits/types/timer_t.h: Likewise.
1570
1571 [BZ #14096]
1572 * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
1573 America/New_York.
1574
1575 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
1576
1577 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
1578 into ...
1579 * sysdeps/x86_64/multiarch/wcsnlen.c: Here. Don't include
1580 ifunc-sse4_1.h.
1581
1582 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
1583
1584 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
1585 Remove check for NULL 'buf'.
1586 * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
1587
1588 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
1589
1590 * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
1591 include test-skeleton.c.
1592 Include support/check.h and support/test-driver.c.
1593
1594 2017-06-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
1595
1596 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
1597 (_dl_aarch64_cap_flags): New array.
1598 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
1599 (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
1600 functions.
1601
1602 * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
1603 * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
1604 Likewise.
1605 * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
1606 up hwcap and hwcap_mask.
1607
1608 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
1609 (init_cpu_features): Use glibc.tune.hwcap_mask.
1610 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
1611
1612 * elf/dl-hwcaps.h: New file.
1613 * elf/dl-hwcaps.c: Include it.
1614 (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
1615 glibc.tune.hwcap_mask.
1616 * elf/dl-cache.c: Include dl-hwcaps.h.
1617 (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
1618 glibc.tune.hwcap_mask.
1619 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1620 * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
1621 _dl_hwcap_mask.
1622 * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
1623 _dl_hwcap_mask.
1624 (process_envvars)[HAVE_TUNABLES]: Likewise.
1625 * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
1626 Likewise.
1627 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
1628 initialize dl_hwcap_mask when tunables are enabled.
1629
1630 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
1631 guard.
1632 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1633
1634 * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
1635 * scripts/gen-tunables.awk: Include dl-procinfo.h.
1636 * manual/tunables.texi: Document glibc.tune.hwcap_mask.
1637
1638 * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
1639 * elf/dl-tunables.c: Likewise.
1640 (do_tunable_update_val): New function.
1641 (__tunable_set_val): New function.
1642 (__tunable_get_val): Call CB only if the tunable was externally
1643 initialized.
1644 (tunables_strtoul): Replace strval with initialized.
1645 * elf/dl-tunables.h (strval): Replace with a bool initialized.
1646 (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
1647 prevent collision.
1648 (__tunable_set_val): New function.
1649 (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
1650 (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
1651 (TUNABLE_SET_VAL): Remove.
1652 (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
1653 * README.tunables: Document the new macros.
1654 * malloc/arena.c (ptmalloc_init): Adjust.
1655
1656 2017-06-06 H.J. Lu <hongjiu.lu@intel.com>
1657
1658 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1659 wcsnlen-sse4_1 and wcsnlen-c.
1660 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1661 (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
1662 __wcsnlen_sse2.
1663 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
1664 * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
1665 * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
1666 * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
1667 * sysdeps/x86_64/wcsnlen.S: Removed.
1668
1669 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
1670
1671 * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
1672 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
1673 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
1674 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
1675
1676 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
1677
1678 * NEWS: Mention new spinlock implementation.
1679 * include/atomic.h:
1680 (__atomic_val_bysize): Cast type to omit volatile qualifier.
1681 (atomic_exchange_acq): Likewise.
1682 (atomic_load_relaxed): Likewise.
1683 (ATOMIC_EXCHANGE_USES_CAS): Check definition.
1684 * nptl/pthread_spin_init.c (pthread_spin_init):
1685 Use atomic_store_relaxed.
1686 * nptl/pthread_spin_lock.c (pthread_spin_lock):
1687 Use C11-like atomic macros.
1688 * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1689 Likewise.
1690 * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
1691 Use atomic_store_release.
1692 * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
1693 * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
1694 * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
1695 * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
1696 * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
1697 * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
1698 * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
1699 * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
1700 * sysdeps/alpha/atomic-machine.h: Likewise.
1701 * sysdeps/arm/atomic-machine.h: Likewise.
1702 * sysdeps/i386/atomic-machine.h: Likewise.
1703 * sysdeps/ia64/atomic-machine.h: Likewise.
1704 * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
1705 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
1706 * sysdeps/microblaze/atomic-machine.h: Likewise.
1707 * sysdeps/mips/atomic-machine.h: Likewise.
1708 * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
1709 * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
1710 * sysdeps/s390/atomic-machine.h: Likewise.
1711 * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
1712 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
1713 * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
1714 * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
1715 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
1716 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
1717 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
1718 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
1719 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
1720 * sysdeps/x86_64/atomic-machine.h: Likewise.
1721
1722 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
1723
1724 * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
1725 and use it instead of dl_x86_cpu_features.
1726 (handle_intel): Replace maxidx with cpu_features. Pass
1727 cpu_features to intel_check_word.
1728 (__cache_sysconf): Pass cpu_features to handle_intel.
1729 (init_cacheinfo): Likewise. Use cpu_features instead of
1730 dl_x86_cpu_features.
1731
1732 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
1733
1734 * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
1735 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1736 memcmp-avx2 and wmemcmp-avx2.
1737 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1738 (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
1739 * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
1740 * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
1741 * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
1742 2 machines if AVX unaligned load is fast and vzeroupper is
1743 preferred.
1744 * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
1745 2 machines if AVX unaligned load is fast and vzeroupper is
1746 preferred.
1747
1748 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
1749
1750 * include/wchar.h (__wmemset_chk): New.
1751 * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
1752 to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
1753 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
1754 (WMEMSET_CHK_SYMBOL): Likewise.
1755 (WMEMSET_SYMBOL): Likewise.
1756 (__wmemset): Add hidden definition.
1757 (wmemset): Add weak hidden definition.
1758 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1759 wmemset_chk-nonshared.
1760 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1761 (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
1762 __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
1763 __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
1764 and __wmemset_chk_avx512_unaligned.
1765 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
1766 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
1767 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
1768 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
1769 (WMEMSET_SYMBOL): Likewise.
1770 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
1771 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
1772 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
1773 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
1774 (WMEMSET_SYMBOL): Likewise.
1775 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
1776 (WMEMSET_CHK_SYMBOL): New.
1777 (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
1778 (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
1779 * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
1780 (libc_hidden_builtin_def): Also define __GI_wmemset and
1781 __GI___wmemset.
1782 (weak_alias): New.
1783 * sysdeps/x86_64/multiarch/wmemset.c: New file.
1784 * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
1785 * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
1786 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
1787 * sysdeps/x86_64/wmemset.c: Likewise.
1788 * sysdeps/x86_64/wmemset_chk.c: Likewise.
1789
1790 2017-06-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1791 H.J. Lu <hongjiu.lu@intel.com>
1792
1793 * sysdeps/x86/init-arch.h (PASTER1): New.
1794 (EVALUATOR1): Likewise.
1795 (PASTER2): Likewise.
1796 (EVALUATOR2): Likewise.
1797 (REDIRECT_NAME): Likewise.
1798 (OPTIMIZE): Likewise.
1799 (IFUNC_SELECTOR): Likewise.
1800
1801 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
1802
1803 * sysdeps/x86_64/strlen.S (PMINU): New.
1804 (PCMPEQ): Likewise.
1805 (SHIFT_RETURN): Likewise.
1806 (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
1807 (strlen): Add SHIFT_RETURN before ret. Replace pcmpeqb and
1808 pminub with PCMPEQ and PMINU.
1809 * sysdeps/x86_64/wcsnlen.S: New file.
1810
1811 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
1812
1813 * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
1814 the lower 32 bits. Remove redundant instructions.
1815
1816 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
1817
1818 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
1819 0 as the high part of offset.
1820 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
1821
1822 2017-06-05 Joseph Myers <joseph@codesourcery.com>
1823
1824 [BZ #21538]
1825 * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
1826 [__USE_UNIX98].
1827 * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
1828 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
1829 Likewise.
1830 * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
1831 * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
1832 * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
1833 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
1834 Likewise.
1835
1836 [BZ #21517]
1837 * bits/types/stack_t.h (stack_t): Remove struct tag.
1838 * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
1839 Likewise.
1840 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
1841 Likewise.
1842 * debug/segfault.c (install_handler): Use stack_t instead of
1843 struct sigaltstack.
1844 * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
1845 * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
1846 * include/signal.h (__sigaltstack): Likwise.
1847 * signal/sigaltstack.c (__sigaltstack): Likewise.
1848 * signal/signal.h (sigaltstack): Likewise.
1849 * sysdeps/mach/hurd/i386/signal-defines.sym
1850 (SIGALTSTACK__SS_SP__OFFSET): Likewise.
1851 (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
1852 (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
1853 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1854 * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
1855 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
1856 elf_prstatus): Likewise.
1857 * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
1858 Likewise.
1859 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
1860 Likewise.
1861 * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
1862 Likewise.
1863 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
1864 elf_prstatus): Likewise.
1865 * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
1866 Likewise.
1867 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
1868 Likewise.
1869
1870 2017-06-04 Zack Weinberg <zackw@panix.com>
1871
1872 * sysdeps/gnu/errlist.c: Regenerate.
1873
1874 2017-06-04 H.J. Lu <hongjiu.lu@intel.com>
1875
1876 * benchtests/bench-memchr.c (do_test): Print out both length
1877 and position.
1878 (test_main): Also test the position close to the beginning for
1879 memrchr.
1880
1881 2017-06-04 Zack Weinberg <zackw@panix.com>
1882
1883 * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
1884 * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
1885 * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
1886 * nis/nis_destroygroup.c, nis/nis_domain_of.c
1887 * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
1888 * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
1889 * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
1890 * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
1891 * nis/nis_print_group_entry.c, nis/nis_remove.c
1892 * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
1893 * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
1894 * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
1895 * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
1896 * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
1897 * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
1898 * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
1899 * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
1900 * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
1901 * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
1902 * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
1903 * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
1904 * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
1905 * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
1906 * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
1907 * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
1908 * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
1909 * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
1910 * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
1911 * sunrpc/xdr_stdio.c: Include shlib-compat.h.
1912
1913 * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
1914 abi-versions.h as well as shlib-compat.h.
1915 * sunrpc/get_myaddr.c: Remove obsolete comment.
1916 * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
1917 * sunrpc/rpc_thread.c: Include libc-lock.h only once.
1918 * resolv/res_libc.c: Include shlib-compat.h only once.
1919
1920 2017-06-03 Florian Weimer <fweimer@redhat.com>
1921
1922 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
1923 of strdup.
1924
1925 2017-06-02 H.J. Lu <hongjiu.lu@intel.com>
1926
1927 * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
1928 Set to the 3/4 of the total shared cache size.
1929
1930 2017-06-02 Rical Jasan <ricaljasan@pacific.net>
1931
1932 * manual/errno.texi: Remove redundant error strings.
1933 * manual/macros.texi (@errno): Render the error string in every
1934 description.
1935
1936 2017-06-02 Joseph Myers <joseph@codesourcery.com>
1937
1938 [BZ #21543]
1939 * signal/signal.h: Only include <bits/types/sigevent_t.h> and
1940 <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
1941 [__USE_XOPEN_EXTENDED].
1942
1943 2017-06-02 Florian Weimer <fweimer@redhat.com>
1944
1945 * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
1946 strdupa.
1947 (getcanonname): Use __strdup instead of strdup.
1948
1949 2017-06-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1950
1951 * misc/Makefile (CFLAGS-preadv2.c): New rule.
1952 (CFLAGS-preadv64v2.c): Likewise.
1953 (CFLAGS-pwritev2.c): Likewise.
1954 (CFLAGS-pwritev64v2.c): Likewise.
1955
1956 2017-06-02 Florian Weimer <fweimer@redhat.com>
1957
1958 Test res_init with several configuration files.
1959 * resolv/Makefile [build-shared] (tests-internal): Add
1960 tst-resolv-res_init, tst-resolv-res_init-thread.
1961 (tst-resolv-res_init): Link against libdl, libresolv.
1962 (tst-resolv-res_init-thread): Link against libdl, libresolv,
1963 libpthread.
1964 * resolv/tst-resolv-res_init.c: New file.
1965 * resolv/tst-resolv-res_init-skeleton.c: Likewise.
1966 * resolv/tst-resolv-res_init-thread.c: Likewise.
1967 * support/Makefile (libsupport-routines): Add support-xstat,
1968 support_can_chroot, support_capture_subprocess_check,
1969 support_isolate_in_subprocess, support_shared_allocate,
1970 support_write_file_string, xchroot, xmkdir, xopen.
1971 * support/capture_subprocess.h (enum support_capture_allow): Define.
1972 (support_capture_subprocess_check): Declare.
1973 * support/namespace.h (support_can_chroot)
1974 (support_isolate_in_subprocess): Declare.
1975 * support/support-xstat.c: New file.
1976 * support/support.h (support_shared_allocate, support_shared_free)
1977 (support_write_file_string): Declare.
1978 * support/support_can_chroot.c: New file.
1979 * support/support_capture_subprocess_check.c: Likewise.
1980 * support/support_isolate_in_subprocess.c: Likewise.
1981 * support/support_shared_allocate.c: Likewise.
1982 * support/support_write_file_string.c: Likewise.
1983 * support/xchroot.c: Likwise.
1984 * support/xmkdir.c: Likwise.
1985 * support/xopen.c: Likwise.
1986 * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
1987
1988 2017-06-02 Florian Weimer <fweimer@redhat.com>
1989
1990 * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
1991 (gaih_inet): Remove malloc_canonbuf variable. Call getcanonname.
1992
1993 2017-06-02 Florian Weimer <fweimer@redhat.com>
1994
1995 * malloc/Makefile (routines): Add dynarray_at_failure,
1996 dynarray_emplace_enlarge, dynarray_finalize.
1997 (tests-internal): Add tst-dynarray, tst-dynarray-fail,
1998 tst-dynarray-at-fail.
1999 (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
2000 (tests-special): Add tst-dynarray-mem.out,
2001 tst-dynarray-mem-fail.out.
2002 (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
2003 (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
2004 mtrace.
2005 * malloc/Versions (__libc_dynarray_at_failure)
2006 (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
2007 (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
2008 GLIBC_PRIVATE.
2009 * malloc/dynarray.h: New file.
2010 * malloc/dynarray-skeleton.c: Likewise.
2011 * malloc/dynarray_at_failure.c: Likewise.
2012 * malloc/dynarray_emplace_enlarge.c: Likewise.
2013 * malloc/dynarray_finalize.c: Likewise.
2014 * malloc/dynarray_resize.c: Likewise.
2015 * malloc/dynarray_resize_clear.c: Likewise.
2016 * malloc/tst-dynarray.c: Likewise.
2017 * malloc/tst-dynarray-fail.c: Likewise.
2018 * malloc/tst-dynarray-at-fail.c: Likewise.
2019 * malloc/tst-dynarray-shared.h: Likewise.
2020 * support/Makefile (libsupport-routines): Add
2021 support_capture_subprocess, xdup2, xpipe.
2022 (tests): Add tst-support_capture_subprocess.
2023 * support/capture_subprocess.h: New file.
2024 * support/support_capture_subprocess.c: Likewise.
2025 * support/tst-support_capture_subprocess.c: Likewise.
2026 * support/xdup2.c: Likewise.
2027 * support/xpipe.c: Likewise.
2028 * support/xunistd.h (xdup2, xpipe): Declare.
2029
2030 2017-06-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2031
2032 * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
2033 macros MAX and MIN.
2034
2035 2017-06-01 Joseph Myers <joseph@codesourcery.com>
2036
2037 * conform/data/signal.h-data (sa_sigaction): Do not expect for
2038 [XPG4].
2039 (SA_SIGINFO): Likewise.
2040 (SA_ONSTACK): Likewise.
2041 (SA_RESETHAND): Likewise.
2042 (SA_RESTART): Likewise.
2043 (SA_NOCLDWAIT): Likewise.
2044 (SA_NODEFER): Likewise.
2045 (SS_ONSTACK): Likewise.
2046 (SS_DISABLE): Likewise.
2047 (MINSIGSTKSZ): Likewise.
2048 (SIGSTKSZ): Likewise.
2049 (ucontext_t): Likewise.
2050 (stack_t): Likewise.
2051 (struct sigstack): Likewise.
2052 (SI_USER): Do not expect for [XPG4 || XPG42].
2053 (SI_QUEUE): Likewise.
2054 (SI_TIMER): Likewise.
2055 (SI_ASYNCIO): Likewise.
2056 (SI_MESGQ): Likewise.
2057 (bsd_signal): Do not expect for [XPG4].
2058 (killpg): Likewise.
2059 (sigaltstack): Likewise.
2060 (sighold): Likewise.
2061 (sigignore): Likewise.
2062 (siginterrupt): Likewise.
2063 (sigpause): Likewise.
2064 (sigrelse): Likewise.
2065 (sigset): Likewise.
2066 (sigwait): Do not expect for [XPG4 || XPG42].
2067
2068 2017-06-01 Zack Weinberg <zackw@panix.com>
2069
2070 [BZ #21514]
2071 * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
2072 pointing to the generated file in <builddir>/misc/bits/syscall.h.
2073
2074 2017-06-01 Joseph Myers <joseph@codesourcery.com>
2075
2076 [BZ #21457]
2077 * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
2078 NGREG to __NGREG if [__USE_MISC].
2079 (gregset_t): Define using __NGREG.
2080 (__ctx): New macro.
2081 (mcontext_t): Use __ctx in defining fields.
2082 * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
2083 define NGREG to __NGREG if [__USE_MISC].
2084 (gregset_t): Define using __NGREG.
2085 (__ctx): New macro.
2086 (__ctxt): Likewise.
2087 (fpregset_t): Use __ctx and __ctxt in defining fields.
2088 (mcontext_t): Likewise.
2089 * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
2090 define NGREG to __NGREG if [__USE_MISC].
2091 (gregset_t): Define using __NGREG.
2092 (__ctx): New macro.
2093 (mcontext_t): Use __ctx in defining fields.
2094 * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
2095 define NGREG to __NGREG if [__USE_MISC].
2096 (gregset_t): Define using __NGREG.
2097 (__ctx): New macro.
2098 (fpregset_t): Use __ctx in defining fields.
2099 (mcontext_t): Likewise.
2100 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
2101 __NGREG and define NGREG to __NGREG if [__USE_MISC].
2102 (gregset_t): Define using __NGREG.
2103 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
2104 [__USE_MISC].
2105 (fpregset_t): Define using __NFPREG.
2106 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
2107 __NGREG and define NGREG to __NGREG if [__USE_MISC].
2108 (gregset_t): Define using __NGREG.
2109 (__ctx): New macro.
2110 (fpregset_t): Use __ctx in defining fields.
2111 (mcontext_t): Likewise.
2112 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
2113 __NGREG and define NGREG to __NGREG if [__USE_MISC].
2114 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
2115 [__USE_MISC].
2116 (gregset_t): Define using __NGREG.
2117 (__ctx): New macro.
2118 (fpregset_t): Use __ctx in defining fields.
2119 (mcontext_t): Likewise.
2120 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
2121 (mcontext_t): Use __ctx in defining fields.
2122 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
2123 macro.
2124 [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
2125 __NGREG if [__USE_MISC].
2126 [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
2127 [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
2128 (mcontext_t): Likewise.
2129 [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
2130 __NGREG if [__USE_MISC].
2131 [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
2132 to __NFPREG if [__USE_MISC].
2133 [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
2134 to __NVRREG if [__USE_MISC].
2135 [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
2136 [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
2137 [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
2138 [__WORDSIZE != 32] (vrregset_t): Likewise.
2139 [__WORDSIZE != 32] (mcontext_t): Likewise.
2140 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
2141 (__psw_t): Use __ctx in defining fields.
2142 (NGREG): Rename to __NGREG and define NGREG to __NGREG if
2143 [__USE_MISC].
2144 (gregset_t): Define using __NGREG.
2145 (fpreg_t): Use __ctx in defining fields.
2146 (fpregset_t): Likewise.
2147 (mcontext_t): Likewise.
2148 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
2149 __NGREG and define NGREG to __NGREG if [__USE_MISC].
2150 (gregset_t): Define using __NGREG.
2151 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
2152 [__USE_MISC].
2153 (fpregset_t): Define using __NFPREG.
2154 (__ctx): New macro.
2155 (mcontext_t): Use __ctx in defining fields.
2156 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
2157 [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
2158 __NGREG if [__USE_MISC].
2159 [__x86_64__] (gregset_t): Define using __NGREG.
2160 [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
2161 [__x86_64__] (struct _libc_fpstate): Likewise.
2162 [__x86_64__] (mcontext_t): Likewise.
2163 [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
2164 __NGREG if [__USE_MISC].
2165 [!__x86_64__] (gregset_t): Define using __NGREG.
2166 [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
2167 [!__x86_64__] (struct _libc_fpstate): Likewise.
2168 [!__x86_64__] (mcontext_t): Likewise.
2169
2170 2017-06-01 Zack Weinberg <zackw@panix.com>
2171
2172 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
2173 alpha/pt-vfork.S. Provide own compat shim for vfork and __vfork.
2174 * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
2175 * sysdeps/unix/sysv/linux/microblaze/localplt.data:
2176 libpthread.so no longer references __errno_location.
2177
2178 2017-05-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2179
2180 * NEWS: Add note about pwritev2 and preadv2 inclusion.
2181 * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
2182 pwritev64v2.
2183 (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
2184 * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
2185 pwritev64v2.
2186 * misc/preadv2.c: New file.
2187 * misc/preadv64v2.c: Likewise.
2188 * misc/pwritev2.c: Likewise.
2189 * misc/pwritev64v2.c: Likewise.
2190 * misc/tst-preadvwritev2.c: Likewise.
2191 * misc/tst-preadvwritev64v2.c: Likewise.
2192 * manual/llio.texi: Add preadv2 and pwritev2 documentation.
2193 * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
2194 prototype.
2195 [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
2196 [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
2197 [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
2198 * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
2199 (PWRITEV): Likewise.
2200 (do_test_with_offset): Use PREADV and PWRITEV macros and check for
2201 ENOSYS.
2202 * nptl/tst-cancel4.c (tf_pwritev2): New test.
2203 (tf_preadv2): Likewise.
2204 (tf_fsync): Add tf_pwritev2 and tf_preadv2.
2205 * sysdeps/posix/preadv2.c: Likewise.
2206 * sysdeps/posix/preadv64v2.c: Likewise.
2207 * sysdeps/posix/pwritev2.c: Likewise.
2208 * sysdeps/posix/pwritev64v2.c: Likewise.
2209 * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
2210 support in kernel.
2211 * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
2212 * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
2213 * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
2214 * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
2215 * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
2216 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
2217 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
2218 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
2219 * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
2220 support flags on Linux.
2221 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
2222 preadv2, preadv64v2, pwritev2, pwritev64v2.
2223 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
2224 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
2225 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
2226 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
2227 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
2228 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
2229 Likewise.
2230 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
2231 Likewise.
2232 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
2233 Likewise.
2234 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
2235 Likewise.
2236 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
2237 Likewise.
2238 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
2239 Likewise.
2240 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
2241 Likewise.
2242 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
2243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2244 (GLIBC_2.26): Likewise.
2245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2246 (GLIBC_2.26): Likewise.
2247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
2248 Likewise.
2249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2250 (GLIBC_2.26): Likewise.
2251 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
2252 Likewise.
2253 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
2254 Likewise.
2255 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
2256 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
2257 Likewise.
2258 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
2259 Likewise.
2260 * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
2261 Likewise.
2262 * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
2263 Likewise.
2264 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
2265 Likewise.
2266 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
2267 Likewise.
2268 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
2269 Likewise.
2270
2271 2017-05-31 Andreas Schwab <schwab@suse.de>
2272
2273 * nptl/tst-fork3.c: Include <support/test-driver.c>.
2274 (main): Rename to do_test and make static.
2275
2276 2017-05-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
2277
2278 * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
2279 ARCH_INIT_CPU_FEATURES.
2280 (LIBC_START_MAIN): Call it.
2281 * sysdeps/unix/sysv/linux/aarch64/libc-start.c
2282 (__libc_start_main): Remove.
2283 (ARCH_INIT_CPU_FEATURES): New macro.
2284 * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
2285 (ARCH_INIT_CPU_FEATURES): New macro.
2286
2287 2017-05-30 Dennis Wölfing <denniswoelfing@gmx.de>
2288 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2289
2290 * include/stdlib.h (__libc_reallocarray): New declaration.
2291 * malloc/Makefile (routines): Add reallocarray.
2292 (tests): Add tst-reallocarray.c.
2293 * malloc/Versions: Add reallocarray and __libc_reallocarray.
2294 * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
2295 function.
2296 * malloc/malloc.h (reallocarray): New declaration.
2297 * stdlib/stdlib.h (reallocarray): Likewise.
2298 * malloc/reallocarray.c: New file.
2299 * malloc/tst-reallocarray.c: New test file.
2300 * manual/memory.texi: Document reallocarray.
2301 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
2302 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2303 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2304 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2305 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2306 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2307 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2308 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2309 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2310 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2311 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2312 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2313 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2314 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2316 Likewise.
2317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2318 Likewise.
2319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2321 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2322 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2323 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2324 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2325 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2326 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2328 * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
2329 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2330 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2331
2332 2017-05-30 H.J. Lu <hongjiu.lu@intel.com>
2333
2334 * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
2335 the lower 32 bits.
2336
2337 2017-05-29 Andreas Schwab <schwab@linux-m68k.org>
2338
2339 * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
2340 $(build-pie-default) = yes]: Define.
2341
2342 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
2343
2344 * string/test-memchr.c (test_main): Add tests for n == 0.
2345
2346 2017-05-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2347
2348 * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
2349 nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
2350 (tests-internal): ... here.
2351
2352 2017-05-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
2353 H.J. Lu <hongjiu.lu@intel.com>
2354
2355 * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
2356 * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
2357 (__tunable_set_val): Likewise.
2358
2359 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
2360
2361 * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
2362 dl-tunables.list in subdirectories.
2363
2364 2017-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2365 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2366 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2367
2368 * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2369 (SNANF128): New macro.
2370 * math/e_sqrtf128.c: New file.
2371 * math/s_fmaxmag_template.c: Include math_private.h in order to
2372 make inline expansion of fabs128().
2373 * math/s_fminmag_template.c: Likewise.
2374
2375 * sysdeps/ieee754/float128/e_acosf128.c: New file.
2376 * sysdeps/ieee754/float128/e_acoshf128.c: New file.
2377 * sysdeps/ieee754/float128/e_asinf128.c: New file.
2378 * sysdeps/ieee754/float128/e_atan2f128.c: New file.
2379 * sysdeps/ieee754/float128/e_atanhf128.c: New file.
2380 * sysdeps/ieee754/float128/e_coshf128.c: New file.
2381 * sysdeps/ieee754/float128/e_exp10f128.c: New file.
2382 * sysdeps/ieee754/float128/e_expf128.c: New file.
2383 * sysdeps/ieee754/float128/e_fmodf128.c: New file.
2384 * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
2385 * sysdeps/ieee754/float128/e_hypotf128.c: New file.
2386 * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
2387 * sysdeps/ieee754/float128/e_j0f128.c: New file.
2388 * sysdeps/ieee754/float128/e_j1f128.c: New file.
2389 * sysdeps/ieee754/float128/e_jnf128.c: New file.
2390 * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
2391 * sysdeps/ieee754/float128/e_log10f128.c: New file.
2392 * sysdeps/ieee754/float128/e_log2f128.c: New file.
2393 * sysdeps/ieee754/float128/e_logf128.c: New file.
2394 * sysdeps/ieee754/float128/e_powf128.c: New file.
2395 * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
2396 * sysdeps/ieee754/float128/e_remainderf128.c: New file.
2397 * sysdeps/ieee754/float128/e_scalbf128.c: New file.
2398 * sysdeps/ieee754/float128/e_sinhf128.c: New file.
2399 * sysdeps/ieee754/float128/float128_private.h: New file.
2400 * sysdeps/ieee754/float128/gamma_productf128.c: New file.
2401 * sysdeps/ieee754/float128/ieee754_float128.h: New file.
2402 * sysdeps/ieee754/float128/k_cosf128.c: New file.
2403 * sysdeps/ieee754/float128/k_sincosf128.c: New file.
2404 * sysdeps/ieee754/float128/k_sinf128.c: New file.
2405 * sysdeps/ieee754/float128/k_tanf128.c: New file.
2406 * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
2407 * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
2408 * sysdeps/ieee754/float128/s_asinhf128.c: New file.
2409 * sysdeps/ieee754/float128/s_atanf128.c: New file.
2410 * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
2411 * sysdeps/ieee754/float128/s_ceilf128.c: New file.
2412 * sysdeps/ieee754/float128/s_copysignf128.c: New file.
2413 * sysdeps/ieee754/float128/s_cosf128.c: New file.
2414 * sysdeps/ieee754/float128/s_erff128.c: New file.
2415 * sysdeps/ieee754/float128/s_expm1f128.c: New file.
2416 * sysdeps/ieee754/float128/s_fabsf128.c: New file.
2417 * sysdeps/ieee754/float128/s_finitef128.c: New file.
2418 * sysdeps/ieee754/float128/s_floorf128.c: New file.
2419 * sysdeps/ieee754/float128/s_fmaf128.c: New file.
2420 * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
2421 * sysdeps/ieee754/float128/s_frexpf128.c: New file.
2422 * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
2423 * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
2424 * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
2425 * sysdeps/ieee754/float128/s_isinff128.c: New file.
2426 * sysdeps/ieee754/float128/s_isnanf128.c: New file.
2427 * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
2428 * sysdeps/ieee754/float128/s_llrintf128.c: New file.
2429 * sysdeps/ieee754/float128/s_llroundf128.c: New file.
2430 * sysdeps/ieee754/float128/s_log1pf128.c: New file.
2431 * sysdeps/ieee754/float128/s_logbf128.c: New file.
2432 * sysdeps/ieee754/float128/s_lrintf128.c: New file.
2433 * sysdeps/ieee754/float128/s_lroundf128.c: New file.
2434 * sysdeps/ieee754/float128/s_modff128.c: New file.
2435 * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
2436 * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
2437 * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
2438 * sysdeps/ieee754/float128/s_nextupf128.c: New file.
2439 * sysdeps/ieee754/float128/s_remquof128.c: New file.
2440 * sysdeps/ieee754/float128/s_rintf128.c: New file.
2441 * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
2442 * sysdeps/ieee754/float128/s_roundf128.c: New file.
2443 * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
2444 * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
2445 * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
2446 * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
2447 * sysdeps/ieee754/float128/s_signbitf128.c: New file.
2448 * sysdeps/ieee754/float128/s_significandf128.c: New file.
2449 * sysdeps/ieee754/float128/s_sincosf128.c: New file.
2450 * sysdeps/ieee754/float128/s_sinf128.c: New file.
2451 * sysdeps/ieee754/float128/s_tanf128.c: New file.
2452 * sysdeps/ieee754/float128/s_tanhf128.c: New file.
2453 * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
2454 * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
2455 * sysdeps/ieee754/float128/s_truncf128.c: New file.
2456 * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
2457 * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
2458 * sysdeps/ieee754/float128/t_sincosf128.c: New file.
2459 * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
2460
2461 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
2462 (__iscanonicalf128): Define as a macro.
2463
2464 2017-05-24 Steve Ellcey <sellcey@caviumnetworks.com>
2465
2466 * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
2467 (memmove): Use MEMMOVE for name.
2468 (memcpy): Use MEMCPY for name. Change internal labels
2469 to external labels.
2470 * sysdeps/aarch64/multiarch/Makefile: New file.
2471 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
2472 * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
2473 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
2474 * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
2475 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
2476 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
2477
2478 2017-05-24 Siddhesh Poyarekar <siddhesh@sourceware.org>
2479
2480 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2481 (_dl_arm_cap_flags): Fix array subscript.
2482 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2483 Fix count.
2484
2485 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
2486
2487 * sysdeps/x86/cacheinfo.c: Skip if not in libc.
2488
2489 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
2490
2491 * sysdeps/x86/cacheinfo.c (is_intel): Removed.
2492 (is_amd): Likewise.
2493 (max_cpuid): Likewise.
2494 (__cache_sysconf): Use __get_cpu_features to get cpu_features.
2495 (init_cacheinfo): Likewise.
2496
2497 2017-05-23 Joseph Myers <joseph@codesourcery.com>
2498
2499 [BZ #21511]
2500 * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
2501 [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
2502 (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
2503 !__USE_XOPEN2K) || __USE_MISC].
2504 * conform/data/signal.h-data (struct sigstack): Expect type only
2505 if [!XOPEN2K8 && !POSIX2008].
2506 (sigstack): Expect function only if [XPG42 || UNIX98].
2507
2508 [BZ #21457]
2509 * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
2510 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2511 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2512 <bits/types/__sigset_t.h>.
2513 (ucontext_t): Use sigset_t instead of __sigset_t.
2514 * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
2515 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2516 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2517 <bits/types/__sigset_t.h>.
2518 (ucontext_t): Use sigset_t instead of __sigset_t.
2519 * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
2520 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2521 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2522 <bits/types/__sigset_t.h>.
2523 (ucontext_t): Use sigset_t instead of __sigset_t.
2524 * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
2525 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2526 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2527 <bits/types/__sigset_t.h>.
2528 (ucontext_t): Use sigset_t instead of __sigset_t.
2529 * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
2530 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2531 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2532 <bits/types/__sigset_t.h>.
2533 (ucontext_t): Use sigset_t instead of __sigset_t.
2534 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
2535 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2536 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2537 <bits/types/__sigset_t.h>.
2538 (ucontext_t): Use sigset_t instead of __sigset_t.
2539 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
2540 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2541 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2542 <bits/types/__sigset_t.h>.
2543 (ucontext_t): Use sigset_t instead of __sigset_t.
2544 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
2545 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2546 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2547 <bits/types/__sigset_t.h>.
2548 (ucontext_t): Use sigset_t instead of __sigset_t.
2549 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
2550 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2551 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2552 <bits/types/__sigset_t.h>.
2553 (ucontext_t): Use sigset_t instead of __sigset_t.
2554 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
2555 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2556 <bits/ss_flags.h>. Include <bits/types/sigset_t.h>.
2557 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
2558 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2559 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2560 <bits/types/__sigset_t.h>.
2561 (ucontext_t): Use sigset_t instead of __sigset_t.
2562 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
2563 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2564 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2565 <bits/types/__sigset_t.h>.
2566 (ucontext_t): Use sigset_t instead of __sigset_t.
2567 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
2568 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2569 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2570 <bits/types/__sigset_t.h>.
2571 (ucontext_t): Use sigset_t instead of __sigset_t.
2572 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
2573 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2574 <bits/ss_flags.h>.
2575 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
2576 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2577 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2578 <bits/types/__sigset_t.h>.
2579 (ucontext_t): Use sigset_t instead of __sigset_t.
2580 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
2581 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2582 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2583 <bits/types/__sigset_t.h>.
2584 (ucontext_t): Use sigset_t instead of __sigset_t.
2585 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
2586 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2587 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2588 <bits/types/__sigset_t.h>.
2589 (ucontext_t): Use sigset_t instead of __sigset_t.
2590 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
2591 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2592 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2593 <bits/types/__sigset_t.h>.
2594 (ucontext_t): Use sigset_t instead of __sigset_t.
2595 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
2596 <bits/types.h>.
2597 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
2598 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2599 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2600 <bits/types/__sigset_t.h>.
2601 (ucontext_t): Use sigset_t instead of __sigset_t.
2602
2603 2017-05-22 Zack Weinberg <zackw@panix.com>
2604
2605 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
2606 (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
2607 bits/siginfo-arch.h, only if not already defined.
2608 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
2609 (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
2610 (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
2611 Likewise.
2612
2613 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
2614 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
2615 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
2616 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
2617 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
2618 Unconditionally define __SI_* macros.
2619
2620 2017-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2621
2622 [BZ #21393]
2623 * libio/freopen.c (freopen): Avoid dup already opened file descriptor
2624 and add a check for dup3 failure.
2625 * libio/freopen64.c (freopen64): Likewise.
2626 * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
2627 libsupport.
2628 (do_test_bz21398): New test.
2629 * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
2630
2631 2017-05-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
2632
2633 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
2634 Remove invalid comment.
2635
2636 2017-05-21 Zack Weinberg <zackw@panix.com>
2637
2638 * signal/Makefile (headers): Add bits/types/sigval_t.h.
2639
2640 2017-05-20 Zack Weinberg <zackw@panix.com>
2641
2642 * bits/sigevent-consts.h
2643 * bits/siginfo-consts.h
2644 * bits/types/__sigset_t.h
2645 * bits/types/sigevent_t.h
2646 * bits/types/siginfo_t.h
2647 * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
2648 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
2649 * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
2650 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
2651 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
2652 New system-dependent bits headers.
2653
2654 * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
2655 * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
2656 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
2657 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
2658 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
2659 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
2660 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
2661 * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
2662 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
2663 New Linux-only system-dependent bits headers.
2664
2665 * signal/bits/types/sig_atomic_t.h
2666 * signal/bits/types/sigset_t.h
2667 * signal/bits/types/sigval_t.h:
2668 New non-system-dependent bits headers.
2669
2670 * sysdeps/generic/sigsetops.h
2671 * sysdeps/unix/sysv/linux/sigsetops.h:
2672 New internal headers.
2673
2674 * include/bits/types/sig_atomic_t.h
2675 * include/bits/types/sigset_t.h
2676 * include/bits/types/sigval_t.h:
2677 New wrappers.
2678
2679 * signal/sigsetops.h
2680 * bits/siginfo.h
2681 * bits/sigset.h
2682 * sysdeps/unix/sysv/linux/bits/siginfo.h
2683 * sysdeps/unix/sysv/linux/bits/sigset.h
2684 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
2685 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
2686 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
2687 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
2688 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
2689 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
2690 Deleted.
2691
2692 * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
2693 Update lists of installed headers.
2694
2695 * posix/bits/types.h: Define __sig_atomic_t here.
2696 * signal/signal.h: Use the new bits headers; no need to handle
2697 __need_sig_atomic_t nor __need_sigset_t. Don't use __sigmask
2698 to define sigmask.
2699 * include/signal.h: No need to handle __need_sig_atomic_t
2700 nor __need_sigset_t. Don't define __sigemptyset.
2701
2702 * io/sys/poll.h, setjmp/setjmp.h
2703 * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
2704 * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
2705 * sysdeps/mach/hurd/i386/bits/sigcontext.h
2706 * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
2707 * sysdeps/pthread/bits/sigthread.h
2708 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
2709 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
2710 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
2711 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
2712 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
2713 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
2714 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
2715 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
2716 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
2717 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
2718 Use bits/types/__sigset_t.h.
2719
2720 * misc/sys/select.h, posix/spawn.h
2721 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
2722 * sysdeps/unix/sysv/linux/sys/epoll.h
2723 * sysdeps/unix/sysv/linux/sys/signalfd.h:
2724 Use bits/types/sigset_t.h.
2725
2726 * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
2727 * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
2728 * socket/sys/socket.h: Don't include bits/sigset.h.
2729
2730 * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
2731 * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
2732 * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
2733 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
2734 * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
2735 * sysdeps/unix/sysv/linux/nptl-signals.h:
2736 Include sigsetops.h.
2737
2738 * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
2739 * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
2740 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
2741 __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
2742 now return no value.
2743
2744 * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
2745 Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
2746 "sigsetops.h".
2747
2748 * signal/sigsetops.c: Explicitly define __sigismember,
2749 __sigaddset, and __sigdelset as compatibility symbols.
2750
2751 * signal/Versions: Correct commentary on __sigpause,
2752 __sigaddset, __sigdelset, __sigismember.
2753
2754 * inet/rcmd.c: Include sigsetops.h. Convert old code using
2755 __sigblock/__sigsetmask to use __sigprocmask and friends.
2756
2757 * resolv/resolv.h: Remove __need_res_state logic.
2758 Move definition of res_state and related constants to ...
2759 * resolv/bits/types/res_state.h: ...this new file.
2760 * resolv/Makefile: Install bits/types/res_state.h.
2761 * include/bits/types/res_state.h: New wrapper.
2762 * include/list.h: Remove __need_list_t logic.
2763 Move definition of list_t to ...
2764 * include/list_t.h: ...this new file.
2765
2766 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
2767 instead of list.h and resolv.h.
2768
2769 * resolv/resolv.h: Remove __need_res_state logic.
2770 Move definition of res_state and related constants to ...
2771 * resolv/bits/types/res_state.h: ...this new file.
2772 * resolv/Makefile: Install bits/types/res_state.h.
2773 * include/bits/types/res_state.h: New wrapper.
2774 * include/list.h: Remove __need_list_t logic.
2775 Move definition of list_t to ...
2776 * include/list_t.h: ...this new file.
2777
2778 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
2779 instead of list.h and resolv.h.
2780
2781 2017-05-20 H.J. Lu <hongjiu.lu@intel.com>
2782
2783 * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
2784
2785 2017-05-20 Zack Weinberg <zackw@panix.com>
2786
2787 * sysdeps/arm/sysdep.h
2788 (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
2789
2790 * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
2791 * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
2792 * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
2793 * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
2794 * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
2795 * sysdeps/arm/armv6t2/strlen.S
2796 * sysdeps/arm/armv7/multiarch/memcpy_impl.S
2797 * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
2798 * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
2799 * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
2800 * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
2801 Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
2802
2803 2017-05-20 Zack Weinberg <zackw@panix.com>
2804
2805 Remove the NaCl port.
2806 * sysdeps/arm/nacl: Remove directory and contents.
2807 * sysdeps/nacl: Remove directory and contents.
2808 * abi-tags: Remove .*-.*-nacl.* entry.
2809
2810 2017-05-19 Rical Jasan <ricaljasan@pacific.net>
2811
2812 * manual/errno.texi: Convert @comment-based errno documentation to
2813 @errno.
2814 * manual/macros.texi (@errno): New macro. Consolidate errors,
2815 their values, and messages, adding the error string to the Concept
2816 Index. Provide a warning in the comment about external (to the
2817 manual) dependencies.
2818 * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
2819 * sysdeps/mach/hurd/errnos.awk: Likewise.
2820
2821 2017-05-19 Joseph Myers <joseph@codesourcery.com>
2822
2823 * bits/ss_flags.h: New file.
2824 * bits/types/stack_t.h: Likewise.
2825 * include/bits/types/struct_sigstack.h: Likewise.
2826 * signal/bits/types/struct_sigstack.h: Likewise.
2827 * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
2828 * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
2829 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
2830 * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
2831 bits/types/stack_t.h and bits/ss_flags.h.
2832 * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
2833 Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
2834 <bits/ss_flags.h>.
2835 * bits/sigstack.h (struct sigstack): Remove.
2836 (stack_t): Likewise.
2837 (SS_ONSTACK): Likewise.
2838 (SS_DISABLE): Likewise.
2839 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
2840 (struct sigstack): Likewise.
2841 (stack_t): Likewise.
2842 (SS_ONSTACK): Likewise.
2843 (SS_DISABLE): Likewise.
2844 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
2845 Likewise.
2846 (stack_t): Likewise.
2847 (SS_ONSTACK): Likewise.
2848 (SS_DISABLE): Likewise.
2849 * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
2850 Likewise.
2851 (stack_t): Likewise.
2852 (SS_ONSTACK): Likewise.
2853 (SS_DISABLE): Likewise.
2854 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
2855 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
2856 Likewise.
2857 (stack_t): Likewise.
2858 (SS_ONSTACK): Likewise.
2859 (SS_DISABLE): Likewise.
2860 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
2861 (struct sigstack): Likewise.
2862 (stack_t): Likewise.
2863 (SS_ONSTACK): Likewise.
2864 (SS_DISABLE): Likewise.
2865 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
2866 Likewise.
2867 (stack_t): Likewise.
2868 (SS_ONSTACK): Likewise.
2869 (SS_DISABLE): Likewise.
2870 * sysdeps/arm/sys/ucontext.h: Include
2871 <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
2872 <bits/ss_flags.h>.
2873 * sysdeps/generic/sys/ucontext.h: Likewise.
2874 * sysdeps/i386/sys/ucontext.h: Likewise.
2875 * sysdeps/m68k/sys/ucontext.h: Likewise.
2876 * sysdeps/mips/sys/ucontext.h: Likewise.
2877 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
2878 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
2879 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
2880 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
2881 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
2882 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
2883 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
2884 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
2885 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
2886 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2887 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
2888 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
2889 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
2890 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
2891 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
2892
2893 2017-05-19 H.J. Lu <hongjiu.lu@intel.com>
2894
2895 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
2896 "edx + ecx - 16" to avoid possible addition overflow.
2897 * sysdeps/x86_64/memchr.S (memchr): Likewise.
2898
2899 2017-05-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2900
2901 * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
2902 (CFLAGS-splice.c): Likewise.
2903 (CFLAGS-open_by_handle_at.c): Likewise.
2904 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
2905 (CFLAGS-splice.c): Likewise.
2906 (CFLAGS-open_by_handle_at.c): Likewise.
2907
2908 2017-05-19 Joseph Myers <joseph@codesourcery.com>
2909
2910 * scripts/versions.awk: Generate ldbl-compat-choose.h.
2911 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
2912 <ldbl-compat-choose.h>.
2913 (maybe_long_double_symbol): New macro.
2914 [!declare_mgen_alias] (declare_mgen_alias): Use
2915 maybe_long_double_symbol.
2916 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
2917 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
2918 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
2919 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
2920 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
2921 * Makerules [$(build-shared) = yes && !avoid-generated]
2922 (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
2923 [$(build-shared) = yes && !avoid-generated]
2924 ($(common-objpfx)ldbl-compat-choose.h): New target.
2925
2926 * scripts/versions.awk: Generate first-versions.h.
2927 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
2928 <first-versions.h>.
2929 (LDOUBLE_cabsl_libm_version): Remove macro.
2930 (LDOUBLE_cargl_libm_version): Likewise.
2931 (LDOUBLE_cimagl_libm_version): Likewise.
2932 (LDOUBLE_conjl_libm_version): Likewise.
2933 (LDOUBLE_creall_libm_version): Likewise.
2934 (LDOUBLE_cacosl_libm_version): Likewise.
2935 (LDOUBLE_cacoshl_libm_version): Likewise.
2936 (LDOUBLE_ccosl_libm_version): Likewise.
2937 (LDOUBLE_ccoshl_libm_version): Likewise.
2938 (LDOUBLE_casinl_libm_version): Likewise.
2939 (LDOUBLE_csinl_libm_version): Likewise.
2940 (LDOUBLE_casinhl_libm_version): Likewise.
2941 (LDOUBLE_csinhl_libm_version): Likewise.
2942 (LDOUBLE_catanl_libm_version): Likewise.
2943 (LDOUBLE_catanhl_libm_version): Likewise.
2944 (LDOUBLE_ctanl_libm_version): Likewise.
2945 (LDOUBLE_ctanhl_libm_version): Likewise.
2946 (LDOUBLE_cexpl_libm_version): Likewise.
2947 (LDOUBLE_clogl_libm_version): Likewise.
2948 (LDOUBLE_cprojl_libm_version): Likewise.
2949 (LDOUBLE_csqrtl_libm_version): Likewise.
2950 (LDOUBLE_cpowl_libm_version): Likewise.
2951 (LDOUBLE_clog10l_libm_version): Likewise.
2952 (LDOUBLE___clog10l_libm_version): Likewise.
2953 (LDOUBLE_fdiml_libm_version): Likewise.
2954 (LDOUBLE_fmaxl_libm_version): Likewise.
2955 (LDOUBLE_fminl_libm_version): Likewise.
2956 (LDOUBLE_ilogbl_libm_version): Likewise.
2957 (LDOUBLE_nanl_libm_version): Likewise.
2958 [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
2959 FIRST_VERSION_libm_* macros.
2960 [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
2961 * Makerules [$(build-shared) = yes && !avoid-generated]
2962 (before-compile): Add $(common-objpfx)first-versions.h.
2963 [$(build-shared) = yes && !avoid-generated]
2964 ($(common-objpfx)first-versions.h): New target.
2965 ($(common-objpfx)sysd-versions): Depend on and change to rule for
2966 building $(common-objpfx)versions.stmp.
2967
2968 2017-05-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2969
2970 * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
2971 * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
2972 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
2973 auto-generation list.
2974
2975 * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
2976 * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
2977 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
2978 from auto-generation list.
2979
2980 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2981 open_by_handle_at.
2982 (CFLAGS-open_by_handle_at.c): New flag.
2983 * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
2984 * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
2985 file.
2986 * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
2987
2988 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
2989 (CFLAGS-splice.c): New flag.
2990 * sysdeps/unix/sysv/linux/splice.c: New file.
2991 * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
2992 auto-generation syscall list.
2993 * misc/Makefile (CFLAGS-splice.c): New rule.
2994
2995 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
2996 * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
2997 auto-generation syscall list.
2998 * sysdeps/unix/sysv/linux/vmsplice.c: New file.
2999 * misc/Makefile (CFLAGS-vmsplice.c): New rule.
3000
3001 * misc/Makefile (CFLAGS-fsync.c): New flag.
3002 * nptl/Makefile (CFLAGS-fsync.c): Likewise.
3003 * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
3004 syscall list.
3005 * sysdeps/unix/sysv/linux/fsync.c: New file.
3006 * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
3007 (__errno_location): Remove.
3008
3009 * misc/Makefile (CFLAGS-fdatasync.c): New rule.
3010 * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
3011 * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
3012 list.
3013 * sysdeps/unix/sysv/linux/fdatasync.c: New file.
3014
3015 * misc/Makefile (CFLAGS-msync.c): New rule.
3016 * nptl/Makefile (CFLAGS-msync.c): Likewise.
3017 * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
3018 * sysdeps/unix/sysv/linux/msync.c: New file.
3019
3020 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
3021 * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
3022 * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
3023 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3024 (CFLAGS-sigsuspend.c): Remove rule.
3025
3026 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
3027 (CFLAGS-tee.c): New rule.
3028 * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
3029 auto-generated list.
3030 * sysdeps/unix/sysv/linux/tee.c: New file.
3031
3032 * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
3033 * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
3034 * sysdeps/unix/sysv/linux/nanosleep.c: New file.
3035 * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
3036 auto-generated list.
3037
3038 * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
3039 auto-generated list.
3040 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
3041 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3042 * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
3043 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3044 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
3045
3046 * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
3047 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
3048 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
3049 (__NR_pause): Undefine.
3050 * sysdeps/unix/sysv/linux/pause.c: New file.
3051 * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
3052 auto-generation list.
3053 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
3054 Remove rule.
3055 * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
3056
3057 2017-05-18 H.J. Lu <hongjiu.lu@intel.com>
3058
3059 * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
3060 comments.
3061
3062 2017-05-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
3063
3064 * elf/Makefile (tst-env-setuid-ENV): Reduce value of
3065 LD_HWCAP_MASK.
3066
3067 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
3068
3069 * manual/conf.texi: Convert @tables of annotated @items to
3070 @vtables.
3071 * manual/lang.texi: Likewise.
3072 * manual/pattern.texi: Likewise.
3073 * manual/resource.texi: Likewise.
3074 * manual/socket.texi: Likewise.
3075
3076 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
3077
3078 * manual/crypt.texi: Move a comment out of an @*x list.
3079 * manual/filesys.texi: Refactor some comments, one of which looks
3080 like a standard. Fix incorrectly separated standards.
3081 * manual/locale.texi: Invert an annotation.
3082 * manual/resource.texi: Fix incorrectly separated standards.
3083 * manual/time.texi: Refactor a @vtable that obscures an
3084 annotation.
3085 * manual/users.texi: Refactor multiple headers to occupy a single
3086 @comment.
3087
3088 2017-05-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3089
3090 * sysdeps/powerpc/powerpc64/multiarch/Makefile
3091 (sysdep_routines): Add memcmp-power8.
3092 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3093 (memcmp): Add __memcmp_power8 to list of memcmp functions.
3094 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
3095 (memcmp): Add __memcmp_power8 to ifunc list.
3096 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
3097 * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
3098
3099 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3100 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3101
3102 * math/math.h (__MATH_TG): Extend the conditions to add
3103 _Float128 support.
3104 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
3105
3106 2017-05-17 Paul A. Clarke <pc@us.ibm.com>
3107
3108 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3109 [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
3110 s_cosf-ppc64.
3111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
3112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
3113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
3114 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
3115
3116 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3117
3118 * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
3119 (gen-libm-calls): Add e_exp2F to use the template.
3120 * math/e_exp2l.c: Rename to math/e_exp2_template.c.
3121 * math/e_exp2_template.c: New file, renamed from
3122 math/e_exp2l.c, and made into a template.
3123 * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
3124
3125 2017-05-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
3126
3127 * elf/dl-tunable-types.h (tunable_type_code_t): New type
3128 TUNABLE_TYPE_UINT_64.
3129 * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
3130 Simplify computation of overflow.
3131 (tunable_set_val_if_valid_range_signed,
3132 tunable_set_val_if_valid_range_unsigned): Remove and replace
3133 with this...
3134 (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
3135 (tunable_initialize): Adjust. Add uint64_t support.
3136 (__tunable_set_val): Add uint64_t support.
3137 * README.tunables: Document it.
3138
3139 * scripts/gen-tunables.awk: Recognize 'default' keyword in
3140 dl-tunables.list.
3141 * README.tunables: Document it.
3142
3143 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3144
3145 * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
3146 * sysdeps/posix/preadv64.c: Likewise.
3147 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3148 * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
3149 * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
3150 * sysdeps/posix/pwritev64.c: Likewise.
3151 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3152 * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
3153 * sysdeps/posix/preadv_common.c: New file.
3154 * sysdeps/posix/pwritev_common.c: Likewise.
3155
3156 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3157
3158 * sysdeps/generic/math-type-macros-float128.h
3159 (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
3160 wrapper templates.
3161
3162 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3163 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3164
3165 * include/complex.h (__kernel_casinhf128): New declaration.
3166 * include/float.h: New file.
3167 * include/math.h (__finitef128): Add a hidden def.
3168 (__isinff128): Likewise.
3169 (__isnanf128): Likewise.
3170 (__fpclassify): Likewise.
3171 (__issignalling): Likewise.
3172 (__expf128): Likewise.
3173 (__expm1f128): Likewise.
3174
3175 * sysdeps/generic/fix-fp-int-convert-overflow.h:
3176 (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
3177 (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
3178
3179 * sysdeps/generic/math-type-macros-float128.h: New file.
3180
3181 * sysdeps/generic/math_private.h: Include bits/floatn.h and
3182 math_private_calls.h for _Float128.
3183 (__isinff128): New inline implementation used when GCC < 7.0,
3184 since in this case __builtin_isinf_sign is broken.
3185 (fabsf128): New inline implementation that calls the builtin.
3186 (__EXPR_FLT128): New macro.
3187 (min_of_type): Optionally include _Float128 types too.
3188
3189 * sysdeps/generic/math_private_calls.h (__kernel_sincos):
3190 Declare for _Float128.
3191 (__kernel_rem_pio2): Likewise.
3192
3193 * sysdeps/ieee754/ldbl-opt/s_sin.c:
3194 (__DECL_SIMD_sincos_disablef128): New macro.
3195
3196 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3197
3198 * math/math.h: Include bits/math-finite.h for float128.
3199 (__MATH_DECLARING_FLOATN): Define to control declaration of
3200 float128 functions.
3201 * math/bits/math-finite.h (pow10): Do not declare for float128.
3202 (gamma): Likewise.
3203 (scalb): Likewise.
3204
3205 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3206 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3207
3208 * bits/floatn.h: New file.
3209 * bits/huge_val_flt128.h: Likewise.
3210
3211 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
3212 (__DECL_SIMD_sinf128): Likewise.
3213 (__DECL_SIMD_sincosf128): Likewise.
3214 (__DECL_SIMD_logf128): Likewise.
3215 (__DECL_SIMD_expf128): Likewise.
3216 (__DECL_SIMD_powf128): Likewise.
3217
3218 * math/Makefile (headers): Install bits/floatn.h and
3219 bits/huge_val_flt128.h.
3220
3221 * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
3222 defined.
3223
3224 * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
3225 (isnan, gamma, nexttoward, scalb): Only define if not
3226 __MATH_DECLARING_FLOATN.
3227 (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
3228 (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
3229 (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
3230 _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
3231
3232 * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
3233 Include bits/cmathcalls.h to get the declarations of _Float128
3234 versions of complex functions.
3235 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
3236 Define macro.
3237
3238 * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
3239 Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
3240 get the declarations of _Float128 versions of math functions.
3241 (__MATH_DECLARING_FLOATN): New macro to control declaration of
3242 _FloatN types.
3243 [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
3244 is type-generic, so use it without __MATH_TG.
3245 [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
3246 _Float128 type on GCC < 7.0. Explicitly call __isinff128 for
3247 _Float128 type and GCC < 7.0, otherwise use the builtin.
3248 [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
3249 (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
3250 (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
3251 New _GNU_SOURCE enabled macros.
3252
3253 2017-05-12 Joseph Myers <joseph@codesourcery.com>
3254
3255 * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
3256 (signbitf): Likewise.
3257 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
3258 Likewise.
3259 (signbitl): Likewise.
3260 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
3261 Likewise.
3262 * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
3263 (signbitl): Likewise.
3264 * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
3265
3266 2017-05-12 Florian Weimer <fweimer@redhat.com>
3267
3268 [BZ #21386]
3269 * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
3270 parent PID. The assertion in the child is incorrect with PID
3271 namespaces.
3272
3273 2017-05-12 Joseph Myers <joseph@codesourcery.com>
3274
3275 * sysdeps/unix/sysv/linux/kernel-features.h
3276 (__ASSUME_STATFS_F_FLAGS): Remove macro.
3277 * sysdeps/unix/sysv/linux/internal_statvfs.c
3278 [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
3279
3280 2017-05-11 Zack Weinberg <zackw@panix.com>
3281
3282 * Makerules: New subdir configuration variables 'tests-internal'
3283 and 'test-internal-extras'. Test files in these categories will
3284 still be compiled with MODULE_NAME=nonlib. Test files in the
3285 existing categories (tests, xtests, test-srcs, test-extras) are
3286 now compiled with MODULE_NAME=testsuite.
3287 New subdir configuration variable 'modules-names-tests'. Files
3288 which are in both 'modules-names' and 'modules-names-tests' will
3289 be compiled with MODULE_NAME=testsuite instead of
3290 MODULE_NAME=extramodules.
3291 (gen-as-const-headers): Move to tests-internal.
3292 (do-tests-clean, common-mostlyclean): Support tests-internal.
3293 * Makeconfig (built-modules): Add testsuite.
3294 * Makefile: Change libof-check-installed-headers-c and
3295 libof-check-installed-headers-cxx to 'testsuite'.
3296 * Rules: Likewise. Support tests-internal.
3297 * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
3298 Remove extra-modules.mk.
3299
3300 * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
3301 * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
3302 PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
3303 very top of the file and rationalize their order.
3304 If MODULE_NAME is not defined at all, define IS_IN to always be
3305 false, and don't define _ISOMAC.
3306 If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
3307 true, define _ISOMAC and suppress everything else in this file,
3308 starting with the inclusion of config.h.
3309 Do check for inappropriate definitions of __OPTIMIZE__ and
3310 __FAST_MATH__ here, but only if _ISOMAC is not defined.
3311 Correct some out-of-date commentary.
3312
3313 * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
3314 and _Mlong_double_ before including math.h.
3315 * include/string.h: If _ISOMAC is defined, don't expose
3316 _STRING_ARCH_unaligned. Move a comment to a more appropriate
3317 location.
3318
3319 * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
3320 * include/time.h, include/unistd.h, include/wchar.h: No need to
3321 check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
3322
3323 * misc/sys/cdefs.h (__NTHNL): New macro.
3324 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
3325 (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
3326
3327 * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
3328 defined, for HAVE_TUNABLES.
3329 * inet/tst-checks-posix.c: No need to define _ISOMAC.
3330 * intl/tst-gettext2.c: Provide own definition of N_.
3331 * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
3332 * math/test-signgam-main.c: No need to define _ISOMAC.
3333 * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
3334 * stdlib/tst-strtod1i.c: ...this new file.
3335 * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
3336 Split tests of __strtod_internal to...
3337 * stdlib/tst-strtod5i.c: ...this new file.
3338 * string/test-string.h: Include stdint.h. Duplicate definition of
3339 inhibit_loop_to_libcall here (from libc-symbols.h).
3340 * string/test-strstr.c: Provide dummy definition of
3341 libc_hidden_builtin_def when including strstr.c.
3342 * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
3343 mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
3344 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
3345 Don't include init-arch.h.
3346 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
3347 Don't include init-arch.h.
3348
3349 * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
3350 tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
3351 unload, unload2, circleload1, neededtest, neededtest2,
3352 neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
3353 tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
3354 tst-stackguard1, tst-_dl_addr_inside_object, and all of the
3355 ifunc tests to tests-internal.
3356 Don't add $(modules-names) to test-extras.
3357 * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
3358 Add tst-deadline to tests-static-internal.
3359 * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
3360 tests-internal.
3361 * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
3362 * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
3363 tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
3364 tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
3365 tst-sem12-static, and tst-stackguard1-static to tests-internal.
3366 Link tests-internal with libpthread also.
3367 Don't add $(modules-names) to test-extras.
3368 * nss/Makefile: Move tst-field to tests-internal.
3369 * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
3370 tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
3371 * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
3372 tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
3373 tests-internal.
3374 * sunrpc/Makefile: Move tst-svc_register to tests-internal.
3375 * sysdeps/powerpc/Makefile: Move test-get_hwcap and
3376 test-get_hwcap-static to tests-internal.
3377 * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
3378 tests-internal.
3379 * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
3380 modules-names-tests.
3381
3382 2017-05-11 Zack Weinberg <zackw@panix.com>
3383
3384 * libio/libio.h: Condition dummy definition of _IO_lock_t on
3385 _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
3386 non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
3387 _IO_funlockfile, and _IO_ftrylockfile. Only define
3388 _IO_cleanup_region_start and _IO_cleanup_region_end if not
3389 already defined.
3390 * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
3391 _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
3392 appropriately.
3393 * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
3394 Define _IO_lock_t_defined after defining _IO_lock_t.
3395
3396 2016-05-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3397
3398 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
3399 void* for argument type and use VDSO_SYMBOL macro.
3400 (is_sigtramp_address_rt): Likewise.
3401 (__backtrace): Setup expected frame pointer address for signal
3402 handling.
3403 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
3404 void* for argumetn type and use VSDO_SYMBOL macro.
3405 (__backtrace): Setup expected frame pointer address for signal
3406 handling.
3407
3408 * sysdeps/unix/sysv/linux/writev.c: New file.
3409
3410 * sysdeps/unix/sysv/linux/readv.c: New file.
3411
3412 * include/unistd.h (write): Add hidden proto.
3413 * io/Makefile (CFLAGS-write.c): New define.
3414 * nptl/Makefile (CFLAGS-write.c): Likewise.
3415 * sysdeps/unix/sysv/linux/write.c: New file.
3416
3417 [BZ #21428]
3418 * include/unistd.h (read): Add hidden proto.
3419 * io/Makefile (CFLAGS-read.c): New define.
3420 * nptl/Makefile (CFLAGS-read.c): Likewise.
3421 * sysdeps/unix/sysv/linux/read.c: New file.
3422
3423 * io/Makefile (CFLAGS-creat.c): New rule.
3424 (CFLAGS-creat64.c): Likewise.
3425 * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
3426 * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
3427 * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
3428 * sysdeps/unix/sysv/linux/creat.c: New file.
3429 * sysdeps/unix/sysv/linux/creat64.c: Likewise.
3430 * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
3431 auto-generated list.
3432 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3433
3434 * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
3435 * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
3436 * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
3437 * sysdeps/unix/sysv/linux/open.c: New file.
3438 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
3439 iff __WORDSIZE != 64 and use __NR_openat when available.
3440 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
3441 from auto-generated list.
3442
3443 * nptl/Makefile (CFLAGS-close.c): New flag.
3444 * sysdeps/unix/sysv/linux/close.c: New file.
3445
3446 2017-05-11 DJ Delorie <dj@redhat.com>
3447
3448 * MAINTAINERS: New. Points to wiki.
3449
3450 2017-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
3451
3452 * scripts/gen-tunables.awk: Add attribute_relro to
3453 tunable_list.
3454
3455 2017-05-11 Joseph Myers <joseph@codesourcery.com>
3456
3457 [BZ #21457]
3458 * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
3459 (R1): Likewise.
3460 (R2): Likewise.
3461 (R3): Likewise.
3462 (R4): Likewise.
3463 (R5): Likewise.
3464 (R6): Likewise.
3465 (R7): Likewise.
3466 (R8): Likewise.
3467 (R9): Likewise.
3468 (R10): Likewise.
3469 (R11): Likewise.
3470 (R12): Likewise.
3471 (R13): Likewise.
3472 (R14): Likewise.
3473 (R15): Likewise.
3474 * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
3475 (REG_FS): Likewise.
3476 (REG_ES): Likewise.
3477 (REG_DS): Likewise.
3478 (REG_EDI): Likewise.
3479 (REG_ESI): Likewise.
3480 (REG_EBP): Likewise.
3481 (REG_ESP): Likewise.
3482 (REG_EBX): Likewise.
3483 (REG_EDX): Likewise.
3484 (REG_ECX): Likewise.
3485 (REG_EAX): Likewise.
3486 (REG_TRAPNO): Likewise.
3487 (REG_ERR): Likewise.
3488 (REG_EIP): Likewise.
3489 (REG_CS): Likewise.
3490 (REG_EFL): Likewise.
3491 (REG_UESP): Likewise.
3492 (REG_SS): Likewise.
3493 * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
3494 (R_D1): Likewise.
3495 (R_D2): Likewise.
3496 (R_D3): Likewise.
3497 (R_D4): Likewise.
3498 (R_D5): Likewise.
3499 (R_D6): Likewise.
3500 (R_D7): Likewise.
3501 (R_A0): Likewise.
3502 (R_A1): Likewise.
3503 (R_A2): Likewise.
3504 (R_A3): Likewise.
3505 (R_A4): Likewise.
3506 (R_A5): Likewise.
3507 (R_A6): Likewise.
3508 (R_A7): Likewise.
3509 (R_SP): Likewise.
3510 (R_PC): Likewise.
3511 (R_PS): Likewise.
3512 (fpregset_t): Likewise.
3513 (MCONTEXT_VERSION): Likewise.
3514 * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
3515 (CTX_AT): Likewise.
3516 (CTX_V0): Likewise.
3517 (CTX_V1): Likewise.
3518 (CTX_A0): Likewise.
3519 (CTX_A1): Likewise.
3520 (CTX_A2): Likewise.
3521 (CTX_A3): Likewise.
3522 (CTX_T0): Likewise.
3523 (CTX_T1): Likewise.
3524 (CTX_T2): Likewise.
3525 (CTX_T3): Likewise.
3526 (CTX_T4): Likewise.
3527 (CTX_T5): Likewise.
3528 (CTX_T6): Likewise.
3529 (CTX_T7): Likewise.
3530 (CTX_S0): Likewise.
3531 (CTX_S1): Likewise.
3532 (CTX_S2): Likewise.
3533 (CTX_S3): Likewise.
3534 (CTX_S4): Likewise.
3535 (CTX_S5): Likewise.
3536 (CTX_S6): Likewise.
3537 (CTX_S7): Likewise.
3538 (CTX_T8): Likewise.
3539 (CTX_T9): Likewise.
3540 (CTX_K0): Likewise.
3541 (CTX_K1): Likewise.
3542 (CTX_GP): Likewise.
3543 (CTX_SP): Likewise.
3544 (CTX_S8): Likewise.
3545 (CTX_RA): Likewise.
3546 (CTX_MDLO): Likewise.
3547 (CTX_MDHI): Likewise.
3548 (CTX_CAUSE): Likewise.
3549 (CTX_EPC): Likewise.
3550 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
3551 inclusion of <sys/procfs.h> on [__USE_MISC].
3552 (greg_t): Condition on [__USE_MISC].
3553 (gregset_t): Likewise.
3554 (fpregset_t): Likewise.
3555 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
3556 (NGREG): Likewise.
3557 (gregset_t): Likewise.
3558 (REG_R0): Likewise.
3559 (REG_R1): Likewise.
3560 (REG_R2): Likewise.
3561 (REG_R3): Likewise.
3562 (REG_R4): Likewise.
3563 (REG_R5): Likewise.
3564 (REG_R6): Likewise.
3565 (REG_R7): Likewise.
3566 (REG_R8): Likewise.
3567 (REG_R9): Likewise.
3568 (REG_R10): Likewise.
3569 (REG_R11): Likewise.
3570 (REG_R12): Likewise.
3571 (REG_R13): Likewise.
3572 (REG_R14): Likewise.
3573 (REG_R15): Likewise.
3574 (struct _libc_fpstate): Likewise.
3575 (fpregset_t): Likewise.
3576 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
3577 (NFPREG): Likewise.
3578 (gregset_t): Likewise.
3579 (fpregset_t): Likewise.
3580 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
3581 (R_D1): Likewise.
3582 (R_D2): Likewise.
3583 (R_D3): Likewise.
3584 (R_D4): Likewise.
3585 (R_D5): Likewise.
3586 (R_D6): Likewise.
3587 (R_D7): Likewise.
3588 (R_A0): Likewise.
3589 (R_A1): Likewise.
3590 (R_A2): Likewise.
3591 (R_A3): Likewise.
3592 (R_A4): Likewise.
3593 (R_A5): Likewise.
3594 (R_A6): Likewise.
3595 (R_A7): Likewise.
3596 (R_SP): Likewise.
3597 (R_PC): Likewise.
3598 (R_PS): Likewise.
3599 (fpregset_t): Likewise.
3600 (MCONTEXT_VERSION): Likewise.
3601 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
3602 Likewise.
3603 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
3604 (REG_R1): Likewise.
3605 (REG_R2): Likewise.
3606 (REG_R3): Likewise.
3607 (REG_R4): Likewise.
3608 (REG_R5): Likewise.
3609 (REG_R6): Likewise.
3610 (REG_R7): Likewise.
3611 (REG_R8): Likewise.
3612 (REG_R9): Likewise.
3613 (REG_R10): Likewise.
3614 (REG_R11): Likewise.
3615 (REG_R12): Likewise.
3616 (REG_R13): Likewise.
3617 (REG_R14): Likewise.
3618 (REG_R15): Likewise.
3619 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
3620 of <arch/abi.h> on [__USE_MISC].
3621 (greg_t): Condition on [__USE_MISC].
3622 (NGREG): Likewise.
3623 (gregset_t): Likewise.
3624
3625 2017-05-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3626
3627 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
3628 (__pthread_rwlock_arch_t): Remove __data definition.
3629 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
3630 (__pthread_rwlock_arch_t): Likewise.
3631
3632 2017-05-11 Florian Weimer <fweimer@redhat.com>
3633
3634 * resolv/inet_pton.c: Reformat in GNU style. Remove
3635 internal_function on static functions.
3636
3637 2017-05-11 Florian Weimer <fweimer@redhat.com>
3638
3639 * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
3640 from format_ai_flags.
3641 (format_ai_flags): New function. Incorporate flag formatting code
3642 from format_ai_one.
3643 (format_ai_canonname): New function.
3644 (format_ai_one): Remove flags parameter.
3645 (format_ai_family): Likewise.
3646 (support_format_addrinfo): Call format_ai_flags,
3647 format_ai_canonname.
3648 * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
3649 check_ai.
3650 (check_ai): Call check_ai_hints.
3651 (do_test): Add AI_CANONNAME tests.
3652
3653 2017-05-11 Florian Weimer <fweimer@redhat.com>
3654
3655 * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
3656 (gaih_inet): Likewise.
3657
3658 2017-05-10 Andreas Schwab <schwab@suse.de>
3659
3660 * nptl/tst-fork1.c: Include <support/test-driver.c>.
3661 (main): Rename to do_test and make static.
3662
3663 2017-05-10 Joseph Myers <joseph@codesourcery.com>
3664
3665 * string/rawmemchr.c: Include <libc-diag.h>.
3666 (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
3667 with size (size_t)-1.
3668
3669 2017-05-09 Joseph Myers <joseph@codesourcery.com>
3670
3671 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
3672 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3673 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3674
3675 * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
3676 [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
3677 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
3678 [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
3679 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
3680 [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
3681 * sysdeps/unix/sysv/linux/kernel-features.h
3682 (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
3683 socket syscalls.
3684 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3685 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3686 * sysdeps/unix/sysv/linux/i386/kernel-features.h
3687 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
3688 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3689 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3690 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
3691 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3692 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3693 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3694 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3695 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3696 (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3697 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3698 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3699
3700 2017-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3701
3702 * posix/Makefile (headers): Add pthreadtypes-arch.h and
3703 thread-shared-types.h.
3704 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
3705 specific thread definition.
3706 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
3707 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
3708 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
3709 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
3710 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
3711 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
3712 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
3713 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
3714 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
3715 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
3716 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
3717 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
3718 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
3719 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
3720 * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
3721 thread definition between POSIX and C11.
3722 * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
3723 * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
3724 * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
3725 * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
3726 * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
3727 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
3728 * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
3729 * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
3730 * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
3731 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
3732 * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
3733 * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
3734 * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
3735 * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
3736 * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
3737 * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
3738 definitions shared across all architectures.
3739
3740 2017-05-09 Joseph Myers <joseph@codesourcery.com>
3741
3742 * sysdeps/unix/sysv/linux/kernel-features.h
3743 (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
3744 (__ASSUME_SENDMMSG): Likewise.
3745 (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
3746 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
3747 sendmmsg syscall if that can be assumed to be present, socketcall
3748 otherwise, with no fallback for runtime failure.
3749
3750 * sysdeps/unix/sysv/linux/kernel-features.h
3751 (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
3752 (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
3753 (__ASSUME_RECVMMSG): Likewise.
3754 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
3755 recvmmsg syscall if it can be assumed to be present, socketcall
3756 otherwise, with no fallback for runtime failure.
3757
3758 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3759 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3760
3761 * bits/libc-header-start.h:
3762 (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
3763 * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
3764 * manual/creature.texi: Likewise.
3765
3766 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3767 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3768
3769 * math/Makefile:
3770 (type-float128-suffix): New variable
3771 (type-float128-routines): Likewise
3772 (type-float128-yes): Likewise
3773 (types): Append float128 if supported
3774 (types-basic): New variable to control the use of templates for
3775 float, double, and long double, but not for float128 or newer types.
3776 (type-basic-foreach): Likewise.
3777
3778 * sysdeps/ieee754/float128/Makeconfig: New file.
3779 * sysdeps/ieee754/float128/Versions: New file.
3780
3781 2017-05-09 Joseph Myers <joseph@codesourcery.com>
3782
3783 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
3784 Remove macro.
3785 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
3786 prlimit64 is always available and does not give an ENOSYS error.
3787 * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
3788 unconditional.
3789 [!__NR_prlimit64]: Remove conditional code.
3790 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
3791 prlimit64 is always available and does not give an ENOSYS error.
3792 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
3793
3794 2017-05-09 Zack Weinberg <zackw@panix.com>
3795
3796 * sunrpc/tst-xdrmem2.c: Include stdint.h.
3797
3798 2017-05-09 Florian Weimer <fweimer@redhat.com>
3799
3800 [BZ #21474]
3801 * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
3802 (__res_maybe_init): Likewise.
3803
3804 2017-05-09 Zack Weinberg <zackw@panix.com>
3805
3806 * extra-modules.mk: Delete file.
3807 * cppflags-iterator.mk: Rename to ...
3808 * libof-iterator.mk: ...this. Adjust comments.
3809
3810 * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
3811 * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
3812 * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
3813 Use libof-iterator.mk instead of cppflags-iterator.mk or
3814 extra-modules.mk.
3815
3816 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
3817 extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
3818
3819 2017-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
3820
3821 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3822
3823 2017-05-08 Carlos O'Donell <carlos@redhat.com>
3824
3825 * stdio-common/vfprintf.c (EXTSIZ): Define.
3826 (vfprintf): Use EXTSIZ.
3827 (printf_positional): Likewise.
3828
3829 2017-05-08 Joseph Myers <joseph@codesourcery.com>
3830
3831 * sysdeps/unix/sysv/linux/kernel-features.h
3832 (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
3833 * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
3834 <kernel-features.h>.
3835 (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
3836
3837 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
3838 (__ASSUME_GETCPU_SYSCALL): Remove macro.
3839
3840 2017-05-08 Florian Weimer <fweimer@redhat.com>
3841
3842 Prevent multiple deletion of temporary files.
3843 * support/temp_file.c (struct temp_name_list): Add owner member.
3844 (add_temp_file): Record owner.
3845 (support_delete_temp_files): Delete file only if owner matches.
3846 * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
3847 (do_prepare): Use create_temp_file instead of add_temp_file.
3848 Initialize temp_fd1, temp_fd2.
3849 (do_test): Use global temp_fd1, temp_fd2 variables. Let the test
3850 framework remove the temporary files.
3851 * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
3852 (do_prepare): Use create_temp_file instead of add_temp_file.
3853 Initialize temp_fd1, temp_fd2, temp_fd3.
3854 (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables. Let
3855 the test framework remove the temporary files.
3856 * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
3857 deletion.
3858 * posix/tst-pathconf.c (do_test): Do not call rmdir on the
3859 temporary directory. It is removed by the test framework.
3860 * dirent/tst-scandir.c (do_test): Likewise.
3861
3862 2017-05-08 Florian Weimer <fweimer@redhat.com>
3863
3864 Delete temporary files in LIFO order.
3865 * support/temp_file.c (struct temp_name_list): Replace q member
3866 with next.
3867 (add_temp_file): Add new file to front of linked list.
3868 (support_delete_temp_files): Use next member.
3869 (support_print_temp_files): Likewise.
3870
3871 2017-05-08 Florian Weimer <fweimer@redhat.com>
3872
3873 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
3874 sys/ultrasound.h.
3875 * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
3876
3877 2017-05-08 Joseph Myers <joseph@codesourcery.com>
3878
3879 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
3880 Remove.
3881 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
3882 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
3883 (arch_minimum_kernel): Remove.
3884 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
3885 * README: Update statement about Linux kernel requirements.
3886
3887 2017-05-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3888
3889 * manual/llio.texi: Add preadv and pwritev documentation.
3890
3891 2017-05-04 Joseph Myers <joseph@codesourcery.com>
3892
3893 [BZ #21455]
3894 * bits/stdint-intn.h: New file.
3895 * bits/stdint-uintn.h: Likewise.
3896 * stdlib/Makefile (headers): Add bits/stdint-intn.h and
3897 bits/stdint-uintn.h.
3898 * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
3899 <stdint.h>.
3900 * posix/sys/types.h: Include <bits/stdint-intn.h>.
3901 (__int8_t_defined): Do not define here.
3902 (int8_t): Likewise.
3903 (int16_t): Likewise.
3904 (int32_t): Likewise.
3905 (int64_t): Likewise.
3906 [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
3907 * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
3908 <stdint.h>.
3909 * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
3910 * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
3911 <bits/stdint-uintn.h>.
3912 (int8_t): Do not define here.
3913 (int16_t): Likewise.
3914 (int32_t): Likewise.
3915 (int64_t): Likewise.
3916 (uint8_t): Likewise.
3917 (uint16_t): Likewise.
3918 (uint32_t): Likewise.
3919 (uint64_t): Likewise.
3920 * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
3921 variable.
3922 (test-xfail-XPG42/netdb.h/conform): Likewise.
3923 (test-xfail-XPG42/netinet/in.h/conform): Likewise.
3924 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3925 (test-xfail-UNIX98/netdb.h/conform): Likewise.
3926 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3927
3928 2017-05-04 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3929
3930 * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
3931 * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
3932 the above.
3933 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3934 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3935
3936 2017-05-04 Joseph Myers <joseph@codesourcery.com>
3937
3938 [BZ #21445]
3939 * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
3940
3941 [BZ #21457]
3942 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
3943 [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
3944 __glibc_reserved1.
3945 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
3946 (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
3947 (struct _fpxreg): Likewise.
3948 [!__x86_64__] (struct _fpstate): Rename field reserved to
3949 __glibc_reserved1. Rename field padding to __glibc_reserved2.
3950 [__x86_64__] (struct _fpstate): Rename field padding to
3951 __glibc_reserved1.
3952 (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
3953 Rename field reserved2 to __glibc_reserved2.
3954 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
3955 [__x86_64__] (struct _libc_fpxreg): Rename field padding to
3956 __glibc_reserved1.
3957 [__x86_64__] (struct _libc_fpstate): Rename field padding to
3958 __glibc_reserved1.
3959
3960 2017-05-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3961
3962 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
3963 variable name.
3964
3965 2017-05-03 H.J. Lu <hongjiu.lu@intel.com>
3966
3967 [BZ #21391]
3968 * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
3969 Only call init_cpu_features.
3970 [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
3971 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
3972 * sysdeps/i386/dl-procinfo.h: Removed.
3973 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
3974 <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>. Include
3975 <sysdeps/x86/dl-procinfo.h>.
3976 (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
3977 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
3978 Include <sysdeps/x86/dl-procinfo.h> instead of
3979 <sysdeps/generic/dl-procinfo.h>.
3980 * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
3981 (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
3982 * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
3983 (bit_cpu_MOVBE): Likewise.
3984 (bit_cpu_BMI1): Likewise.
3985 (bit_cpu_BMI2): Likewise.
3986 (index_cpu_BMI1): Likewise.
3987 (index_cpu_BMI2): Likewise.
3988 (index_cpu_LZCNT): Likewise.
3989 (index_cpu_MOVBE): Likewise.
3990 (index_cpu_POPCNT): Likewise.
3991 (reg_BMI1): Likewise.
3992 (reg_BMI2): Likewise.
3993 (reg_LZCNT): Likewise.
3994 (reg_MOVBE): Likewise.
3995 (reg_POPCNT): Likewise.
3996 * sysdeps/x86/dl-hwcap.h: New file.
3997 * sysdeps/x86/dl-procinfo.h: Likewise.
3998 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
3999 (_dl_x86_platforms): Likewise.
4000
4001 2017-05-03 DJ Delorie <dj@redhat.com>
4002
4003 [BZ #21411]
4004 * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
4005
4006 2017-05-03 Phil Blundell <pb@pbcl.net>
4007
4008 * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
4009 comments.
4010
4011 2017-05-03 Carlos O'Donell <carlos@redhat.com>
4012
4013 [BZ #20116]
4014 * nptl/pthread_create.c: Expand comments to describe
4015 semaphore-like and mutex-like uses of PD->lock.
4016
4017 2017-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4018
4019 * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
4020 * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
4021 * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
4022 auto-generation list.
4023 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4024 epoll_wait.
4025 * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
4026 Remove epoll_wait.
4027
4028 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
4029 osf_select.
4030 * sysdeps/unix/sysv/linux/alpha/select.c: New file.
4031 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
4032 osf_select from auto-generation list.
4033 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4034 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4035 * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
4036 * sysdeps/unix/sysv/linux/select.c: New file.
4037
4038 * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
4039 * sysdeps/unix/sysv/linux/poll.c: New file.
4040 * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
4041 auto-generation list.
4042
4043 2017-05-03 Joseph Myers <joseph@codesourcery.com>
4044
4045 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
4046 New macro.
4047
4048 2017-05-02 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
4049
4050 [BZ #21179]
4051 * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
4052 R_SPARC_REGISTER relocations.
4053
4054 2017-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4055
4056 * include/unistd.h (__pread): Add libc_hidden_proto.
4057 (__pread64): Likewise.
4058 (__pwrite): Likewise.
4059 * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
4060 (__pread64): Remove.
4061 * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
4062 * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
4063 * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
4064
4065 2017-05-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4066
4067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4068
4069 2017-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4070
4071 * nptl/tst-cancel4-common.c: Use libsupport.
4072 * nptl/tst-cancel4-common.h: Likewise.
4073 * nptl/tst-cancel4.c (tf_read): Likewise.
4074 (tf_readv): Likewise.
4075 (tf_write): Likewise.
4076 (tf_writev): Likewise.
4077 (tf_sleep): Likewise.
4078 (tf_usleep): Likewise.
4079 (tf_nanosleep): Likewise.
4080 (tf_select): Likewise.
4081 (tf_pselect): Likewise.
4082 (tf_poll): Likewise.
4083 (tf_ppoll): Likewise.
4084 (tf_wait): Likewise.
4085 (tf_waitpid): Likewise.
4086 (tf_waitid): Likewise.
4087 (tf_sigpause): Likewise.
4088 (tf_sigsuspend): Likewise.
4089 (tf_sigwait): Likewise.
4090 (tf_sigwaitinfo): Likewise.
4091 (tf_sigtimedwait): Likewise.
4092 (tf_pause): Likewise.
4093 (tf_accept): Likewise.
4094 (tf_send): Likewise.
4095 (tf_recv): Likewise.
4096 (tf_recvfrom): Likewise.
4097 (tf_recvmsg): Likewise.
4098 (tf_open): Likewise.
4099 (tf_close): Likewise.
4100 (tf_pread): Likewise.
4101 (tf_pwrite): Likewise.
4102 (tf_preadv): Likewise.
4103 (tf_pwritev): Likewise.
4104 (tf_fsync): Likewise.
4105 (tf_fdatasync): Likewise.
4106 (tf_msync): Likewise.
4107 (tf_sendto): Likewise.
4108 (tf_sendmsg): Likewise.
4109 (tf_creat): Likewise.
4110 (tf_connect): Likewise.
4111 (tf_tcdrain): Likewise.
4112 (tf_msgrcv): Likewise.
4113 (tf_msgsnd): Likewise.
4114 * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
4115 * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
4116
4117 * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
4118 expected arguments.
4119 (do_test): Adapt to use libsupport.
4120
4121 2017-05-01 Joseph Myers <joseph@codesourcery.com>
4122
4123 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
4124
4125 * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
4126 (PF_MAX): Set to 44.
4127 (AF_SMC): New macro.
4128
4129 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4130 kernel version to 4.11.
4131
4132 2017-04-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4133
4134 [BZ #21280]
4135 * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
4136 signal of subnormals and adjust the exponent of power of 2 down
4137 when low part has opposite sign.
4138
4139 2017-04-28 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4140
4141 * sysdeps/powerpc/powerpc64le/Implies: New file.
4142 * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
4143 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
4144 * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
4145 * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
4146 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
4147 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
4148 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
4149 * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
4150 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
4151 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
4152 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
4153 * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
4154 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
4155 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
4156 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
4157 * sysdeps/powerpc/preconfigure: New file.
4158 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
4159 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
4160
4161 2017-04-28 Joseph Myers <joseph@codesourcery.com>
4162
4163 * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
4164 inclusion.
4165 * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
4166 Remove.
4167
4168 2017-04-27 Joseph Myers <joseph@codesourcery.com>
4169
4170 * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
4171 (XPG3): Rename standard to XPG4.
4172 * conform/Makefile: Likewise.
4173 * conform/list-header-symbols.pl: Likewise.
4174 * conform/data/aio.h-data: Likewise.
4175 * conform/data/arpa/inet.h-data: Likewise.
4176 * conform/data/complex.h-data: Likewise.
4177 * conform/data/ctype.h-data: Likewise.
4178 * conform/data/dlfcn.h-data: Likewise.
4179 * conform/data/fcntl.h-data: Likewise.
4180 * conform/data/fenv.h-data: Likewise.
4181 * conform/data/float.h-data: Likewise.
4182 * conform/data/fmtmsg.h-data: Likewise.
4183 * conform/data/ftw.h-data: Likewise.
4184 * conform/data/grp.h-data: Likewise.
4185 * conform/data/inttypes.h-data: Likewise.
4186 * conform/data/iso646.h-data: Likewise.
4187 * conform/data/langinfo.h-data: Likewise.
4188 * conform/data/libgen.h-data: Likewise.
4189 * conform/data/limits.h-data: Likewise.
4190 * conform/data/locale.h-data: Likewise.
4191 * conform/data/math.h-data: Likewise.
4192 * conform/data/mqueue.h-data: Likewise.
4193 * conform/data/ndbm.h-data: Likewise.
4194 * conform/data/net/if.h-data: Likewise.
4195 * conform/data/netdb.h-data: Likewise.
4196 * conform/data/netinet/in.h-data: Likewise.
4197 * conform/data/poll.h-data: Likewise.
4198 * conform/data/pthread.h-data: Likewise.
4199 * conform/data/pwd.h-data: Likewise.
4200 * conform/data/sched.h-data: Likewise.
4201 * conform/data/search.h-data: Likewise.
4202 * conform/data/semaphore.h-data: Likewise.
4203 * conform/data/signal.h-data: Likewise.
4204 * conform/data/spawn.h-data: Likewise.
4205 * conform/data/stdbool.h-data: Likewise.
4206 * conform/data/stdint.h-data: Likewise.
4207 * conform/data/stdio.h-data: Likewise.
4208 * conform/data/stdlib.h-data: Likewise.
4209 * conform/data/string.h-data: Likewise.
4210 * conform/data/strings.h-data: Likewise.
4211 * conform/data/stropts.h-data: Likewise.
4212 * conform/data/sys/mman.h-data: Likewise.
4213 * conform/data/sys/resource.h-data: Likewise.
4214 * conform/data/sys/select.h-data: Likewise.
4215 * conform/data/sys/socket.h-data: Likewise.
4216 * conform/data/sys/stat.h-data: Likewise.
4217 * conform/data/sys/statvfs.h-data: Likewise.
4218 * conform/data/sys/time.h-data: Likewise.
4219 * conform/data/sys/timeb.h-data: Likewise.
4220 * conform/data/sys/types.h-data: Likewise.
4221 * conform/data/sys/uio.h-data: Likewise.
4222 * conform/data/sys/un.h-data: Likewise.
4223 * conform/data/sys/wait.h-data: Likewise.
4224 * conform/data/syslog.h-data: Likewise.
4225 * conform/data/termios.h-data: Likewise.
4226 * conform/data/tgmath.h-data: Likewise.
4227 * conform/data/time.h-data: Likewise.
4228 * conform/data/ucontext.h-data: Likewise.
4229 * conform/data/unistd.h-data: Likewise.
4230 * conform/data/utmpx.h-data: Likewise.
4231 * conform/data/varargs.h-data: Likewise.
4232 * conform/data/wchar.h-data: Likewise.
4233 * conform/data/wctype.h-data: Likewise.
4234
4235 2017-04-26 Joseph Myers <joseph@codesourcery.com>
4236
4237 * scripts/build-many-glibcs.py (Context.checkout): Default gcc
4238 version to 7 branch.
4239
4240 2017-04-25 Uros Bizjak <ubizjak@gmail.com>
4241
4242 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
4243 earlyclobber to output operand of sqrt insn.
4244 (__ieee754_sqrtf): Ditto.
4245
4246 2017-04-25 Joseph Myers <joseph@codesourcery.com>
4247
4248 [BZ #21426]
4249 * misc/bits/types/struct_iovec.h: New file.
4250 * misc/Makefile (headers): Add bits/types/struct_iovec.h.
4251 * include/bits/types/struct_iovec.h: New file.
4252 * bits/uio.h (struct iovec): Replace by inclusion of
4253 <bits/types/struct_iovec.h>.
4254 * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
4255 * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
4256 of <sys/uio.h>.
4257 * nptl/tst-cancel4.c: Include <sys/uio.h>
4258 * posix/test-errno.c: Likewise.
4259 * support/resolv_test.c: Likewise.
4260 * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
4261 Remove.
4262 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4263 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4264 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4265
4266 * conform/data/sys/socket.h-data (*_t): Allow.
4267
4268 2017-04-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4269
4270 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
4271 assignment.
4272
4273 2017-04-24 Daurnimator <quae@daurnimator.com>
4274 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4275
4276 [BZ #21340]
4277 * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
4278 * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
4279 * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
4280 valid flags.
4281 * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
4282 * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
4283 POSIX_SPAWN_SETSID.
4284 * sysdeps/posix/spawni.c (__spawni): Likewise.
4285 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4286 * NEWS: Add note about POSIX_SPAWN_SETSID support.
4287
4288 2017-04-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4289
4290 * sysdeps/generic/math_private.h: Move the declaration of many
4291 functions to sysdeps/generic/math_private_calls.h.
4292 * sysdeps/generic/math_private_calls.h: New file with the
4293 declarations of the functions removed from math_private.h
4294 macroized by floating-point type.
4295
4296 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
4297
4298 * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
4299 * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
4300 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
4301 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
4302 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
4303 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
4304
4305 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
4306
4307 * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
4308 * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
4309 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
4310 (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
4311 FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
4312 New Define.
4313
4314 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
4315
4316 * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
4317 * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
4318 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
4319 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
4320 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
4321 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
4322
4323 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
4324
4325 * sysdeps/s390/multiarch/ifunc-resolve.h
4326 (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
4327 * sysdeps/s390/multiarch/8bit-generic.c
4328 (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
4329 define ifunc resolvers.
4330
4331 2017-04-21 Florian Weimer <fweimer@redhat.com>
4332
4333 [BZ #20424]
4334 * manual/memory.texi (Replacing malloc): New section.
4335 (Allocating Storage For Program Data): Reference it.
4336 (The GNU Allocator): Likewise.
4337
4338 2017-04-20 Joseph Myers <joseph@codesourcery.com>
4339
4340 * stdlib/Versions (__strtod_internal): List explicitly, not as
4341 wildcard.
4342 (__strtof_internal): Likewise.
4343 (__strtold_internal): Likewise.
4344 (__strtol_internal): Likewise.
4345 (__strtoll_internal): Likewise.
4346 (__strtoul_internal): Likewise.
4347 (__strtoull_internal): Likewise.
4348 (__strtoq_internal): Likewise.
4349 (__strtouq_internal): Likewise.
4350 * wcsmbs/Versions (__wcstod_internal): Likewise.
4351 (__wcstof_internal): Likewise.
4352 (__wcstold_internal): Likewise.
4353 (__wcstol_internal): Likewise.
4354 (__wcstoll_internal): Likewise.
4355 (__wcstoul_internal): Likewise.
4356 (__wcstoull_internal): Likewise.
4357
4358 2017-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4359
4360 * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
4361 struct timespec definition.
4362
4363 2017-04-19 Florian Weimer <fweimer@redhat.com>
4364
4365 * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
4366
4367 2017-04-19 Florian Weimer <fweimer@redhat.com>
4368
4369 * inet/rcmd.c (rresvport_af): Fix typo in comment.
4370 * inet/rexec.c (rexec_af): Likewise.
4371
4372 2017-04-19 Zack Weinberg <zackw@panix.com>
4373
4374 * posix/tst-mmap-offset.c: Include stdint.h.
4375 * resolv/tst-ns_name_compress.c: Include string.h.
4376 * resolv/tst-resolv-edns.c: Include resolv.h.
4377
4378 2017-04-19 Florian Weimer <fweimer@redhat.com>
4379
4380 * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
4381 with __glibc_likely.
4382 * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
4383 Replace __builtin_expect with __glibc_unlikely.
4384 * resolv/res_init.c (__res_vinit): Likewise.
4385 * resolv/res_query.c (__libc_res_nquery): Likewise.
4386 * resolv/res_send.c (__libc_res_nsend): Likewise.
4387
4388 2017-04-19 Florian Weimer <fweimer@redhat.com>
4389
4390 [BZ #15722]
4391 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
4392 with SOCK_CLOEXEC.
4393 * resolv/res_send.c (send_vc, reopen): Likewise.
4394 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
4395 * sysdeps/unix/sysv/linux/check_native.c (__check_native):
4396 Likewise.
4397 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
4398 * inet/rexec.c (rexec_af): Add comment.
4399 * inet/rcmd.c (rresvport_af): Likewise.
4400
4401 2017-04-19 Florian Weimer <fweimer@redhat.com>
4402
4403 * nscd/connections.c (have_accept4): Removed definition.
4404 (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
4405 accept4 works.
4406 * manual/install.texi (Linux): Require at least kernel 3.2.18 for
4407 ia64 because that was the first version with accept4 support.
4408 * support/Makefile (libsupport-routines): Add xaccept4.
4409 * support/xsocket.h (xaccept4): Declare.
4410 * support/xaccept4.c: New file.
4411 * socket/tst-accept4.c: New file.
4412 * socket/Makefile (tests): Add tst-accept4.
4413 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
4414 definition.
4415 * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
4416 comment.
4417 * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
4418 implementation is available.
4419 (accept4): Use the system call if available, otherwise use the
4420 socket call.
4421 * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
4422 Set to 3.2.18.
4423 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4424 (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
4425 accept4 is unconditionally available in later 3.2 stable kernels.
4426 (__ASSUME_ACCEPT4_SYSCALL): Define.
4427 * sysdeps/unix/sysv/linux/kernel-features.h
4428 (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
4429 definitions.
4430 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4431 (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
4432
4433 2017-04-18 Joseph Myers <joseph@codesourcery.com>
4434
4435 * conform/Makefile (tests-special): Do not make addition of
4436 $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
4437 (generated): Do not make addition of $(conformtest-header-base)
4438 conditional on [$(cross-compiling) = no].
4439
4440 [BZ #21267]
4441 * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
4442 if defined by <asm/socket.h> and not previously defined.
4443 (IOCSIZE_SHIFT): Likewise.
4444 (IOC_IN): Likewise.
4445 (IOC_INOUT): Likewise.
4446 (IOC_OUT): Likewise.
4447
4448 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
4449
4450 [BZ #21396]
4451 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4452 Prefer_No_AVX512 if AVX512ER isn't available.
4453 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
4454 (index_arch_Prefer_No_AVX512): Likewise.
4455 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
4456 AVX512 version if Prefer_No_AVX512 is set.
4457 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
4458 Likewise.
4459 * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
4460 * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
4461 Likewise.
4462 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4463 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
4464 Likewise.
4465 * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
4466 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
4467 Likewise.
4468
4469 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
4470
4471 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4472 Prefer_No_VZEROUPPER if AVX512ER is available.
4473 * sysdeps/x86/cpu-features.h
4474 (bit_cpu_AVX512PF): New.
4475 (bit_cpu_AVX512ER): Likewise.
4476 (bit_cpu_AVX512CD): Likewise.
4477 (bit_cpu_AVX512BW): Likewise.
4478 (bit_cpu_AVX512VL): Likewise.
4479 (index_cpu_AVX512PF): Likewise.
4480 (index_cpu_AVX512ER): Likewise.
4481 (index_cpu_AVX512CD): Likewise.
4482 (index_cpu_AVX512BW): Likewise.
4483 (index_cpu_AVX512VL): Likewise.
4484 (reg_AVX512PF): Likewise.
4485 (reg_AVX512ER): Likewise.
4486 (reg_AVX512CD): Likewise.
4487 (reg_AVX512BW): Likewise.
4488 (reg_AVX512VL): Likewise.
4489
4490 2017-04-18 Florian Weimer <fweimer@redhat.com>
4491
4492 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
4493 O_CLOEXEC is defined.
4494 * include/fcntl.h (__have_o_cloexec): Remove declaration.
4495 * io/Makefile (aux): Remove.
4496 * io/have_o_cloexec.c: Remove file.
4497 * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
4498 defined and works.
4499 * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
4500 defined.
4501 * login/utmp_file.c (O_flags): Remove definition.
4502 (setutent_file): Use O_CLOEXEC instead of O_flags. Assume that
4503 O_CLOEXEC works.
4504 (pututline_file): Likewise.
4505 * malloc/mtrace.c: Assume that O_CLOEXEC works.
4506 * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
4507 definition.
4508 (internal_setgrent): Assume that O_CLOEXEC works.
4509 * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
4510 Remove definition.
4511 (internal_setgrent): Assume that O_CLOEXEC works.
4512 * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
4513 definition.
4514 (internal_setpwent): Assume that O_CLOEXEC works.
4515 * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
4516 definition.
4517 (internal_setspent): Assume that O_CLOEXEC works.
4518 * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
4519 (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS. Assume that
4520 O_CLOEXEC is defined and works.
4521 * nss/Makefile (libnss_files-routines): Remove
4522 files-have_o_cloexec.
4523 * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
4524 defined.
4525 * nss/nss_files/files-XXX.c (internal_setent): Assume that
4526 O_CLOEXEC is defined and works.
4527 * nss/nss_files/files-alias.c (internal_setent): Likewise.
4528 * nss/nss_files/files-have_o_cloexec.c: Remove.
4529 * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
4530 defined.
4531 * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
4532 and works.
4533 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
4534 definition.
4535 * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
4536 * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
4537 * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
4538 (__opendirat, __opendir): Adjust opendir_oflags call.
4539 (check_have_o_cloexec): Remove.
4540 (__alloc_dir): Assume that O_CLOEXEC is defined and works.
4541 * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
4542 defined.
4543 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
4544 Remove definition.
4545
4546 2017-04-18 Florian Weimer <fweimer@redhat.com>
4547
4548 * include/unistd.h (__have_dup3): Remove declaration.
4549 * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
4550 dup3 is available.
4551 * libio/freopen64.c (freopen64): Likewise.
4552 * socket/Makefile (aux): Remove have_sock_cloexec.
4553 * socket/have_sock_cloexec.c: Remove file.
4554 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
4555 definition.
4556 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
4557 Likewise.
4558 * sysdeps/nacl/kernel-features.h: Update comment.
4559
4560 2017-04-18 Florian Weimer <fweimer@redhat.com>
4561
4562 * include/unistd.h (__have_pipe2): Remove declaration.
4563 * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
4564 * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
4565 available.
4566 * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
4567 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
4568 Remove definition.
4569
4570 2017-04-18 Florian Weimer <fweimer@redhat.com>
4571
4572 * malloc/malloc.c (cfree): Turn into compat symbol.
4573 (__cfree): Remove alias.
4574 * stdlib/stdlib.h (cfree): Remove declaration.
4575 * malloc/malloc.h (cfree): Likewise.
4576 * manual/memory.texi (Freeing after Malloc): Remove cfree.
4577 * malloc/Versions (GLIBC_2.26): Add.
4578
4579 2017-04-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4580
4581 * sysdeps/powerpc/powerpc64/multiarch/Makefile
4582 (sysdep_routines): Add strrchr-power8.
4583 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4584 (strrchr): Add __strrchr_power8 to list of strrchr functions.
4585 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
4586 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
4587 (strrchr): Add __strrchr_power8 to ifunc list.
4588 * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
4589
4590 2017-04-17 Rabin Vincent <rabinv@axis.com>
4591
4592 [BZ #21357]
4593 * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
4594 Call free() outside of mutex.
4595
4596 2017-04-13 Florian Weimer <fweimer@redhat.com>
4597
4598 * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
4599 is defined.
4600 * elf/rtld.c (process_envvars): Likewise.
4601 * sysdeps/posix/shm_open.c (shm_open): Likewise.
4602 * elf/dl-profile.c (EXTRA_FLAGS): Remove definition. Use
4603 O_NOFOLLOW directly.
4604 * gmon/gmon.c (O_NOFOLLOW): Remove definition.
4605
4606 2017-04-13 Florian Weimer <fweimer@redhat.com>
4607
4608 [BZ #21369]
4609 Remove EDNS fallback.
4610 * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
4611 handling.
4612 * resolv/res_send.c (send_dg): Likewise.
4613 * resolv/tst-resolv-edns.c (response): Handle "formerr." and
4614 "tcp." prefixes.
4615 (do_test): Send a "formerr."-prefixed query in an attempt to
4616 trigger EDNS fallback.
4617
4618 2017-04-13 Florian Weimer <fweimer@redhat.com>
4619
4620 [BZ #21361]
4621 Limit EDNS buffer size to 1200 bytes.
4622 * include/resolv.h (__res_nopt): Remove declaration.
4623 * resolv/Makefile (tests): tst-resolv-edns.
4624 (tst-resolv-edns): Link with -lresolv, -lpthread.
4625 * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
4626 interval [512, 1200].
4627 * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
4628 we can resize the buffer.
4629 * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
4630 (__res_nopt): Declare.
4631 * resolv/tst-resolv-edns.c: New file.
4632 * resolv/resolv_test.h (struct resolv_edns_info): Define.
4633 (struct resolv_response_context): Add edns member.
4634 * resolv/resolv_test.c (struct query_info): Add edns member.
4635 (parse_query): Extract EDNS information from the query.
4636 (server_thread_udp_process_one): Propagate EDNS data.
4637 (server_thread_tcp_client): Likewise.
4638
4639 2017-04-13 Florian Weimer <fweimer@redhat.com>
4640
4641 [BZ #21359]
4642 * resolv/ns_name.c (ns_name_pack): Do not require an additional
4643 byte in the destination buffer. Avoid out-of-bounds pointer
4644 arithmetic.
4645 * resolv/Makefile (tests): Add tst-ns_name_compress.
4646 (tst-ns_name_compress): Link with -lresolv.
4647 * resolv/tst-ns_name_compress.c: New file.
4648 * resolv/tst-resolv-basic.c (LONG_NAME): Define.
4649 (response): Recognize LONG_NAME.
4650 (do_test): Add LONG_NAME tests.
4651 * resolv/tst-ns_name.c (run_test_case): Fix expected data check
4652 for ns_name_unpack. Add tests for ns_name_pton and
4653 ns_name_compress.
4654
4655 2017-04-13 Florian Weimer <fweimer@redhat.com>
4656
4657 * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
4658 (res_nisourserver): Remove definition.
4659 (p_section, res_npquery, res_nisourserver): Remove declaration.
4660 (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
4661 * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
4662 ... here.
4663 * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
4664 <resolv.h>.
4665 * resolv/res_query.c: Likewise.
4666 * resolv/res_debug.c (p_section): Define as static.
4667
4668 2017-04-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4669
4670 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
4671 strncat-power8.
4672 * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
4673 __strncat_power8 to ifunc list.
4674 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4675 (strncat): Add __strncat_power8 to list of strncat functions.
4676 * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
4677
4678 2017-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4679
4680 [BZ #21270]
4681 * posix/tst-mmap-offset.c (do_prepare): New function.
4682 (do_test): Rename to do_test_bz18877 and use FAIL_RET.
4683 (do_test_bz21270): New function.
4684 * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
4685 * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
4686 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
4687 * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
4688 * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
4689 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
4690 * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
4691 * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
4692 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
4693 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
4694 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
4695 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4696 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4697 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4698 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
4699 * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
4700 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
4701 * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
4702 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
4703 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
4704 * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
4705 * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
4706 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
4707 from auto-generation list.
4708 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
4709 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4710 * sysdeps/unix/sysv/linux/mmap.c: New file.
4711 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
4712 offsets and support for mmap2 syscall.
4713
4714 * posix/globtest.sh: Add cleanup routine on trap 0.
4715
4716 2017-04-11 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
4717
4718 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
4719 implementation-specific function name and remove unneeded
4720 macros definition.
4721 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
4722 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
4723 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
4724 name if not defined and pass as parameter to macros accordingly.
4725 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4726 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
4727
4728 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
4729 implementation-specific function name and remove unneeded
4730 macros definition.
4731 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
4732 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
4733 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
4734 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
4735 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4736 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
4737 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
4738 name if not defined and pass as parameter to macros accordingly.
4739 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4740 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4741 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4742 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4743 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4744 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
4745
4746 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
4747 implementation-specific function name and remove unneeded macros
4748 definition.
4749 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
4750 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
4751 * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
4752 function name if not defined and pass as parameter to macros
4753 accordingly.
4754 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4755 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
4756
4757 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
4758 implementation-specific function name and remove unneeded macros
4759 definition.
4760 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4761 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4762 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
4763 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4764 * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
4765 not defined and pass as parameter to macros accordingly.
4766 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4767 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4768 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4769 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
4770
4771 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
4772 strcasestr implementation name and remove unneeded macros definition.
4773 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
4774 strstr implementation name and remove unneeded macros definition.
4775 * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
4776 name if not defined and pass as parameter to macros accordingly.
4777 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
4778
4779 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
4780 implementation-specific function name and remove unneeded macros
4781 definition.
4782 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
4783 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
4784 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
4785 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
4786 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
4787 * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
4788 function name if not defined and pass as parameter to macros
4789 accordingly.
4790 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
4791 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
4792 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
4793 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
4794
4795 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
4796 the strlen implementation name and remove unneeded macros definition.
4797 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
4798 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4799 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
4800 the strnlen implementation name and remove unneeded macros definition.
4801 * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
4802 name if not defined and pass as parameter to macros accordingly.
4803 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
4804 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
4805 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4806
4807 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
4808 the implementation-specific function name and remove unneeded
4809 macros definition.
4810 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
4811 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
4812 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
4813 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4814 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
4815 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
4816 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
4817 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
4818 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4819 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
4820 name if not defined and pass as parameter to macros accordingly.
4821 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
4822 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4823 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
4824 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
4825 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
4826 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
4827 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
4828 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4829
4830 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
4831 implementation-specific function name and remove unneeded macros
4832 definition.
4833 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
4834 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
4835 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
4836 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
4837 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
4838 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
4839 function name if not defined.
4840 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
4841 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
4842
4843 2017-04-11 Paul Clarke <pc@us.ibm.com>
4844
4845 * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
4846 AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
4847 AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New. Add auxvec
4848 identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
4849
4850 2017-04-11 Florian Weimer <fweimer@redhat.com>
4851 Zack Weinberg <zackw@panix.com>
4852
4853 * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
4854 readdir64 as thread-safe. Update warning about readdir_r.
4855
4856 2017-04-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4857
4858 * sysdeps/unix/sysv/linux/x86/Implies: New file.
4859 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
4860 * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
4861 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
4862 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
4863 * sysdeps/x86/bits/pthreadtypes.h: Move to ...
4864 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4865
4866 2017-04-10 H.J. Lu <hongjiu.lu@intel.com>
4867
4868 * sysdeps/i386/dl-procinfo.c: Include
4869 <sysdeps/x86/dl-procinfo.c>.
4870 * sysdeps/x86_64/dl-procinfo.c: Likewise.
4871 * sysdeps/x86/dl-procinfo.c: New file.
4872
4873 2017-04-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4874
4875 * sysdeps/generic/math_private.h: Remove declarations of
4876 many functions that are already declared in math.h.
4877 * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
4878 declaration for __frexpl.
4879 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
4880 the declarations for __scalbnl and fabsl.
4881
4882 2017-04-09 Dmitry V. Levin <ldv@altlinux.org>
4883
4884 [BZ #20831]
4885 * elf/dl-map-segments.h (_dl_map_segments): Check for failure
4886 of __mprotect to change protection on the excess portion
4887 to disallow all access.
4888
4889 2017-04-07 H.J. Lu <hongjiu.lu@intel.com>
4890
4891 * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
4892 HAS_CPU_FEATURE to check for SSE.
4893 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4894 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
4895 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
4896 * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
4897 * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
4898 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
4899 * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
4900 * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
4901 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
4902 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
4903 * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4904 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
4905 * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
4906 * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
4907 (index_cpu_SSE): Likewise.
4908 (reg_SSE): Likewise.
4909
4910 2017-04-07 Paul Eggert <eggert@cs.ucla.edu>
4911
4912 * posix/getopt1.c: Include <config.h>, not "config.h".
4913
4914 2017-04-07 Zack Weinberg <zackw@panix.com>
4915
4916 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
4917 * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
4918 Mention in top-of-file boilerplate that these files are shared
4919 with gnulib.
4920 * posix/getopt.h, posix/bits/getopt_posix.h:
4921 Mention in top-of-file boilerplate that these files are NOT shared
4922 with gnulib, unlike the rest of the getopt implementation.
4923
4924 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
4925 New files, intended to be shared with gnulib.
4926 * posix/bits/getopt_posix.h:
4927 New file, not intended to be shared with gnulib.
4928 * posix/getopt.h: Now just includes features.h,
4929 bits/getopt_core.h, and bits/getopt_ext.h. Will
4930 no longer be shared with gnulib.
4931 * include/bits/getopt_core.h, include/bits/getopt_ext.h
4932 * include/bits/getopt_posix.h: New wrappers.
4933 * posix/Makefile: Install new headers.
4934 * posix/unistd.h, libio/stdio.h:
4935 Include bits/getopt_posix.h instead of getopt.h.
4936
4937 * include/libc-symbols.h: For gnulib compatibility, define
4938 _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
4939 _GL_ATTRIBUTE_CONST.
4940 * posix/getopt.c (_getopt_initialize): Mark argc and argv
4941 parameters with _GL_UNUSED.
4942
4943 * posix/getopt.c: When used standalone, define __libc_use_alloca
4944 as always false and alloca to abort if called.
4945 (process_long_option): Rewrite handling of ambiguous long options
4946 to use a single boolean vector, not a linked list; use
4947 __libc_use_alloca to decide whether to allocate this using alloca.
4948 * posix/tst-getopt_long1.c: Adjust text of expected error message.
4949
4950 * posix/getopt.c (process_long_option): New function split out
4951 from _getopt_internal_r.
4952 (_getopt_internal_r): Replace both copies of the long-option
4953 processing code with calls to process_long_option.
4954 * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
4955 (do_test): Differentiate argv[0] in the two subtests.
4956
4957 * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
4958 * posix/getopt.c (_getopt_internal_r): Move some initialization code...
4959 (_getopt_initialize): ...here. Don't set d->__posixly_correct.
4960
4961 * posix/getopt.h: Add backup definition of __nonnull for
4962 consistency with gnulib. Define __getopt_argv_const to const
4963 if not already defined.
4964 (getopt): Update doc comment from gnulib. Prototype
4965 unconditionally. Add __nonnull annotation.
4966 (__posix_getopt): Add __nonnull annotation.
4967 (getopt_long, getopt_long_only): Use __getopt_argv_const in
4968 prototypes for consistency with gnulib. Add __nonnull
4969 annotations.
4970 * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
4971 (getopt_internal): Change 'argv' argument to type 'char **'.
4972 Remove now-unnecessary casts.
4973 (getopt, __posix_getopt): Eliminate repetition with a macro.
4974 Cast 'argv' to 'char **' when calling _getopt_internal.
4975 * posix/getopt1.c (getopt_long, getopt_long_only):
4976 Use __getopt_argv_const for consistency with gnulib.
4977 Cast 'argv' to 'char **' when calling _getopt_internal.
4978 (_getopt_long_r, _getopt_long_only_r):
4979 Change 'argv' argument to type 'char **'.
4980 (main): Constify 'long_options'.
4981 * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
4982 (_getopt_long_r, _getopt_long_only_r):
4983 Change 'argv' argument to type 'char **'.
4984
4985 * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
4986 (locked_vfxprintf): New helper function. Handle arbitrary
4987 multibyte strings, not just ASCII.
4988 * include/stdio.h: Declare __fxprintf_nocancel.
4989 * posix/getopt.c: When _LIBC is defined, define fprintf to
4990 __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
4991 to _IO_funlockfile. When neither _LIBC nor
4992 _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
4993 funlockfile as no-ops.
4994 (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
4995 the standalone error-printing code can now be used for libc as
4996 well. Add an flockfile/funlockfile pair around one case where
4997 the error message is printed in several chunks. Don't use fputc.
4998 * posix/tst-getopt-cancel.c: New test.
4999 * posix/Makefile: Run it.
5000
5001 * posix/getopt.c (_getopt_internal_r): Don't increment
5002 d->optind a second time when reporting ambiguous -W options.
5003
5004 * posix/getopt_int.h: Include getopt.h.
5005 Use impl-namespace names for all arguments to _getopt_internal and
5006 _getopt_internal_r.
5007 Declare __ordering enum outside the struct.
5008 Harmonize comments with gnulib.
5009 * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
5010 ELIDE_CODE logic entirely. Move inclusion of stdlib.h to
5011 #ifdef TEST block and make unconditional. Do not define NULL.
5012 * posix/getopt.c: Partial merge from gnulib, covering the
5013 initial includes and global declarations, commentary, and
5014 a couple of semantically-neutral code changes.
5015
5016 * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
5017 Use '...' instead of `...' for quotation marks inside
5018 comments and strings.
5019
5020 * config.h.in (USE_NONOPTION_FLAGS): Remove.
5021 * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
5022 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
5023 * posix/getopt_int.h: Likewise.
5024 * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
5025 __libc_argc and __libc_argv externs, which were only used by
5026 #ifdef USE_NONOPTION_FLAGS blocks.
5027 * posix/getopt_init.c: Remove file.
5028 * posix/Makefile (routines): Remove getopt_init.
5029 * include/getopt.h: Don't declare __getopt_initialize_environment.
5030 * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
5031 a comment.
5032
5033 2017-04-07 Florian Weimer <fweimer@redhat.com>
5034
5035 * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
5036
5037 2017-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5038
5039 * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
5040 * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
5041 to __wrap_.udiv.
5042 * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
5043 * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
5044
5045 * sysdeps/i386/symbol-hacks.h: New file.
5046 * sysdeps/m68k/symbol-hacks.h: New file.
5047 * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
5048 * sysdeps/s390/s390-32/symbol-hacks.h: New file.
5049 * sysdeps/unix/sysv/linux/i386/Makefile
5050 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
5051 [$(subdir) = csu] (sysdep-only-routines): Likewise.
5052 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5053 * sysdeps/unix/sysv/linux/m68k/Makefile
5054 [$(subdir) = csu] (sysdep_routines): Likewise.
5055 [$(subdir) = csu] (sysdep-only-routines): Likewise.
5056 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5058 [$(subdir) = csu] (sysdep_routines): Likewise.
5059 [$(subdir) = csu] (sysdep-only-routines): Likewise.
5060 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5061 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
5062 [$(subdir) = csu] (sysdep_routines): Likewise.
5063 [$(subdir) = csu] (sysdep-only-routines): Likewise.
5064 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5065 * sysdeps/wordsize-32/Makefile: Remove file.
5066 * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
5067 * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
5068
5069 2017-04-05 H.J. Lu <hongjiu.lu@intel.com>
5070
5071 * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
5072 (TEST_FUNCTION_ARGV): New.
5073
5074 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
5075
5076 * elf/next.c: Import support/test-driver.c instead of
5077 test-skeleton.c and delete TEST_FUNCTION macro definition.
5078 * elf/nodelete.c: Likewise.
5079 * elf/order2.c: Likewise.
5080 * elf/tst-_dl_addr_inside_object.c: Likewise.
5081 * elf/tst-addr1.c: Likewise.
5082 * elf/tst-align.c: Likewise.
5083 * elf/tst-align2.c: Likewise.
5084 * elf/tst-audit11.c: Likewise.
5085 * elf/tst-audit12.c: Likewise.
5086 * elf/tst-audit2.c: Likewise.
5087 * elf/tst-audit9.c: Likewise.
5088 * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
5089 * elf/tst-deep1.c: Likewise.
5090 * elf/tst-dl-iter-static.c: Likewise.
5091 * elf/tst-dlmodcount.c: Likewise.
5092 * elf/tst-dlmopen1.c: Likewise.
5093 * elf/tst-dlmopen2.c: Likewise.
5094 * elf/tst-dlmopen3.c: Likewise.
5095 * elf/tst-dlopen-aout.c: Likewise.
5096 * elf/tst-dlopenrpath.c: Likewise.
5097 * elf/tst-dlsym-error.c: Likewise.
5098 * elf/tst-execstack-needed.c: Likewise.
5099 * elf/tst-execstack-prog.c: Likewise.
5100 * elf/tst-execstack.c: Likewise.
5101 * elf/tst-global1.c: Likewise.
5102 * elf/tst-gnu2-tls1.c: Likewise.
5103 * elf/tst-latepthread.c: Likewise.
5104 * elf/tst-leaks1.c: Likewise.
5105 * elf/tst-linkall-static.c: Likewise.
5106 (do_test): New function.
5107 * elf/tst-nodelete-opened.c: Likewise.
5108 * elf/tst-nodelete.cc: Likewise.
5109 * elf/tst-nodelete2.c: Likewise.
5110 * elf/tst-noload.c: Likewise.
5111 * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
5112 * elf/tst-order-main.c: Likewise.
5113 * elf/tst-pathopt.c: Likewise.
5114 * elf/tst-pie2.c: Likewise.
5115 * elf/tst-piemod1.c: Likewise.
5116 * elf/tst-prelink.c: Likewise.
5117 * elf/tst-protected1a.c: Likewise.
5118 * elf/tst-protected1b.c: Likewise.
5119 * elf/tst-ptrguard1.c: Likewise, import getopt.h,
5120 and define _GNU_SOURCE macro.
5121 (cmdline_process_function): New function.
5122 * elf/tst-relsort1.c: Likewise.
5123 * elf/tst-stackguard1.c: Likewise, import getopt.h,
5124 and define _GNU_SOURCE macro.
5125 (cmdline_process_function): New function.
5126 * elf/tst-thrlock.c: Likewise.
5127 * elf/tst-tls-dlinfo.c: Likewise.
5128 * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
5129 * elf/tst-tls1.c: Likewise.
5130 * elf/tst-tls10.c: Likewise.
5131 * elf/tst-tls11.c: Likewise.
5132 * elf/tst-tls12.c: Likewise.
5133 * elf/tst-tls13.c: Likewise.
5134 * elf/tst-tls14.c: Likewise.
5135 * elf/tst-tls15.c: Likewise.
5136 * elf/tst-tls16.c: Likewise.
5137 * elf/tst-tls17.c: Likewise.
5138 * elf/tst-tls18.c: Likewise.
5139 * elf/tst-tls19.c: Likewise.
5140 * elf/tst-tls2.c: Likewise.
5141 * elf/tst-tls3.c: Likewise.
5142 * elf/tst-tls4.c: Likewise.
5143 * elf/tst-tls5.c: Likewise.
5144 * elf/tst-tls6.c: Likewise.
5145 * elf/tst-tls7.c: Likewise.
5146 * elf/tst-tls8.c: Likewise.
5147 * elf/tst-tls9.c: Likewise.
5148 * elf/tst-tlsalign-extern.c: Likewise.
5149 * elf/tst-tlsalign.c: Likewise.
5150 * elf/tst-unique1.c: Likewise.
5151 * elf/tst-unique2.c: Likewise.
5152 * elf/vismain.c: Likewise.
5153
5154 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
5155
5156 * string/test-strnlen.c (do_page_tests): New function
5157 to check length of strings ending at the page boundary.
5158 (test_main): Added call to the do_page_tests function.
5159
5160 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
5161 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5162
5163 * sysdeps/powerpc/powerpc64/multiarch/Makefile
5164 (sysdep_routines): Add strnlen-power8.
5165 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5166 (strnlen): Add __strnlen_power8 to list of strnlen functions.
5167 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
5168 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
5169 (__strnlen): Add __strnlen_power8 to ifunc list.
5170 * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
5171
5172 2017-04-04 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
5173
5174 * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
5175 the TEST_FUNCTION macro definition.
5176 * wcsmbs/tst-mbrtowc2.c: Likewise.
5177 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5178 * wcsmbs/tst-wchar-h.c: Likewise.
5179 * wcsmbs/tst-wcpncpy.c: Likewise.
5180 * wcsmbs/tst-wcrtomb.c: Likewise.
5181 * wcsmbs/tst-wcsnlen.c: Likewise.
5182 * wcsmbs/tst-wcstof.c: Likewise.
5183
5184 2017-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5185
5186 * nptl/pthread_create.c (START_THREAD_DEFN): Remove
5187 CALL_THREAD_FCT macro usage.
5188 * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
5189 * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
5190 * sysdeps/x86_64/32/nptl/tls.h: Remove file.
5191
5192 * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
5193 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5194 (__ASSUME_REQUEUE_PI): Likewise.
5195 * sysdeps/unix/sysv/linux/kernel-features.h
5196 (__ASSUME_REQUEUE_PI): Likewise.
5197 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5198 (__ASSUME_REQUEUE_PI): Likewise.
5199 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5200 (__ASSUME_REQUEUE_PI): Likewise.
5201 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5202 (__ASSUME_REQUEUE_PI): Likewise.
5203
5204 2017-04-04 Florian Weimer <fweimer@redhat.com>
5205
5206 * resolv/tst-resolv-canonname.c: New file.
5207 * resolv/Makefile (tests): Add tst-resolv-canonname.
5208 (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
5209
5210 2017-04-04 Florian Weimer <fweimer@redhat.com>
5211
5212 * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
5213 Declare.
5214 * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
5215 (NS_MAXCDNAME): Remove definition.
5216 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
5217 * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
5218 (NS_MAXCDNAME): Remove definition.
5219 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
5220
5221 2017-04-04 Florian Weimer <fweimer@redhat.com>
5222
5223 * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
5224 call whose result is not used.
5225
5226 2017-04-04 Florian Weimer <fweimer@redhat.com>
5227
5228 * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
5229 * resolv/Makefile (tests): Add tst-ns_name.
5230 (tst-ns_name): Link with -lresolv.
5231 (tst-ns_name.out): Depend on the input data file.
5232
5233 2017-04-04 Stefan Liebler <stli@linux.vnet.ibm.com>
5234
5235 * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
5236 Clobber also r14.
5237
5238 2017-04-03 Mike Frysinger <vapier@gentoo.org>
5239
5240 [BZ #21253]
5241 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
5242 slack space by 32KiB.
5243
5244 2017-04-01 Wladimir van der Laan <laanwj@gmail.com>
5245
5246 [BZ #21338]
5247 * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
5248 instead of incorrect do_set_arena_test
5249
5250 2017-03-31 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5251
5252 * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
5253 * math/bits/math-finite.h: Likewise.
5254
5255 2017-03-31 Slava Barinov <v.barinov@samsung.com>
5256
5257 [BZ #21289]
5258 * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
5259
5260 2017-03-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5261
5262 * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
5263 non expected inotify_add_watch and quotactl return.
5264
5265 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5266
5267 * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
5268 to int32_t.
5269 * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
5270 as returning int32_t.
5271
5272 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5273
5274 * math/math.h: Include bits/math-finite.h once per
5275 floating-point type.
5276 * math/bits/math-finite.h: Macroize all declarations by
5277 floating-point type.
5278
5279 2017-03-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5280
5281 [BZ #21182]
5282 * string/test-memchr.c (do_test): Add BZ#21182 checks for address
5283 near end of a page.
5284 * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
5285 overflow calculation.
5286
5287 2017-03-28 Steve Ellcey <sellcey@caviumnetworks.com>
5288
5289 * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
5290 (IMPL) Call with 1 instead of 0 as argument.
5291
5292 2017-03-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5293
5294 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
5295 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
5296 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
5297 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
5298 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
5299 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
5300 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
5301 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
5302 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
5303 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
5304 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
5305 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
5306 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5307 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
5308 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
5309 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
5310 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
5311 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
5312 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
5313 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
5314 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
5315 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
5316 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
5317 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
5318 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
5319 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
5320 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
5321 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
5322 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
5323 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
5324 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
5325 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
5326 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
5327 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
5328 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
5329 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
5330 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
5331 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
5332 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
5333 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
5334 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
5335 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
5336 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
5337 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
5338 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
5339 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
5340 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
5341 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
5342 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
5343 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
5344 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
5345 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
5346 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
5347 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
5348 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
5349 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
5350 INLINE_SYSCALL_ERROR_RETURN_VALUE.
5351 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
5352 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
5353 defined.
5354 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
5355 __NR_setgroups32 if defined.
5356 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
5357 if defined.
5358 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
5359 __NR_setresgid32 is defined.
5360 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
5361 __NR_setresuid32 if defined.
5362 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
5363 __NR_setreuid32 if defined.
5364 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
5365 defined.
5366 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
5367 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
5368 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
5369 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
5370 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
5371 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
5372 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
5373 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
5374 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
5375 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
5376 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
5377 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
5378 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5379 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
5380 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
5381 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
5382 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
5383 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
5384 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
5385 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
5386 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
5387 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
5388 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
5389 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
5390 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
5391 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
5392 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
5393 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
5394 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
5395 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
5396 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
5397 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
5398 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
5399 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
5400 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
5401 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
5402 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
5403 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
5404 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
5405 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
5406 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
5407 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
5408 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
5409 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
5410 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
5411 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
5412 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
5413 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
5414 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
5415 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
5416 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
5417 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
5418 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
5419 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
5420 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
5421 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
5422 INLINE_SYSCALL_ERROR_RETURN_VALUE.
5423 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
5424 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
5425 defined.
5426 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
5427 __NR_setgroups32 if defined.
5428 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
5429 if defined.
5430 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
5431 __NR_setresgid32 is defined.
5432 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
5433 __NR_setresuid32 if defined.
5434 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
5435 __NR_setreuid32 if defined.
5436 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
5437 defined.
5438
5439 2017-03-27 Joseph Myers <joseph@codesourcery.com>
5440
5441 [BZ #21277]
5442 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
5443 unconditionally.
5444 (IMAXBEL): Likewise.
5445 (IUTF8): Likewise.
5446
5447 2017-03-27 Szabolcs Nagy <szabolcs.nagy@arm.com>
5448
5449 * sysdeps/aarch64/libm-test-ulps: Update.
5450
5451 2017-03-24 Sunyeop Lee <sunyeop97@gmail.com>
5452
5453 * README.tunables: Updated descriptions.
5454 * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
5455 * scripts/gen-tunables.awk: Updated the code related to the
5456 commit.
5457
5458 2017-03-23 Wilco Dijkstra <wdijkstr@arm.com>
5459
5460 * benchtests/Makefile (string-benchset): Add memcpy-random.
5461 * benchtests/bench-memcpy-random.c: New file.
5462
5463 2017-03-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5464
5465 * stdio-common/printf.h (register_printf_modifier): Change the
5466 order of __wur and __THROW.
5467 (register_printf_type): Likewise.
5468
5469 2017-03-23 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
5470
5471 * string/test-string.h (TEST_FUNCTION): Use test_main instead of
5472 test_main ().
5473 (CMDLINE_PROCESS): Use function instead of defined macro.
5474 * debug/test-strcpy_chk.c: Import support/test-driver.c and also
5475 <suppport/support.h> to use set_fortify_handler().
5476 * string/bug-envz1.c: Import support/test-driver.c instead of
5477 test-skeleton.c.
5478 * string/bug-strcoll2.c: Likewise.
5479 * string/bug-strtok1.c: Likewise.
5480 * string/stratcliff.c: Likewise.
5481 * string/test-ffs.c: Likewise.
5482 * string/test-memccpy.c: Likewise.
5483 * string/test-memchr.c: Likewise.
5484 * string/test-memcmp.c: Likewise.
5485 * string/test-memcpy.c: Likewise.
5486 * string/test-memmem.c: Likewise.
5487 * string/test-memmove.c: Likewise.
5488 * string/test-memrchr.c: Likewise.
5489 * string/test-memset.c: Likewise.
5490 * string/test-rawmemchr.c: Likewise.
5491 * string/test-strcasecmp.c: Likewise.
5492 * string/test-strcasestr.c: Likewise.
5493 * string/test-strcat.c: Likewise.
5494 * string/test-strchr.c: Likewise.
5495 * string/test-strcmp.c: Likewise.
5496 * string/test-strcpy.c: Likewise.
5497 * string/test-string.h: Likewise.
5498 * string/test-strlen.c: Likewise.
5499 * string/test-strncasecmp.c: Likewise.
5500 * string/test-strncat.c: Likewise.
5501 * string/test-strncmp.c: Likewise.
5502 * string/test-strncpy.c: Likewise.
5503 * string/test-strnlen.c: Likewise.
5504 * string/test-strpbrk.c: Likewise.
5505 * string/test-strrchr.c: Likewise.
5506 * string/test-strspn.c: Likewise.
5507 * string/test-strstr.c: Likewise.
5508 * string/tst-bswap.c: Likewise.
5509 * string/tst-cmp.c: Likewise.
5510 * string/tst-endian.c: Likewise.
5511 * string/tst-inlcall.c: Likewise.
5512 * string/tst-strcoll-overflow.c: Likewise.
5513 * string/tst-strfry.c: Likewise.
5514 * string/tst-strlen.c: Likewise.
5515 * string/tst-strtok.c: Likewise.
5516 * string/tst-strtok_r.c: Likewise.
5517 * string/tst-strxfrm.c: Likewise.
5518 * string/tst-strxfrm2.c: Likewise.
5519 * string/tst-svc.c: Likewise.
5520 * string/tst-svc2.c: Likewise.
5521
5522 2017-03-22 Zack Weinberg <zackw@panix.com>
5523
5524 * stdio-common/bug25.c: Include stdlib.h.
5525 * support/tst-support_format_dns_packet.c: Include stdio.h,
5526 stdlib.h, and string.h.
5527 * support/tst-support_record_failure.c: Include string.h.
5528 * support/tst-support_record_failure-2.sh: Adjust line number
5529 expectations and correct a typo in an error message.
5530
5531 2017-03-21 H.J. Lu <hongjiu.lu@intel.com>
5532
5533 [BZ #21258]
5534 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
5535 Define only if _dl_runtime_resolve is defined to
5536 _dl_runtime_resolve_sse_vex.
5537 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
5538 Fallthrough to _dl_runtime_resolve_sse_vex.
5539
5540 2017-03-21 Joseph Myers <joseph@codesourcery.com>
5541
5542 * INSTALL: Regenerated.
5543
5544 2017-03-21 Thorsten Kukuk <kukuk@suse.com>
5545
5546 * config.h.in: Add LINK_OBSOLETE_NSL.
5547 * config.make.in: Add build-obsolete-nsl.
5548 * configure.ac: Add obsolete-nsl option.
5549 * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
5550 * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
5551 * include/rpcsvc/nislib.h: Likewise.
5552 * include/rpcsvc/ypclnt.h: Likewise.
5553 * manual/install.texi: Document --enable-obsolete-nsl.
5554 * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
5555 * nis/nis_add.c: Replace libnsl_hidden_def with
5556 libnsl_hidden_nolink_def.
5557 * nis/nis_addmember.c: Likewise.
5558 * nis/nis_call.c: Likewise.
5559 * nis/nis_clone_obj.c: Likewise.
5560 * nis/nis_defaults.c: Likeise.
5561 * nis/nis_domain_of_r.c: Likewise.
5562 * nis/nis_error.c: Likewise.
5563 * nis/nis_file.c: Likewise.
5564 * nis/nis_free.c: Likewise.
5565 * nis_local_names.c: Likewise.
5566 * nis/nis_lookup.c: Likewise.
5567 * nis/nis_modify.c: Likewise.
5568 * nis/nis_print.c: Likewise.
5569 * nis/nis_remove.c: Likewise.
5570 * nis/nis_table.c: Likewise.
5571 * nis/nis_util.c: Likewise.
5572 * nis/nis_xdr.c: Likewise.
5573 * nis/yp_xdr.c: Likewise.
5574 * nis/ypclnt.c: Likewise.
5575 * nis/ypupdate_xdr.c: Likewise.
5576 * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
5577 * nis/nis_clone_dir.c: Likewise.
5578 * nis/nis_clone_res.c: Likewise.
5579 * nis/nis_creategroup.c: Likewise.
5580 * nis/nis_destroygroup.c: Likewise.
5581 * nis/nis_domain_of.c: Likewise.
5582 * nis/nis_getservlist.c: Likewise.
5583 * nis/nis_ismember.c: Likewise.
5584 * nis/nis_mkdir.c: Likewise.
5585 * nis/nis_ping.c: Likewise.
5586 * nis/nis_print_group_entry.c: Likewise.
5587 * nis/nis_removemember.c: Likewise.
5588 * nis/nis_rmdir.c: Likewise.
5589 * nis/nis_server.c: Likewise.
5590 * nis/nis_subr.c: Likewise.
5591 * nis/nis_verifygroup.c: Likewise.
5592
5593 2017-03-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5594
5595 * malloc/tst-interpose-aux.c (check_for_allocations):
5596 Move compiler barrier before free.
5597
5598 2017-03-20 Joseph Myers <joseph@codesourcery.com>
5599
5600 [BZ #21279]
5601 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
5602 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
5603 * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
5604 x86_64-x32-linux.
5605 (mq_attr.mq_maxmsg): Likewise.
5606 (mq_attr.mq_msgsize): Likewise.
5607 (mq_attr.mq_curmsgs): Likewise.
5608
5609 [BZ #21278]
5610 * sysdeps/unix/sysv/linux/mips/mips32/Makefile
5611 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
5612 * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
5613 mips-o32-linux.
5614
5615 [BZ #21268]
5616 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
5617 if [__USE_MISC]
5618 (NL3): Likewise.
5619
5620 2017-03-20 Mike Frysinger <vapier@gentoo.org>
5621
5622 [BZ #21275]
5623 * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
5624 __stack to __stackbase.
5625 (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
5626 checks so we can include defined(__ia64__) first.
5627
5628 2017-03-19 Christian Brauner <christian.brauner@ubuntu.com>
5629
5630 * sysdeps/unix/sysv/linux/ttyname.h: New file.
5631 * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
5632 (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
5633 Call is_pty when the link does not exist or does not match, fail
5634 with ENODEV when it returns true.
5635 * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
5636 (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
5637 Call is_pty when the link does not exist or does not match, fail
5638 with ENODEV when it returns true.
5639
5640 2017-03-18 Joseph Myers <joseph@codesourcery.com>
5641
5642 [BZ #16437]
5643 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
5644 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
5645 * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
5646 x86_64-x32-linux.
5647 * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
5648 * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
5649 * conform/data/time.h-data (timespec.tv_nsec): Likewise.
5650
5651 [BZ #21261]
5652 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
5653 [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
5654 names for all fields.
5655 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
5656 for jmp_buf field renaming.
5657 (_JMPBUF_UNWINDS_ADJ): Likewise.
5658
5659 * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
5660 with allow-header.
5661
5662 2017-03-17 Chris Evans <scarybeasts@gmail.com>
5663
5664 * malloc/malloc.c (unlink): Add consistency check between size and
5665 next->prev->size, to further harden against 1-byte overflows.
5666
5667 2017-03-17 H.J. Lu <hongjiu.lu@intel.com>
5668
5669 * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
5670 CPU_FEATURES_CPU_P.
5671
5672 2017-03-17 Joseph Myers <joseph@codesourcery.com>
5673
5674 [BZ #21259]
5675 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
5676 unconditionally, not just for [__USE_MISC].
5677
5678 [BZ #17786]
5679 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
5680 * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
5681 mips-o32-linux.
5682
5683 [BZ #21260]
5684 * sysdeps/unix/sysv/linux/alpha/Makefile
5685 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
5686 * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
5687
5688 * conform/conformtest.pl ($cross): New variable.
5689 (--cross): New command-line option.
5690 (runtest): Skip test execution when cross-compiling.
5691 * conform/Makefile (conformtest-cross): New variable.
5692 ($(conformtest-header-tests)): Pass $(conformtest-cross) to
5693 conformtest.pl.
5694
5695 * conform/conformtest.pl ($xfail_str): New variable.
5696 (--xfail=): New command-line option.
5697 (top level): Handle expectations starting xfail[cond]-.
5698 * conform/Makefile (conformtest-xfail): New variable.
5699 ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
5700 conformtest.pl.
5701
5702 2017-03-16 Joseph Myers <joseph@codesourcery.com>
5703
5704 * conform/conformtest.pl: Use compilation instead of execution
5705 tests for testing values of constants and usability in #if.
5706
5707 2017-03-16 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5708
5709 * math/auto-libm-test-in: Mark some catan and catanh as
5710 xfail-rounding:ibm128-libgcc.
5711 * math/auto-libm-test-out-catan: Regenerate.
5712 * math/auto-libm-test-out-catanh: Likewise.
5713
5714 2017-03-16 Joseph Myers <joseph@codesourcery.com>
5715
5716 * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
5717 (__END_NAMESPACE_STD): Likewise.
5718 (__USING_NAMESPACE_STD): Likewise.
5719 (__BEGIN_NAMESPACE_C99): Likewise.
5720 (__END_NAMESPACE_C99): Likewise.
5721 (__USING_NAMESPACE_C99): Likewise.
5722 * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
5723 undefine macro.
5724 (_Mdouble_END_NAMESPACE): Likewise.
5725 * ctype/ctype.h: Do not handle C++ namespaces.
5726 * libio/bits/stdio-ldbl.h: Likewise.
5727 * libio/stdio.h: Likewise.
5728 * locale/locale.h: Likewise.
5729 * math/bits/mathcalls.h: Likewise.
5730 * setjmp/setjmp.h: Likewise.
5731 * signal/signal.h: Likewise.
5732 * stdlib/bits/stdlib-float.h: Likewise.
5733 * stdlib/bits/stdlib-ldbl.h: Likewise.
5734 * stdlib/stdlib.h: Likewise.
5735 * string/string.h: Likewise.
5736 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
5737 * time/bits/types/clock_t.h: Likewise.
5738 * time/bits/types/struct_tm.h: Likewise.
5739 * time/bits/types/time_t.h: Likewise.
5740 * time/time.h: Likewise.
5741 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5742 * wcsmbs/uchar.h: Likewise.
5743 * wcsmbs/wchar.h: Likewise.
5744 [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
5745 * wctype/wctype.h: Do not handle C++ namespaces.
5746 * scripts/begin-end-check.pl: Remove.
5747 * Makefile (installed-headers): Likewise.
5748 (tests-special): Do not add $(objpfx)begin-end-check.out.
5749 ($(objpfx)begin-end-check.out): Remove.
5750
5751 2017-03-15 Steve Ellcey <sellcey@caviumnetworks.com>
5752 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5753
5754 * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
5755 (DL_PLATFORM_INIT): New define.
5756 (dl_platform_init): New function.
5757 * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
5758 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
5759 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
5760 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
5761 * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
5762
5763 2017-03-15 Mike Frysinger <vapier@gentoo.org>
5764
5765 * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
5766 instead of PIC.
5767
5768 2017-03-15 Joseph Myers <joseph@codesourcery.com>
5769
5770 [BZ #21094]
5771 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5772 24+24+24-bit pi for wider range of values around pi/2.
5773 * math/auto-libm-test-in: Add more tests of cos and tan.
5774 * math/auto-libm-test-out-cos: Regenerated.
5775 * math/auto-libm-test-out-tan: Likewise.
5776
5777 2017-03-15 John David Anglin <danglin@gcc.gnu.org>
5778
5779 * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
5780 (RTLD_START): Don't record stack end address in _dl_start_user.
5781
5782 2017-03-15 Alexey Neyman <stilor@att.net>
5783
5784 [BZ #21088]
5785 * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
5786 around definitions match those around use.
5787
5788 2017-03-15 Alexey Neyman <stilor@att.net>
5789
5790 * configure.ac: Avoid empty subexpression in grep.
5791 * configure: Regenerate.
5792
5793 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5794
5795 * posix/test-errno.c (do_test): Initialize setsockopt optlen.
5796 * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
5797 * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
5798 (test_wrp_rv): Fix format.
5799 (test_wrp_rv2): New macro.
5800 (do_test): Handle mlock return on 64 bits kernels with 32 bits
5801 binaries.
5802
5803 2017-03-15 Joseph Myers <joseph@codesourcery.com>
5804
5805 * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
5806 Use a union when storing pointers.
5807 (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
5808 cast result when passing to INIT_VEC_PTRS_LOOP.
5809 (VECTOR_WRAPPER_fFF_3): Likewise.
5810 (VECTOR_WRAPPER_fFF_4): Likewise.
5811
5812 2017-03-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5813
5814 * include/bits/mathcalls-helper-functions.h: New file.
5815 * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
5816 * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
5817 (__isinf, __isnan, __issignaling, __signbit): Move declarations to
5818 math/bits/mathcalls-helper-functions.h.
5819 * math/bits/mathcalls-helper-functions.h: New file.
5820 * math/math.h: Include bits/mathcalls-helper-functions.h for
5821 float, double, and long double.
5822
5823 2017-03-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5824
5825 * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
5826 instead of feraiseexcept.
5827
5828 2017-03-15 Florian Weimer <fweimer@redhat.com>
5829
5830 [BZ #21243]
5831 * support/temp_file.c (support_delete_temp_files): Add comment
5832 about ignored errors.
5833
5834 2017-03-15 Florian Weimer <fweimer@redhat.com>
5835
5836 [BZ #21244]
5837 * support/xclose.c: New file.
5838 * support/Makefile (libsupport-routines): Add xclose.
5839 * support/xunistd.h (xclose): Declare.
5840 * support/resolv_test.c (server_thread_tcp_client)
5841 (server_thread_tcp, make_server_sockets, resolv_test_start)
5842 (resolv_test_end): Call xclose instead of close.
5843 * support/support_enter_network_namespace.c
5844 (support_enter_network_namespace): Likewise.
5845 * support/support_run_diff.c (write_to_temp_file): Likewise.
5846
5847 2017-03-15 Florian Weimer <fweimer@redhat.com>
5848
5849 * support/support_format_dns_packet.c (support_format_dns_packet):
5850 Handle CNAME records in the response. Extract RDATA names from
5851 rdata, not the whole packet. Check AAAA record length.
5852 * support/tst-support_format_dns_packet.c: New file.
5853 * support/Makefile (tests): Add tst-support_format_dns_packet.
5854 (tst-support_format_dns_packet): Link against libresolv.
5855
5856 2017-03-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5857
5858 [BZ #21232]
5859 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
5860 posix_fadvise64 weak_alias for static build.
5861
5862 2017-03-14 Andreas Schwab <schwab@suse.de>
5863
5864 * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
5865 * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
5866 (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
5867 * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
5868 * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
5869 (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
5870 * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
5871 * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
5872
5873 2017-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
5874
5875 * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
5876 posix error code.
5877 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5878
5879 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5880
5881 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
5882 no_isolate usage for SH.
5883
5884 2017-03-13 Wilco Dijkstra <wdijkstr@arm.com>
5885
5886 [BZ #15105]
5887 [BZ #19463]
5888 * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
5889 * inet/rcmd.c (rcmd_af): Likewise.
5890 * inet/rexec.c (rexec_af): Likewise.
5891 * intl/dcigettext.c (_LIBC): Likewise.
5892 * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
5893 * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
5894 * locale/setlocale.c (setlocale): Likewise.
5895 * posix/spawn_faction_addopen.c
5896 (posix_spawn_file_actions_addopen): Likewise.
5897 * stdlib/putenv.c (putenv): Use __strndup.
5898 * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
5899 * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
5900 * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
5901 (__Need_M_And_C) Remove define/undef.
5902 * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
5903 (__malloc_and_calloc_defined): Remove define.
5904 * string/bits/string2.h (__strdup): Remove define.
5905 (strdup): Likewise.
5906 (__strndup): Likewise.
5907 (strndup): Likewise.
5908
5909 2017-03-13 Joseph Myers <joseph@codesourcery.com>
5910
5911 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
5912 macro.
5913 (IPV6_ADDR_PREFERENCES): Likewise.
5914 (IPV6_MINHOPCOUNT): Likewise.
5915 (IPV6_ORIGDSTADDR): Likewise.
5916 (IPV6_RECVORIGDSTADDR): Likewise.
5917 (IPV6_TRANSPARENT): Likewise.
5918 (IPV6_UNICAST_IF): Likewise.
5919 (IPV6_RECVFRAGSIZE): Likewise.
5920
5921 2017-03-13 Thorsten Kukuk <kukuk@suse.com>
5922
5923 * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
5924
5925 2017-03-12 Alexey Neyman <stilor@att.net>
5926
5927 * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
5928 in R_SH_DIR32 case is always false when inlined from
5929 dl-conflict.c. Ifdef out to prevent GCC from insertin an
5930
5931 2016-03-12 Marko Myllynen <myllynen@redhat.com>
5932
5933 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5934 (__ASSUME_RECV_SYSCALL): Replace duplicate by
5935 __ASSUME_SEND_SYSCALL.
5936
5937 2017-03-11 Thorsten Kukuk <kukuk@suse.com>
5938
5939 * sunrpc/Makefile: don't build and install rpcsvc header
5940 files, rpcgen and librpcsvc.a by default.
5941
5942 2017-03-10 Stefan Liebler <stli@linux.vnet.ibm.com>
5943
5944 * math/auto-libm-test-out-catan: Regenerated.
5945 * math/auto-libm-test-out-catanh: Likewise.
5946 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5947
5948 2017-03-09 Joseph Myers <joseph@codesourcery.com>
5949
5950 * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
5951 for long double with corrected test expectations.
5952
5953 2016-03-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5954
5955 * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
5956 Define.
5957 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
5958 (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
5959 * sysdeps/unix/sysv/linux/nios2/sysdep.h
5960 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
5961 * sysdeps/unix/sysv/linux/tile/sysdep.h
5962 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
5963 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5964 (__ASSUME_RECV_SYSCALL): Define.
5965 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5966 (__ASSUME_RECV_SYSCALL): Likewise.
5967 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5968 (__ASSUME_RECV_SYSCALL): Likewise.
5969 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5970 (__ASSUME_RECV_SYSCALL): Likewise.
5971 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5972 (__ASSUME_RECV_SYSCALL): Likewise.
5973 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5974 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
5975 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5976 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5977 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5978 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5979 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
5980 auto-generation list.
5981 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5982 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5983 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
5984 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5985 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5986 * sysdeps/unix/sysv/linux/send.c: Simplify includes.
5987 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
5988 __ASSUME_SENDTO_SYSCALL.
5989 * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
5990 * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
5991 * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
5992
5993 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
5994 auto-generation list.
5995 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5996 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
5997 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5998 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5999 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6000 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6001 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6002 * sysdeps/unix/sysv/linux/kernel-features.h
6003 (__ASSUME_SENDTO_SYSCALL): Define by default.
6004 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6005 (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
6006 __NR_sendto.
6007 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6008 (__ASSUME_SENDTO_SYSCALL): Likewise.
6009 * sysdeps/unix/sysv/linux/s390/kernel-features.h
6010 (__ASSUME_SENDTO_SYSCALL): Likewise.
6011 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6012 (__ASSUME_SENDTO_SYSCALL): Remove definition.
6013 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6014 (__ASSUME_SENDTO_SYSCALL): Likewise.
6015 * sysdeps/unix/sysv/linux/sh/kernel-features.h:
6016 (__ASSUME_SENDTO_SYSCALL): Likewise.
6017 * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
6018
6019 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
6020 auto-generation list.
6021 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6022 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6023 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6024 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6025 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6026 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6027 (__ASSUME_RECV_SYSCALL): New define.
6028 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6029 (__ASSUME_RECV_SYSCALL): Likewise.
6030 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6031 (__ASSUME_RECV_SYSCALL): Likewise.
6032 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6033 (__ASSUME_RECV_SYSCALL): Likewise.
6034 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6035 (__ASSUME_RECV_SYSCALL): Likewise.
6036 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6037 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
6038 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6039 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
6040 * sysdeps/unix/sysv/linux/s390/kernel-features.h
6041 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
6042 * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
6043 * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
6044 * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
6045 * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
6046 (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
6047 __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
6048
6049 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
6050 auto-generation list.
6051 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6052 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6053 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6054 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6055 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6056 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6057 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6058 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6059 (__ASSUME_RECVFROM_SYSCALL): Define by default.
6060 * sysdeps/unix/sysv/linux/kernel-features.h
6061 (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
6062 __NR_recvfrom.
6063 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6064 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6065 * sysdeps/unix/sysv/linux/s390/kernel-features.h
6066 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6067 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6068 (__ASSUME_RECVFROM_SYSCALL): Remove definition.
6069 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6070 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6071 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6072 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6073 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6074 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6075 * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
6076
6077 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
6078 auto-generation list.
6079 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6080 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6081 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6082 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6083 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6084 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6085 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6086 * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
6087 * sysdeps/unix/sysv/linux/kernel-features.h
6088 (__ASSUME_CONNECT_SYSCALL): Define.
6089 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6090 (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
6091 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6092 (__ASSUME_CONNECT_SYSCALL): Likewise.
6093 * sysdeps/unix/sysv/linux/s390/kernel-features.h
6094 (__ASSUME_CONNECT_SYSCALL): Likewise.
6095 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6096 (__ASSUME_CONNECT_SYSCALL): Likewise.
6097
6098 * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
6099 __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
6100 * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
6101 auto-generation list.
6102 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6103 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6104 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6105 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6106 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6107 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6108 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6109 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6110 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
6111 (__ASSUME_ACCEPT_SYSCALL): Undefine.
6112 * sysdeps/unix/sysv/linux/kernel-features.h
6113 (__ASSUME_ACCEPT_SYSCALL): New define.
6114 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6115 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
6116 (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
6117 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6118 (__ASSUME_ACCEPT_SYSCALL): Define.
6119 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6120 (__ASSUME_ACCEPT_SYSCALL): Undefine.
6121 * sysdeps/unix/sysv/linux/s390/kernel-features.h
6122 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
6123 (__ASSUME_ACCEPT_SYSCALL): Undefine.
6124 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6125 (__ASSUME_ACCEPT_SYSCALL): Undefine.
6126 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6127 (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
6128
6129 2017-03-08 Yury Norov <ynorov@caviumnetworks.com>
6130 Zack Weinberg <zackw@panix.com>
6131
6132 * posix/test-errno.c: New file.
6133 * posix/Makefile (tests): Add test-errno.
6134 * sysdeps/unix/sysv/linux/test-errno.c: New file.
6135 * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
6136
6137 2017-03-08 Stefan Liebler <stli@linux.vnet.ibm.com>
6138
6139 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6140
6141 2017-03-07 Florian Weimer <fweimer@redhat.com>
6142
6143 * time/tzset.c (compute_offset): Open-code min macro.
6144 (min, max, sign): Remove.
6145
6146 2017-03-07 Florian Weimer <fweimer@redhat.com>
6147
6148 [BZ #15576]
6149 Remove TZNAME_MAX limit from sysconf.
6150 * include/time.h (__tzname_cur_max, __tzname_max): Remove
6151 declaration.
6152 * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
6153 compute_tzname_max.
6154 (compute_tzname_max): Remove.
6155 * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
6156 (update_vars): Do not update __tzname_cur_max.
6157 (tzset_internal): Remove argument.
6158 (__tzset): Adjust call to tzset_internal.
6159 (__tz_convert): Likewise.
6160
6161 * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
6162 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6163 * manual/conf.texi (Sysconf Definition): Update comment.
6164
6165 2017-03-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
6166
6167 [BZ #21209]
6168 * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
6169 AT_SECURE processes.
6170 * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
6171 * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
6172 (test_child): Likewise.
6173 * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
6174
6175 2017-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6176
6177 * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
6178
6179 2017-03-06 Stefan Liebler <stli@linux.vnet.ibm.com>
6180
6181 * sysdeps/s390/atomic-machine.h
6182 (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
6183 (__arch_compare_and_exchange_val_8_acq,
6184 __arch_compare_and_exchange_val_16_acq,
6185 __arch_compare_and_exchange_val_32_acq,
6186 __arch_compare_and_exchange_val_64_acq):
6187 Delete macro.
6188 (atomic_compare_and_exchange_val_acq,
6189 atomic_compare_and_exchange_val_rel,
6190 atomic_compare_and_exchange_bool_acq,
6191 catomic_compare_and_exchange_bool_acq,
6192 atomic_exchange_acq, atomic_exchange_rel,
6193 atomic_exchange_and_add_acq,
6194 atomic_exchange_and_add_rel,
6195 catomic_exchange_and_add, atomic_or_val,
6196 atomic_or, catomic_or, atomic_bit_test_set,
6197 atomic_and_val, atomic_and, catomic_and):
6198 Define macros with help of C11 atomic builtins.
6199
6200 2017-03-03 Justus Winter <justus@gnupg.org>
6201
6202 * sysdeps/mach/hurd/ftruncate64.c: New file.
6203 * sysdeps/mach/hurd/truncate64.c: Likewise.
6204
6205 2017-03-03 Florian Weimer <fweimer@redhat.com>
6206
6207 * time/tzfile.c (NOID): Do not define.
6208 * time/tzset.c (NOID): Likewise.
6209
6210 2017-03-03 Florian Weimer <fweimer@redhat.com>
6211
6212 * time/tzset.c (compute_offset): Remove __attribute_noinline__.
6213
6214 2017-03-02 Florian Weimer <fweimer@redhat.com>
6215
6216 * elf/get-dynamic-info.h: Remove header file inclusion guard.
6217
6218 2017-03-02 Florian Weimer <fweimer@redhat.com>
6219
6220 [BZ #21015]
6221 * manual/install.texi (Configuring and compiling): Document
6222 --enable-bind-now.
6223 * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
6224 (build-shlib-helper): Use $(LDFLAGS-lib.so).
6225 (format.lds): Likewise.
6226 [bind-now] (LDFLAGS-c.so): Remove.
6227 * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
6228 be R_X86_64_GLOB_DAT.
6229 * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
6230 relocation can be R_386_GLOB_DAT.
6231 * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
6232 relocaiton can be R_ALPHA_GLOB_DAT.
6233 * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
6234
6235 2017-03-01 Zack Weinberg <zackw@panix.com>
6236
6237 * include/libc-pointer-arith.h: New file. Define
6238 cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
6239 PTR_ALIGN_DOWN here.
6240 * include/libc-internal.h: Definitions of above macros
6241 moved from here. Don't include libc-diag.h anymore either.
6242 * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
6243 Don't include libc-internal.h.
6244
6245 * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
6246 * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
6247 * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
6248 * string/strcoll_l.c, sysdeps/nacl/brk.c
6249 * sysdeps/unix/clock_settime.c
6250 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
6251 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
6252 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6253 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
6254 Don't include libc-internal.h.
6255
6256 * elf/get-dynamic-info.h, iconv/loop.c
6257 * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
6258 * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
6259 * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
6260 * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
6261 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
6262 * sysdeps/ieee754/dbl-64/k_rem_pio2.c
6263 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
6264 * sysdeps/ieee754/flt-32/k_rem_pio2f.c
6265 * sysdeps/ieee754/ldbl-128/k_tanl.c
6266 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
6267 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
6268 * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
6269 Include libc-diag.h instead of libc-internal.h.
6270
6271 * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
6272 * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
6273 * malloc/malloc.c, sysdeps/i386/nptl/tls.h
6274 * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
6275 * sysdeps/unix/sysv/linux/spawni.c
6276 * sysdeps/x86_64/nptl/tls.h:
6277 Include libc-pointer-arith.h instead of libc-internal.h.
6278
6279 * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
6280 * sysdeps/x86_64/atomic-machine.h:
6281 Add multiple include guard.
6282
6283 * nss/tst-cancel-getpwuid_r.c: Include nss.h.
6284 * string/strcasestr.c: No need to include config.h.
6285 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
6286 sys/auxv.h. Don't include sysdep.h.
6287 * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
6288
6289 * dlfcn/tst-dladdr.c: Don't include ldsodefs.h. Don't use
6290 DL_LOOKUP_ADDRESS.
6291 * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
6292 LDBL_MANT_DIG is greater than DBL_MANT_DIG.
6293 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
6294 sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
6295 of ARTIFICIAL_LIMIT.
6296 * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
6297 declaration of __clone2.
6298
6299 2017-02-28 Florian Weimer <fweimer@redhat.com>
6300
6301 * scripts/backport-support.sh (latest_commit): New file.
6302
6303 2017-02-28 Florian Weimer <fweimer@redhat.com>
6304
6305 [BZ #20257]
6306 * inet/Makefile (routines): Add deadline.
6307 (tests-static): Add tst-deadline.
6308 * inet/net-internal.h (struct deadline_current_time)
6309 (__deadline_current_time, struct deadline, __deadline_is_infinite)
6310 (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
6311 (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
6312 * inet/deadline.c: New file.
6313 * inet/tst-deadline.c: Likewise.
6314 * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
6315 tst-udp-timeout, tst-udp-garbage.
6316 (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
6317 explicitly.
6318 (tst-udp-garbage): Likewise. Also link against thread library.
6319 * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
6320 struct layout is part of the ABI.
6321 (clntudp_call): Rework timeout handling.
6322 * sunrpc/tst-udp-garbage.c: New file.
6323 * sunrpc/tst-udp-nonblocking.c: Likewise.
6324 * sunrpc/tst-udp-timeout.c: Likewise.
6325
6326 2017-02-28 Florian Weimer <fweimer@redhat.com>
6327
6328 [BZ #5010]
6329 * sunrpc/svc.c (svc_is_mapped): Remove.
6330 (svc_unregister): Obtain mapped status while the service is still
6331 registered.
6332 * sunrpc/Makefile [have-thread-library] (tests): Add
6333 tst-svc_register.
6334 (tst-svc_register): Link against libc.so explicitly and the thread
6335 library.
6336 * sunrpc/tst-svc_register.c: New file.
6337
6338 2017-02-28 Andreas Schwab <schwab@linux-m68k.org>
6339
6340 * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
6341 * sysdeps/pthread/bits/sigthread.h: Likewise.
6342
6343 2017-02-27 Florian Weimer <fweimer@redhat.com>
6344
6345 [BZ #21115]
6346 * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
6347 * sunrpc/Makefile (tests): Add tst-udp-error.
6348 (tst-udp-error): Link against libc.so explicitly.
6349 * sunrpc/tst-udp-error: New file.
6350
6351 2017-02-25 Zack Weinberg <zackw@panix.com>
6352
6353 * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
6354 __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
6355
6356 * sysdeps/generic/math_ldbl.h
6357 * sysdeps/ia64/fpu/math_ldbl.h
6358 * sysdeps/ieee754/ldbl-128/math_ldbl.h
6359 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6360 * sysdeps/ieee754/ldbl-96/math_ldbl.h
6361 * sysdeps/powerpc/fpu/math_ldbl.h
6362 * sysdeps/x86_64/fpu/math_ldbl.h:
6363 Allow direct inclusion. Use uintNN_t instead of u_intNN_t.
6364 Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
6365 LITTLE_ENDIAN. Include endian.h and/or stdint.h if necessary.
6366 Add copyright notices.
6367
6368 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
6369 Don't use EXTRACT_WORDS64.
6370
6371 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
6372 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
6373 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
6374 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
6375 Include math_ldbl.h, not math_private.h.
6376
6377 2017-02-25 Zack Weinberg <zackw@panix.com>
6378
6379 * include/libc-diag.h: New file. Define ignore_value,
6380 DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
6381 DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
6382
6383 * include/libc-internal.h: Definitions of above macros moved from
6384 here. Include libc-diag.h. Add copyright notice.
6385
6386 * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
6387 * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
6388 * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
6389 * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
6390 * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
6391 * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
6392 * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
6393 * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
6394 Include libc-diag.h instead of libc-internal.h.
6395
6396 * stdlib/tst-environ.c: Include libc-diag.h. Suppress -Wnonnull for
6397 call to unsetenv (NULL).
6398 * nptl/tst-mutex1.c: Include libc-diag.h. Suppress -Wnonnull for
6399 call to pthread_mutexattr_destroy (NULL).
6400
6401 2017-02-25 Zack Weinberg <zackw@panix.com>
6402
6403 * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
6404 * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
6405 __GLIBC_USE (DEPRECATED_GETS). Update comments to indicate
6406 gets was removed from C++ in C++14.
6407 * include/stdio.h: Remove redundant declaration of gets.
6408 * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
6409 be declared, since we are testing it.
6410 * stdio-common/Makefile (tst-gets.c): Compile with
6411 -Wno-deprecated-declarations.
6412 * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
6413 (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
6414 (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
6415 Compile with -Wno-deprecated-declarations.
6416
6417 2017-02-24 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6418
6419 * math/libm-test-support.c (check_ulp): Use LIT() around literal
6420 numbers.
6421
6422 2017-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6423
6424 * resolv/tst-resolv-qtypes.c (domain):
6425 Change type to const pointer to const char.
6426
6427 2017-02-24 Joseph Myers <joseph@codesourcery.com>
6428
6429 * math/Makefile (libm-tests-generated): Remove variable.
6430 (libm-tests-base-normal): New variable.
6431 (libm-tests-base-finite): Likewise.
6432 (libm-tests-base-inline): Likewise.
6433 (libm-tests-base): Likewise.
6434 (libm-tests-normal): Likewise.
6435 (libm-tests-finite): Likewise.
6436 (libm-tests-inline): Likewise.
6437 (libm-tests-vector): Likewise.
6438 (libm-tests): Define in terms of these new variables.
6439 (libm-tests-for-type): New variable.
6440 (libm-tests.o): Move definition.
6441 (tests): Move addition of $(libm-tests).
6442 (generated): Update for new and removed libm test files.
6443 ($(objpfx)libm-test.c): Remove target.
6444 ($(objpfx)libm-have-vector-test.h): Likewise.
6445 (CFLAGS-test-double-vlen2.c): Remove variable.
6446 (CFLAGS-test-double-vlen4.c): Likewise.
6447 (CFLAGS-test-double-vlen8.c): Likewise.
6448 (CFLAGS-test-float-vlen4.c): Likewise.
6449 (CFLAGS-test-float-vlen8.c): Likewise.
6450 (CFLAGS-test-float-vlen16.c): Likewise.
6451 (CFLAGS-test-float.c): Likewise.
6452 (CFLAGS-test-float-finite.c): Likewise.
6453 (CFLAGS-libm-test-support-float.c): Likewise.
6454 (CFLAGS-test-double.c): Likewise.
6455 (CFLAGS-test-double-finite.c): Likewise.
6456 (CFLAGS-libm-test-support-double.c): Likewise.
6457 (CFLAGS-test-ldouble.c): Likewise.
6458 (CFLAGS-test-ldouble-finite.c): Likewise.
6459 (CFLAGS-libm-test-support-ldouble.c): Likewise.
6460 (libm-test-inline-cflags): New variable.
6461 (CFLAGS-test-ifloat.c): Remove variable.
6462 (CFLAGS-test-idouble.c): Likewise.
6463 (CFLAGS-test-ildouble.c): Likewise.
6464 ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
6465 dependencies.
6466 ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
6467 ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
6468 ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
6469 ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
6470 ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
6471 Likewise.
6472 (dependencies on libm-test-support-*.o): Remove.
6473 ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
6474 rules using iterators.
6475 ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
6476 Likewise.
6477 ($(objpfx)libm-test-support-$(o).o): Likewise.
6478 ($(addprefix $(objpfx),$(filter-out $(tests-static)
6479 $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
6480 instead.
6481 ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
6482 define rule instead.
6483 * math/README.libm-test: Update.
6484 * math/libm-test-acos.inc: Include libm-test-driver.c.
6485 (do_test): New function.
6486 * math/libm-test-acosh.inc: Include libm-test-driver.c.
6487 (do_test): New function.
6488 * math/libm-test-asin.inc: Include libm-test-driver.c.
6489 (do_test): New function.
6490 * math/libm-test-asinh.inc: Include libm-test-driver.c.
6491 (do_test): New function.
6492 * math/libm-test-atan.inc: Include libm-test-driver.c.
6493 (do_test): New function.
6494 * math/libm-test-atan2.inc: Include libm-test-driver.c.
6495 (do_test): New function.
6496 * math/libm-test-atanh.inc: Include libm-test-driver.c.
6497 (do_test): New function.
6498 * math/libm-test-cabs.inc: Include libm-test-driver.c.
6499 (do_test): New function.
6500 * math/libm-test-cacos.inc: Include libm-test-driver.c.
6501 (do_test): New function.
6502 * math/libm-test-cacosh.inc: Include libm-test-driver.c.
6503 (do_test): New function.
6504 * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
6505 (do_test): New function.
6506 * math/libm-test-carg.inc: Include libm-test-driver.c.
6507 (do_test): New function.
6508 * math/libm-test-casin.inc: Include libm-test-driver.c.
6509 (do_test): New function.
6510 * math/libm-test-casinh.inc: Include libm-test-driver.c.
6511 (do_test): New function.
6512 * math/libm-test-catan.inc: Include libm-test-driver.c.
6513 (do_test): New function.
6514 * math/libm-test-catanh.inc: Include libm-test-driver.c.
6515 (do_test): New function.
6516 * math/libm-test-cbrt.inc: Include libm-test-driver.c.
6517 (do_test): New function.
6518 * math/libm-test-ccos.inc: Include libm-test-driver.c.
6519 (do_test): New function.
6520 * math/libm-test-ccosh.inc: Include libm-test-driver.c.
6521 (do_test): New function.
6522 * math/libm-test-ceil.inc: Include libm-test-driver.c.
6523 (do_test): New function.
6524 * math/libm-test-cexp.inc: Include libm-test-driver.c.
6525 (do_test): New function.
6526 * math/libm-test-cimag.inc: Include libm-test-driver.c.
6527 (do_test): New function.
6528 * math/libm-test-clog.inc: Include libm-test-driver.c.
6529 (do_test): New function.
6530 * math/libm-test-clog10.inc: Include libm-test-driver.c.
6531 (do_test): New function.
6532 * math/libm-test-conj.inc: Include libm-test-driver.c.
6533 (do_test): New function.
6534 * math/libm-test-copysign.inc: Include libm-test-driver.c.
6535 (do_test): New function.
6536 * math/libm-test-cos.inc: Include libm-test-driver.c.
6537 (do_test): New function.
6538 * math/libm-test-cosh.inc: Include libm-test-driver.c.
6539 (do_test): New function.
6540 * math/libm-test-cpow.inc: Include libm-test-driver.c.
6541 (do_test): New function.
6542 * math/libm-test-cproj.inc: Include libm-test-driver.c.
6543 (do_test): New function.
6544 * math/libm-test-creal.inc: Include libm-test-driver.c.
6545 (do_test): New function.
6546 * math/libm-test-csin.inc: Include libm-test-driver.c.
6547 (do_test): New function.
6548 * math/libm-test-csinh.inc: Include libm-test-driver.c.
6549 (do_test): New function.
6550 * math/libm-test-csqrt.inc: Include libm-test-driver.c.
6551 (do_test): New function.
6552 * math/libm-test-ctan.inc: Include libm-test-driver.c.
6553 (do_test): New function.
6554 * math/libm-test-ctanh.inc: Include libm-test-driver.c.
6555 (do_test): New function.
6556 * math/libm-test-erf.inc: Include libm-test-driver.c.
6557 (do_test): New function.
6558 * math/libm-test-erfc.inc: Include libm-test-driver.c.
6559 (do_test): New function.
6560 * math/libm-test-exp.inc: Include libm-test-driver.c.
6561 (do_test): New function.
6562 * math/libm-test-exp10.inc: Include libm-test-driver.c.
6563 (do_test): New function.
6564 * math/libm-test-exp2.inc: Include libm-test-driver.c.
6565 (do_test): New function.
6566 * math/libm-test-expm1.inc: Include libm-test-driver.c.
6567 (do_test): New function.
6568 * math/libm-test-fabs.inc: Include libm-test-driver.c.
6569 (do_test): New function.
6570 * math/libm-test-fdim.inc: Include libm-test-driver.c.
6571 (do_test): New function.
6572 * math/libm-test-floor.inc: Include libm-test-driver.c.
6573 (do_test): New function.
6574 * math/libm-test-fma.inc: Include libm-test-driver.c.
6575 (do_test): New function.
6576 * math/libm-test-fmax.inc: Include libm-test-driver.c.
6577 (do_test): New function.
6578 * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
6579 (do_test): New function.
6580 * math/libm-test-fmin.inc: Include libm-test-driver.c.
6581 (do_test): New function.
6582 * math/libm-test-fminmag.inc: Include libm-test-driver.c.
6583 (do_test): New function.
6584 * math/libm-test-fmod.inc: Include libm-test-driver.c.
6585 (do_test): New function.
6586 * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
6587 (do_test): New function.
6588 * math/libm-test-frexp.inc: Include libm-test-driver.c.
6589 (do_test): New function.
6590 * math/libm-test-fromfp.inc: Include libm-test-driver.c.
6591 (do_test): New function.
6592 * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
6593 (do_test): New function.
6594 * math/libm-test-getpayload.inc: Include libm-test-driver.c.
6595 (do_test): New function.
6596 * math/libm-test-hypot.inc: Include libm-test-driver.c.
6597 (do_test): New function.
6598 * math/libm-test-ilogb.inc: Include libm-test-driver.c.
6599 (do_test): New function.
6600 * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
6601 (do_test): New function.
6602 * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
6603 (do_test): New function.
6604 * math/libm-test-isfinite.inc: Include libm-test-driver.c.
6605 (do_test): New function.
6606 * math/libm-test-isgreater.inc: Include libm-test-driver.c.
6607 (do_test): New function.
6608 * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
6609 (do_test): New function.
6610 * math/libm-test-isinf.inc: Include libm-test-driver.c.
6611 (do_test): New function.
6612 * math/libm-test-isless.inc: Include libm-test-driver.c.
6613 (do_test): New function.
6614 * math/libm-test-islessequal.inc: Include libm-test-driver.c.
6615 (do_test): New function.
6616 * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
6617 (do_test): New function.
6618 * math/libm-test-isnan.inc: Include libm-test-driver.c.
6619 (do_test): New function.
6620 * math/libm-test-isnormal.inc: Include libm-test-driver.c.
6621 (do_test): New function.
6622 * math/libm-test-issignaling.inc: Include libm-test-driver.c.
6623 (do_test): New function.
6624 * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
6625 (do_test): New function.
6626 * math/libm-test-isunordered.inc: Include libm-test-driver.c.
6627 (do_test): New function.
6628 * math/libm-test-iszero.inc: Include libm-test-driver.c.
6629 (do_test): New function.
6630 * math/libm-test-j0.inc: Include libm-test-driver.c.
6631 (do_test): New function.
6632 * math/libm-test-j1.inc: Include libm-test-driver.c.
6633 (do_test): New function.
6634 * math/libm-test-jn.inc: Include libm-test-driver.c.
6635 (do_test): New function.
6636 * math/libm-test-lgamma.inc: Include libm-test-driver.c.
6637 (do_test): New function.
6638 * math/libm-test-llogb.inc: Include libm-test-driver.c.
6639 (do_test): New function.
6640 * math/libm-test-llrint.inc: Include libm-test-driver.c.
6641 (do_test): New function.
6642 * math/libm-test-llround.inc: Include libm-test-driver.c.
6643 (do_test): New function.
6644 * math/libm-test-log.inc: Include libm-test-driver.c.
6645 (do_test): New function.
6646 * math/libm-test-log10.inc: Include libm-test-driver.c.
6647 (do_test): New function.
6648 * math/libm-test-log1p.inc: Include libm-test-driver.c.
6649 (do_test): New function.
6650 * math/libm-test-log2.inc: Include libm-test-driver.c.
6651 (do_test): New function.
6652 * math/libm-test-logb.inc: Include libm-test-driver.c.
6653 (do_test): New function.
6654 * math/libm-test-lrint.inc: Include libm-test-driver.c.
6655 (do_test): New function.
6656 * math/libm-test-lround.inc: Include libm-test-driver.c.
6657 (do_test): New function.
6658 * math/libm-test-modf.inc: Include libm-test-driver.c.
6659 (do_test): New function.
6660 * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
6661 (do_test): New function.
6662 * math/libm-test-nextafter.inc: Include libm-test-driver.c.
6663 (do_test): New function.
6664 * math/libm-test-nextdown.inc: Include libm-test-driver.c.
6665 (do_test): New function.
6666 * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
6667 (do_test): New function.
6668 * math/libm-test-nextup.inc: Include libm-test-driver.c.
6669 (do_test): New function.
6670 * math/libm-test-pow.inc: Include libm-test-driver.c.
6671 (do_test): New function.
6672 * math/libm-test-remainder.inc: Include libm-test-driver.c.
6673 (do_test): New function.
6674 * math/libm-test-remquo.inc: Include libm-test-driver.c.
6675 (do_test): New function.
6676 * math/libm-test-rint.inc: Include libm-test-driver.c.
6677 (do_test): New function.
6678 * math/libm-test-round.inc: Include libm-test-driver.c.
6679 (do_test): New function.
6680 * math/libm-test-roundeven.inc: Include libm-test-driver.c.
6681 (do_test): New function.
6682 * math/libm-test-scalb.inc: Include libm-test-driver.c.
6683 (do_test): New function.
6684 * math/libm-test-scalbln.inc: Include libm-test-driver.c.
6685 (do_test): New function.
6686 * math/libm-test-scalbn.inc: Include libm-test-driver.c.
6687 (do_test): New function.
6688 * math/libm-test-setpayload.inc: Include libm-test-driver.c.
6689 (do_test): New function.
6690 * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
6691 (do_test): New function.
6692 * math/libm-test-signbit.inc: Include libm-test-driver.c.
6693 (do_test): New function.
6694 * math/libm-test-significand.inc: Include libm-test-driver.c.
6695 (do_test): New function.
6696 * math/libm-test-sin.inc: Include libm-test-driver.c.
6697 (do_test): New function.
6698 * math/libm-test-sincos.inc: Include libm-test-driver.c.
6699 (do_test): New function.
6700 * math/libm-test-sinh.inc: Include libm-test-driver.c.
6701 (do_test): New function.
6702 * math/libm-test-sqrt.inc: Include libm-test-driver.c.
6703 (do_test): New function.
6704 * math/libm-test-tan.inc: Include libm-test-driver.c.
6705 (do_test): New function.
6706 * math/libm-test-tanh.inc: Include libm-test-driver.c.
6707 (do_test): New function.
6708 * math/libm-test-tgamma.inc: Include libm-test-driver.c.
6709 (do_test): New function.
6710 * math/libm-test-totalorder.inc: Include libm-test-driver.c.
6711 (do_test): New function.
6712 * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
6713 (do_test): New function.
6714 * math/libm-test-trunc.inc: Include libm-test-driver.c.
6715 (do_test): New function.
6716 * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
6717 (do_test): New function.
6718 * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
6719 (do_test): New function.
6720 * math/libm-test-y0.inc: Include libm-test-driver.c.
6721 (do_test): New function.
6722 * math/libm-test-y1.inc: Include libm-test-driver.c.
6723 (do_test): New function.
6724 * math/libm-test-yn.inc: Include libm-test-driver.c.
6725 (do_test): New function.
6726 * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
6727 (HAVE_VECTOR): Remove macro.
6728 (START): Do not call HAVE_VECTOR.
6729 * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
6730 * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
6731 * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
6732 * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
6733 * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
6734 * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
6735 * math/test-math-vector.h (FUNC_TEST): New macro.
6736 (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
6737 * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
6738 (double-vlen4-funcs): Likewise.
6739 (double-vlen4-avx2-funcs): Likewise.
6740 (double-vlen8-funcs): Likewise.
6741 (float-vlen4-funcs): Likewise.
6742 (float-vlen8-funcs): Likewise.
6743 (float-vlen8-avx2-funcs): Likewise.
6744 (float-vlen16-funcs): Likewise.
6745 (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
6746 (CFLAGS-test-float-vlen8-avx2.c): Likewise.
6747 * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
6748 macro.
6749 (TEST_VECTOR_sin): Likewise.
6750 (TEST_VECTOR_sincos): Likewise.
6751 (TEST_VECTOR_log): Likewise.
6752 (TEST_VECTOR_exp): Likewise.
6753 (TEST_VECTOR_pow): Likewise.
6754 * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
6755 Likewise.
6756 (TEST_VECTOR_sin): Likewise.
6757 (TEST_VECTOR_sincos): Likewise.
6758 (TEST_VECTOR_log): Likewise.
6759 (TEST_VECTOR_exp): Likewise.
6760 (TEST_VECTOR_pow): Likewise.
6761 * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
6762 Likewise.
6763 (TEST_VECTOR_sinf): Likewise.
6764 (TEST_VECTOR_sincosf): Likewise.
6765 (TEST_VECTOR_logf): Likewise.
6766 (TEST_VECTOR_expf): Likewise.
6767 (TEST_VECTOR_powf): Likewise.
6768 * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
6769 Likewise.
6770 (TEST_VECTOR_sinf): Likewise.
6771 (TEST_VECTOR_sincosf): Likewise.
6772 (TEST_VECTOR_logf): Likewise.
6773 (TEST_VECTOR_expf): Likewise.
6774 (TEST_VECTOR_powf): Likewise.
6775 * math/gen-libm-have-vector-test.sh: Remove file.
6776 * math/libm-test.inc: Likewise.
6777 * math/libm-test-support-double.c: Likewise.
6778 * math/libm-test-support-float.c: Likewise.
6779 * math/libm-test-support-ldouble.c: Likewise.
6780 * math/test-double-finite.c: Likewise.: Likewise.
6781 * math/test-double.c: Likewise.
6782 * math/test-float-finite.c: Likewise.
6783 * math/test-float.c: Likewise.
6784 * math/test-idouble.c: Likewise.
6785 * math/test-ifloat.c: Likewise.
6786 * math/test-ildouble.c: Likewise.
6787 * math/test-ldouble-finite.c: Likewise.
6788 * math/test-ldouble.c: Likewise.
6789 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6790 * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
6791 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6792 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6793 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6794 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6795 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6796 * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
6797 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6798 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6799
6800 2017-02-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6801 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6802
6803 * math/Makefile: Add wrappers to gen-libm-calls.
6804 * math/w_acos_template.c: New file.
6805 * math/w_acosh_template.c: Likewise.
6806 * math/w_asin_template.c: Likewise.
6807 * math/w_atan2_template.c: Likewise.
6808 * math/w_atanh_template.c: Likewise.
6809 * math/w_cosh_template.c: Likewise.
6810 * math/w_exp10_template.c: Likewise.
6811 * math/w_exp2_template.c: Likewise.
6812 * math/w_exp_template.c: Likewise.
6813 * math/w_fmod_template.c: Likewise.
6814 * math/w_hypot_template.c: Likewise.
6815 * math/w_j0_template.c: Likewise.
6816 * math/w_j1_template.c: Likewise.
6817 * math/w_jn_template.c: Likewise.
6818 * math/w_lgamma_r_template.c: Likewise.
6819 * math/w_lgamma_template.c: Likewise.
6820 * math/w_log10_template.c: Likewise.
6821 * math/w_log2_template.c: Likewise.
6822 * math/w_log_template.c: Likewise.
6823 * math/w_pow_template.c: Likewise.
6824 * math/w_remainder_template.c: Likewise.
6825 * math/w_sinh_template.c: Likewise.
6826 * math/w_sqrt_template.c: Likewise.
6827 * math/w_tgamma_template.c: Likewise.: Likewise.
6828 * sysdeps/generic/math-type-macros-double.h
6829 (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
6830 the new wrappers.
6831 * sysdeps/generic/math-type-macros-float.h: Likewise.
6832 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6833
6834 2017-02-22 Joseph Myers <joseph@codesourcery.com>
6835
6836 * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
6837 New enum constant and macro.
6838
6839 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6840 kernel version to 4.10.
6841
6842 2017-02-21 Joseph Myers <joseph@codesourcery.com>
6843
6844 * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
6845
6846 2017-02-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6847
6848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6849
6850 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6851
6852 * sysdeps/powerpc/tst-set_ppr.c: New file.
6853 Implement test cases for __ppc_set_ppr_* functions.
6854 * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
6855 in the list of tests.
6856
6857 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6858
6859 * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
6860 instead of test-skeleton.c.
6861 (do_test): Replaced pthread_create and pthread_join with
6862 xpthread_create and xpthread_join. Use TEST_VERIFY_EXIT macro.
6863 Removed unneeded status variable.
6864 * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
6865 instead of test-skeleton.c.
6866 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
6867
6868 2017-02-20 Mike FABIAN <mfabian@redhat.com>
6869
6870 [BZ #20313]
6871 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6872 201605L, for Unicode 9.
6873
6874 2017-02-20 Joseph Myers <joseph@codesourcery.com>
6875
6876 * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
6877 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6878 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6879 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6880 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
6881 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6882
6883 2017-02-19 Zack Weinberg <zackw@panix.com>
6884
6885 * rt/tst-mqueue4.c: Include stdint.h.
6886
6887 2017-02-17 Joseph Myers <joseph@codesourcery.com>
6888
6889 * sysdeps/arm/libm-test-ulps: Update.
6890 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6891 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6892 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6893
6894 2017-01-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6895
6896 [BZ #21029]
6897 * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
6898 * sysdeps/unix/sysv/linux/i386/Makefile
6899 [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
6900 (uses-6-syscall-arguments): Remove.
6901 [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
6902 [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
6903 [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
6904 [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
6905 [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
6906 [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
6907 [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
6908 [$(subdir) = misc] (cflags-pselect.o): Likewise.
6909 [$(subdir) = misc] (cflags-pselect.os): Likewise.
6910 [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
6911 [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
6912 [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
6913 [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
6914 [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
6915 [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
6916 [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
6917 [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
6918 [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
6919 [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
6920 [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
6921 [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
6922 [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
6923 [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
6924 [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
6925 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
6926 Likewise.
6927 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
6928 Likewise.
6929 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
6930 Likewise.
6931 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
6932 Likewise.
6933 [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
6934 [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
6935 [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
6936 [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
6937 * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
6938 ebp on inline assembly.
6939 * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
6940 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
6941 Set if CAN_USE_REGISTER_ASM_EBP is set.
6942
6943 2017-02-17 H.J. Lu <hongjiu.lu@intel.com>
6944
6945 * sysdeps/x86/cpu-features.c (init_cpu_features): Use
6946 index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
6947
6948 2017-02-17 Joseph Myers <joseph@codesourcery.com>
6949
6950 * math/auto-libm-test-in: Add tests of catan and catanh.
6951 * math/auto-libm-test-out-catan: New generated file.
6952 * math/auto-libm-test-out-catanh: Likewise.
6953 * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
6954 Move tests with finite inputs, except divide-by-zero cases, to
6955 auto-libm-test-in.
6956 * math/libm-test-catanh.inc (catanh_test_data): Likewise.
6957 * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
6958 (libm-test-funcs-noauto): Remove catan and catanh.
6959 * sysdeps/i386/fpu/libm-test-ulps: Update.
6960 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6962
6963 * math/auto-libm-test-in: Add tests of casin and casinh.
6964 * math/auto-libm-test-out-casin: New generated file.
6965 * math/auto-libm-test-out-casinh: Likewise.
6966 * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
6967 Move tests with finite inputs to auto-libm-test-in.
6968 * math/libm-test-casinh.inc (casinh_test_data): Likewise.
6969 * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
6970 (libm-test-funcs-noauto): Remove casin and casinh.
6971 * sysdeps/i386/fpu/libm-test-ulps: Update.
6972 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6974
6975 * math/auto-libm-test-in: Add tests of cacos and cacosh.
6976 * math/auto-libm-test-out-cacos: New generated file.
6977 * math/auto-libm-test-out-cacosh: Likewise.
6978 * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
6979 Move tests with finite inputs to auto-libm-test-in.
6980 * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
6981 * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
6982 (libm-test-funcs-noauto): Remove cacos and cacosh.
6983 * sysdeps/i386/fpu/libm-test-ulps: Update.
6984 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6986
6987 Revert:
6988 2017-02-16 Zack Weinberg <zackw@panix.com>
6989
6990 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
6991 Don't include init-arch.h.
6992 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
6993 Don't include init-arch.h.
6994
6995 2017-02-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6996
6997 [BZ #21171]
6998 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
6999 +Inf and raise divide-by-zero when x is negative.
7000 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
7001 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
7002 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Return
7003 -Inf and raise divide-by-zero when x = +-0.
7004 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7005 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
7006 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
7007 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
7008 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
7009 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
7010 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
7011
7012 2017-02-16 Zack Weinberg <zackw@panix.com>
7013
7014 * scripts/build-many-glibcs.py (bot_build_mail): If the
7015 bot_config does not contain all of the necessary email-
7016 related settings, just print a warning and continue.
7017
7018 2017-02-16 Zack Weinberg <zackw@panix.com>
7019
7020 * crypt/md5.h: Test _LIBC with #if defined, not #if.
7021 * dirent/opendir-tst1.c: Include sys/stat.h.
7022 * dirent/tst-fdopendir.c: Include sys/stat.h.
7023 * dirent/tst-fdopendir2.c: Include stdlib.h.
7024 * dirent/tst-scandir.c: Include stdbool.h.
7025 * elf/tst-auditmod1.c: Include link.h and stddef.h.
7026 * elf/tst-tls15.c: Include stdlib.h.
7027 * elf/tst-tls16.c: Include stdlib.h.
7028 * elf/tst-tls17.c: Include stdlib.h.
7029 * elf/tst-tls18.c: Include stdlib.h.
7030 * iconv/tst-iconv6.c: Include endian.h.
7031 * iconvdata/bug-iconv11.c: Include limits.h.
7032 * io/test-utime.c: Include stdint.h.
7033 * io/tst-faccessat.c: Include sys/stat.h.
7034 * io/tst-fchmodat.c: Include sys/stat.h.
7035 * io/tst-fchownat.c: Include sys/stat.h.
7036 * io/tst-fstatat.c: Include sys/stat.h.
7037 * io/tst-futimesat.c: Include sys/stat.h.
7038 * io/tst-linkat.c: Include sys/stat.h.
7039 * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
7040 * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
7041 * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
7042 * io/tst-openat.c: Include stdbool.h.
7043 * io/tst-readlinkat.c: Include sys/stat.h.
7044 * io/tst-renameat.c: Include sys/stat.h.
7045 * io/tst-symlinkat.c: Include sys/stat.h.
7046 * io/tst-unlinkat.c: Include stdbool.h.
7047 * libio/bug-memstream1.c: Include stdlib.h.
7048 * libio/bug-wmemstream1.c: Include stdlib.h.
7049 * libio/tst-fwrite-error.c: Include stdlib.h.
7050 * libio/tst-memstream1.c: Include stdlib.h.
7051 * libio/tst-memstream2.c: Include stdlib.h.
7052 * libio/tst-memstream3.c: Include stdlib.h.
7053 * malloc/tst-interpose-aux.c: Include stdint.h.
7054 * misc/tst-preadvwritev-common.c: Include sys/stat.h.
7055 * nptl/tst-basic7.c: Include limits.h.
7056 * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
7057 * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
7058 * nptl/tst-cancel4_1.c: Include stddef.h.
7059 * nptl/tst-cancel4_2.c: Include stddef.h.
7060 * nptl/tst-cond16.c: Include limits.h.
7061 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
7062 * nptl/tst-cond18.c: Include limits.h.
7063 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
7064 * nptl/tst-cond4.c: Include stdint.h.
7065 * nptl/tst-cond6.c: Include stdint.h.
7066 * nptl/tst-stack2.c: Include limits.h.
7067 * nptl/tst-stackguard1.c: Include stddef.h.
7068 * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
7069 * nptl/tst-tls4moda.c: Include stddef.h.
7070 Don't include stdio.h, unistd.h, or tls.h.
7071 * nptl/tst-tls4modb.c: Include stddef.h.
7072 Don't include stdio.h, unistd.h, or tls.h.
7073 * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
7074 * posix/tst-getaddrinfo2.c: Include stdio.h.
7075 * posix/tst-getaddrinfo5.c: Include stdio.h.
7076 * posix/tst-pathconf.c: Include sys/stat.h.
7077 * posix/tst-posix_fadvise-common.c: Include stdint.h.
7078 * posix/tst-preadwrite-common.c: Include sys/stat.h.
7079 * posix/tst-regex.c: Include stdint.h.
7080 Don't include spawn.h or spawn_int.h.
7081 * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
7082 * posix/tst-vfork3.c: Include sys/stat.h.
7083 * resolv/tst-bug18665-tcp.c: Include stdlib.h.
7084 * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
7085 * resolv/tst-resolv-search.c: Include stdlib.h.
7086 * stdio-common/tst-fmemopen2.c: Include stdint.h.
7087 * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
7088 * stdlib/test-canon.c: Include sys/stat.h.
7089 * stdlib/tst-tls-atexit.c: Include stdbool.h.
7090 * string/test-memchr.c: Include stdint.h.
7091 * string/tst-cmp.c: Include stdint.h.
7092 * sysdeps/pthread/tst-timer.c: Include stdint.h.
7093 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
7094 * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
7095 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
7096 Don't include init-arch.h.
7097 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
7098 Don't include init-arch.h.
7099 * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
7100 * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
7101 * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
7102 * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
7103 * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
7104 * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
7105 * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
7106 * time/clocktest.c: Include stdint.h.
7107 * time/tst-posixtz.c: Include stdint.h.
7108 * timezone/tst-timezone.c: Include stdint.h.
7109
7110 2017-02-16 Zack Weinberg <zackw@panix.com>
7111
7112 * string/string.h [__USE_MISC]: Include strings.h.
7113 (__bzero, bcmp, bcopy, bzero, index, rindex)
7114 (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
7115 (ffs, ffsl, ffsll): Don't declare.
7116 * string/strings.h: Do not suppress the file if string.h has
7117 already been included.
7118 (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
7119 annotations.
7120 (index, rindex): Define inline forwarders even if
7121 __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
7122 (ffs): Use __attribute_const__.
7123 (ffsl, ffsll): Declare here.
7124 (strcasecmp_l, strncasecmp_l): Correct comments; these functions
7125 have now been standardized.
7126 * include/string.h (__bzero): Declare here.
7127
7128 * bits/types.h: Move to posix/bits.
7129 * include/bits/types.h: New wrapper.
7130
7131 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
7132
7133 * string/bits/string2.h (strcmp): Remove define.
7134 (__strcmp_cg): Likewise.
7135 (strncmp): Likewise.
7136
7137 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
7138
7139 * include/string.h: Add __cplusplus check.
7140
7141 2017-02-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7142
7143 [BZ #21134]
7144 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
7145 "divide by zero" exception when the input is zero.
7146 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
7147 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
7148 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
7149 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
7150 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
7151
7152 2017-02-15 Joseph Myers <joseph@codesourcery.com>
7153
7154 * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
7155 and include ...
7156 * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here. New file.
7157 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
7158 to, and include ...
7159 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here. New
7160 file.
7161 * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
7162 and include ...
7163 * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here. New file.
7164 * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
7165 and include ...
7166 * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here. New file.
7167 * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
7168 and include ...
7169 * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here. New file.
7170 * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
7171 and include ...
7172 * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here. New file.
7173 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
7174 to, and include ...
7175 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here. New file.
7176 * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
7177 and include ...
7178 * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here. New file.
7179
7180 2017-02-14 Joseph Myers <joseph@codesourcery.com>
7181
7182 * math/libm-test-support.h: Do not include <math-tests-arch.h>
7183 here.
7184 * math/libm-test-support.c (libm_test_init): Do not call
7185 INIT_ARCH_EXT here.
7186 * math/libm-test-driver.c: Include <math-tests-arch.h>.
7187 (main): Call INIT_ARCH_EXT.
7188
7189 2017-02-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7190
7191 [BZ #21130]
7192 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
7193 with the "invalid" exception raised when x is -Inf.
7194 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
7195
7196 2017-02-10 Wilco Dijkstra <wdijkstr@arm.com>
7197
7198 * string/bits/string2.h (strchr): Remove define.
7199
7200 2017-02-09 H.J. Lu <hongjiu.lu@intel.com>
7201
7202 * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
7203 tst-avx512.
7204 (test-extras): Add tst-avx-aux and tst-avx512-aux.
7205 (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
7206 (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
7207 ($(objpfx)tst-sse): New rule.
7208 ($(objpfx)tst-avx): Likewise.
7209 ($(objpfx)tst-avx512): Likewise.
7210 (CFLAGS-tst-avx-aux.c): New.
7211 (CFLAGS-tst-avxmod.c): Likewise.
7212 (CFLAGS-tst-avx512-aux.c): Likewise.
7213 (CFLAGS-tst-avx512mod.c): Likewise.
7214 * sysdeps/x86_64/tst-avx-aux.c: New file.
7215 * sysdeps/x86_64/tst-avx.c: Likewise.
7216 * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
7217 * sysdeps/x86_64/tst-avx512.c: Likewise.
7218 * sysdeps/x86_64/tst-avx512mod.c: Likewise.
7219 * sysdeps/x86_64/tst-avxmod.c: Likewise.
7220 * sysdeps/x86_64/tst-sse.c: Likewise.
7221 * sysdeps/x86_64/tst-ssemod.c: Likewise.
7222
7223 2017-02-09 Joseph Myers <joseph@codesourcery.com>
7224
7225 * math/auto-libm-test-in: Add more tests of csin and csinh.
7226 * math/auto-libm-test-out-csin: Regenerated.
7227 * math/auto-libm-test-out-csinh: Likewise.
7228 * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
7229 auto-libm-test-in.
7230 * math/libm-test-csinh.inc (csinh_test_data): Likewise.
7231
7232 2017-02-09 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7233
7234 * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
7235 libm-compat-calls-auto.
7236 (libm-compat-calls): Likewise.
7237 (libm-compat-calls-auto): Rename to libm-compat-calls and add
7238 w_lgamma_compatF and k_standardF (merged from the items above).
7239 (libm-routines): Use libm-compat-calls, instead of
7240 libm-compat-calls-auto, with type-foreach.
7241
7242 2017-02-09 Joseph Myers <joseph@codesourcery.com>
7243
7244 * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
7245 macro.
7246 * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
7247 (CFLAGS-test-ifloat.c): ... this. Remove
7248 -U__LIBC_INTERNAL_MATH_INLINES.
7249 * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
7250 (CFLAGS-test-idouble.c): ... this. Remove
7251 -U__LIBC_INTERNAL_MATH_INLINES.
7252 * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
7253 (CFLAGS-test-ildouble.c): ... this. Remove
7254 -U__LIBC_INTERNAL_MATH_INLINES.
7255
7256 2017-02-08 Joseph Myers <joseph@codesourcery.com>
7257
7258 * math/libm-test-support.c: New file. Content from
7259 math/libm-test-driver.c.
7260 * math/libm-test-support.h: Likewise.
7261 * math/libm-test-support-double.c: New file.
7262 * math/libm-test-support-float.c: Likewise.
7263 * math/libm-test-support-ldouble.c: Likewise.
7264 * math/libm-test-driver.c: Remove main comment and header
7265 includes. Include libm-test-support.h.
7266 [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
7267 (flag_test_errno): Remove static.
7268 (flag_test_exceptions): Likewise.
7269 (flag_test_finite): Likewise.
7270 (flag_test_inline): Likewise.
7271 (flag_test_mathvec): Likewise.
7272 (test_msg): Likewise.
7273 (NO_EXCEPTION): Remove.
7274 (INVALID_EXCEPTION): Likewise.
7275 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
7276 (OVERFLOW_EXCEPTION): Likewise.
7277 (UNDERFLOW_EXCEPTION): Likewise.
7278 (INEXACT_EXCEPTION): Likewise.
7279 (INVALID_EXCEPTION_OK): Likewise.
7280 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7281 (OVERFLOW_EXCEPTION_OK): Likewise.
7282 (UNDERFLOW_EXCEPTION_OK): Likewise.
7283 (NO_INEXACT_EXCEPTION): Likewise.
7284 (EXCEPTIONS_OK): Likewise.
7285 (IGNORE_ZERO_INF_SIGN): Likewise.
7286 (TEST_NAN_SIGN): Likewise.
7287 (TEST_NAN_PAYLOAD): Likewise.
7288 (NO_TEST_INLINE): Likewise.
7289 (XFAIL_TEST): Likewise.
7290 (ERRNO_UNCHANGED): Likewise.
7291 (ERRNO_EDOM): Likewise.
7292 (ERRNO_ERANGE): Likewise.
7293 (IGNORE_RESULT): Likewise.
7294 (NON_FINITE): Likewise.
7295 (TEST_SNAN): Likewise.
7296 (NO_TEST_MATHVEC): Likewise.
7297 (__CONCATX): Likewise.
7298 (TYPE_MIN): Likewise.
7299 (TYPE_TRUE_MIN): Likewise.
7300 (TYPE_MAX): Likewise.
7301 (MIN_EXP): Likewise.
7302 (MAX_EXP): Likewise.
7303 (MANT_DIG): Likewise.
7304 (FSTR_MAX): Likewise.
7305 (ulp_idx): Likewise.
7306 (qtype_str): Remove static.
7307 (TEST_COND_binary32): Remove.
7308 (TEST_COND_binary64): Likewise.
7309 (TEST_COND_binary128): Likewise.
7310 (TEST_COND_ibm128): Likewise.
7311 (TEST_COND_intel96): Likewise.
7312 (TEST_COND_m68k96): Likewise.
7313 (TEST_COND_ibm128_libgcc): Likewise.
7314 (XFAIL_IBM128_LIBGCC): Likewise.
7315 (PAYLOAD_DIG): Likewise.
7316 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7317 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7318 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7319 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
7320 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7321 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
7322 (TEST_COND_long32): Likewise.
7323 (TEST_COND_long64): Likewise.
7324 (TEST_COND_before_rounding): Likewise.
7325 (TEST_COND_after_rounding): Likewise.
7326 (ulps_file_name): Likewise.
7327 (ulps_file): Likewise.
7328 (output_ulps): Likewise.
7329 (output_dir): Likewise.
7330 (noErrors): Likewise.
7331 (noTests): Likewise.
7332 (noExcTests): Likewise.
7333 (noErrnoTests): Likewise.
7334 (verbose): Likewise.
7335 (output_max_error): Likewise.
7336 (output_points): Likewise.
7337 (ignore_max_ulp): Likewise.
7338 (max_error): Likewise.
7339 (real_max_error): Likewise.
7340 (imag_max_error): Likewise.
7341 (prev_max_error): Likewise.
7342 (prev_real_max_error): Likewise.
7343 (prev_imag_max_error): Likewise.
7344 (max_valid_error): Likewise.
7345 (TYPE_DECIMAL_DIG): Likewise.
7346 (TYPE_HEX_DIG): Likewise.
7347 (fmt_ftostr): Likewise.
7348 (compare_ulp_data): Likewise.
7349 (find_ulps): Likewise.
7350 (init_max_error): Likewise.
7351 (set_max_error): Likewise.
7352 (print_float): Likewise.
7353 (print_screen): Likewise.
7354 (print_screen_max_error): Likewise.
7355 (update_stats): Likewise.
7356 (print_function_ulps): Likewise.
7357 (print_complex_function_ulps): Likewise.
7358 (fpstack_test): Likewise.
7359 (print_max_error): Likewise.
7360 (print_complex_max_error): Likewise.
7361 (test_single_exception): Likewise.
7362 (test_exceptions): Likewise.
7363 (test_single_errno): Likewise.
7364 (test_errno): Likewise.
7365 (ULPDIFF): Likewise.
7366 (ulp): Likewise.
7367 (check_float_internal): Likewise.
7368 (check_float): Likewise.
7369 (check_complex): Likewise.
7370 (check_int): Likewise.
7371 (check_long): Likewise.
7372 (check_bool): Likewise.
7373 (check_longlong): Likewise.
7374 (check_intmax_t): Likewise.
7375 (check_uintmax_t): Likewise.
7376 (enable_test): Likewise.
7377 (matherr): Likewise.
7378 (initialize): Likewise.
7379 (options): Likewise.
7380 (doc): Remove static.
7381 (argp): Likewise.
7382 (parse_opt): Remove.
7383 (check_ulp): Likewise.
7384 (libm_test_init): Likewise.
7385 (libm_test_finish): Likewise.
7386 * math/Makefile (libm-test-support): New variable.
7387 (test-extras): Add libm-test-support files.
7388 (extra-test-objs): Likewise.
7389 (CFLAGS-libm-test-support-float.c): New variable.
7390 (CFLAGS-libm-test-support-double.c): Likewise.
7391 (CFLAGS-libm-test-support-ldouble.c): Likewise.
7392 ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
7393 libm-test-support objects.
7394
7395 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7396
7397 * math/Makefile (libm-calls): Move w_exp...
7398 (libm-compat-calls-auto): Here.
7399
7400 * math/w_expl.c: Add suffix "_compat" to filename.
7401 * sysdeps/ia64/fpu/w_expl.c: Likewise.
7402 * sysdeps/ia64/fpu/w_expf.c: Likewise.
7403 * sysdeps/ia64/fpu/w_exp.c: Likewise.
7404 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7405 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7406 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7407 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
7408 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7409
7410 * math/w_expl_compat.c: New file, copied from above.
7411 * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
7412 * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
7413 * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
7414 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
7415 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
7416 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
7417 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
7418 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
7419
7420 * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
7421 to filename.
7422 * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
7423
7424 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
7425 copied from above and adjusted for the new filenames.
7426 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
7427
7428 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7429
7430 * math/Makefile (libm-calls): Move w_lgammaF...
7431 (libm-compat-calls-auto): Here.
7432
7433 * math/w_lgamma.c: Add suffix "_compat2" to filename.
7434 * math/w_lgammaf.c: Likewise.
7435 * math/w_lgammal.c: Likewise.
7436
7437 * math/w_lgamma_compat2.c: New file, copied from above.
7438 * math/w_lgammaf_compat2.c: Likewise.
7439 * math/w_lgammal_compat2.c: Likewise.
7440
7441 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7442
7443 * math/Makefile (libm-calls): Move w_lgammaF_r...
7444 (libm-compat-calls-auto): Here.
7445
7446 * math/w_lgamma_r.c: Add suffix "_compat" to filename.
7447 * math/w_lgammaf_r.c: Likewise.
7448 * math/w_lgammal_r.c: Likewise.
7449 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
7450 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
7451 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
7452
7453 * math/w_lgamma_r_compat.c: New file, copied from above.
7454 * math/w_lgammaf_r_compat.c: Likewise.
7455 * math/w_lgammal_r_compat.c: Likewise.
7456 * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
7457 * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
7458 * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
7459
7460 * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
7461 to filename.
7462 * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
7463
7464 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
7465 copied from above and adjusted for the new filenames.
7466 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
7467
7468 2017-02-08 Yury Norov <ynorov@caviumnetworks.com>
7469
7470 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
7471 calculation in SYSCALL_ERROR_HANDLER().
7472
7473 2017-02-08 Rical Jasan <ricaljasan@pacific.net>
7474
7475 * manual/contrib.texi: Fix typo.
7476
7477 2017-02-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
7478
7479 [BZ #21109]
7480 * elf/dl-tunable-types.h (tunable_callback_t): Accept
7481 tunable_val_t as argument.
7482 * elf/dl-tunables.c (__tunable_set_val): Add comment.
7483 * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
7484 argument.
7485 (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
7486
7487 2017-02-08 Kir Kolyshkin <kir@openvz.org>
7488
7489 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
7490 Add PTRACE_EVENT_STOP.
7491 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7492 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7493 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7494 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7495 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
7496 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
7497
7498 2017-02-07 Joseph Myers <joseph@codesourcery.com>
7499
7500 * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
7501 * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
7502 * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
7503 * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
7504 * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
7505 * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
7506 * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
7507 * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
7508 * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
7509 * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
7510
7511 [BZ #21112]
7512 * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
7513 12 bits zero.
7514 (cp_l): Update for new value of cp_h.
7515 * math/auto-libm-test-in: Add another test of pow.
7516 * math/auto-libm-test-out-pow: Regenerated.
7517
7518 2017-02-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7519
7520 * manual/contrib.texi: Fix typo.
7521
7522 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7523
7524 [BZ #15998]
7525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7526 (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
7527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7528
7529 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7530
7531 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
7532 STRCHR as __strchr_power8.
7533 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
7534 strlen as __strlen_power8.
7535
7536 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7537
7538 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
7539 unaligned load for shorter strings.
7540 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
7541
7542 2017-02-06 Joseph Myers <joseph@codesourcery.com>
7543
7544 * math/libm-test-driver.c (flag_test_errno): New variable.
7545 (flag_test_exceptions): Likewise.
7546 (flag_test_finite): Likewise.
7547 (flag_test_inline): Likewise.
7548 (flag_test_mathvec): Likewise.
7549 (test_msg): Likewise.
7550 (ulp_idx): Likewise.
7551 (qtype_str): Likewise.
7552 (ULP_IDX): Remove macro.
7553 (QTYPE_STR): Likewise.
7554 (find_ulps): Use ulp_idx not ULP_IDX.
7555 (print_function_ulps): Use qtype_str, printed with %s, not
7556 QTYPE_STR, printed with concatentation to format string.
7557 (print_complex_function_ulps): Likewise.
7558 (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
7559 (test_errno): Use flag_test_errno not TEST_ERRNO.
7560 (enable_test): Use flag_test_inline, flag_test_finite and
7561 flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
7562 TEST_MATHVEC.
7563 (libm_test_init): New function. Factored out of main.
7564 (libm_test_finish): Likewise.
7565 (main): Call libm_test_init and libm_test_finish and move most
7566 code to those functions.
7567
7568 * math/libm-test-driver.c (STRX): New macro.
7569 (STR): Likewise.
7570 (STR_FLOAT): Likewise.
7571 (STR_VEC_LEN): Likewise.
7572 (TEST_MSG): Likewise. Define here instead of expecting to be
7573 defined by including file.
7574 * math/test-double-finite.c (TEST_MSG): Remove macro.
7575 * math/test-double-vlen2.h (TEST_MSG): Likewise.
7576 * math/test-double-vlen4.h (TEST_MSG): Likewise.
7577 * math/test-double-vlen8.h (TEST_MSG): Likewise.
7578 * math/test-double.c (TEST_MSG): Likewise.
7579 * math/test-float-finite.c (TEST_MSG): Likewise.
7580 * math/test-float-vlen16.h (TEST_MSG): Likewise.
7581 * math/test-float-vlen4.h (TEST_MSG): Likewise.
7582 * math/test-float-vlen8.h (TEST_MSG): Likewise.
7583 * math/test-float.c (TEST_MSG): Likewise.
7584 * math/test-idouble.c (TEST_MSG): Likewise.
7585 * math/test-ifloat.c (TEST_MSG): Likewise.
7586 * math/test-ildouble.c (TEST_MSG): Likewise.
7587 * math/test-ldouble-finite.c (TEST_MSG): Likewise.
7588 * math/test-ldouble.c (TEST_MSG): Likewise.
7589
7590 * math/libm-test.inc: Move all tests of individual functions to
7591 libm-test-*.inc and #include libm-test-*.c files.
7592 (acos_test_data): Remove.
7593 (acos_test): Likewise.
7594 (acosh_test_data): Likewise.
7595 (acosh_test): Likewise.
7596 (asin_test_data): Likewise.
7597 (asin_test): Likewise.
7598 (asinh_test_data): Likewise.
7599 (asinh_test): Likewise.
7600 (atan_test_data): Likewise.
7601 (atan_test): Likewise.
7602 (atanh_test_data): Likewise.
7603 (atanh_test): Likewise.
7604 (atan2_test_data): Likewise.
7605 (atan2_test): Likewise.
7606 (cabs_test_data): Likewise.
7607 (cabs_test): Likewise.
7608 (cacos_test_data): Likewise.
7609 (cacos_test): Likewise.
7610 (cacosh_test_data): Likewise.
7611 (cacosh_test): Likewise.
7612 (canonicalize_test_data): Likewise.
7613 (canonicalize_test): Likewise.
7614 (carg_test_data): Likewise.
7615 (carg_test): Likewise.
7616 (casin_test_data): Likewise.
7617 (casin_test): Likewise.
7618 (casinh_test_data): Likewise.
7619 (casinh_test): Likewise.
7620 (catan_test_data): Likewise.
7621 (catan_test): Likewise.
7622 (catanh_test_data): Likewise.
7623 (catanh_test): Likewise.
7624 (cbrt_test_data): Likewise.
7625 (cbrt_test): Likewise.
7626 (ccos_test_data): Likewise.
7627 (ccos_test): Likewise.
7628 (ccosh_test_data): Likewise.
7629 (ccosh_test): Likewise.
7630 (ceil_test_data): Likewise.
7631 (ceil_test): Likewise.
7632 (cexp_test_data): Likewise.
7633 (cexp_test): Likewise.
7634 (cimag_test_data): Likewise.
7635 (cimag_test): Likewise.
7636 (clog_test_data): Likewise.
7637 (clog_test): Likewise.
7638 (clog10_test_data): Likewise.
7639 (clog10_test): Likewise.
7640 (conj_test_data): Likewise.
7641 (conj_test): Likewise.
7642 (copysign_test_data): Likewise.
7643 (copysign_test): Likewise.
7644 (cos_test_data): Likewise.
7645 (cos_test): Likewise.
7646 (cosh_test_data): Likewise.
7647 (cosh_test): Likewise.
7648 (cpow_test_data): Likewise.
7649 (cpow_test): Likewise.
7650 (cproj_test_data): Likewise.
7651 (cproj_test): Likewise.
7652 (creal_test_data): Likewise.
7653 (creal_test): Likewise.
7654 (csin_test_data): Likewise.
7655 (csin_test): Likewise.
7656 (csinh_test_data): Likewise.
7657 (csinh_test): Likewise.
7658 (csqrt_test_data): Likewise.
7659 (csqrt_test): Likewise.
7660 (ctan_test_data): Likewise.
7661 (ctan_test): Likewise.
7662 (ctanh_test_data): Likewise.
7663 (ctanh_test): Likewise.
7664 (erf_test_data): Likewise.
7665 (erf_test): Likewise.
7666 (erfc_test_data): Likewise.
7667 (erfc_test): Likewise.
7668 (exp_test_data): Likewise.
7669 (exp_test): Likewise.
7670 (exp10_test_data): Likewise.
7671 (exp10_test): Likewise.
7672 (pow10_test): Likewise.
7673 (exp2_test_data): Likewise.
7674 (exp2_test): Likewise.
7675 (expm1_test_data): Likewise.
7676 (expm1_test): Likewise.
7677 (fabs_test_data): Likewise.
7678 (fabs_test): Likewise.
7679 (fdim_test_data): Likewise.
7680 (fdim_test): Likewise.
7681 (floor_test_data): Likewise.
7682 (floor_test): Likewise.
7683 (fma_test_data): Likewise.
7684 (fma_test): Likewise.
7685 (fmax_test_data): Likewise.
7686 (fmax_test): Likewise.
7687 (fmaxmag_test_data): Likewise.
7688 (fmaxmag_test): Likewise.
7689 (fmin_test_data): Likewise.
7690 (fmin_test): Likewise.
7691 (fminmag_test_data): Likewise.
7692 (fminmag_test): Likewise.
7693 (fmod_test_data): Likewise.
7694 (fmod_test): Likewise.
7695 (fpclassify_test_data): Likewise.
7696 (fpclassify_test): Likewise.
7697 (frexp_test_data): Likewise.
7698 (frexp_test): Likewise.
7699 (fromfp_test_data): Likewise.
7700 (fromfp_test): Likewise.
7701 (fromfpx_test_data): Likewise.
7702 (fromfpx_test): Likewise.
7703 (getpayload_test_data): Likewise.
7704 (getpayload_test): Likewise.
7705 (hypot_test_data): Likewise.
7706 (hypot_test): Likewise.
7707 (ilogb_test_data): Likewise.
7708 (ilogb_test): Likewise.
7709 (iscanonical_test_data): Likewise.
7710 (iscanonical_test): Likewise.
7711 (iseqsig_test_data): Likewise.
7712 (iseqsig_test): Likewise.
7713 (isfinite_test_data): Likewise.
7714 (isfinite_test): Likewise.
7715 (finite_test): Likewise.
7716 (isgreater_test_data): Likewise.
7717 (isgreater_test): Likewise.
7718 (isgreaterequal_test_data): Likewise.
7719 (isgreaterequal_test): Likewise.
7720 (isinf_test_data): Likewise.
7721 (isinf_test): Likewise.
7722 (isless_test_data): Likewise.
7723 (isless_test): Likewise.
7724 (islessequal_test_data): Likewise.
7725 (islessequal_test): Likewise.
7726 (islessgreater_test_data): Likewise.
7727 (islessgreater_test): Likewise.
7728 (isnan_test_data): Likewise.
7729 (isnan_test): Likewise.
7730 (isnormal_test_data): Likewise.
7731 (isnormal_test): Likewise.
7732 (issignaling_test_data): Likewise.
7733 (issignaling_test): Likewise.
7734 (issubnormal_test_data): Likewise.
7735 (issubnormal_test): Likewise.
7736 (isunordered_test_data): Likewise.
7737 (isunordered_test): Likewise.
7738 (iszero_test_data): Likewise.
7739 (iszero_test): Likewise.
7740 (j0_test_data): Likewise.
7741 (j0_test): Likewise.
7742 (j1_test_data): Likewise.
7743 (j1_test): Likewise.
7744 (jn_test_data): Likewise.
7745 (jn_test): Likewise.
7746 (lgamma_test_data): Likewise.
7747 (lgamma_test): Likewise.
7748 (gamma_test): Likewise.
7749 (llogb_test_data): Likewise.
7750 (llogb_test): Likewise.
7751 (lrint_test_data): Likewise.
7752 (lrint_test): Likewise.
7753 (llrint_test_data): Likewise.
7754 (llrint_test): Likewise.
7755 (log_test_data): Likewise.
7756 (log_test): Likewise.
7757 (log10_test_data): Likewise.
7758 (log10_test): Likewise.
7759 (log1p_test_data): Likewise.
7760 (log1p_test): Likewise.
7761 (log2_test_data): Likewise.
7762 (log2_test): Likewise.
7763 (logb_test_data): Likewise.
7764 (logb_test): Likewise.
7765 (lround_test_data): Likewise.
7766 (lround_test): Likewise.
7767 (llround_test_data): Likewise.
7768 (llround_test): Likewise.
7769 (modf_test_data): Likewise.
7770 (modf_test): Likewise.
7771 (nearbyint_test_data): Likewise.
7772 (nearbyint_test): Likewise.
7773 (nextafter_test_data): Likewise.
7774 (nextafter_test): Likewise.
7775 (nextup_test_data): Likewise.
7776 (nextup_test): Likewise.
7777 (nextdown_test_data): Likewise.
7778 (nextdown_test): Likewise.
7779 (nexttoward_test_data): Likewise.
7780 (nexttoward_test): Likewise.
7781 (pow_test_data): Likewise.
7782 (pow_test): Likewise.
7783 (remainder_test_data): Likewise.
7784 (remainder_test): Likewise.
7785 (drem_test): Likewise.
7786 (remquo_test_data): Likewise.
7787 (remquo_test): Likewise.
7788 (rint_test_data): Likewise.
7789 (rint_test): Likewise.
7790 (round_test_data): Likewise.
7791 (round_test): Likewise.
7792 (roundeven_test_data): Likewise.
7793 (roundeven_test): Likewise.
7794 (scalb_test_data): Likewise.
7795 (scalb_test): Likewise.
7796 (scalbn_test_data): Likewise.
7797 (scalbn_test): Likewise.
7798 (ldexp_test): Likewise.
7799 (scalbln_test_data): Likewise.
7800 (scalbln_test): Likewise.
7801 (setpayload_test_data): Likewise.
7802 (setpayload_test): Likewise.
7803 (setpayloadsig_test_data): Likewise.
7804 (setpayloadsig_test): Likewise.
7805 (signbit_test_data): Likewise.
7806 (signbit_test): Likewise.
7807 (sin_test_data): Likewise.
7808 (sin_test): Likewise.
7809 (sincos_test_data): Likewise.
7810 (sincos_test): Likewise.
7811 (sinh_test_data): Likewise.
7812 (sinh_test): Likewise.
7813 (sqrt_test_data): Likewise.
7814 (sqrt_test): Likewise.
7815 (tan_test_data): Likewise.
7816 (tan_test): Likewise.
7817 (tanh_test_data): Likewise.
7818 (tanh_test): Likewise.
7819 (tgamma_test_data): Likewise.
7820 (tgamma_test): Likewise.
7821 (totalorder_test_data): Likewise.
7822 (totalorder_test): Likewise.
7823 (totalordermag_test_data): Likewise.
7824 (totalordermag_test): Likewise.
7825 (trunc_test_data): Likewise.
7826 (trunc_test): Likewise.
7827 (ufromfp_test_data): Likewise.
7828 (ufromfp_test): Likewise.
7829 (ufromfpx_test_data): Likewise.
7830 (ufromfpx_test): Likewise.
7831 (y0_test_data): Likewise.
7832 (y0_test): Likewise.
7833 (y1_test_data): Likewise.
7834 (y1_test): Likewise.
7835 (yn_test_data): Likewise.
7836 (yn_test): Likewise.
7837 (significand_test_data): Likewise.
7838 (significand_test): Likewise.
7839 * math/Makefile (auto-libm-test-out-files): Remove variable.
7840 (libm-test-funcs-noauto): New variable.
7841 (libm-test-funcs-all): Likewise.
7842 (libm-test-c-auto): Likewise.
7843 (libm-test-c-noauto): Likewise.
7844 (libm-tests-generated): Add $(libm-test-c-auto) and
7845 $(libm-test-c-noauto).
7846 (generated): Do not add auto-libm-test-out.
7847 (libm-test-c-auto-obj): New variable.
7848 (libm-test-c-noauto-obj): Likewise.
7849 ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
7850 ($(libm-test-c-noauto-obj)): New static pattern rule.
7851 ($(libm-test-c-auto-obj)): Likewise.
7852 (libm-test-incs): New variable.
7853 ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
7854 and pass it to gen-libm-have-vector-test.sh.
7855 * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
7856 be passed on command line.
7857 * math/libm-test-acos.inc: New file. Content from
7858 math/libm-test.inc.
7859 * math/libm-test-acosh.inc: Likewise.
7860 * math/libm-test-asin.inc: Likewise.
7861 * math/libm-test-asinh.inc: Likewise.
7862 * math/libm-test-atan.inc: Likewise.
7863 * math/libm-test-atan2.inc: Likewise.
7864 * math/libm-test-atanh.inc: Likewise.
7865 * math/libm-test-cabs.inc: Likewise.
7866 * math/libm-test-cacos.inc: Likewise.
7867 * math/libm-test-cacosh.inc: Likewise.
7868 * math/libm-test-canonicalize.inc: Likewise.
7869 * math/libm-test-carg.inc: Likewise.
7870 * math/libm-test-casin.inc: Likewise.
7871 * math/libm-test-casinh.inc: Likewise.
7872 * math/libm-test-catan.inc: Likewise.
7873 * math/libm-test-catanh.inc: Likewise.
7874 * math/libm-test-cbrt.inc: Likewise.
7875 * math/libm-test-ccos.inc: Likewise.
7876 * math/libm-test-ccosh.inc: Likewise.
7877 * math/libm-test-ceil.inc: Likewise.
7878 * math/libm-test-cexp.inc: Likewise.
7879 * math/libm-test-cimag.inc: Likewise.
7880 * math/libm-test-clog.inc: Likewise.
7881 * math/libm-test-clog10.inc: Likewise.
7882 * math/libm-test-conj.inc: Likewise.
7883 * math/libm-test-copysign.inc: Likewise.
7884 * math/libm-test-cos.inc: Likewise.
7885 * math/libm-test-cosh.inc: Likewise.
7886 * math/libm-test-cpow.inc: Likewise.
7887 * math/libm-test-cproj.inc: Likewise.
7888 * math/libm-test-creal.inc: Likewise.
7889 * math/libm-test-csin.inc: Likewise.
7890 * math/libm-test-csinh.inc: Likewise.
7891 * math/libm-test-csqrt.inc: Likewise.
7892 * math/libm-test-ctan.inc: Likewise.
7893 * math/libm-test-ctanh.inc: Likewise.
7894 * math/libm-test-erf.inc: Likewise.
7895 * math/libm-test-erfc.inc: Likewise.
7896 * math/libm-test-exp.inc: Likewise.
7897 * math/libm-test-exp10.inc: Likewise.
7898 * math/libm-test-exp2.inc: Likewise.
7899 * math/libm-test-expm1.inc: Likewise.
7900 * math/libm-test-fabs.inc: Likewise.
7901 * math/libm-test-fdim.inc: Likewise.
7902 * math/libm-test-floor.inc: Likewise.
7903 * math/libm-test-fma.inc: Likewise.
7904 * math/libm-test-fmax.inc: Likewise.
7905 * math/libm-test-fmaxmag.inc: Likewise.
7906 * math/libm-test-fmin.inc: Likewise.
7907 * math/libm-test-fminmag.inc: Likewise.
7908 * math/libm-test-fmod.inc: Likewise.
7909 * math/libm-test-fpclassify.inc: Likewise.
7910 * math/libm-test-frexp.inc: Likewise.
7911 * math/libm-test-fromfp.inc: Likewise.
7912 * math/libm-test-fromfpx.inc: Likewise.
7913 * math/libm-test-getpayload.inc: Likewise.
7914 * math/libm-test-hypot.inc: Likewise.
7915 * math/libm-test-ilogb.inc: Likewise.
7916 * math/libm-test-iscanonical.inc: Likewise.
7917 * math/libm-test-iseqsig.inc: Likewise.
7918 * math/libm-test-isfinite.inc: Likewise.
7919 * math/libm-test-isgreater.inc: Likewise.
7920 * math/libm-test-isgreaterequal.inc: Likewise.
7921 * math/libm-test-isinf.inc: Likewise.
7922 * math/libm-test-isless.inc: Likewise.
7923 * math/libm-test-islessequal.inc: Likewise.
7924 * math/libm-test-islessgreater.inc: Likewise.
7925 * math/libm-test-isnan.inc: Likewise.
7926 * math/libm-test-isnormal.inc: Likewise.
7927 * math/libm-test-issignaling.inc: Likewise.
7928 * math/libm-test-issubnormal.inc: Likewise.
7929 * math/libm-test-isunordered.inc: Likewise.
7930 * math/libm-test-iszero.inc: Likewise.
7931 * math/libm-test-j0.inc: Likewise.
7932 * math/libm-test-j1.inc: Likewise.
7933 * math/libm-test-jn.inc: Likewise.
7934 * math/libm-test-lgamma.inc: Likewise.
7935 * math/libm-test-llogb.inc: Likewise.
7936 * math/libm-test-llrint.inc: Likewise.
7937 * math/libm-test-llround.inc: Likewise.
7938 * math/libm-test-log.inc: Likewise.
7939 * math/libm-test-log10.inc: Likewise.
7940 * math/libm-test-log1p.inc: Likewise.
7941 * math/libm-test-log2.inc: Likewise.
7942 * math/libm-test-logb.inc: Likewise.
7943 * math/libm-test-lrint.inc: Likewise.
7944 * math/libm-test-lround.inc: Likewise.
7945 * math/libm-test-modf.inc: Likewise.
7946 * math/libm-test-nearbyint.inc: Likewise.
7947 * math/libm-test-nextafter.inc: Likewise.
7948 * math/libm-test-nextdown.inc: Likewise.
7949 * math/libm-test-nexttoward.inc: Likewise.
7950 * math/libm-test-nextup.inc: Likewise.
7951 * math/libm-test-pow.inc: Likewise.
7952 * math/libm-test-remainder.inc: Likewise.
7953 * math/libm-test-remquo.inc: Likewise.
7954 * math/libm-test-rint.inc: Likewise.
7955 * math/libm-test-round.inc: Likewise.
7956 * math/libm-test-roundeven.inc: Likewise.
7957 * math/libm-test-scalb.inc: Likewise.
7958 * math/libm-test-scalbln.inc: Likewise.
7959 * math/libm-test-scalbn.inc: Likewise.
7960 * math/libm-test-setpayload.inc: Likewise.
7961 * math/libm-test-setpayloadsig.inc: Likewise.
7962 * math/libm-test-signbit.inc: Likewise.
7963 * math/libm-test-significand.inc: Likewise.
7964 * math/libm-test-sin.inc: Likewise.
7965 * math/libm-test-sincos.inc: Likewise.
7966 * math/libm-test-sinh.inc: Likewise.
7967 * math/libm-test-sqrt.inc: Likewise.
7968 * math/libm-test-tan.inc: Likewise.
7969 * math/libm-test-tanh.inc: Likewise.
7970 * math/libm-test-tgamma.inc: Likewise.
7971 * math/libm-test-totalorder.inc: Likewise.
7972 * math/libm-test-totalordermag.inc: Likewise.
7973 * math/libm-test-trunc.inc: Likewise.
7974 * math/libm-test-ufromfp.inc: Likewise.
7975 * math/libm-test-ufromfpx.inc: Likewise.
7976 * math/libm-test-y0.inc: Likewise.
7977 * math/libm-test-y1.inc: Likewise.
7978 * math/libm-test-yn.inc: Likewise.
7979 * math/README.libm-test: Update.
7980
7981 * math/gen-auto-libm-tests.c: Update comment about use of program.
7982 (generate_output): Add argument FUNCTION.
7983 (main): Require extra argument. Pass function name to
7984 generate_output.
7985 * math/Makefile (generated): Add auto-libm-test-out.
7986 (libm-test-funcs-auto): New variable.
7987 (auto-libm-test-out-files): New variable.
7988 ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
7989 Concatenate those files to form $(objpfx)auto-libm-test-out and
7990 use it as input to gen-libm-test.pl.
7991 * math/README.libm-test: Update.
7992 * math/auto-libm-test-out: Remove.
7993 * math/auto-libm-test-out-acos: New generated file.
7994 * math/auto-libm-test-out-acosh: Likewise.
7995 * math/auto-libm-test-out-asin: Likewise.
7996 * math/auto-libm-test-out-asinh: Likewise.
7997 * math/auto-libm-test-out-atan: Likewise.
7998 * math/auto-libm-test-out-atan2: Likewise.
7999 * math/auto-libm-test-out-atanh: Likewise.
8000 * math/auto-libm-test-out-cabs: Likewise.
8001 * math/auto-libm-test-out-carg: Likewise.
8002 * math/auto-libm-test-out-cbrt: Likewise.
8003 * math/auto-libm-test-out-ccos: Likewise.
8004 * math/auto-libm-test-out-ccosh: Likewise.
8005 * math/auto-libm-test-out-cexp: Likewise.
8006 * math/auto-libm-test-out-clog: Likewise.
8007 * math/auto-libm-test-out-clog10: Likewise.
8008 * math/auto-libm-test-out-cos: Likewise.
8009 * math/auto-libm-test-out-cosh: Likewise.
8010 * math/auto-libm-test-out-cpow: Likewise.
8011 * math/auto-libm-test-out-csin: Likewise.
8012 * math/auto-libm-test-out-csinh: Likewise.
8013 * math/auto-libm-test-out-csqrt: Likewise.
8014 * math/auto-libm-test-out-ctan: Likewise.
8015 * math/auto-libm-test-out-ctanh: Likewise.
8016 * math/auto-libm-test-out-erf: Likewise.
8017 * math/auto-libm-test-out-erfc: Likewise.
8018 * math/auto-libm-test-out-exp: Likewise.
8019 * math/auto-libm-test-out-exp10: Likewise.
8020 * math/auto-libm-test-out-exp2: Likewise.
8021 * math/auto-libm-test-out-expm1: Likewise.
8022 * math/auto-libm-test-out-fma: Likewise.
8023 * math/auto-libm-test-out-hypot: Likewise.
8024 * math/auto-libm-test-out-j0: Likewise.
8025 * math/auto-libm-test-out-j1: Likewise.
8026 * math/auto-libm-test-out-jn: Likewise.
8027 * math/auto-libm-test-out-lgamma: Likewise.
8028 * math/auto-libm-test-out-log: Likewise.
8029 * math/auto-libm-test-out-log10: Likewise.
8030 * math/auto-libm-test-out-log1p: Likewise.
8031 * math/auto-libm-test-out-log2: Likewise.
8032 * math/auto-libm-test-out-pow: Likewise.
8033 * math/auto-libm-test-out-sin: Likewise.
8034 * math/auto-libm-test-out-sincos: Likewise.
8035 * math/auto-libm-test-out-sinh: Likewise.
8036 * math/auto-libm-test-out-sqrt: Likewise.
8037 * math/auto-libm-test-out-tan: Likewise.
8038 * math/auto-libm-test-out-tanh: Likewise.
8039 * math/auto-libm-test-out-tgamma: Likewise.
8040 * math/auto-libm-test-out-y0: Likewise.
8041 * math/auto-libm-test-out-y1: Likewise.
8042 * math/auto-libm-test-out-yn: Likewise.
8043
8044 * math/Makefile (generated): Do not include libm-test.stmp.
8045 ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
8046 on $(objpfx)libm-test.stmp.
8047 ($(objpfx)libm-test.stmp): Remove rule.
8048 ($(objpfx)libm-test-ulps.h): New rule.
8049 ($(objpfx)libm-test.c): Likewise.
8050 ($(objpfx)libm-have-vector-test.h): Likewise.
8051 ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
8052 individual generated files, not libm-test.stmp.
8053
8054 * math/gen-libm-test.pl ($output_dir): Remove variable.
8055 ($srcdir): Likewise.
8056 ($opt_a): New variable.
8057 ($opt_c): Likewise.
8058 ($opt_C): Likewise.
8059 ($opt_H): Likewise.
8060 (-n): Make option take argument and use it as NewUlps output.
8061 (-a): New option. Use its argument for auto-libm-test-out input.
8062 (-c): New option. Use its argument for libm-test.inc input.
8063 (-C): New option. Use its argument for libm-test.c output.
8064 (-H): New option. Use its argument for libm-test-ulps.h output.
8065 (top level): Only process inputs needed to generate outputs
8066 specified by command-line options. Only generate outputs
8067 specified by command-line options.
8068 * math/README.libm-test: Update example gen-libm-test.pl command.
8069 * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
8070 commands.
8071 (regen-ulps): Likewise.
8072
8073 2017-02-06 Wilco Dijkstra <wdijkstr@arm.com>
8074
8075 * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
8076 * include/string.h (index): Remove define.
8077 (rindex): Likewise.
8078 * misc/getttyent.c (__getttyent): Rename index to strchr.
8079 * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
8080 * sunrpc/rpc_main.c (mkfile_output): Likewise.
8081
8082 2017-02-06 Joseph Myers <joseph@codesourcery.com>
8083
8084 * math/libm-test-driver.c: New file. Based on math/libm-test.inc.
8085 * math/libm-test.inc: Move all contents, other than tests of
8086 individual functions, to libm-test-driver.c.
8087 [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
8088 [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
8089 [!FE_UPWARD] (FE_UPWARD): Likewise.
8090 [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
8091 (NO_EXCEPTION): Likewise.
8092 (INVALID_EXCEPTION): Likewise.
8093 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
8094 (OVERFLOW_EXCEPTION): Likewise.
8095 (UNDERFLOW_EXCEPTION): Likewise.
8096 (INEXACT_EXCEPTION): Likewise.
8097 (INVALID_EXCEPTION_OK): Likewise.
8098 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8099 (OVERFLOW_EXCEPTION_OK): Likewise.
8100 (UNDERFLOW_EXCEPTION_OK): Likewise.
8101 (NO_INEXACT_EXCEPTION): Likewise.
8102 (EXCEPTIONS_OK): Likewise.
8103 (IGNORE_ZERO_INF_SIGN): Likewise.
8104 (TEST_NAN_SIGN): Likewise.
8105 (TEST_NAN_PAYLOAD): Likewise.
8106 (NO_TEST_INLINE): Likewise.
8107 (XFAIL_TEST): Likewise.
8108 (ERRNO_UNCHANGED): Likewise.
8109 (ERRNO_EDOM): Likewise.
8110 (ERRNO_ERANGE): Likewise.
8111 (IGNORE_RESULT): Likewise.
8112 (NON_FINITE): Likewise.
8113 (TEST_SNAN): Likewise.
8114 (NO_TEST_MATHVEC): Likewise.
8115 (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
8116 (__CONCATX): Likewise.
8117 (TYPE_MIN): Likewise.
8118 (TYPE_TRUE_MIN): Likewise.
8119 (TYPE_MAX): Likewise.
8120 (MIN_EXP): Likewise.
8121 (MAX_EXP): Likewise.
8122 (MANT_DIG): Likewise.
8123 (FSTR_MAX): Likewise.
8124 (ULP_IDX): Likewise.
8125 (QTYPE_STR): Likewise.
8126 (TEST_COND_binary32): Likewise.
8127 (TEST_COND_binary64): Likewise.
8128 (TEST_COND_binary128): Likewise.
8129 (TEST_COND_ibm128): Likewise.
8130 (TEST_COND_intel96): Likewise.
8131 (TEST_COND_m68k96): Likewise.
8132 (TEST_COND_ibm128_libgcc): Likewise.
8133 (XFAIL_IBM128_LIBGCC): Likewise.
8134 (PAYLOAD_DIG): Likewise.
8135 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8136 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8137 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8138 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8139 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8140 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
8141 (TEST_COND_long32): Likewise.
8142 (TEST_COND_long64): Likewise.
8143 (TEST_COND_before_rounding): Likewise.
8144 (TEST_COND_after_rounding): Likewise.
8145 (lit_pi_3_m_4_d): Likewise.
8146 (lit_pi_3_m_4_ln10_m_d): Likewise.
8147 (lit_pi_2_ln10_m_d): Likewise.
8148 (lit_pi_4_ln10_m_d): Likewise.
8149 (lit_pi_ln10_d): Likewise.
8150 (lit_pi_2_d): Likewise.
8151 (lit_pi_4_d): Likewise.
8152 (lit_pi): Likewise.
8153 (lit_e): Likewise.
8154 (ulps_file_name): Likewise.
8155 (ulps_file): Likewise.
8156 (output_ulps): Likewise.
8157 (output_dir): Likewise.
8158 (noErrors): Likewise.
8159 (noTests): Likewise.
8160 (noExcTests): Likewise.
8161 (noErrnoTests): Likewise.
8162 (verbose): Likewise.
8163 (output_max_error): Likewise.
8164 (output_points): Likewise.
8165 (ignore_max_ulp): Likewise.
8166 (plus_zero): Likewise.
8167 (minus_zero): Likewise.
8168 (plus_infty): Likewise.
8169 (minus_infty): Likewise.
8170 (qnan_value_pl): Likewise.
8171 (qnan_value): Likewise.
8172 (snan_value_pl): Likewise.
8173 (snan_value): Likewise.
8174 (max_value): Likewise.
8175 (min_value): Likewise.
8176 (min_subnorm_value): Likewise.
8177 (snan_value_ld): Likewise.
8178 (max_error): Likewise.
8179 (real_max_error): Likewise.
8180 (imag_max_error): Likewise.
8181 (prev_max_error): Likewise.
8182 (prev_real_max_error): Likewise.
8183 (prev_imag_max_error): Likewise.
8184 (max_valid_error): Likewise.
8185 (TYPE_DECIMAL_DIG): Likewise.
8186 (TYPE_HEX_DIG): Likewise.
8187 (fmt_ftostr): Likewise.
8188 (compare_ulp_data): Likewise.
8189 (find_ulps): Likewise.
8190 (init_max_error): Likewise.
8191 (set_max_error): Likewise.
8192 (print_float): Likewise.
8193 (print_screen): Likewise.
8194 (print_screen_max_error): Likewise.
8195 (update_stats): Likewise.
8196 (print_function_ulps): Likewise.
8197 (print_complex_function_ulps): Likewise.
8198 (fpstack_test): Likewise.
8199 (print_max_error): Likewise.
8200 (print_complex_max_error): Likewise.
8201 (test_single_exception): Likewise.
8202 (test_exceptions): Likewise.
8203 (test_single_errno): Likewise.
8204 (test_errno): Likewise.
8205 (ULPDIFF): Likewise.
8206 (ulp): Likewise.
8207 (check_float_internal): Likewise.
8208 (check_float): Likewise.
8209 (check_complex): Likewise.
8210 (check_int): Likewise.
8211 (check_long): Likewise.
8212 (check_bool): Likewise.
8213 (check_longlong): Likewise.
8214 (check_intmax_t): Likewise.
8215 (check_uintmax_t): Likewise.
8216 (enable_test): Likewise.
8217 (struct test_f_f_data): Likewise.
8218 (struct test_ff_f_data): Likewise.
8219 (struct test_fj_f_data): Likewise.
8220 (struct test_fi_f_data): Likewise.
8221 (struct test_fl_f_data): Likewise.
8222 (struct test_if_f_data): Likewise.
8223 (struct test_fff_f_data): Likewise.
8224 (struct test_fiu_M_data): Likewise.
8225 (struct test_fiu_U_data): Likewise.
8226 (struct test_c_f_data): Likewise.
8227 (struct test_f_f1_data): Likewise.
8228 (struct test_fF_f1_data): Likewise.
8229 (struct test_ffI_f1_data): Likewise.
8230 (struct test_c_c_data): Likewise.
8231 (struct test_cc_c_data): Likewise.
8232 (struct test_f_i_data): Likewise.
8233 (struct test_ff_i_data): Likewise.
8234 (struct test_f_l_data): Likewise.
8235 (struct test_f_L_data): Likewise.
8236 (struct test_fFF_11_data): Likewise.
8237 (struct test_Ff_b1_data): Likewise.
8238 (IF_ROUND_INIT_): Likewise.
8239 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8240 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8241 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8242 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8243 (ROUND_RESTORE_): Likewise.
8244 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8245 (ROUND_RESTORE_FE_TONEAREST): Likewise.
8246 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8247 (ROUND_RESTORE_FE_UPWARD): Likewise.
8248 (RM_): Likewise.
8249 (RM_FE_DOWNWARD): Likewise.
8250 (RM_FE_TONEAREST): Likewise.
8251 (RM_FE_TOWARDZERO): Likewise.
8252 (RM_FE_UPWARD): Likewise.
8253 (COMMON_TEST_SETUP): Likewise.
8254 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8255 (COMMON_TEST_CLEANUP): Likewise.
8256 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8257 (RUN_TEST_f_f): Likewise.
8258 (RUN_TEST_LOOP_f_f): Likewise.
8259 (RUN_TEST_fp_f): Likewise.
8260 (RUN_TEST_LOOP_fp_f): Likewise.
8261 (RUN_TEST_2_f): Likewise.
8262 (RUN_TEST_LOOP_2_f): Likewise.
8263 (RUN_TEST_ff_f): Likewise.
8264 (RUN_TEST_LOOP_ff_f): Likewise.
8265 (RUN_TEST_LOOP_fj_f): Likewise.
8266 (RUN_TEST_fi_f): Likewise.
8267 (RUN_TEST_LOOP_fi_f): Likewise.
8268 (RUN_TEST_fl_f): Likewise.
8269 (RUN_TEST_LOOP_fl_f): Likewise.
8270 (RUN_TEST_if_f): Likewise.
8271 (RUN_TEST_LOOP_if_f): Likewise.
8272 (RUN_TEST_fff_f): Likewise.
8273 (RUN_TEST_LOOP_fff_f): Likewise.
8274 (RUN_TEST_fiu_M): Likewise.
8275 (RUN_TEST_LOOP_fiu_M): Likewise.
8276 (RUN_TEST_fiu_U): Likewise.
8277 (RUN_TEST_LOOP_fiu_U): Likewise.
8278 (RUN_TEST_c_f): Likewise.
8279 (RUN_TEST_LOOP_c_f): Likewise.
8280 (RUN_TEST_f_f1): Likewise.
8281 (RUN_TEST_LOOP_f_f1): Likewise.
8282 (RUN_TEST_fF_f1): Likewise.
8283 (RUN_TEST_LOOP_fF_f1): Likewise.
8284 (RUN_TEST_fI_f1): Likewise.
8285 (RUN_TEST_LOOP_fI_f1): Likewise.
8286 (RUN_TEST_ffI_f1_mod8): Likewise.
8287 (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
8288 (RUN_TEST_Ff_b1): Likewise.
8289 (RUN_TEST_LOOP_Ff_b1): Likewise.
8290 (RUN_TEST_Ffp_b1): Likewise.
8291 (RUN_TEST_LOOP_Ffp_b1): Likewise.
8292 (RUN_TEST_c_c): Likewise.
8293 (RUN_TEST_LOOP_c_c): Likewise.
8294 (RUN_TEST_cc_c): Likewise.
8295 (RUN_TEST_LOOP_cc_c): Likewise.
8296 (RUN_TEST_f_i): Likewise.
8297 (RUN_TEST_LOOP_f_i): Likewise.
8298 (RUN_TEST_f_i_tg): Likewise.
8299 (RUN_TEST_LOOP_f_i_tg): Likewise.
8300 (RUN_TEST_ff_b): Likewise.
8301 (RUN_TEST_LOOP_ff_b): Likewise.
8302 (RUN_TEST_ff_i_tg): Likewise.
8303 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8304 (RUN_TEST_f_b): Likewise.
8305 (RUN_TEST_LOOP_f_b): Likewise.
8306 (RUN_TEST_f_b_tg): Likewise.
8307 (RUN_TEST_LOOP_f_b_tg): Likewise.
8308 (RUN_TEST_f_l): Likewise.
8309 (RUN_TEST_LOOP_f_l): Likewise.
8310 (RUN_TEST_f_L): Likewise.
8311 (RUN_TEST_LOOP_f_L): Likewise.
8312 (RUN_TEST_fFF_11): Likewise.
8313 (RUN_TEST_LOOP_fFF_11): Likewise.
8314 (VEC_SUFF): Likewise.
8315 (STR_CONCAT): Likewise.
8316 (STR_CON3): Likewise.
8317 (HAVE_VECTOR): Likewise.
8318 (START): Likewise.
8319 (END): Likewise.
8320 (END_COMPLEX): Likewise.
8321 (ALL_RM_TEST): Likewise.
8322 (matherr): Likewise.
8323 (initialize): Likewise.
8324 (options): Likewise.
8325 (doc): Likewise.
8326 (parse_opt): Likewise.
8327 (argp): Likewise.
8328 (check_ulp): Likewise.
8329 (main): Likewise.
8330 (do_test): New function. Call tests of individual functions
8331 previously called from main.
8332
8333 * math/libm-test.inc: Remove comment listing functions tested and
8334 not tested.
8335
8336 2016-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8337
8338 * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
8339 (allocate_stack): Remove COLORING_INCREMENT usage.
8340 * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
8341 * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
8342
8343 2017-02-06 Joseph Myers <joseph@codesourcery.com>
8344
8345 * manual/libm-err-tab.pl (@all_functions): Change to
8346 %all_functions. Initialize as empty.
8347 (parse_ulps): Add to %all_functions based on functions found in
8348 ulps files. Ignore results for non-default rounding modes and
8349 vector functions.
8350 (print_platforms): Use %all_platforms.
8351 * manual/math.texi (Errors in Math Functions): Document omissions
8352 from the table.
8353
8354 * math/Makefile (before-compile): Remove.
8355
8356 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
8357
8358 [BZ #21075]
8359 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
8360 unused assignment.
8361 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8362
8363 2017-02-06 Stefan Liebler <stli@linux.vnet.ibm.com>
8364
8365 * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
8366 Add __glibc_unlikely hint.
8367
8368 2017-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8369
8370 [BZ #16640]
8371 * sysdeps/i386/i686/strtok.S: Remove file.
8372 * sysdeps/i386/i686/strtok_r.S: Likewise.
8373 * sysdeps/i386/strtok.S: Likewise.
8374 * sysdeps/i386/strtok_r.S: Likewise.
8375 * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
8376 * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
8377 * sysdeps/x86_64/strtok.S: Likewise.
8378 * sysdeps/x86_64/strtok_r.S: Likewise.
8379
8380 * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
8381 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
8382 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8383 (__ASSUME_FADVISE64_AS_64_64): Define.
8384 * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
8385 !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
8386 [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
8387 __ALIGNMENT_ARG usage.
8388 [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
8389 __NR_fadvise64_64 if it is not defined.
8390
8391 2017-02-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
8392
8393 * version.h (RELEASE): Set to "development"
8394 (VERSION): Set to 2.25.90.
8395 * NEWS: Add 2.26 section.
8396
8397 * version.h (RELEASE): Set to "stable"
8398 (VERSION): Set to 2.25.
8399 * include/features.h (__GLIBC_MINOR__): Set to 25.
8400
8401 * manual/contrib.texi: Add more contributors from this release
8402 and past releases.
8403
8404 * NEWS (2.25): Add list of bugs fixed.
8405
8406 * NEWS: Add missing news items.
8407
8408 2017-02-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
8409
8410 * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
8411 parent if child exited in that manner. Print WEXITSTATUS
8412 instead of the raw status.
8413 (do_test_prep): Rename to do_test.
8414 (do_test): Return the result of run_executable_sgid.
8415 (TEST_FUNCTION_ARGV): Adjust.
8416
8417 2017-02-03 Alexandre Oliva <aoliva@redhat.com>
8418 Florian Weimer <fweimer@redhat.com>
8419 Carlos O'Donell <carlos@redhat.com>
8420
8421 [BZ #20915]
8422 * elf/dl-reloc.c (_dl_nothread_init_static_tls):
8423 Do not initialize DTV.
8424 * nptl/allocatestack.c (init_one_static_tls): Likewise.
8425
8426 2017-02-03 David S. Miller <davem@davemloft.net>
8427
8428 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
8429 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
8431 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8432 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
8433 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8434 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
8435 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8436 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
8437 (libm-sysdep_routines): Update.
8438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
8439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
8440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
8442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8443 * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
8444 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
8445 * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
8446 * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
8447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
8448 Likewise.
8449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
8451 Likewise.
8452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
8454 Likewise.
8455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
8457 Likewise.
8458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8460 (libm-sysdep_routines): Update.
8461
8462 2017-02-02 H.J. Lu <hongjiu.lu@intel.com>
8463
8464 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
8465 _dl_fatal_printf with _dl_error_printf for IFUNC relocation
8466 against unrelocated shared library.
8467 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8468
8469 2017-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
8470
8471 * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
8472 * elf/tst-env-setuid-tunables.c
8473 (test_child_tunables)[!HAVE_TUNABLES]: Verify that
8474 GLIBC_TUNABLES is removed in a setgid process.
8475
8476 [BZ #21073]
8477 * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
8478 * elf/dl-tunables.c (tunables_strdup): Remove.
8479 (get_next_env): Also return the previous envp.
8480 (parse_tunables): Erase tunables of category
8481 TUNABLES_SECLEVEL_SXID_ERASE.
8482 (maybe_enable_malloc_check): Make MALLOC_CHECK_
8483 TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
8484 (__tunables_init)[TUNABLES_FRONTEND ==
8485 TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
8486 after parsing.
8487 [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
8488 tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
8489 * elf/dl-tunables.h (struct _tunable): Change member is_secure
8490 to security_level.
8491 * elf/dl-tunables.list: Add security_level annotations for all
8492 tunables.
8493 * scripts/gen-tunables.awk: Recognize and generate enum values
8494 for security_level.
8495 * elf/tst-env-setuid.c: New test case.
8496 * elf/tst-env-setuid-tunables: new test case.
8497 * elf/Makefile (tests-static): Add them.
8498
8499 2017-02-01 Richard Henderson <rth@twiddle.net>
8500
8501 * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
8502 adjusting the byte count.
8503
8504 2017-02-01 Andreas Schwab <schwab@linux-m68k.org>
8505
8506 * conform/Makefile (linknamespace-libs): Define.
8507
8508 * sysdeps/m68k/m680x0/m68020/atomic-machine.h
8509 (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
8510 (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
8511 operands.
8512
8513 2017-01-31 Chung-Lin Tang <cltang@codesourcery.com>
8514
8515 * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
8516
8517 2017-01-30 H.J. Lu <hongjiu.lu@intel.com>
8518
8519 [BZ #21081]
8520 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8521 (L(stosb)): Add VZEROUPPER before ret.
8522
8523 2016-01-28 Carlos O'Donell <carlos@redhat.com>
8524 Alexey Makhalov <amakhalov@vmware.com>
8525 Florian Weimer <fweimer@redhat.com>
8526
8527 [BZ #20116]
8528 * nptl/pthread_create.c: Document concurrency notes.
8529 Enhance thread creation notes.
8530 (create_thread): Use bool *stopped_start.
8531 (START_THREAD_DEFN): Comment ownership of PD.
8532 (__pthread_create_2_1): Add local bool stopped_start and use
8533 that instead of pd->stopped_start where appropriate.
8534 * nptl/createthread.c (create_thread): Use bool *stopped_start.
8535 * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
8536 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
8537 * nptl/tst-create-detached.c: New file.
8538 * nptl/Makefile (tests): Add tst-create-detached.
8539 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
8540 Reference the enhanced thread creation notes.
8541 * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
8542 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
8543 * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
8544 (__pthread_current_priority): Likewise.
8545 * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
8546 xpthread_attr_init, xpthread_attr_setdetachstate, and
8547 xpthread_attr_setstacksize.
8548 * support/xpthread_attr_destroy.c: New file.
8549 * support/xpthread_attr_init.c: New file.
8550 * support/xpthread_attr_setdetachstate.c: New file.
8551 * support/xpthread_attr_setstacksize.c: New file.
8552 * support/xthread.h: Define prototypes for xpthread_attr_destroy
8553 xpthread_attr_init, xpthread_attr_setdetachstate, and
8554 xpthread_attr_setstacksize.
8555
8556 2017-01-27 Florian Weimer <fweimer@redhat.com>
8557
8558 * nptl/Makefile (tests): Add tst-robust-fork.
8559 * nptl/tst-robust-fork.c: New file.
8560 * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
8561 xpthread_mutex_consistent, xpthread_mutex_destroy,
8562 xpthread_mutex_init, xpthread_mutexattr_destroy,
8563 xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
8564 xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
8565 xpthread_mutexattr_settype.
8566 * support/xmmap.c: New file.
8567 * support/xmunmap.c: Likewise.
8568 * support/xpthread_mutex_consistent.c: Likewise.
8569 * support/xpthread_mutex_destroy.c: Likewise.
8570 * support/xpthread_mutex_init.c: Likewise.
8571 * support/xpthread_mutexattr_destroy.c: Likewise.
8572 * support/xpthread_mutexattr_init.c: Likewise.
8573 * support/xpthread_mutexattr_setprotocol.c: Likewise.
8574 * support/xpthread_mutexattr_setpshared.c: Likewise.
8575 * support/xpthread_mutexattr_setrobust.c: Likewise.
8576 * support/xpthread_mutexattr_settype.c: Likewise.
8577 * support/xthread.h (xpthread_mutexattr_destroy)
8578 (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
8579 (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
8580 (xpthread_mutexattr_settype, xpthread_mutex_init)
8581 (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
8582 * support/xunistd.h (xmmap, xmunmap): Likewise.
8583
8584 2017-01-25 Florian Weimer <fweimer@redhat.com>
8585
8586 * string/Makefile (xtests): Add comment.
8587 (LOCALES): Add en_GB.UTF-8.
8588 (tst-strcoll-overflow.out): Depend on generated locales.
8589 * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
8590 (SIZE, TIMEOUT): Update comments.
8591 (do_test): Define as static. Fail test if setlocale fails.
8592 Return EXIT_UNSUPPORTED if insufficient memory. Enhance output
8593 messages.
8594 (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
8595 TIMEOUT at 300 seconds should be enough to run this test
8596 successfully.
8597
8598 2017-01-24 Jakub Jelinek <jakub@redhat.com>
8599
8600 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
8601 /* FALLTHRU */ comments.
8602
8603 2017-01-24 James Clarke <jrtc27@jrtc27.com>
8604
8605 [BZ #21053]
8606 * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
8607 constants instead of the old R* ones.
8608 * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
8609 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
8610 (NGREG): ... to this, to fit in with other architectures.
8611 (gpregset_t): Use new NGREG macro.
8612 [__USE_GNU]: Remove condition; all architectures other than tile
8613 are unconditional.
8614 (R*): Rename to REG_R*.
8615
8616 2017-01-20 DJ Delorie <dj@redhat.com>
8617
8618 * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
8619 (tunable_set_val_if_valid_range_signed) ... this, and ...
8620 (tunable_set_val_if_valid_range_unsigned) ... this.
8621 (tunable_initialize): Call the correct one of the above based on type.
8622
8623 2017-01-20 Joseph Myers <joseph@codesourcery.com>
8624
8625 * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
8626 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8627 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8628 * sysdeps/microblaze/libm-test-ulps: Likewise.
8629 * sysdeps/sh/libm-test-ulps: Likewise.
8630
8631 * math/README.libm-test: Update list of characters for input and
8632 output types.
8633
8634 2017-01-20 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8635
8636 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
8637 (__lll_unlock_elision): Fix adapt_count decrement.
8638
8639 2017-01-14 Martin Galvan <martingalvan@sourceware.org>
8640
8641 * README.pretty-printers (Known issues): Warn about printers not
8642 always covering everything.
8643 * nptl/nptl-printers.py (MutexPrinter): Change output.
8644 * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
8645
8646 2017-01-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8647
8648 * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
8649 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8650 * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
8651 (__lll_lock_elision): Do not test futex before starting a
8652 transaction. Use __glibc_likely instead of __builtin_expect.
8653 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
8654 (__lll_trylock_elision): Do not test futex before starting a
8655 transaction. Use __glibc_likely instead of __builtin_expect.
8656
8657 2017-01-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
8658
8659 * po/Makefile (update-translations): New target.
8660
8661 2017-01-19 Joseph Myers <joseph@codesourcery.com>
8662
8663 [BZ #21061]
8664 * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
8665
8666 2017-01-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
8667
8668 * elf/dl-tunables (get_next_env): Always advance envp.
8669 * stdlib/tst-empty-env.c: New test case.
8670 * stdlib/Makefile (tests): Use it.
8671
8672 2017-01-19 Joseph Myers <joseph@codesourcery.com>
8673
8674 [BZ #21047]
8675 * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
8676 name for instruction.
8677 [!__SOFTFP__] (_FPU_SETCW): Likewise.
8678
8679 2017-01-18 Joseph Myers <joseph@codesourcery.com>
8680
8681 * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
8682 for make install.
8683
8684 2017-01-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
8685
8686 * po/bg.po: Merge from Translation Project.
8687 * po/fr.po: Likewise.
8688 * po/ko.po: Likewise.
8689 * po/nl.po: Likewise.
8690 * po/sv.po: Likewise.
8691
8692 2017-01-18 Joseph Myers <joseph@codesourcery.com>
8693
8694 * manual/install.texi (Tools for Compilation): Update GCC version
8695 known to work to build glibc.
8696 * INSTALL: Regenerated.
8697
8698 2017-01-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8699
8700 [BZ #21006]
8701 * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
8702
8703 2017-01-16 Joseph Myers <joseph@codesourcery.com>
8704
8705 [BZ #21045]
8706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8707 (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
8708 to __sigprocmask.
8709
8710 2017-01-16 Chris Metcalf <cmetcalf@mellanox.com>
8711
8712 * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
8713 wrap-around.
8714 * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
8715
8716 * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
8717
8718 2016-01-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
8719
8720 * NEWS: Fix typo.
8721
8722 2016-01-13 Torvald Riegel <triegel@redhat.com>
8723
8724 * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
8725 barriers and comments.
8726 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
8727 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
8728 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8729
8730 2016-01-13 Torvald Riegel <triegel@redhat.com>
8731
8732 [BZ #19402]
8733 * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
8734 mutexes.
8735
8736 2016-01-13 Torvald Riegel <triegel@redhat.com>
8737
8738 [BZ #20985]
8739 * nptl/Makefile: Adapt.
8740 * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
8741 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
8742 * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
8743 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
8744 (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
8745 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
8746 lll_robust* functions and adapt.
8747 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8748 * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
8749 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
8750 __lll_robust_timedlock, __lll_robust_unlock): Remove.
8751 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
8752 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
8753 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
8754 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
8755 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
8756 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
8757 __lll_robust_timedlock, __lll_robust_unlock): Remove.
8758 * nptl/lowlevelrobustlock.c: Remove file.
8759 * nptl/lowlevelrobustlock.sym: Likewise.
8760 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
8761 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
8762
8763 2017-01-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8764
8765 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8766
8767 2017-01-12 Siddhesh Poyarekar <siddhesh@sourceware.org>
8768
8769 * po/cs.po: Merge translations from the Translation Project.
8770 * po/de.po: Likewise.
8771 * po/pl.po: Likewise.
8772 * po/ru.po: Likewise.
8773 * po/tr.po: Likewise.
8774 * po/uk.po: Likewise.
8775 * po/vi.po: Likewise.
8776 * po/zh_CN.po: Likewise.
8777
8778 2017-01-12 Joseph Myers <joseph@codesourcery.com>
8779
8780 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
8781
8782 * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
8783 object.
8784
8785 2017-01-11 Joseph Myers <joseph@codesourcery.com>
8786
8787 [BZ #16458]
8788 * bits/uintn-identity.h: New file.
8789 * inet/netinet/in.h: Include <bits/uintn-identity.h>.
8790 [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
8791 [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
8792 [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
8793 [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
8794 * string/endian.h: Include <bits/uintn-identity.h>.
8795 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
8796 __uint16_identity.
8797 [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
8798 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
8799 __uint32_identity.
8800 [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
8801 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
8802 __uint64_identity.
8803 [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
8804 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
8805 __uint16_identity.
8806 [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
8807 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
8808 __uint32_identity.
8809 [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
8810 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
8811 __uint64_identity.
8812 [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
8813 * string/Makefile (headers): Add bits/uintn-identity.h.
8814 (tests): Add test-endian-types.
8815 * string/test-endian-types.c: New file.
8816 * inet/Makefile (tests): Add test-hnto-types.
8817 * inet/test-hnto-types.c: New file.
8818
8819 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8820
8821 * po/be.po: Update from Translation Project.
8822 * po/bg.po: Likewise.
8823 * po/ca.po: Likewise.
8824 * po/cs.po: Likewise.
8825 * po/da.po: Likewise.
8826 * po/de.po: Likewise.
8827 * po/el.po: Likewise.
8828 * po/eo.po: Likewise.
8829 * po/es.po: Likewise.
8830 * po/fi.po: Likewise.
8831 * po/fr.po: Likewise.
8832 * po/gl.po: Likewise.
8833 * po/hr.po: Likewise.
8834 * po/hu.po: Likewise.
8835 * po/ia.po: Likewise.
8836 * po/id.po: Likewise.
8837 * po/it.po: Likewise.
8838 * po/ja.po: Likewise.
8839 * po/ko.po: Likewise.
8840 * po/lt.po: Likewise.
8841 * po/nb.po: Likewise.
8842 * po/nl.po: Likewise.
8843 * po/pl.po: Likewise.
8844 * po/pt_BR.po: Likewise.
8845 * po/ru.po: Likewise.
8846 * po/rw.po: Likewise.
8847 * po/sk.po: Likewise.
8848 * po/sl.po: Likewise.
8849 * po/sv.po: Likewise.
8850 * po/tr.po: Likewise.
8851 * po/uk.po: Likewise.
8852 * po/vi.po: Likewise.
8853 * po/zh_CN.po: Likewise.
8854 * po/zh_TW.po: Likewise.
8855
8856 2017-01-11 Joseph Myers <joseph@codesourcery.com>
8857
8858 * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
8859 -Wformat-truncation instead of -Wformat-length.
8860 * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
8861 * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
8862 GCC 7.
8863 * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
8864 (do_test): Ignore -Wformat-truncation for GCC 7.
8865
8866 * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
8867 buffer used to print long int value.
8868
8869 * elf/sotruss-lib.c (init): Increase space allocated for pid by
8870 one byte. Print it with %ld, cast to long int.
8871
8872 2017-01-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
8873
8874 * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
8875 (re.fullmatch, subprocess.run): Likewise.
8876
8877 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8878
8879 * po/libc.pot: Regenerate.
8880
8881 2016-01-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
8882
8883 * elf/dl-tunables.c (tunables_unsetenv): Remove function.
8884 (min_strlen): Likewise.
8885 (disable_tunable): Likewise.
8886 (maybe_disable_malloc_check): Rename to
8887 maybe_enable_malloc_check.
8888 (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
8889 if /etc/suid-debug file exists.
8890 (__tunables_init): Update caller.
8891 * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
8892 secure.
8893
8894 2016-01-10 Torvald Riegel <triegel@redhat.com>
8895
8896 * nptl/DESIGN-rwlock.txt: Remove.
8897 * nptl/lowlevelrwlock.sym: Remove.
8898 * nptl/Makefile: Add new tests.
8899 * nptl/pthread_rwlock_common.c: New file. Contains the new rwlock.
8900 * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
8901 (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
8902 PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
8903 PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
8904 PTHREAD_RWLOCK_FUTEX_USED): New.
8905 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
8906 implementation.
8907 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
8908 (__pthread_rwlock_rdlock): Adapt.
8909 * nptl/pthread_rwlock_timedrdlock.c
8910 (pthread_rwlock_timedrdlock): Adapt.
8911 * nptl/pthread_rwlock_timedwrlock.c
8912 (pthread_rwlock_timedwrlock): Adapt.
8913 * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
8914 * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
8915 * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
8916 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
8917 (__pthread_rwlock_wrlock): Adapt.
8918 * nptl/tst-rwlock10.c: Adapt.
8919 * nptl/tst-rwlock11.c: Adapt.
8920 * nptl/tst-rwlock17.c: New file.
8921 * nptl/tst-rwlock18.c: New file.
8922 * nptl/tst-rwlock19.c: New file.
8923 * nptl/tst-rwlock2b.c: New file.
8924 * nptl/tst-rwlock8.c: Adapt.
8925 * nptl/tst-rwlock9.c: Adapt.
8926 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8927 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8928 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8929 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8930 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8931 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8932 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8933 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8934 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8935 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8936 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8937 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8938 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
8939 (pthread_rwlock_t): Adapt.
8940 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8941 (pthread_rwlock_t): Adapt.
8942 * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8943 * nptl/nptl-printers.py (): Adapt.
8944 * nptl/nptl_lock_constants.pysym: Adapt.
8945 * nptl/test-rwlock-printers.py: Adapt.
8946 * nptl/test-rwlockattr-printers.c: Adapt.
8947 * nptl/test-rwlockattr-printers.py: Adapt.
8948
8949 2017-01-10 Joseph Myers <joseph@codesourcery.com>
8950
8951 * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
8952 (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
8953 (fma_test_data): Likewise.
8954 (hypot_test_data): Likewise.
8955 (log1p_test_data): Likewise.
8956 (modf_test_data): Likewise.
8957 (pow_test_data): Likewise.
8958 (remainder_test_data): Likewise.
8959 (remquo_test_data): Likewise.
8960 (scalb_test_data): Likewise.
8961 (scalbn_test_data): Likewise.
8962 (scalbln_test_data): Likewise.
8963 * math/gen-libm-test.pl (parse_args): Transform
8964 XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
8965 on the rounding mode.
8966
8967 2017-01-09 Joseph Myers <joseph@codesourcery.com>
8968
8969 * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
8970 xfail-rounding:ibm128-libgcc automatically to tests overflowing
8971 and those that can underflow to zero.
8972 * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
8973 add others.
8974 * math/auto-libm-test-out: Regenerated.
8975
8976 * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
8977 supported.
8978 (feholdexcept_tests): Skip tests requiring exceptions or rounding
8979 modes support if not supported.
8980
8981 * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
8982 Add libc.so PLT entry.
8983 (__tls_get_addr): Make ld.so PLT entry optional.
8984
8985 2017-01-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8986
8987 * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
8988 * string/bits/string3.h: ... here.
8989
8990 2017-01-05 Joseph Myers <joseph@codesourcery.com>
8991
8992 [BZ #21028]
8993 * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
8994 * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
8995 if EXCEPTION_TESTS returns false.
8996
8997 2017-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8998
8999 [BZ #20558]
9000 * string/bits/string3.h [__USE_MISC] (bcopy): Move to
9001 strings_fortified.h.
9002 [__USE_MISC] (bzero): Likewise.
9003 [__USE_MISC] (explicit_bzero): Likewise.
9004 * string/strings.h: Include strings_fortified.h.
9005 * string/Makefile (headers): Add strings_fortified.h.
9006 * string/bits/strings_fortified.h: New file.
9007 * include/bits/strings_fortified.h: Likewise.
9008
9009 2017-01-05 Joseph Myers <joseph@codesourcery.com>
9010
9011 * elf/tst-tls13.c (TIMEOUT): Remove.
9012 * iconvdata/tst-loading.c (TIMEOUT): Likewise.
9013 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
9014 * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
9015 * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
9016 * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
9017
9018 [BZ #21026]
9019 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
9020 (readahead): New syscall entry.
9021
9022 2017-01-04 Joseph Myers <joseph@codesourcery.com>
9023
9024 * string/tester.c (test_strncat): Disable -Wstringop-overflow=
9025 around tests of strncat with large sizes.
9026
9027 * malloc/tst-malloc.c: Include <libc-internal.h>.
9028 (do_test): Disable -Walloc-size-larger-than= around tests of
9029 malloc with negative sizes.
9030 * malloc/tst-mcheck.c: Include <libc-internal.h>.
9031 (do_test): Disable -Walloc-size-larger-than= around tests of
9032 malloc and realloc with negative sizes.
9033 * malloc/tst-realloc.c: Include <libc-internal.h>.
9034 (do_test): Disable -Walloc-size-larger-than= around tests of
9035 realloc with negative sizes.
9036
9037 * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
9038 (init_max_error) [TEST_COND_ibm128]: Increase maximum error
9039 allowed to 16 ulps.
9040 * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
9041 ibm128-libgcc. XFAIL more tests for ibm128-libgcc.
9042 * math/auto-libm-test-out: Regenerated.
9043
9044 2017-01-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9045
9046 * math/Makefile (libm-calls): Move wrappers...
9047 (libm-compat-call-auto): Here.
9048 (libm-routines): Add items in libm-compat-calls-auto.
9049 * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
9050 the filenames of the wrappers that have been renamed.
9051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
9052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9053
9054 * math/w_acos.c: Add _compat suffix to filename.
9055 * math/w_acosf.c: Likewise.
9056 * math/w_acosh.c: Likewise.
9057 * math/w_acoshf.c: Likewise.
9058 * math/w_acoshl.c: Likewise.
9059 * math/w_acosl.c: Likewise.
9060 * math/w_asin.c: Likewise.
9061 * math/w_asinf.c: Likewise.
9062 * math/w_asinl.c: Likewise.
9063 * math/w_atan2.c: Likewise.
9064 * math/w_atan2f.c: Likewise.
9065 * math/w_atan2l.c: Likewise.
9066 * math/w_atanh.c: Likewise.
9067 * math/w_atanhf.c: Likewise.
9068 * math/w_atanhl.c: Likewise.
9069 * math/w_cosh.c: Likewise.
9070 * math/w_coshf.c: Likewise.
9071 * math/w_coshl.c: Likewise.
9072 * math/w_exp10.c: Likewise.
9073 * math/w_exp10f.c: Likewise.
9074 * math/w_exp10l.c: Likewise.
9075 * math/w_exp2.c: Likewise.
9076 * math/w_exp2f.c: Likewise.
9077 * math/w_exp2l.c: Likewise.
9078 * math/w_fmod.c: Likewise.
9079 * math/w_fmodf.c: Likewise.
9080 * math/w_fmodl.c: Likewise.
9081 * math/w_hypot.c: Likewise.
9082 * math/w_hypotf.c: Likewise.
9083 * math/w_hypotl.c: Likewise.
9084 * math/w_j0.c: Likewise.
9085 * math/w_j0f.c: Likewise.
9086 * math/w_j0l.c: Likewise.
9087 * math/w_j1.c: Likewise.
9088 * math/w_j1f.c: Likewise.
9089 * math/w_j1l.c: Likewise.
9090 * math/w_jn.c: Likewise.
9091 * math/w_jnf.c: Likewise.
9092 * math/w_jnl.c: Likewise.
9093 * math/w_log10.c: Likewise.
9094 * math/w_log10f.c: Likewise.
9095 * math/w_log10l.c: Likewise.
9096 * math/w_log2.c: Likewise.
9097 * math/w_log2f.c: Likewise.
9098 * math/w_log2l.c: Likewise.
9099 * math/w_log.c: Likewise.
9100 * math/w_logf.c: Likewise.
9101 * math/w_logl.c: Likewise.
9102 * math/w_pow.c: Likewise.
9103 * math/w_powf.c: Likewise.
9104 * math/w_powl.c: Likewise.
9105 * math/w_remainder.c: Likewise.
9106 * math/w_remainderf.c: Likewise.
9107 * math/w_remainderl.c: Likewise.
9108 * math/w_scalb.c: Likewise.
9109 * math/w_scalbf.c: Likewise.
9110 * math/w_scalbl.c: Likewise.
9111 * math/w_sinh.c: Likewise.
9112 * math/w_sinhf.c: Likewise.
9113 * math/w_sinhl.c: Likewise.
9114 * math/w_sqrt.c: Likewise.
9115 * math/w_sqrtf.c: Likewise.
9116 * math/w_sqrtl.c: Likewise.
9117 * math/w_tgamma.c: Likewise.
9118 * math/w_tgammaf.c: Likewise.
9119 * math/w_tgammal.c: Likewise.
9120
9121 * math/w_acos_compat.c: New file copied from above and
9122 adjusted for new #includes path
9123 * math/w_acosf_compat.c: Likewise.
9124 * math/w_acosh_compat.c: Likewise.
9125 * math/w_acoshf_compat.c: Likewise.
9126 * math/w_acoshl_compat.c: Likewise.
9127 * math/w_acosl_compat.c: Likewise.
9128 * math/w_asin_compat.c: Likewise.
9129 * math/w_asinf_compat.c: Likewise.
9130 * math/w_asinl_compat.c: Likewise.
9131 * math/w_atan2_compat.c: Likewise.
9132 * math/w_atan2f_compat.c: Likewise.
9133 * math/w_atan2l_compat.c: Likewise.
9134 * math/w_atanh_compat.c: Likewise.
9135 * math/w_atanhf_compat.c: Likewise.
9136 * math/w_atanhl_compat.c: Likewise.
9137 * math/w_cosh_compat.c: Likewise.
9138 * math/w_coshf_compat.c: Likewise.
9139 * math/w_coshl_compat.c: Likewise.
9140 * math/w_exp10_compat.c: Likewise.
9141 * math/w_exp10f_compat.c: Likewise.
9142 * math/w_exp10l_compat.c: Likewise.
9143 * math/w_exp2_compat.c: Likewise.
9144 * math/w_exp2f_compat.c: Likewise.
9145 * math/w_exp2l_compat.c: Likewise.
9146 * math/w_fmod_compat.c: Likewise.
9147 * math/w_fmodf_compat.c: Likewise.
9148 * math/w_fmodl_compat.c: Likewise.
9149 * math/w_hypot_compat.c: Likewise.
9150 * math/w_hypotf_compat.c: Likewise.
9151 * math/w_hypotl_compat.c: Likewise.
9152 * math/w_j0_compat.c: Likewise.
9153 * math/w_j0f_compat.c: Likewise.
9154 * math/w_j0l_compat.c: Likewise.
9155 * math/w_j1_compat.c: Likewise.
9156 * math/w_j1f_compat.c: Likewise.
9157 * math/w_j1l_compat.c: Likewise.
9158 * math/w_jn_compat.c: Likewise.
9159 * math/w_jnf_compat.c: Likewise.
9160 * math/w_jnl_compat.c: Likewise.
9161 * math/w_log10_compat.c: Likewise.
9162 * math/w_log10f_compat.c: Likewise.
9163 * math/w_log10l_compat.c: Likewise.
9164 * math/w_log2_compat.c: Likewise.
9165 * math/w_log2f_compat.c: Likewise.
9166 * math/w_log2l_compat.c: Likewise.
9167 * math/w_log_compat.c: Likewise.
9168 * math/w_logf_compat.c: Likewise.
9169 * math/w_logl_compat.c: Likewise.
9170 * math/w_pow_compat.c: Likewise.
9171 * math/w_powf_compat.c: Likewise.
9172 * math/w_powl_compat.c: Likewise.
9173 * math/w_remainder_compat.c: Likewise.
9174 * math/w_remainderf_compat.c: Likewise.
9175 * math/w_remainderl_compat.c: Likewise.
9176 * math/w_scalb_compat.c: Likewise.
9177 * math/w_scalbf_compat.c: Likewise.
9178 * math/w_scalbl_compat.c: Likewise.
9179 * math/w_sinh_compat.c: Likewise.
9180 * math/w_sinhf_compat.c: Likewise.
9181 * math/w_sinhl_compat.c: Likewise.
9182 * math/w_sqrt_compat.c: Likewise.
9183 * math/w_sqrtf_compat.c: Likewise.
9184 * math/w_sqrtl_compat.c: Likewise.
9185 * math/w_tgamma_compat.c: Likewise.
9186 * math/w_tgammaf_compat.c: Likewise.
9187 * math/w_tgammal_compat.c: Likewise.
9188
9189 * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
9190 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
9191 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
9192 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
9193 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
9194 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
9195 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
9196 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
9197 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
9198 * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
9199 * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
9200 * sysdeps/ia64/fpu/w_scalb.c: Likewise.
9201 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
9202 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
9203 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
9204 * sysdeps/ia64/fpu/w_powl.c: Likewise.
9205 * sysdeps/ia64/fpu/w_powf.c: Likewise.
9206 * sysdeps/ia64/fpu/w_pow.c: Likewise.
9207 * sysdeps/ia64/fpu/w_logl.c: Likewise.
9208 * sysdeps/ia64/fpu/w_logf.c: Likewise.
9209 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
9210 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
9211 * sysdeps/ia64/fpu/w_log2.c: Likewise.
9212 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
9213 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
9214 * sysdeps/ia64/fpu/w_log10.c: Likewise.
9215 * sysdeps/ia64/fpu/w_log.c: Likewise.
9216 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
9217 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
9218 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
9219 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
9220 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
9221 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
9222 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
9223 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
9224 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
9225 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
9226 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
9227 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
9228 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
9229 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
9230 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
9231 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
9232 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
9233 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
9234 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
9235 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
9236 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
9237 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
9238 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
9239 * sysdeps/ia64/fpu/w_asin.c: Likewise.
9240 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
9241 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
9242 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
9243 * sysdeps/ia64/fpu/w_acos.c: Likewise.
9244 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
9245 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
9246 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
9247 * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
9248 * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
9249 * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
9250 * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
9251 * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
9252 * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
9253 * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
9254 * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
9255 * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
9256 * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
9257 * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
9258 * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
9259 * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
9260 * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
9261 * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
9262 * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
9263 * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
9264 * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
9265 * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
9266 * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
9267 * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
9268 * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
9269 * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
9270 * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
9271 * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
9272 * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
9273 * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
9274 * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
9275 * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
9276 * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
9277 * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
9278 * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
9279 * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
9280 * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
9281 * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
9282 * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
9283 * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
9284 * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
9285 * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
9286 * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
9287 * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
9288 * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
9289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
9290 Likewise.
9291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
9292 Likewise.
9293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
9294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
9295 Likewise.
9296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
9297 Likewise.
9298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
9299 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9300 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9301 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9302 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9303 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9304 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
9306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
9308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9309 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9310 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9311 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9312 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9313
9314 * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
9315 and adjusted for new #includes path
9316 * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
9317 * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
9318 * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
9319 * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
9320 * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
9321 * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
9322 * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
9323 * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
9324 * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
9325 * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
9326 * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
9327 * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
9328 * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
9329 * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
9330 * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
9331 * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
9332 * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
9333 * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
9334 * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
9335 * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
9336 * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
9337 * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
9338 * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
9339 * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
9340 * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
9341 * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
9342 * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
9343 * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
9344 * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
9345 * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
9346 * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
9347 * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
9348 * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
9349 * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
9350 * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
9351 * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
9352 * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
9353 * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
9354 * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
9355 * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
9356 * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
9357 * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
9358 * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
9359 * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
9360 * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
9361 * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
9362 * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
9363 * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
9364 * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
9365 * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
9366 * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
9367 * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
9368 * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
9369 * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
9370 * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
9371 * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
9372 * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
9373 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
9374 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
9375 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
9376 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
9377 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
9378 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
9379 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
9380 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
9381 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
9382 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
9383 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
9384 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
9385 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
9386 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
9387 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
9388 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
9389 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
9390 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
9391 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
9392 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
9393 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
9394 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
9395 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
9396 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
9397 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
9398 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
9399 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
9400 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
9401 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
9402 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
9403 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
9404 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
9405 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
9406 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
9407 * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
9408 * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
9409 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
9410 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
9411 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
9412 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
9413 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
9414 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
9415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
9416 Likewise.
9417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
9418 Likewise.
9419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
9420 Likewise.
9421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
9422 Likewise.
9423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
9424 Likewise.
9425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
9426 Likewise.
9427 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
9428 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
9429 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
9430 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
9431 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
9432 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
9433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
9434 Likewise.
9435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
9436 Likewise.
9437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
9438 Likewise.
9439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
9440 Likewise.
9441 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
9442 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
9443 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
9444 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
9445
9446 2017-01-04 Joseph Myers <joseph@codesourcery.com>
9447
9448 * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
9449 __jmp_buf_internal_tag.
9450
9451 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
9452 preserve NaN payload if [__mips_nan2008].
9453 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
9454
9455 [BZ #21022]
9456 * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
9457
9458 2017-01-03 Joseph Myers <joseph@codesourcery.com>
9459
9460 * sysdeps/i386/fpu/libm-test-ulps: Update.
9461
9462 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9463
9464 * sysdeps/ia64/strcat.c: Remove file.
9465 * sysdeps/powerpc/strcat.c: Likewise.
9466 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
9467 C implementation.
9468 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
9469 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
9470
9471 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9472 Steven Munroe <sjmunroe@us.ibm.com>
9473 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9474
9475 [BZ #20822]
9476 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9477 (__lll_lock_elision): Access adapt_count via C11 atomics.
9478 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9479 (__lll_trylock_elision): Likewise.
9480 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9481 (__lll_unlock_elision): Update adapt_count variable inside the
9482 critical section using C11 atomics.
9483
9484 2017-01-03 Joseph Myers <joseph@codesourcery.com>
9485
9486 * math/test-fenvinline.c (do_test): Disable tests of raised
9487 exceptions if !EXCEPTION_TESTS (FLOAT).
9488
9489 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9490
9491 [BZ #19390]
9492 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
9493 maximum string size.
9494 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
9495 in pointer addition.
9496 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
9497 Likewise.
9498
9499 2017-01-03 Joseph Myers <joseph@codesourcery.com>
9500
9501 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
9502 passed to tst-ldconfig-X.sh.
9503
9504 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
9505
9506 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
9507
9508 2017-01-02 Joseph Myers <joseph@codesourcery.com>
9509
9510 [BZ #21019]
9511 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
9512 New syscall entry.
9513 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
9514 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
9515 lseek.
9516
9517 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9518 power4 glibc for powerpc-linux-gnu.
9519
9520 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9521
9522 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
9523 semctl.
9524
9525 2017-01-02 Joseph Myers <joseph@codesourcery.com>
9526
9527 * math/test-nearbyint-except.c: Include <stdbool.h>.
9528 (any_supported): New variable.
9529 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
9530 set any_supported.
9531 (do_test): Return 77 if no floating-point type supported
9532 exceptions.
9533
9534 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
9535 condition on [__mips_hard_float].
9536
9537 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9538
9539 [BZ #21014]
9540 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
9541 in pointer addition.
9542 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
9543
9544 2017-01-02 Torvald Riegel <triegel@redhat.com>
9545
9546 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
9547 new condvar.
9548
9549 2017-01-02 Joseph Myers <joseph@codesourcery.com>
9550
9551 * scripts/build-many-glibcs.py (Context.checkout): Default
9552 binutils version to 2.28 branch.
9553
9554 2017-01-01 Florian Weimer <fweimer@redhat.com>
9555
9556 * support/support_format_netent.c (support_format_netent): Work
9557 around alpha struct netent definition difference.
9558
9559 2017-01-01 Florian Weimer <fweimer@redhat.com>
9560
9561 * support/xwrite.c (xwrite): Use %td for pointer difference.
9562
9563 2017-01-01 Florian Weimer <fweimer@redhat.com>
9564
9565 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
9566 have-tunables only.
9567 (tests-static): Add tst-malloc-usable-static-tunables for
9568 have-tunables only.
9569
9570 2017-01-01 Joseph Myers <joseph@codesourcery.com>
9571
9572 * scripts/config.guess: Update to version 2017-01-01.
9573 * scripts/config.sub: Update to version 2017-01-01.
9574
9575 * NEWS: Update copyright dates.
9576 * catgets/gencat.c (print_version): Likewise.
9577 * csu/version.c (banner): Likewise.
9578 * debug/catchsegv.sh: Likewise.
9579 * debug/pcprofiledump.c (print_version): Likewise.
9580 * debug/xtrace.sh (do_version): Likewise.
9581 * elf/ldconfig.c (print_version): Likewise.
9582 * elf/ldd.bash.in: Likewise.
9583 * elf/pldd.c (print_version): Likewise.
9584 * elf/sotruss.sh: Likewise.
9585 * elf/sprof.c (print_version): Likewise.
9586 * iconv/iconv_prog.c (print_version): Likewise.
9587 * iconv/iconvconfig.c (print_version): Likewise.
9588 * locale/programs/locale.c (print_version): Likewise.
9589 * locale/programs/localedef.c (print_version): Likewise.
9590 * login/programs/pt_chown.c (print_version): Likewise.
9591 * malloc/memusage.sh (do_version): Likewise.
9592 * malloc/memusagestat.c (print_version): Likewise.
9593 * malloc/mtrace.pl: Likewise.
9594 * manual/libc.texinfo: Likewise.
9595 * nptl/version.c (banner): Likewise.
9596 * nscd/nscd.c (print_version): Likewise.
9597 * nss/getent.c (print_version): Likewise.
9598 * nss/makedb.c (print_version): Likewise.
9599 * posix/getconf.c (main): Likewise.
9600 * scripts/test-installation.pl: Likewise.
9601 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9602
9603 * All files with FSF copyright notices: Update copyright dates
9604 using scripts/update-copyrights.
9605 * intl/plural.c: Regenerated.
9606 * locale/programs/charmap-kw.h: Likewise.
9607 * locale/programs/locfile-kw.h: Likewise.
9608
9609 2016-12-31 Florian Weimer <fweimer@redhat.com>
9610
9611 [BZ #20593]
9612 Update DNS RR type definitions.
9613 * scripts/gen-rrtypes.py: New file.
9614 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
9615 BIND-internal RR type not used on the Internet. Add ns_t_ds,
9616 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
9617 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
9618 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
9619 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
9620 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
9621 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
9622 ns_t_ta, ns_t_dlv.
9623 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
9624 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
9625 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
9626 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
9627 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
9628 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
9629 Define.
9630 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
9631 entry for ns_t_zxfr.
9632
9633 2016-12-31 Florian Weimer <fweimer@redhat.com>
9634
9635 [BZ #18784]
9636 CVE-2015-5180
9637 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
9638 T_UNSPEC. Adjust value.
9639 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
9640 * resolv/res_query.c (__libc_res_nquery): Likewise.
9641 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
9642 QTYPEs.
9643 * resolv/tst-resolv-qtypes.c: New file.
9644 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
9645 (tst-resolv-qtypes): Link against libresolv and libpthread.
9646
9647 2016-12-31 Florian Weimer <fweimer@redhat.com>
9648
9649 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
9650
9651 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
9652
9653 * manual/tunables.texi: New chapter.
9654 * manual/Makefile (chapters): Add it.
9655 * manual/probes.texi (@node): Point to the Tunables chapter.
9656
9657 * Makeconfig (have-tunables): Check for non-negative instead
9658 of positive.
9659 * configure.ac: Add 'valstring' as a valid value for
9660 --enable-tunables.
9661 * configure: Regenerate.
9662 * elf/Makefile (have-tunables): Check for non-negative instead
9663 of positive.
9664 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
9665 dl-tunables.c.
9666 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
9667 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
9668 (tunables_strdup): Likewise.
9669 (disable_tunables): Likewise.
9670 (parse_tunables): Likewise.
9671 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
9672 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
9673 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
9674 (TUNABLES_FRONTEND_yes): New macro, define as
9675 TUNABLES_FRONTEND_valstring by default.
9676 * manual/install.texi: Document new acceptable values for
9677 --enable-tunables.
9678 * INSTALL: Regenerate.
9679
9680 * config.make.in (have-loop-to-function): Define.
9681 * elf/Makefile (CFLAGS-dl-tunables.c): Add
9682 -fno-tree-loop-distribute-patterns.
9683 * elf/dl-tunables.c: Include libc-internals.h.
9684 (GLIBC_TUNABLES): New macro.
9685 (tunables_strdup): New function.
9686 (parse_tunables): New function.
9687 (min_strlen): New function.
9688 (__tunables_init): Use the new functions and macro.
9689 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
9690 * malloc/tst-malloc-usable-tunables.c: New test case.
9691 * malloc/tst-malloc-usable-static-tunables.c: New test case.
9692 * malloc/Makefile (tests, tests-static): Add tests.
9693
9694 * manual/install.texi: Add --enable-tunables option.
9695 * INSTALL: Regenerate.
9696 * README.tunables: New file.
9697 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
9698 (before-compile): Generate dl-tunable-list.h early.
9699 * config.h.in: Add HAVE_TUNABLES.
9700 * config.make.in: Add have-tunables.
9701 * configure.ac: Add --enable-tunables option.
9702 * configure: Regenerate.
9703 * csu/init-first.c (__libc_init_first): Move
9704 __libc_init_secure earlier...
9705 * csu/init-first.c (LIBC_START_MAIN):... to here.
9706 Include dl-tunables.h, libc-internal.h.
9707 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
9708 binaries.
9709 * elf/Makefile (dl-routines): Add dl-tunables.
9710 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
9711 namespace.
9712 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
9713 only when !HAVE_TUNABLES.
9714 * elf/rtld.c (process_envvars): Likewise.
9715 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
9716 (_dl_sysdep_start): Call __tunables_init.
9717 * elf/dl-tunable-types.h: New file.
9718 * elf/dl-tunables.c: New file.
9719 * elf/dl-tunables.h: New file.
9720 * elf/dl-tunables.list: New file.
9721 * malloc/tst-malloc-usable-static.c: New test case.
9722 * malloc/Makefile (tests-static): Add it.
9723 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
9724 Define TUNABLE_NAMESPACE.
9725 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
9726 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
9727 callback functions.
9728 (ptmalloc_init): Set tunable values.
9729 * scripts/gen-tunables.awk: New file.
9730 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
9731 (_dl_sysdep_start): Call __tunables_init.
9732
9733 2016-12-31 Florian Weimer <fweimer@redhat.com>
9734
9735 * resolv/resolv.h (RES_BLAST): Deprecate.
9736 * resolv/res_debug.c (p_option): Remove RES_BLAST.
9737 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
9738 to RES_BLAST.
9739
9740 2016-12-27 Florian Weimer <fweimer@redhat.com>
9741
9742 [BZ #19582]
9743 Deprecate RES_USE_INET6.
9744 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
9745 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
9746 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
9747 RES_USE_INET6.
9748 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
9749 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
9750 (_nss_nisplus_gethostbyaddr_r): Likewise.
9751 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
9752 of res_use_inet6.
9753 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
9754 instead of RES_USE_INET6.
9755 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
9756 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
9757 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
9758 Likewise.
9759 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
9760 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
9761 Likewise.
9762 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
9763 (_nss_dns_gethostbyname_r): Likewise.
9764 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
9765 alternate RES_USE_INET6 handling.
9766 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
9767 instead of RES_USE_INET6.
9768 * resolv/res_init.c (res_setoptions): Likewise.
9769 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
9770 * resolv/resolv-internal.h: New file.
9771 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
9772 make the deprecation warning non-fatal.
9773 * resolv/README (Using the resolver in multi-threaded code): Drop
9774 reference to RES_USE_INET6.
9775 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
9776 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
9777
9778 2016-12-31 Florian Weimer <fweimer@redhat.com>
9779
9780 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
9781 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
9782 tst-resolv-search.
9783 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
9784 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
9785 with libresolv and libpthread.
9786 * resolv/tst-bug18665.c: New file.
9787 * resolv/tst-bug18665-tcp: Likewise.
9788 * resolv/tst-res_use_inet6: Likewise.
9789 * resolv/tst-resolv-basic: Likewise.
9790 * resolv/tst-resolv-network: Likewise.
9791 * resolv/tst-resolv-search: Likewise.
9792 * support/Makefile (libsupport-routines): Add check_addrinfo,
9793 check_dns_packet, check_hostent, check_netent, resolv_test,
9794 support_format_address_family, support_format_addrinfo,
9795 support_format_dns_packet, support_format_herrno,
9796 support_format_hostent, support_format_netent, support_run_diff,
9797 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
9798 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
9799 xstrdup, xwrite.
9800 * support/check_addrinfo.c: New file.
9801 * support/check_dns_packet.c: Likewise.
9802 * support/check_hostent.c: Likewise.
9803 * support/check_netent.c: Likewise.
9804 * support/check_nss.h: Likewise.
9805 * support/format_nss.h: Likewise.
9806 * support/resolv_test.c: Likewise.
9807 * support/resolv_test.h: Likewise.
9808 * support/run_diff.h: Likewise.
9809 * support/support_format_address_family.c: Likewise.
9810 * support/support_format_addrinfo.c: Likewise.
9811 * support/support_format_dns_packet.c: Likewise.
9812 * support/support_format_herrno.c: Likewise.
9813 * support/support_format_hostent.c: Likewise.
9814 * support/support_format_netent.c: Likewise.
9815 * support/support_run_diff.c: Likewise.
9816 * support/xaccept.c: Likewise.
9817 * support/xbind.c: Likewise.
9818 * support/xconnect.c: Likewise.
9819 * support/xfclose.c: Likewise.
9820 * support/xfopen.c: Likewise.
9821 * support/xgetsockname.c: Likewise.
9822 * support/xlisten.c: Likewise.
9823 * support/xmemstream.c: Likewise.
9824 * support/xmemstream.h: Likewise.
9825 * support/xpoll.c: Likewise.
9826 * support/xpthread_once.c: Likewise.
9827 * support/xrecvfrom.c: Likewise.
9828 * support/xsendto.c: Likewise.
9829 * support/xsetsockopt.c: Likewise.
9830 * support/xstdio.h: Likewise.
9831 * support/xstrdup.c: Likewise.
9832 * support/support.h (xstrdup): Declare.
9833 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
9834 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
9835 * support/xthread.h (xpthread_once): Likwise.
9836 * support/xunistd.h (xwrite): Declare.
9837
9838 2016-12-31 Florian Weimer <fweimer@redhat.com>
9839
9840 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
9841 (test_verbose): Declare.
9842 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
9843 * support/support_test_main.c (default_options): Likewise.
9844 (usage, support_test_main): Handle 'v'.
9845 (test_verbose): Define.
9846 * support/tst-support_record_failure.c (do_test): Use
9847 test_verbose.
9848 * support/tst-support_record_failure-2.sh (different_status): Add
9849 --verbose test.
9850
9851 2016-12-31 Florian Weimer <fweimer@redhat.com>
9852
9853 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
9854 test failures are recorded.
9855 * support/check.c (support_print_failure_impl): Call
9856 support_record_failure.
9857 (support_exit_failure_impl): Call support_record_failure if status
9858 indicates failure.
9859 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
9860 * support/xasprintf.c (xasprintf): Likewise.
9861 * support/xfork.c (xfork): Likewise.
9862 * support/xpthread_check_return.c (xpthread_check_return):
9863 Likewise.
9864 * support/xsocket.c (xsocket): Likeweise.
9865 * support/xwaitpid.c (xwaitpid): Likewise.
9866 * support/support_record_failure.c (struct test_failures): Adjust
9867 to coding style.
9868 * support/support_test_verify_impl.c (support_test_verify_impl):
9869 Adjust error messages.
9870 * support/tst-support_record_failure-2.sh (different_status):
9871 Adjust error messages.
9872
9873 2016-12-31 Florian Weimer <fweimer@redhat.com>
9874
9875 * support/namespace.h: New file.
9876 * support/support_become_root.c: Likewise.
9877 * support/support_enter_network_namespace.c: Likewise.
9878 * support/tst-support-namespace.c: Likewise.
9879 * support/xsocket.c: Likewise.
9880 * support/xsocket.h: Likewise.
9881 * support/Makefile (libsupport-routines): Add support_become_root,
9882 support_enter_network_namespace, xsocket.
9883 (tests): Add tst-support-namespace.
9884
9885 2016-12-31 Florian Weimer <fweimer@redhat.com>
9886
9887 [BZ #17252]
9888 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
9889 __USE_GNU.
9890
9891 2016-12-31 Torvald Riegel <triegel@redhat.com>
9892
9893 [BZ #13165]
9894 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
9895 use new algorithm.
9896 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
9897 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
9898 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
9899 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
9900 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
9901 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
9902 __condvar_cleanup_waiting, __condvar_dec_grefs,
9903 __pthread_cond_wait_common): New.
9904 (__condvar_cleanup): Remove.
9905 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
9906 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
9907 Likewise.
9908 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
9909 Likewise.
9910 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
9911 * nptl/tst-cond1.c: Add comment.
9912 * nptl/tst-cond20.c (do_test): Adapt.
9913 * nptl/tst-cond22.c (do_test): Likewise.
9914 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
9915 structure.
9916 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9917 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9918 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9919 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
9920 Likewise.
9921 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9922 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9923 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9924 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9925 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9926 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
9927 Likewise.
9928 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
9929 Likewise.
9930 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9931 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
9932 (COND_CLOCK_BITS): Adapt.
9933 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
9934 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
9935 __PTHREAD_COND_SHARED_MASK): New.
9936 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
9937 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
9938 * nptl/nptl_lock_constants.pysym: Adapt.
9939 * nptl/test-cond-printers.py: Adapt.
9940 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
9941 cond_compat_check_and_clear): Adapt.
9942 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
9943 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
9944 (__pthread_cond_timedwait): ... and move here.
9945 * nptl/DESIGN-condvar.txt: Remove file.
9946 * nptl/lowlevelcond.sym: Likewise.
9947 * nptl/pthread_cond_timedwait.c: Likewise.
9948 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
9949 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
9950 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
9951 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
9952 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
9953 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
9954 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
9955 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
9956 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
9957 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
9958 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
9959 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
9960 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
9961 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
9962 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
9963 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
9964
9965 2016-12-31 Joseph Myers <joseph@codesourcery.com>
9966
9967 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9968 (fromfp): New declaration.
9969 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
9970 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
9971 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
9972 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
9973 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
9974 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
9975 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
9976 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
9977 * math/math.h: Include <bits/types.h>.
9978 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
9979 constant and macro.
9980 (FP_INT_DOWNWARD): Likewise.
9981 (FP_INT_TOWARDZERO): Likewise.
9982 (FP_INT_TONEARESTFROMZERO): Likewise.
9983 (FP_INT_TONEAREST): Likewise.
9984 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
9985 (fromfpf): Likewise.
9986 (fromfpl): Likewise.
9987 (ufromfp): Likewise.
9988 (ufromfpf): Likewise.
9989 (ufromfpl): Likewise.
9990 (fromfpx): Likewise.
9991 (fromfpxf): Likewise.
9992 (fromfpxl): Likewise.
9993 (ufromfpx): Likewise.
9994 (ufromfpxf): Likewise.
9995 (ufromfpxl): Likewise.
9996 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
9997 s_fromfpxF and s_ufromfpxF.
9998 * math/gen-fromfp-tests.py: New file.
9999 * math/gen-fromfp-tests-inputs: Likewise.
10000 * math/libm-test.inc: Include <stdint.h>
10001 (check_intmax_t): New function.
10002 (check_uintmax_t): Likewise.
10003 (struct test_fiu_M_data): New type.
10004 (struct test_fiu_U_data): Likewise.
10005 (RUN_TEST_fiu_M): New macro.
10006 (RUN_TEST_LOOP_fiu_M): Likewise.
10007 (RUN_TEST_fiu_U): Likewise.
10008 (RUN_TEST_LOOP_fiu_U): Likewise.
10009 (fromfp_test_data): New array.
10010 (fromfp_test): New function.
10011 (fromfpx_test_data): New array.
10012 (fromfpx_test): New function.
10013 (ufromfp_test_data): New array.
10014 (ufromfp_test): New function.
10015 (ufromfpx_test_data): New array.
10016 (ufromfpx_test): New function.
10017 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
10018 ufromfpx_test.
10019 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
10020 characters.
10021 * math/test-tgmath-ret.c: Include <stdint.h>.
10022 (rm): New variable.
10023 (width): Likewise.
10024 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
10025 called function.
10026 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
10027 CHECK_RET_CONST_TYPE.
10028 (CHECK_RET_CONST_DOUBLE): Likewise.
10029 (CHECK_RET_CONST_LDOUBLE): Likewise.
10030 (CHECK_RET_CONST): Take extra arguments and pass them to calls
10031 macros.
10032 (fromfp): New CHECK_RET_CONST call.
10033 (ufromfp): Likewise.
10034 (fromfpx): Likewise.
10035 (ufromfpx): Likewise.
10036 (do_test): Call check_return_fromfp, check_return_ufromfp,
10037 check_return_fromfpx and check_return_ufromfpx.
10038 * math/test-tgmath.c: Include <stdint.h>
10039 (NCALLS): Increase to 138.
10040 (F(compile_test)): Initialize i. Call fromfp functions.
10041 (F(fromfp)): New function.
10042 (F(fromfpx)): Likewise.
10043 (F(ufromfp)): Likewise.
10044 (F(ufromfpx)): Likewise.
10045 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
10046 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
10047 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
10048 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
10049 ufromfpxl.
10050 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
10051 ufromfp and ufromfpx.
10052 * math/fromfp.h: New file.
10053 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
10054 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
10055 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
10056 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
10057 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
10058 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
10059 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
10060 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
10061 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
10062 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
10063 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
10064 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
10065 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
10066 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
10067 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
10068 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
10069 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
10070 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
10071 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
10072 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
10073 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
10074 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
10075 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
10076 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
10077 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
10078 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
10079 ufromfp, fromfpx and ufromfpx.
10080 (CFLAGS-nldbl-fromfp.c): New variable.
10081 (CFLAGS-nldbl-fromfpx.c): Likewise.
10082 (CFLAGS-nldbl-ufromfp.c): Likewise.
10083 (CFLAGS-nldbl-ufromfpx.c): Likewise.
10084 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
10085 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
10086 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
10087 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
10088 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
10089 * sysdeps/nacl/libm.abilist: Update.
10090 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10091 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10092 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10093 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10094 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10095 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10096 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10097 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10098 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10099 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10100 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10101 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10103 Likewise.
10104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10105 Likewise.
10106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10107 Likewise.
10108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10109 Likewise.
10110 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10111 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10112 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10113 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10114 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10116 Likewise.
10117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10118 Likewise.
10119 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10120 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10121 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10122
10123 2016-12-30 Florian Weimer <fweimer@redhat.com>
10124
10125 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
10126 compat-gethnamaddr.
10127 (CPPFLAGS): Remove.
10128 * resolv/gethnamaddr.c: Rename ...
10129 * resolv/compat-gethnamaddr.c: ... to this file.
10130 (_endhtent): Make static.
10131 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
10132 symbol.
10133 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
10134 compat symbol.
10135 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
10136 symbol.
10137 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
10138 Turn into compat symbol.
10139 * include/resolv.h (_endhtent): Remove declaration.
10140
10141 2016-12-30 Joseph Myers <joseph@codesourcery.com>
10142
10143 * bits/types.h (__intmax_t): New typedef.
10144 (__uintmax_t): Likewise.
10145 * sysdeps/generic/stdint.h: Include <bits/types.h>.
10146 (intmax_t): Define using __intmax_t.
10147 (uintmax_t): Define using __uintmax_t.
10148
10149 * support/Makefile (tests-special): Make definition conditional on
10150 [$(run-built-tests) = yes].
10151 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
10152 on [$(run-built-tests) = yes].
10153
10154 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
10155
10156 * Rules (tests): Add tests-printers-programs to tests to be
10157 built.
10158
10159 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10160
10161 * sysvipc/Makefile (tests): Add test-sysvshm.
10162 * sysvipc/test-sysvshm.c: New file.
10163
10164 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
10165 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
10166 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
10167 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
10168 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
10169 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
10170 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
10171 Likewise.
10172 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
10173 Likewise.
10174 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
10175 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
10176 is defined.
10177
10178 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
10179 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
10180 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
10181 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
10182 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
10183 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
10184 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
10185 Likewise.
10186 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
10187 Likewise.
10188 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
10189 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
10190 defined.
10191
10192 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
10193 oldshmctl.
10194 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
10195 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
10196 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
10197 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
10198 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
10199 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
10200 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
10201 Likewise.
10202 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
10203 Likewise.
10204 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
10205 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
10206 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
10207 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
10208 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
10209 implementation.
10210 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
10211 if it is defined.
10212
10213 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
10214 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
10215 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
10216 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
10217 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
10218 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
10219 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
10220 Likewise.
10221 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
10222 Likewise.
10223 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
10224 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
10225 Define to __NR_osf_shmat.
10226 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
10227 defined.
10228
10229 * sysvipc/Makefile (tests): Add test-sysvsem.
10230 * sysvipc/test-sysvsem.c: New file.
10231
10232 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
10233 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
10234 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
10235 Likewise.
10236 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
10237 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
10238 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
10239 Likewise.
10240 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
10241 Likewise.
10242 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
10243 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
10244 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
10245 add a comment about s390 syscall difference from default one.
10246 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
10247 syscall if it is defined.
10248
10249 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
10250 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
10251 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
10252 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
10253 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
10254 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
10255 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
10256 Likewise.
10257 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
10258 Likewise.
10259 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
10260 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
10261 defined.
10262
10263 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
10264 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
10265 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
10266 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
10267 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
10268 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
10269 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
10270 Likewise.
10271 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
10272 Likewise.
10273 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
10274 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
10275 if it is defined.
10276
10277 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
10278 oldsemctl.
10279 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
10280 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
10281 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
10282 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
10283 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
10284 implementation.
10285 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
10286 syscall if it is defined.
10287 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
10288 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
10289 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
10290 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
10291 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
10292 Likewise.
10293 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
10294
10295 * sysvipc/Makefile (tests): Add test-sysvmsg.
10296 * sysvipc/test-sysvmsg.c: New file.
10297 * support/check.h (FAIL_UNSUPPORTED): New define.
10298
10299 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
10300 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
10301 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
10302 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
10303 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
10304 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
10305 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
10306 Likewise.
10307 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
10308 Likewise.
10309 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
10310 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
10311 define.
10312
10313 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
10314 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
10315 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
10316 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
10317 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
10318 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
10319 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
10320 Likewise.
10321 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
10322 Likewise.
10323 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
10324 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
10325 if defined.
10326
10327 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
10328 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
10329 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
10330 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
10331 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
10332 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
10333 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
10334 Likewise.
10335 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
10336 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
10337 Likewise.
10338 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
10339 if defined.
10340 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
10341
10342 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
10343 oldmsgctl.
10344 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
10345 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
10346 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
10347 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
10348 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
10349 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
10350 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
10351 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
10352 Likewise.
10353 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
10354 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
10355 implementation.
10356 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
10357 if defined.
10358
10359 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
10360 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
10361 definition and define its own.
10362 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
10363 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
10364 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
10365 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
10366 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
10367 definitions to common header.
10368 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
10369 operation from ipc_ops.h.
10370
10371 * sysdeps/unix/sysv/linux/kernel-features.h
10372 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
10373 * sysdeps/unix/sysv/linux/i386/kernel-features.h
10374 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
10375 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10376 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10377 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10378 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10379 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10380 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10381 * sysdeps/unix/sysv/linux/s390/kernel-features.h
10382 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10383 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10384 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10385 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10386 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10387
10388 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10389
10390 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
10391 overflow in pointer addition.
10392
10393 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10394
10395 * sysdeps/powerpc/powerpc64/multiarch/Makefile
10396 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
10397 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10398 (strchr): Add __strchr_power8 to list of strchr functions.
10399 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
10400 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
10401 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
10402 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
10403 (strchr): Add __strchr_power8 to ifunc list.
10404 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
10405 (__strchrnul): Add __strchrnul_power8 to ifunc list.
10406 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
10407 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
10408
10409 2016-12-28 Florian Weimer <fweimer@redhat.com>
10410
10411 * support/Makefile (libsupport-routines): Add
10412 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
10413 (tests): Add tst-support_record_failure.
10414 (tests-special): tst-support_record_failure-2.
10415 (tst-support_record_failure-2.out): Depend on
10416 tst-support_record_failure-2.sh and tst-support_record_failure.
10417 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
10418 (support_test_verify_impl, support_record_failure)
10419 (support_report_failure, support_report_failure_reset): Declare.
10420 * support/support_test_main.c (adjust_exit_status): New function.
10421 (support_test_main): Call it to incorporate record test failures.
10422 * support/support_test_verify_impl.c: New file.
10423 * support/support_record_failure.c: Likewise.
10424 * support/tst-support_record_failure.c: Likewise.
10425 * support/tst-support_record_failure-2.sh: Likewise.
10426 * support/xunistd.h: Likewise.
10427 * support/xfork.c: Likewise.
10428 * support/xwaitpid.c: Likewise.
10429
10430 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
10431
10432 * scripts/check-c++-types.sh: Add comments.
10433
10434 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
10435
10436 [BZ #19514]
10437 * resolv/res_send.c: Fix typo in comment.
10438 * sysdeps/i386/i386-mcount.S: Likewise.
10439 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10440 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10441 * sysdeps/sparc/sparc-mcount.S: Likewise.
10442
10443 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10444
10445 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
10446 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
10447 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
10448 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
10449 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
10450 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
10451 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
10452 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
10453
10454 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10455
10456 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
10457
10458 2016-12-27 Florian Weimer <fweimer@redhat.com>
10459
10460 [BZ #17252]
10461 * posix/unistd.h (getentropy): Declare.
10462
10463 2016-12-27 Florian Weimer <fweimer@redhat.com>
10464
10465 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
10466 Remove.
10467 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
10468 (cmd): Remove spoof, nospoof, spoofalert.
10469 (parse_line): Ignore spoof-related lines.
10470 (do_init): Do not process RESOLV_SPOOF_CHECK.
10471
10472 2016-12-27 Florian Weimer <fweimer@redhat.com>
10473
10474 [BZ #20964]
10475 sunrpc: Always obtain AF_INET addresses from NSS.
10476 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
10477 * sunrpc/rpc_gethostbyname.c: New file.
10478 * sunrpc/Makefile (routines): Add it.
10479 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
10480 * sunrpc/clnt_simp.c (callrpc): Likewise.
10481 * sunrpc/getrpcport.c (getrpcport): Likewise.
10482
10483 2016-12-27 Florian Weimer <fweimer@redhat.com>
10484
10485 * sunrpc/rpcinfo.c: Remove.
10486 * sunrpc/Makefile: Remove comments referring to rpcinfo.
10487
10488 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10489
10490 [BZ #19387]
10491 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
10492 addition.
10493 * string/test-memchr.c (do_test): Remove alignment limitation.
10494 (test_main): Add test that trigger BZ #19387.
10495
10496 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
10497
10498 [BZ #7065]
10499 Enable stack protectore if requested by ./configure.
10500 * Makeconfig (+stack-protector): New variable.
10501 (+cflags): Use it.
10502
10503 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
10504
10505 [BZ #7065]
10506 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
10507 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
10508 (__rt_sigreturn_stub): Use inhibit_stack_protector.
10509 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10510 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
10511
10512 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
10513
10514 [BZ #7065]
10515 * login/Makefile (pt_chown-cflags): Remove.
10516 * nscd/Makefile (CFLAGS-nscd): Likewise.
10517 * resolv/Makefile (CFLAGS-libresolv): Likewise.
10518
10519 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
10520
10521 [BZ #7065]
10522 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
10523 non-libc-linking testcase.
10524
10525 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
10526 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10527 Florian Weimer <fweimer@redhat.com>
10528
10529 [BZ #7065]
10530 PLT avoidance for __stack_chk_fail*.
10531 * debug/Makefile (CFLAGS-stack_chk_fail.c)
10532 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
10533 * debug/stack_chk_fail.c (__stack_chk_fail): Add
10534 __stack_chk_fail_local alias.
10535 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
10536 (__stack_chk_fail): Turn into hidden reference to
10537 __stack_chk_fail_local.
10538
10539 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
10540
10541 [BZ #7065]
10542 * configure.ac: Add check for unsupported stack-protection level.
10543 (libc_cv_predef_stack_protector): Remove.
10544 (no_ssp): New variable.
10545 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
10546 (stack_protector): Set to -fno-stack-protector similarly.
10547 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
10548 (libc_cv_asm_set_directive): Likewise.
10549 (libc_cv_protected_data): Likewise.
10550 (libc_cv_z_combreloc): Likewise.
10551 (libc_cv_hashstyle): Likewise.
10552 (libc_cv_has_glob_dat): Likewise.
10553 (libc_cv_output_format): Likewise.
10554 (libc_cv_output_format): Likewise.
10555 (libc_cv_ehdr_start): Likewise.
10556 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
10557 (LIBC_LINKER_FEATURE): Likewise.
10558 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
10559
10560 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
10561
10562 [BZ #7065]
10563 * elf/Makefile (dummy-stack-chk-fail): New.
10564 (librtld.map): Use it.
10565
10566 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
10567
10568 [BZ #7065]
10569 Compile the dynamic linker without stack protection.
10570 * elf/Makefile (elide-stack-protector): New.
10571 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
10572 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
10573 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
10574 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
10575
10576 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
10577
10578 [BZ #7065]
10579 * config.make.in (have-ssp, no-stack-protector): New.
10580 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
10581 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
10582 (CFLAGS-sbrk.op): Likewise.
10583 (CFLAGS-brk.o): Likewise.
10584 (CFLAGS-brk.op): Likewise.
10585 * string/Makefile (CFLAGS-memcpy.c): Likewise.
10586 (CFLAGS-wordcopy.c): Likewise.
10587
10588 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
10589
10590 [BZ #7065]
10591 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
10592 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
10593 * include/libc-symbols.h (inhibit_stack_protector): New macro.
10594 (__ifunc_resolver): Use it.
10595 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
10596 inhibit_stack_protector.
10597 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
10598 * elf/ifuncmain7.c (foo_ifunc): Likewise.
10599 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
10600 (foo_protected_ifunc): Likewise.
10601 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
10602 (foo_protected_ifunc): Likewise.
10603 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
10604 * sysdeps/nacl/nacl_interface_query.c
10605 (nacl_interface_query_ifunc): Likewise.
10606 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
10607 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
10608 Likewise.
10609 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
10610 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
10611 the generated vDSO syscall resolver.
10612
10613 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
10614 Florian Weimer <fweimer@redhat.com>
10615
10616 [BZ #7065]
10617 Initialize the stack guard earlier when linking statically.
10618 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
10619 (__pthread_initialize_minimal): Declare.
10620 * csu/libc-start.c (__pthread_initialize_minimal): Remove
10621 declaration.
10622 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
10623 stack canary and apply_irel initialization up. Call
10624 __pthread_initialize_minimal only if linked in.
10625 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
10626 constant values.
10627 (__pthread_initialize_minimal): Remove.
10628 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
10629 (__pthread_initialize_minimal_internal): Do not call
10630 __libc_setup_tls.
10631
10632 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
10633
10634 [BZ #7065]
10635 * configure.ac (libc_cv_ssp): Move up.
10636 (libc_cv_ssp_strong): Likewise.
10637 (libc_cv_ssp_all): New.
10638 (stack_protector): Augment, adding -fstack-protector-all.
10639 (no_stack_protector): New.
10640 (STACK_PROTECTOR_LEVEL): New.
10641 (AC_ARG_ENABLE(stack-protector)): New configure flag.
10642 * manual/install.texi (--enable-stack-protector): Document it.
10643 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
10644
10645 2016-12-24 Carlos O'Donell <carlos@redhat.com>
10646
10647 * README.pretty-printers: Must specify CPPFLAGS-* also.
10648 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
10649 (CPPFLAGS-test-mutex-printers.c): Define.
10650 (CPPFLAGS-test-condattr-printers.c): Define.
10651 (CPPFLAGS-test-cond-printers.c): Define.
10652 (CPPFLAGS-test-rwlockattr-printers.c): Define.
10653 (CPPFLAGS-test-rwlock-printers.c): Define.
10654
10655 * nss/Makefile [ifeq (yes,$(have-thread-library))]
10656 (tests): Add tst-cancel-getpwuid_r.
10657 * nss/tst-cancel-getpwuid_r.c: New file.
10658
10659 [BZ #11941]
10660 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
10661 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
10662 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
10663 tst-nodelete-dlclose.
10664 (modules-names): Add tst-nodelete-dlclose-dso and
10665 tst-nodelete-dlclose-plugin.
10666 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
10667 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
10668 ($(objpfx)tst-nodelete-dlclose): Define.
10669 ($(objpfx)tst-nodelete-dlclose.out): Define.
10670
10671 2016-12-23 Florian Weimer <fweimer@redhat.com>
10672
10673 * scripts/test_printers_common.py: Log GDB output in case of
10674 Python detection failure.
10675
10676 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
10677
10678 * configure.ac: Check for python3 or python.
10679 * configure: Regenerated.
10680 * config.make.in (PYTHON): New variable.
10681 * benchtests/Makefile: Don't define PYTHON.
10682 (bench): Define target only if PYTHON was defined.
10683 * Rules: Don't define PYTHON.
10684 Define pretty printer targets only if PYTHON was defined.
10685 (tests-printers): Add to tests-unsupported if PYTHON is not
10686 found.
10687 (python-flags, python-invoke): Remove.
10688 (tests-printers-out): Use PYTHON instead of python-invoke.
10689
10690 2016-12-21 Joseph Myers <joseph@codesourcery.com>
10691
10692 [BZ #20978]
10693 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10694 Compare name == NULL, not name != NULL.
10695
10696 * manual/texinfo.tex: Update to version 2016-09-18.18 with
10697 trailing whitespace removed.
10698 * scripts/config.guess: Update to version 2016-10-02.
10699 * scripts/config.sub: Update to version 2016-11-19.
10700 * scripts/install-sh: Update to version 2016-01-11.22.
10701 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
10702 * scripts/move-if-change: Update to version 2016-01-11 22:04.
10703
10704 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
10705
10706 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
10707 (do_one_test) Restore original string so iteration works.
10708 * string/string-inlines.c (do_test): Create better input strings.
10709 (test_main) Reduce number of testruns.
10710 * string/string-inlines.c (__old_strsep_1c): New function.
10711 (__old_strsep_2c): Likewise.
10712 (__old_strsep_3c): Likewise.
10713 * string/strsep.c (__strsep): Remove case of small delim string.
10714 Call strcspn directly rather than strpbrk.
10715 * string/bits/string2.h (__strsep): Remove define.
10716 (__strsep_1c): Remove.
10717 (__strsep_2c): Remove.
10718 (__strsep_3c): Remove.
10719 (strsep): Remove.
10720 * sysdeps/unix/sysv/linux/internal_statvfs.c
10721 (__statvfs_getflags): Rename to __strsep.
10722
10723 2016-12-21 Florian Weimer <fweimer@redhat.com>
10724
10725 * csu/libc-tls.c (_dl_tls_setup): Remove.
10726 * elf/dl-tls.c (_dl_tls_setup): Likewise.
10727 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
10728 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
10729
10730 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
10731
10732 [BZ #7065]
10733 * sysdeps/x86_64/Makefile [$(subdir) = elf]
10734 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
10735
10736 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
10737 Florian Weimer <fweimer@redhat.com>
10738
10739 [BZ #7065]
10740 * csu/Makefile (tests): Empty assignment and document it.
10741 (tests-static): Remove.
10742 * csu/tst-empty.c: Move to...
10743 * misc/tst-empty.c: ... here. Switch to new test driver.
10744 * csu/tst-atomic.c: Move to...
10745 * misc/tst-atomic.c: ... here. Switch to new test driver.
10746 * csu/tst-atomic-long.c: Move to...
10747 * misc/tst-atomic-long.c: ... here.
10748 * misc/Makefile (tests): Add tst-empty, tst-atomic,
10749 tst-atomic-long.
10750 (tests-static): Add tst-empty.
10751
10752 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
10753
10754 * manual/nss.texi: Change incorrect @vtable to @table.
10755 * manual/arith.texi: Convert @tables of variables to @vtables
10756 and remove unnecessary indexing.
10757 * manual/filesys.texi: Likewise.
10758 * manual/llio.texi: Likewise.
10759 * manual/memory.texi: Likewise.
10760 * manual/process.texi: Likewise.
10761 * manual/resource.texi: Likewise.
10762 * manual/search.texi: Likewise.
10763 * manual/signal.texi: Likewise.
10764 * manual/socket.texi: Likewise.
10765 * manual/stdio.texi: Likewise.
10766 * manual/sysinfo.texi: Likewise.
10767 * manual/syslog.texi: Likewise.
10768 * manual/terminal.texi: Likewise.
10769 * manual/time.texi: Likewise.
10770 * manual/users.texi: Likewise.
10771
10772 2016-12-21 Joseph Myers <joseph@codesourcery.com>
10773
10774 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10775 (roundeven): New declaration.
10776 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
10777 macro.
10778 * math/Versions (roundeven): New libm symbol at version
10779 GLIBC_2.25.
10780 (roundevenf): Likewise.
10781 (roundevenl): Likewise.
10782 * math/Makefile (libm-calls): Add s_roundevenF.
10783 * math/libm-test.inc (roundeven_test_data): New array.
10784 (roundeven_test): New function.
10785 (main): Call roundeven_test.
10786 * math/test-tgmath.c (NCALLS): Increase to 134.
10787 (F(compile_test)): Call roundeven.
10788 (F(roundeven)): New function.
10789 * manual/arith.texi (Rounding Functions): Document roundeven,
10790 roundevenf and roundevenl.
10791 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
10792 * include/math.h (roundeven): Use libm_hidden_proto.
10793 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
10794 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
10795 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
10796 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
10797 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
10798 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
10799 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10800 roundeven.
10801 (CFLAGS-nldbl-roundeven.c): New variable.
10802 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
10803 * sysdeps/nacl/libm.abilist: Update.
10804 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10805 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10806 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10807 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10808 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10809 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10810 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10811 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10812 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10813 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10814 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10815 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10817 Likewise.
10818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10819 Likewise.
10820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10821 Likewise.
10822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10823 Likewise.
10824 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10825 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10826 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10827 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10828 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10830 Likewise.
10831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10832 Likewise.
10833 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10834 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10835 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10836
10837 2016-12-20 Joseph Myers <joseph@codesourcery.com>
10838
10839 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
10840 preprocessor indentation inside #if.
10841
10842 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10843
10844 * math/libm-test.inc (fmt_ftostr): New function.
10845 (print_float, check_float_internal): Replace some uses of
10846 FTOSTR with uses of fmt_ftostr.
10847 (print_max_error, print_complex_max_error, print_function_ulps)
10848 (print_complex_function_ulps): Remove uses of the macros
10849 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
10850 * math/test-double.h (FTOSTR): Define to strfromd.
10851 (PRINTF_EXPR): Delete.
10852 (PRINTF_XEXPR): Likewise.
10853 (PRINTF_NEXPR): Likewise.
10854 * math/test-float.h (FTOSTR): Define to strfromf.
10855 (PRINTF_EXPR): Delete.
10856 (PRINTF_XEXPR): Likewise.
10857 (PRINTF_NEXPR): Likewise.
10858 * math/test-ldouble.h (FTOSTR): Define to strfroml.
10859 (PRINTF_EXPR): Delete.
10860 (PRINTF_XEXPR): Likewise.
10861 (PRINTF_NEXPR): Likewise.
10862
10863 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10864
10865 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
10866 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
10867 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
10868 (__lll_lock_elision): Decrement adapt_count while unlocking
10869 instead of before locking.
10870 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
10871 (__lll_trylock_elision): Likewise.
10872 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
10873 (__lll_unlock_elision): Likewise.
10874
10875 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10876
10877 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
10878 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
10879 Use __libc_tbegin_retry macro.
10880
10881 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10882
10883 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
10884 Add -msoft-float.
10885 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
10886 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
10887 Use __libc_t* transaction macros instead of __builtin_t*.
10888 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10889 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10890
10891 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10892
10893 * sysdeps/unix/sysv/linux/s390/elision-lock.c
10894 (__lll_lock_elision): Use atomics to load / store adapt_count.
10895 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
10896 (__lll_trylock_elision): Likewise.
10897
10898 2016-12-20 Florian Weimer <fweimer@redhat.com>
10899
10900 Do not require memset elimination in explicit_bzero test.
10901 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
10902 (enum test_expectation): Add NO_EXPECTATIONS.
10903 (subtests): NO_EXPECTATIONS for ordinary clear.
10904 (check_test_buffer): Handle NO_EXPECTATIONS.
10905 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
10906
10907 2016-12-20 Joseph Myers <joseph@codesourcery.com>
10908
10909 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10910 (fmaxmag): New declaration.
10911 (fminmag): Likewise.
10912 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
10913 macro.
10914 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
10915 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
10916 (fmaxmagf): Likewise.
10917 (fmaxmagl): Likewise.
10918 (fminmag): Likewise.
10919 (fminmagf): Likewise.
10920 (fminmagl): Likewise.
10921 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
10922 * math/s_fmaxmag_template.c: New file.
10923 * math/s_fminmag_template.c: Likewise.
10924 * math/libm-test.inc (fmaxmag_test_data): New array.
10925 (fmaxmag_test): New function.
10926 (fminmag_test_data): New array.
10927 (fminmag_test): New function.
10928 (main): Call fmaxmag_test and fminmag_test.
10929 * math/test-tgmath.c (NCALLS): Increase to 132.
10930 (F(compile_test)): Call fmaxmag and fminmag.
10931 (F(fminmag)): New function.
10932 (F(fmaxmag)): Likewise.
10933 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
10934 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
10935 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
10936 fminmag.
10937 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
10938 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
10939 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
10940 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
10941 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
10942 and fminmag.
10943 (CFLAGS-nldbl-fmaxmag.c): New variable.
10944 (CFLAGS-nldbl-fminmag.c): Likewise.
10945 * sysdeps/nacl/libm.abilist: Update.
10946 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10947 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10948 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10949 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10950 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10951 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10952 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10953 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10954 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10955 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10956 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10957 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10959 Likewise.
10960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10961 Likewise.
10962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10963 Likewise.
10964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10965 Likewise.
10966 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10967 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10968 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10969 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10970 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10972 Likewise.
10973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10974 Likewise.
10975 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10976 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10977 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10978
10979 2016-12-19 Torvald Riegel <triegel@redhat.com>
10980
10981 [BZ #20973]
10982 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
10983 wake-up in robust mutexes.
10984 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10985
10986 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10987
10988 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
10989 (CFLAGS-bench-fmaxf.c): New rule.
10990 (CFLAGS-bench-fminf.c): Likewise.
10991 * benchtests/fmaxf-inputs: New file.
10992 * benchtests/fminf-inputs: Likewise.
10993
10994 * benchtests/Makefile (bench-math): Add fmin and fmax.
10995 (CFLAGS-bench-fmax.c): New rule.
10996 (CFLAGS-bench-fmin.c): Likewise.
10997 * benchtests/fmax-inputs: New file.
10998 * benchtests/fmin-inputs: Likewise.
10999
11000 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
11001 parenthesis.
11002 (CMDLINE_PROCESS): Define using function instead of macro.
11003 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
11004 of test-skeleton.
11005 * benchtests/bench-memchr.c: Likewise.
11006 * benchtests/bench-memcmp.c: Likewise.
11007 * benchtests/bench-memcpy-large.c: Likewise.
11008 * benchtests/bench-memcpy.c: Likewise.
11009 * benchtests/bench-memmem.c: Likewise.
11010 * benchtests/bench-memmove-large.c: Likewise.
11011 * benchtests/bench-memmove.c: Likewise.
11012 * benchtests/bench-memset-large.c: Likewise.
11013 * benchtests/bench-memset.c: Likewise.
11014 * benchtests/bench-rawmemchr.c: Likewise.
11015 * benchtests/bench-strcasecmp.c: Likewise.
11016 * benchtests/bench-strcasestr.c: Likewise.
11017 * benchtests/bench-strcat.c: Likewise.
11018 * benchtests/bench-strchr.c: Likewise.
11019 * benchtests/bench-strcmp.c: Likewise.
11020 * benchtests/bench-strcpy.c: Likewise.
11021 * benchtests/bench-strcpy_chk.c: Likewise.
11022 * benchtests/bench-strlen.c: Likewise.
11023 * benchtests/bench-strncasecmp.c: Likewise.
11024 * benchtests/bench-strncmp.c: Likewise.
11025 * benchtests/bench-strncpy.c: Likewise.
11026 * benchtests/bench-strnlen.c: Likewise.
11027 * benchtests/bench-strpbrk.c: Likewise.
11028 * benchtests/bench-strrchr.c: Likewise.
11029 * benchtests/bench-strsep.c: Likewise.
11030 * benchtests/bench-strspn.c: Likewise.
11031 * benchtests/bench-strstr.c: Likewise.
11032 * benchtests/bench-strtok.c: Likewise.
11033
11034 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
11035
11036 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
11037 stepping identification.
11038 (init_cpu_features): Add handle of Haswell.
11039
11040 2016-11-25 Jim Meyering <meyering@fb.com>
11041
11042 [BZ #20386]
11043 Let gcc detect assert(a = 1) errors.
11044 * assert/assert.h (assert): Rewrite, retaining the old definintion
11045 when required, but otherwise putting the expression as-is in an "if"
11046 expression (hence, with no added parentheses) within a statement
11047 expression.
11048
11049 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
11050
11051 * benchtests/Makefile (binaries-benchset): Depend on libsupport
11052 DSO.
11053
11054 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
11055
11056 * Rules (python-flags, python-invoke): New.
11057 ($(test-printers-out)): Use $(python-flags).
11058
11059 2016-12-16 Joseph Myers <joseph@codesourcery.com>
11060
11061 * manual/arith.texi (Math Error Reporting): Document that sNaN
11062 arguments are not considered domain errors.
11063
11064 2016-12-16 Zack Weinberg <zackw@panix.com>
11065 Florian Weimer <fweimer@redhat.com>
11066 Nick Mathewson <nickm@torproject.org>
11067
11068 * string/explicit_bzero.c: New routine.
11069 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
11070 * string/Makefile (routines, strop-tests, tests): Add them.
11071 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
11072 * string/string.h [__USE_MISC]: Declare explicit_bzero.
11073
11074 * debug/explicit_bzero_chk.c: New routine.
11075 * debug/Makefile (routines): Add it.
11076 * debug/tst-chk1.c: Test fortification of explicit_bzero.
11077 * string/bits/string3.h: Fortify explicit_bzero.
11078
11079 * manual/string.texi: Document explicit_bzero.
11080 * NEWS: Mention addition of explicit_bzero.
11081
11082 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
11083 data before returning, using explicit_bzero.
11084 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
11085 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11086 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11087
11088 * include/string.h: Redirect internal uses of explicit_bzero
11089 to __explicit_bzero_chk[_internal].
11090 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
11091 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
11092 * sysdeps/arm/nacl/libc.abilist
11093 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
11094 * sysdeps/unix/sysv/linux/alpha/libc.abilist
11095 * sysdeps/unix/sysv/linux/arm/libc.abilist
11096 * sysdeps/unix/sysv/linux/hppa/libc.abilist
11097 * sysdeps/unix/sysv/linux/i386/libc.abilist
11098 * sysdeps/unix/sysv/linux/ia64/libc.abilist
11099 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11100 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
11101 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
11102 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11103 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11104 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11105 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11106 * sysdeps/unix/sysv/linux/nios2/libc.abilist
11107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11111 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
11112 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11113 * sysdeps/unix/sysv/linux/sh/libc.abilist
11114 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11115 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11118 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
11119 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
11120 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
11121 Add entries for explicit_bzero and __explicit_bzero_chk.
11122
11123 2016-12-16 Joseph Myers <joseph@codesourcery.com>
11124
11125 * math/fenv.h
11126 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
11127 (FE_SNANS_ALWAYS_SIGNAL): New macro.
11128 * math/test-fe-snans-always-signal.c: New file.
11129 * math/Makefile (tests): Add test-fe-snans-always-signal.
11130 (CFLAGS-test-fe-snans-always-signal.c): New variable.
11131 * manual/arith.texi (Infinity and NaN): Document
11132 FE_SNANS_ALWAYS_SIGNAL.
11133
11134 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11135
11136 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
11137 bracket.
11138
11139 2016-12-16 Joseph Myers <joseph@codesourcery.com>
11140
11141 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
11142 before calling execv.
11143
11144 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11145
11146 [BZ #20971]
11147 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
11148 overflow in pointer addition.
11149 * string/test-memchr.c (do_test): Add an argument to pass as
11150 the size on memchr.
11151 (test_main): Add check for SIZE_MAX.
11152
11153 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11154
11155 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
11156 (libm-calls): Add w_scalblnF.
11157 * math/w_scalbln.c: Remove.
11158 * math/w_scalblnf.c: Likewise.
11159 * math/w_scalblnl.c: Likewise.
11160 * math/w_scalbln_template.c: New file with type-generic
11161 implementation based on math/w_scalbln.c.
11162 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
11163 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
11164
11165 2016-12-15 Joseph Myers <joseph@codesourcery.com>
11166
11167 [BZ #20947]
11168 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
11169 either is a signaling NaN.
11170 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
11171 follow fmaxl more closely.
11172 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
11173 when either is a signaling NaN.
11174 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
11175 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
11176 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
11177 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
11178 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
11179 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
11180 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
11181 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
11182 (fmin_test_data): Likewise.
11183
11184 2016-12-15 Andreas Schwab <schwab@suse.de>
11185
11186 * support/support_test_main.c (support_test_main): Don't shadow
11187 file-local variable test_pid.
11188
11189 2016-12-15 Joseph Myers <joseph@codesourcery.com>
11190
11191 [BZ #20947]
11192 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
11193 either is a signaling NaN.
11194 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
11195
11196 2016-12-14 Joseph Myers <joseph@codesourcery.com>
11197
11198 [BZ #20947]
11199 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
11200 when either is a signaling NaN.
11201 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
11202
11203 * bits/long-double.h: New file.
11204 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
11205 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
11206 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
11207 * sysdeps/mips/bits/long-double.h: Likewise.
11208 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
11209 * math/Makefile (headers): Add bits/long-double.h.
11210 * misc/sys/cdefs.h: Include <bits/long-double.h>.
11211 * stdlib/strtold.c: Include <bits/long-double.h> instead of
11212 <bits/wordsize.h>.
11213 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
11214 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
11215 * math/math.h: Do not include <bits/mathdef.h>.
11216 * sysdeps/aarch64/bits/mathdef.h: Remove file.
11217 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
11218 inclusion.
11219 * sysdeps/ia64/bits/mathdef.h: Remove file.
11220 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
11221 * sysdeps/mips/bits/mathdef.h: Likewise.
11222 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11223 * sysdeps/s390/bits/mathdef.h: Likewise.
11224 * sysdeps/sparc/bits/mathdef.h: Likewise.
11225 * sysdeps/x86/bits/mathdef.h: Likewise.
11226 * sysdeps/s390/s390-32/bits/wordsize.h
11227 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
11228 conditional code.
11229 * sysdeps/s390/s390-64/bits/wordsize.h
11230 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11231 Likewise.
11232 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
11233 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11234 Likewise.
11235 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
11236 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11237 Likewise.
11238 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
11239 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11240 Likewise.
11241
11242 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
11243 <linux/falloc.h>.
11244 (FALLOC_FL_KEEP_SIZE): Remove.
11245 (FALLOC_FL_PUNCH_HOLE): Likewise.
11246 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
11247 (FALLOC_FL_ZERO_RANGE): Likewise.
11248
11249 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11250
11251 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
11252
11253 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11254
11255 * sysdeps/unix/sysv/linux/renameat.c: New file.
11256 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
11257
11258 * sysdeps/unix/sysv/linux/rename.c: New file.
11259 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
11260
11261 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
11262
11263 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
11264 * string/strtok.c (strtok): Change to tailcall __strtok_r.
11265 * string/strtok_r.c (__strtok_r): Optimize for performance.
11266 * string/string-inlines.c (__old_strtok_r_1c): New function.
11267 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
11268
11269 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11270
11271 * math/Makefile (gen-libm-calls): Add w_log1pF.
11272 (libm-calls): Remove w_log1pF.
11273 * math/w_log1p.c: Remove.
11274 * math/w_log1pf.c: Likewise.
11275 * math/w_log1pl.c: Likewise.
11276 * math/w_log1p_template.c: New file with type-generic
11277 implementation based on math/w_log1p.c.
11278 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
11279 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
11280
11281 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
11282
11283 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
11284
11285 2016-12-14 Joseph Myers <joseph@codesourcery.com>
11286
11287 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11288 kernel version to 4.9.
11289
11290 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
11291
11292 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
11293 ($(inst_libdir)/libm.a): Fix rule to create the target only.
11294
11295 2016-12-13 Andreas Schwab <schwab@suse.de>
11296
11297 * sysdeps/powerpc/dl-procinfo.c: Don't define
11298 _dl_powerpc_platforms.
11299 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
11300 constants instead of referencing _dl_powerpc_platforms.
11301 (_dl_platform_string): Remove.
11302
11303 2016-12-13 Florian Weimer <fweimer@redhat.com>
11304
11305 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
11306
11307 2016-12-13 Florian Weimer <fweimer@redhat.com>
11308
11309 * Rules (binaries-shared-tests, binaries-pie-tests)
11310 (binaries-static-tests): Link with $(link-extra-libs-tests).
11311 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
11312 Remove $(link-extra-libs-tests).
11313
11314 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11315
11316 * sysdeps/powerpc/powerpc64/multiarch/Makefile
11317 (sysdep_routines): Add strncmp_power9.
11318 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11319 (strncmp): Add __strncmp_power9 to list of strncmp functions.
11320 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
11321 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
11322 (strncmp): Add __strncmp_power9 to ifunc list.
11323 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
11324
11325 2016-12-12 Florian Weimer <fweimer@redhat.com>
11326
11327 [BZ #17252]
11328 Add getentropy, getrandom.
11329 * stdlib/sys/random.h: New file.
11330 (headers): Add it.
11331 * stdlib/Makefile (routines): Add getentropy, getrandom.
11332 (tests): Add tst-getrandom.
11333 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
11334 * stdlib/getentropy.c: New file.
11335 * stdlib/getrandom.c: Likewise.
11336 * stdlib/tst-getrandom.c: Likewise.
11337 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
11338 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
11339 * manual/crypt.texi (Unpredictable Bytes): New section.
11340 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
11341 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
11342 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11343 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11344 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11345 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11346 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11347 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11348 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11349 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11350 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11351 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11352 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11353 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11354 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11355 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11357 Likewise.
11358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11359 Likewise.
11360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11362 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11363 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11364 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11365 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11366 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11368 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11369 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11370 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11371 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11372
11373 2016-12-10 Florian Weimer <fweimer@redhat.com>
11374
11375 [BZ #20956]
11376 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
11377 as additional compiler barriers.
11378 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
11379 (fn2, do_test): Declare with external linkage.
11380 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
11381 (do_test): Declare with external linkage.
11382 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
11383 (do_test): Declare with external linkage.
11384 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
11385 (do_test): Declare with external linkage.
11386
11387 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
11388
11389 * support/support_test_main.c (support_test_main): Use correct
11390 timeout.
11391
11392 2016-12-09 Carlos O'Donell <carlos@redhat.com>
11393 Florian Weimer <fweimer@redhat.com>
11394
11395 [BZ #16421]
11396 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
11397 and __u6_addr32 members.
11398 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
11399 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
11400 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
11401 Use __u6_addr32.
11402 * inet/tst-checks.c: Use <support/test-driver.c>
11403 * inet/tst-checks-posix.c: New file.
11404 * inet/Makefile (tests): Add it.
11405 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
11406
11407 2016-12-09 Florian Weimer <fweimer@redhat.com>
11408
11409 New subdirectory support for build and test infrastructure.
11410 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
11411 setting install-lib.
11412 * Makeconfig (link-extra-libs-tests): Define.
11413 (+link-pie-tests, +link-static-tests, +link-tests): Use
11414 link-extra-libs-tests.
11415 (rpath-dirs, all-subdirs): Add support.
11416 (built-modules): Add libsupport.
11417 (libsupport): Define.
11418 * support: New directory.
11419 * support/Makefile: New file.
11420 * support/check.c: Likewise.
11421 * support/check.h: Likewise.
11422 * support/delayed_exit.c: Likewise.
11423 * support/ignore_stderr.c: Likewise.
11424 * support/oom_error.c: Likewise.
11425 * support/set_fortify_handler.c: Likewise.
11426 * support/support.h: Likewise.
11427 * support/temp_file-internal.h: Likewise.
11428 * support/temp_file.c: Likewise.
11429 * support/test-driver.c: Likewise.
11430 * support/test-driver.h: Likewise.
11431 * support/test_main.c: Likewise.
11432 * support/write_message.c: Likewise.
11433 * support/xasprintf.c: Likewise.
11434 * support/xcalloc.c: Likewise.
11435 * support/xmalloc.c: Likewise.
11436 * support/xpthread_barrier_destroy.c: Likewise.
11437 * support/xpthread_barrier_init.c: Likewise.
11438 * support/xpthread_barrier_wait.c: Likewise.
11439 * support/xpthread_cancel.c: Likewise.
11440 * support/xpthread_check_return.c: Likewise.
11441 * support/xpthread_cond_wait.c: Likewise.
11442 * support/xpthread_create.c: Likewise.
11443 * support/xpthread_detach.c: Likewise.
11444 * support/xpthread_join.c: Likewise.
11445 * support/xpthread_mutex_lock.c: Likewise.
11446 * support/xpthread_mutex_unlock.c: Likewise.
11447 * support/xpthread_sigmask.c: Likewise.
11448 * support/xpthread_spin_lock.c: Likewise.
11449 * support/xpthread_spin_unlock.c: Likewise.
11450 * support/xrealloc.c: Likewise.
11451 * support/xsignal.h: Likewise.
11452 * support/xthread.h: Likewise.
11453 * support_tempfile.h: Likewise.
11454 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
11455 (TEST_DATA_LIMIT): Remove unused macro.
11456 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
11457 <support/check.h>.
11458 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
11459 (ignore_stderr, set_fortify_handler): Remove. Now in
11460 <support/support.h>.
11461 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
11462 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
11463 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
11464 (xpthread_join): Remove. Now in <support/xthread.h>.
11465 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
11466 Introduce legacy wrappers.
11467 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
11468 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
11469 (write_message): Remove.
11470 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
11471 test-skeleton.c.
11472 * io/test-open-tmpfile: Likewise.
11473 * io/tst-posix_fallocate-common.c: Likewise.
11474 * libio/tst-fseek.c: Likewise.
11475 * malloc/tst-malloc-backtrace.c: Likewise.
11476 * malloc/tst-malloc-fork-deadlock.c: Likewise.
11477 * malloc/tst-malloc-thread-exit.c: Likewise.
11478 * nptl/tst-cancel7.c: Likewise.
11479 * nptl/tst-cleanup0.c: Likewise.
11480 * posix/tst-posix_fadvise-common.c: Likewise.
11481 * rt/tst-shm.c: Likewise.
11482 * time/bug-getdate1.c: Likewise.
11483 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
11484 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
11485 * elf/Makefile (tst-piemod1.so): Link against libsupport.
11486
11487 2016-12-08 Joseph Myers <joseph@codesourcery.com>
11488
11489 * Rules [$(run-built-tests) != no] (tests-expected): Add
11490 $(tests-printers).
11491 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
11492
11493 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
11494
11495 [BZ #20539]
11496 * math/Makefile (install-lib-ldscripts): Add libm.a.
11497 (install_subdir): Remove.
11498 (install-others): Add.
11499 ($(inst_libdir)/libm.a): Add rule for installation as
11500 linker script.
11501 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
11502
11503 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
11504
11505 * INSTALL: Regenerated.
11506 * Makeconfig: Add comments and whitespace to make the control flow
11507 clearer.
11508 (+link-printers-tests, +link-pie-printers-tests,
11509 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
11510 built-rtld-LDFLAGS, link-libc-rpath,
11511 link-libc-tests-after-rpath-link,
11512 link-libc-printers-tests): New.
11513 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
11514 link-libc-tests): Use the new variables as required.
11515 * Makerules ($(py-const)): New rule.
11516 generated: Add $(py-const).
11517 * README.pretty-printers: New file.
11518 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
11519 (others): Depend on $(py-const).
11520 (tests): Depend on $(tests-printers-programs) or
11521 $(tests-printers-out),
11522 as required. Pass $(tests-printers) to merge-test-results.sh.
11523 * manual/install.texi: Add requirements for testing the pretty
11524 printers.
11525 * nptl/Makefile (gen-py-const-headers, pretty-printers,
11526 tests-printers, CFLAGS-test-mutexattr-printers.c
11527 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
11528 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
11529 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
11530 * nptl/nptl-printers.py: New file.
11531 * nptl/nptl_lock_constants.pysym: Likewise.
11532 * nptl/test-cond-printers.c: Likewise.
11533 * nptl/test-cond-printers.py: Likewise.
11534 * nptl/test-condattr-printers.c: Likewise.
11535 * nptl/test-condattr-printers.py: Likewise.
11536 * nptl/test-mutex-printers.c: Likewise.
11537 * nptl/test-mutex-printers.py: Likewise.
11538 * nptl/test-mutexattr-printers.c: Likewise.
11539 * nptl/test-mutexattr-printers.py: Likewise.
11540 * nptl/test-rwlock-printers.c: Likewise.
11541 * nptl/test-rwlock-printers.py: Likewise.
11542 * nptl/test-rwlockattr-printers.c: Likewise.
11543 * nptl/test-rwlockattr-printers.py: Likewise.
11544 * scripts/gen-py-const.awk: Likewise.
11545 * scripts/test_printers_common.py: Likewise.
11546 * scripts/test_printers_exceptions.py: Likewise.
11547
11548 2016-12-07 Joseph Myers <joseph@codesourcery.com>
11549
11550 * scripts/build-many-glibcs.py (Context.__init__): Take strip
11551 argument.
11552 (Glibc.build_glibc): Strip installed shared libraries if
11553 requested.
11554 (get_parser): Add --strip option.
11555 (main): Update Context call.
11556
11557 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11558 Dominik Vogt <vogt@linux.vnet.ibm.com>
11559
11560 [BZ #20847]
11561 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
11562 array bounds for else branch.
11563 (__execvpe): Style fixes.
11564 * posix/tst-vfork3.c (run_script): New function.
11565 (create_script): Likewise.
11566 (do_test): Use run_script internal function.
11567 (do_prepare): Use create_script internal function.
11568
11569 2016-12-07 Andreas Schwab <schwab@suse.de>
11570
11571 * sysdeps/unix/sysv/linux/x86/elision-conf.h
11572 (__elision_available): Don't declare.
11573 * sysdeps/unix/sysv/linux/x86/elision-conf.c
11574 (__elision_available): Don't define.
11575 (elision_init): Don't set __elision_available.
11576
11577 2016-12-07 Joseph Myers <joseph@codesourcery.com>
11578
11579 [BZ #20940]
11580 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
11581 return Inf for arguments Inf and sNaN.
11582 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
11583 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11584 Likewise.
11585 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11586 Likewise.
11587 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11588 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
11589 for arguments Inf and sNaN. When returning a NaN, compute it by
11590 arithmetic on the arguments.
11591 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
11592 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
11593 arguments.
11594
11595 2016-12-06 Joseph Myers <joseph@codesourcery.com>
11596
11597 [BZ #20916]
11598 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
11599 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
11600 to compute result.
11601 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11602 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
11603
11604 2016-12-05 Torvald Riegel <triegel@redhat.com>
11605
11606 * include/atomic.h (__atomic_check_size_ls): New.
11607 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
11608 atomic_store_release): Use it.
11609 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
11610 (elision_adapt, ELIDE_LOCK): Use atomics.
11611 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
11612 atomics and improve code comments.
11613 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
11614 (__lll_trylock_elision): Likewise.
11615
11616 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11617
11618 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
11619 programs.
11620
11621 2016-12-02 Joseph Myers <joseph@codesourcery.com>
11622
11623 [BZ #20916]
11624 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
11625 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
11626 arguments to compute result.
11627 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
11628 1 for arguments (sNaN, 0) or (1, sNaN).
11629 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11630 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11631
11632 [BZ #20919]
11633 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
11634 NaN first argument when raised to power 0.
11635 * math/w_pow.c (__pow): Do not check for NaN or zero results from
11636 raising to power zero.
11637 * math/w_powf.c (__powf): Likewise.
11638 * math/w_powl.c (__powl): Likewise.
11639 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
11640 pow (0, 0) or pow (NaN, 0).
11641
11642 2016-12-02 Carlos O'Donell <carlos@redhat.com>
11643
11644 [BZ #20918]
11645 * configure.ac: Test for static NSS cryptographic libraries and set
11646 libc_cv_static_nss_crypt.
11647 * configure: Regenerate.
11648 * config.make.in (static-nss-crypt): Define.
11649 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
11650 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
11651 (CFLAGS-tst-linkall-static.c): Define.
11652 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
11653 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
11654 ($(objpfx)tst-linkall-static): Define.
11655 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
11656 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
11657
11658 2016-12-02 Florian Weimer <fweimer@redhat.com>
11659
11660 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
11661 (one-hundred, tst-tls-many-dynamic-modules): Define.
11662 (modules-names): Add $(tst-tls-many-dynamic-modules).
11663 (tst-tls-manydynamic%mod.os): Build with special preprocessor
11664 macros.
11665 (tst-tls-manydynamic): Link against libdl, libpthread.
11666 (tst-tls-manydynamic.out): The test needs the test modules at run
11667 time.
11668 * elf/tst-tls-manydynamic.c: New file.
11669 * elf/tst-tls-manydynamic.h: Likewise.
11670 * elf/tst-tls-manydynamicmod.c: Likewise.
11671
11672 2016-12-02 Florian Weimer <fweimer@redhat.com>
11673
11674 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
11675 (TLS_DTV_UNALLOCATED): Add.
11676 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
11677 offsets.
11678
11679 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
11680
11681 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11682
11683 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
11684
11685 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
11686 Add -fno-optimize-sibling-calls.
11687
11688 2016-12-02 Joseph Myers <joseph@codesourcery.com>
11689
11690 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
11691 New declaration.
11692 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
11693 macro.
11694 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
11695 New macro.
11696 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
11697 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
11698 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
11699 (llogbf): Likewise.
11700 (llogbl): Likewise.
11701 * math/Makefile (gen-libm-calls): Add w_llogbF.
11702 (tests): Add test-fp-llogb-constants.
11703 * math/w_llogb_template.c: New file. Based on
11704 math/w_ilogb_template.c.
11705 * math/libm-test.inc (llogb_test_data): New array.
11706 (llogb_test): New function.
11707 (main): Call llogb_test.
11708 * math/test-fp-llogb-constants.c: New file. Based on
11709 math/test-fp-ilogb-constants.c.
11710 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
11711 (do_test): Call check_return_llogb.
11712 * math/test-tgmath.c (NCALLS): Increase to 126.
11713 (F(compile_test)): Call llogb.
11714 (F(llogb)): New function.
11715 * manual/math.texi (Exponents and Logarithms): Document llogb,
11716 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
11717 * manual/libm-err-tab.pl (@all_functions): Add llogb.
11718 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
11719 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
11720 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
11721 (CFLAGS-nldbl-llogb.c): New variable.
11722 * sysdeps/nacl/libm.abilist: Update.
11723 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11724 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11725 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11726 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11727 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11728 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11729 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11730 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11731 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11732 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11733 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11734 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11736 Likewise.
11737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11738 Likewise.
11739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11740 Likewise.
11741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11742 Likewise.
11743 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11744 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11745 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11746 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11747 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11748 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11749 Likewise.
11750 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11751 Likewise.
11752 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11753 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11754 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11755
11756 2016-12-01 Joseph Myers <joseph@codesourcery.com>
11757
11758 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
11759 _Float128 instead of long double.
11760 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
11761
11762 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
11763 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
11764 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
11765 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
11766 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
11767 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
11768 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
11769 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
11770 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
11771 Likewise.
11772
11773 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11774
11775 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
11776 Remove redirection to __strrchr_ppc.
11777
11778 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11779
11780 * sysdeps/powerpc/powerpc64/multiarch/Makefile
11781 (sysdep_routines): Add strcmp_power9.
11782 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11783 (strcmp): Add __strcmp_power9 to list of strcmp functions.
11784 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
11785 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
11786 (strcmp): Add __strcmp_power9 to ifunc list.
11787 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
11788
11789 2016-12-01 Joseph Myers <joseph@codesourcery.com>
11790
11791 * bits/fp-logb.h: New file.
11792 * sysdeps/ia64/bits/fp-logb.h: Likewise.
11793 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
11794 * sysdeps/x86/bits/fp-logb.h: Likewise.
11795 * math/Makefile (headers): Add bits/fp-logb.h.
11796 * math/math.h: Include <bits/fp-logb.h>.
11797 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
11798 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
11799 * bits/mathdef.h (FP_ILOGB0): Remove.
11800 (FP_ILOGBNAN): Likewise.
11801 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
11802 (FP_ILOGBNAN): Likewise.
11803 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
11804 (FP_ILOGBNAN): Likewise.
11805 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
11806 (FP_ILOGBNAN): Likewise.
11807 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
11808 (FP_ILOGBNAN): Likewise.
11809 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
11810 (FP_ILOGBNAN): Likewise.
11811 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
11812 (FP_ILOGBNAN): Likewise.
11813 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
11814 (FP_ILOGBNAN): Likewise.
11815 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
11816 (FP_ILOGBNAN): Likewise.
11817 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
11818 (FP_ILOGBNAN): Likewise.
11819
11820 * scripts/build-many-glibcs.py: Add bot to usage message. Import
11821 time module.
11822 (Context.__init__): Initialize self.logsdir_old.
11823 (Context.run_builds): Handle bot action.
11824 (Context.bot_cycle): Copy logs directory before running builds.
11825 (Context.bot_run_self): Take argument for whether to check
11826 subprocess result. Flush stdout before running subprocess.
11827 (Context.bot): New function.
11828 (get_parser): Allow bot action.
11829
11830 2016-11-30 Joseph Myers <joseph@codesourcery.com>
11831
11832 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
11833 Import email.mime.text, email.utils and smtplib modules.
11834 (Context.__init__): Initialize self.bot_config_json.
11835 (Context.run_builds): Handle bot-cycle action.
11836 (Context.load_bot_config_json): New function.
11837 (Context.part_build_old): Likewise.
11838 (Context.bot_cycle): Likewise.
11839 (Context.bot_build_mail): Likewise.
11840 (Context.bot_run_self): Likewise.
11841 (get_parser): Allow bot-cycle action.
11842
11843 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11844
11845 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
11846 Remove redirection to __stpcpy_ppc.
11847
11848 2016-11-30 Florian Weimer <fweimer@redhat.com>
11849
11850 Remove __libc_memalign from ld.so because it is unused.
11851 * elf/dl-minimal.c: Update comment on the malloc implementation.
11852 (malloc): Renamed from __libc_memalign, replacing the original
11853 malloc implementation. Replace the align parameter with
11854 MALLOC_ALIGNMENT.
11855 * elf/Versions (ld): Update comment and remove __libc_memalign.
11856 * sysdeps/nacl/ld.abilist: Likewise.
11857 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
11858 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
11859 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
11860 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
11861 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
11862 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
11863 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
11864 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
11865 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
11866 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
11867 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
11868 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
11869 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
11870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
11871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11873 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
11874 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
11875 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
11876 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
11877 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
11878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
11879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
11880 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
11881 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
11882 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
11883 * sysdeps/generic/localplt.data (ld.so): Likewise.
11884 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
11885 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
11886 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
11887 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
11888 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
11889 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
11890 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
11891 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
11892 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
11893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
11894 (ld.so): Likewise.
11895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
11896 (ld.so): Likewise.
11897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
11898 Likewise.
11899 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
11900 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
11901 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
11902 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
11903 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
11904
11905 2016-11-30 Florian Weimer <fweimer@redhat.com>
11906
11907 [BZ #16628]
11908 Implement _dl_catch_error, _dl_signal_error in libc.so.
11909 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
11910 (catch_hook): Define as thread-local or regular variable,
11911 depending on DL_ERROR_BOOTSTRAP.
11912 (CATCH_HOOK): Remove.
11913 (dl_signal_error, _dl_catch_error): Use
11914 catch_hook. Add hidden definition for libc.
11915 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
11916 for DL_ERROR_BOOTSTRAP only.
11917 * elf/dl-error.c: New file.
11918 * elf/dl-error-minimal.c: Likewise.
11919 * elf/tst-latepthread.c: Likewise.
11920 * elf/tst-latepthreadmod.c: Likewise.
11921 * elf/Makefile (routines): Add dl-error.
11922 (dl-routines): Remove dl-error.
11923 (rtld-routines): Add dl-error-minimal.
11924 [build-shared] (tests): Add tst-latepthread.
11925 (module-names): Add tst-latepthreadmod.
11926 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
11927 symbol.
11928 (tst-latepthreadmod.so): Link against libpthread.
11929 (tst-latepthread): Link against libdbl.
11930 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
11931 _dl_catch_error.
11932 [ld] (GLIBC_PRIVATE): Likewise.
11933 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
11934 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
11935 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
11936 directly.
11937 * elf/dl-tsd.c: Remove file.
11938 * elf/rtld.c (_rtld_global_ro): Remove initializers for
11939 _dl_catch_error, _dl_signal_error.
11940 (_dl_initial_error_catch_tsd): Remove definition.
11941 (do_preload): Remove initialization of dl_error_catch_tsd.
11942 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
11943 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
11944 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11945 * dlfcn/dlopen.c (dlopen_doit): Likewise.
11946 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
11947 set dl_error_catch_tsd.
11948 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
11949 _dl_error_catch_tsd member.
11950 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
11951 members.
11952 (_dl_initial_error_catch_tsd): Remove declaration.
11953 (_dl_dprintf): Provide definition for use outside of ld.so.
11954 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
11955 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
11956 prototype for libc.
11957 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
11958 _dl_catch_error.
11959 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
11960 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
11961 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
11962 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
11963 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
11964 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
11965 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
11966 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
11967 Likewise.
11968 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
11969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
11970 (ld.so): Likewise.
11971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
11972 (ld.so): Likewise.
11973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
11974 Likewise.
11975 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
11976 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
11977 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
11978 Likewise.
11979 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
11980 Likewise.
11981 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
11982
11983 2016-11-30 Florian Weimer <fweimer@redhat.com>
11984
11985 [BZ #4099]
11986 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
11987 _IO_BUFSIZ (8192).
11988
11989 2016-11-30 Carlos O'Donell <carlos@redhat.com>
11990
11991 * PROJECTS: Remove file.
11992
11993 2016-11-29 Florian Weimer <fweimer@redhat.com>
11994
11995 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
11996
11997 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
11998 Steve Ellcey <sellcey@caviumnetworks.com>
11999
12000 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
12001 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
12002 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
12003 fxstatat.
12004 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
12005 lxstat.
12006 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
12007 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
12008 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
12009 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
12010 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
12011 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
12012 __xstat.
12013
12014 2016-11-29 Florian Weimer <fweimer@redhat.com>
12015
12016 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
12017 Define.
12018 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
12019 definition.
12020
12021 2016-11-29 Florian Weimer <fweimer@redhat.com>
12022
12023 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
12024 version and turn into strong alias. Remove compat symbol.
12025
12026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12027 (__longjmp): Remove.
12028
12029 2016-11-29 Joseph Myers <joseph@codesourcery.com>
12030
12031 * bits/fp-fast.h: New file.
12032 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
12033 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
12034 * math/Makefile (headers): Add bits/fp-fast.h.
12035 * math/math.h: Include <bits/fp-fast.h>.
12036 * bits/mathdef.h (FP_FAST_FMA): Remove.
12037 (FP_FAST_FMAF): Likewise.
12038 (FP_FAST_FMAL): Likewise.
12039 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
12040 (FP_FAST_FMAF): Likewise.
12041 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
12042 (FP_FAST_FMAF): Likewise.
12043 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
12044 (FP_FAST_FMAF): Likewise.
12045 (FP_FAST_FMAL): Likewise.
12046 * sysdeps/arm/bits/mathdef.h: Remove file.
12047 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
12048 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12049 * sysdeps/tile/bits/mathdef.h: Likewise.
12050
12051 2016-11-28 Joseph Myers <joseph@codesourcery.com>
12052
12053 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
12054 * math/w_ilogb.c: Remove.
12055 * math/w_ilogbf.c: Likewise.
12056 * math/w_ilogbl.c: Likewise.
12057 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
12058 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
12059 * math/Makefile (gen-libm-calls): Add w_ilogbF.
12060 (libm-calls): Remove w_ilogbF.
12061 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
12062 (LDOUBLE_ilogbl_libm_version): New macro.
12063
12064 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
12065
12066 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
12067 [!__STRICT_ANSI__ && !__cplusplus].
12068
12069 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
12070
12071 [BZ #20750]
12072 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
12073 of PIC.
12074
12075 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
12076 Yury Norov <ynorov@caviumnetworks.com>
12077 Steve Ellcey <sellcey@caviumnetworks.com>
12078
12079 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
12080 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
12081 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
12082 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
12083 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
12084 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
12085 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
12086 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
12087 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
12088 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
12089 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
12090 to get correct reg name for ILP32.
12091 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
12092 (RELA_SIZE): New Macro.
12093 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
12094 to support ILP32.
12095 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
12096 cast for ILP32 mode.
12097 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
12098 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
12099 * sysdeps/aarch64/memset.S (__memset): Ditto.
12100 * sysdeps/aarch64/strchr.S (strchr): Ditto.
12101 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
12102 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
12103 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
12104 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
12105 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
12106 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
12107 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
12108 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
12109 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
12110 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
12111 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
12112 change PTR_MANGLE call to use register numbers instead of names.
12113 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
12114 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
12115 ILP32 mode, change PTR_MANGLE calls to use register numbers.
12116 * sysdeps/aarch64/start.S (_start): Ditto.
12117 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
12118 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
12119 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
12120 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
12121 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
12122 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
12123 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
12124 Make defined values dependent on __ILP32__.
12125 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
12126 (sem_t): Change __align type.
12127 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
12128 PTR_SIZE): New Macros.
12129 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
12130 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
12131 Set when in ILP32 mode.
12132 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
12133 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
12134 Set elf flags for ILP32.
12135 (add_system_dir): Set ILP32 library directories.
12136 * sysdeps/unix/sysv/linux/aarch64/init-first.c
12137 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
12138 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
12139 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
12140 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
12141 New Macros.
12142 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
12143
12144 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
12145
12146 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
12147 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
12148 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
12149
12150 2016-11-28 Joseph Myers <joseph@codesourcery.com>
12151
12152 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
12153 <asm/cachectl.h>.
12154
12155 2016-11-27 Zack Weinberg <zackw@panix.com>
12156
12157 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
12158 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
12159
12160 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12161
12162 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
12163 error_t to fix usage in C++ programs.
12164
12165 2016-11-26 Joseph Myers <joseph@codesourcery.com>
12166
12167 * scripts/build-many-glibcs.py: Import datetime module.
12168 (Context.__init__): Load JSON build state. Initialize list of
12169 status logs.
12170 (Context.run_builds): Update saved build state.
12171 (Context.add_makefile_cmdlist): Update list of status logs.
12172 (Context.load_build_state_json): New function.
12173 (Context.store_build_state_json): Likewise.
12174 (Context.clear_last_build_state): Likewise.
12175 (Context.update_build_state): Likewise.
12176 (CommandList.status_logs): Likewise.
12177
12178 2016-11-25 Joseph Myers <joseph@codesourcery.com>
12179
12180 * scripts/build-many-glibcs.py (Context.__init__): Save text of
12181 script being executed.
12182 (Context.get_script_text): New function.
12183 (Context.exec_self): Likewise.
12184 (Context.checkout): Re-exec script if changed by checkout process.
12185
12186 2016-11-24 Joseph Myers <joseph@codesourcery.com>
12187
12188 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12189 (setpayloadsig): New declaration.
12190 * math/Versions (setpayloadsig): New libm symbol at version
12191 GLIBC_2.25.
12192 (setpayloadsigf): Likewise.
12193 (setpayloadsigl): Likewise.
12194 * math/Makefile (libm-calls): Add s_setpayloadsigF.
12195 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
12196 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
12197 (setpayloadsig_test_data): New array.
12198 (setpayloadsig_test): New function.
12199 (main): Call setpayloadsig_test.
12200 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
12201 setpayloadsigf and setpayloadsigl.
12202 * manual/libm-err-tab.pl: Update comment on interfaces without
12203 ulps tabulated.
12204 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
12205 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
12206 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
12207 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
12208 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
12209 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
12210 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12211 setpayloadsig.
12212 (CFLAGS-nldbl-setpayloadsig.c): New variable.
12213 * sysdeps/nacl/libm.abilist: Update.
12214 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12215 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12216 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12217 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12218 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12219 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12220 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12221 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12222 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12223 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12224 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12225 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12227 Likewise.
12228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12229 Likewise.
12230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12231 Likewise.
12232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12233 Likewise.
12234 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12235 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12236 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12237 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12238 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12239 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12240 Likewise.
12241 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12242 Likewise.
12243 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12244 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12245 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12246
12247 * scripts/build-many-glibcs.py: Import json module.
12248 (Context.__init__): Take replace_sources argument. Load
12249 versions.json.
12250 (Context.load_versions_json): New function.
12251 (Context.store_json): Likewise.
12252 (Context.store_versions_json): Likewise.
12253 (Context.set_component_version): Likewise.
12254 (Context.checkout): Update versions.json. Check for and handle
12255 changes of version. Prefer previously explicitly specified
12256 version to default version.
12257 (Context.checkout_vcs): Return a revision identifier.
12258 (Context.git_checkout): Likewise.
12259 (Context.gcc_checkout): Likewise.
12260 (get_parser): Add --replace-sources option.
12261 (main): Pass replace_sources argument to Context call.
12262
12263 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12264
12265 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
12266 * nptl/allocatestack.c (allocate_stack): Likewise.
12267 (__reclaim_stacks): Likewise.
12268 (setxid_signal_thread): Obtain pid through syscall.
12269 * nptl/nptl-init.c (sigcancel_handler): Likewise.
12270 (sighandle_setxid): Likewise.
12271 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
12272 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
12273 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
12274 Likewise.
12275 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
12276 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
12277 comment.
12278 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
12279 * nptl/descr.h (struct pthread): Change comment about pid value.
12280 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
12281 pid assert.
12282 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
12283 Do not set pid value.
12284 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
12285 pid cache check.
12286 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
12287 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
12288 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
12289 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
12290 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
12291 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
12292 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
12293 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
12294 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
12295 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
12296 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
12297 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
12298 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
12299 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
12300 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
12301 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
12302 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
12303 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
12304 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
12305 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
12306 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
12307 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12308 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
12309 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
12310 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
12311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12313 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12314 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
12315 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12316 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
12317 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
12318 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
12319 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
12320 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
12321 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
12322 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
12323 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12324 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
12325 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
12326 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
12327 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
12328 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
12329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
12330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
12331 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12332 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12333 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12334 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12335 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12336 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
12337 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
12338 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
12339 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
12340 struct access.
12341 (clone_test): Remove function.
12342 (do_test): Rewrite to take in consideration pid is not cached anymore.
12343
12344 2016-11-24 Joseph Myers <joseph@codesourcery.com>
12345
12346 * bits/flt-eval-method.h: New file.
12347 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
12348 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
12349 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
12350 * math/Makefile (headers): Add bits/flt-eval-method.h.
12351 * math/math.h: Include <bits/flt-eval-method.h>.
12352 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
12353 [__USE_ISOC99] (double_t): Likewise.
12354 * bits/mathdef.h (float_t): Remove.
12355 (double_t): Likewise.
12356 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
12357 (double_t): Likewise.
12358 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
12359 (double_t): Likewise.
12360 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
12361 (double_t): Likewise.
12362 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
12363 (double_t): Likewise.
12364 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
12365 (double_t): Likewise.
12366 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
12367 (double_t): Likewise.
12368 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
12369 (double_t): Likewise.
12370 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
12371 (double_t): Likewise.
12372 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
12373 (double_t): Likewise.
12374 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
12375 (double_t): Likewise.
12376 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
12377 (double_t): Likewise.
12378 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
12379 (double_t): Likewise.
12380 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
12381 (double_t): Likewise.
12382
12383 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
12384
12385 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
12386 instead of PIC.
12387
12388 2016-11-23 Joseph Myers <joseph@codesourcery.com>
12389
12390 [BZ #20859]
12391 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
12392 (-0x7fffffff) instead of 0x80000001.
12393 * math/test-fp-ilogb-constants.c: New file.
12394 * math/Makefile (tests): Add test-fp-ilogb-constants.
12395
12396 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
12397
12398 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
12399 (_init): Use it in place of hardcoded R_MIPS_JALR.
12400 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
12401 (_init): Use it in place of hardcoded R_MIPS_JALR.
12402 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
12403 (_init): Use it in place of hardcoded R_MIPS_JALR.
12404
12405 2016-11-23 Joseph Myers <joseph@codesourcery.com>
12406
12407 [BZ #20787]
12408 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
12409 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
12410 (double_t): Do not define to double if [__x86_64__] when
12411 __FLT_EVAL_METHOD__ is nonzero.
12412 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
12413 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
12414 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12415 test-flt-eval-method-387 and test-flt-eval-method-sse.
12416 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
12417 variable.
12418 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
12419
12420 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
12421
12422 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
12423 use of -fno-isolate-erroneous-paths options for tilepro.
12424
12425 2016-11-23 Florian Weimer <fweimer@redhat.com>
12426
12427 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
12428 structure initialization is no longer needed.
12429
12430 2016-11-23 Joseph Myers <joseph@codesourcery.com>
12431
12432 [BZ #20855]
12433 * bits/mathdef.h (float_t): Define to float.
12434 * math/test-flt-eval-method.c: New file.
12435 * math/Makefile (tests): Add test-flt-eval-method.
12436 (CFLAGS-test-flt-eval-method.c): New variable.
12437
12438 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
12439
12440 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
12441 and __fstatfs. Make them aliases of __fstatfs64 if
12442 STATFS_IS_STATFS64 is set to non-zero.
12443 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
12444 and __statfs64.
12445 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
12446 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
12447 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
12448 for __statfs and statfs.
12449 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
12450 to 0.
12451 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
12452 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
12453 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
12454 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
12455 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
12456 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
12457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
12458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
12459 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
12460 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
12461 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
12462 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
12463
12464 2016-11-22 Andreas Schwab <schwab@suse.de>
12465
12466 * misc/mkstemp.c: Include <fcntl.h>.
12467 * misc/mkstemps.c: Likewise.
12468 * misc/mkostemp.c: Likewise.
12469 * misc/mkostemps.c: Likewise.
12470
12471 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
12472
12473 [BZ #20847]
12474 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
12475 array bounds.
12476 (__execvpe): Likewise.
12477
12478 2016-11-22 Joseph Myers <joseph@codesourcery.com>
12479
12480 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
12481 -fno-isolate-erroneous-paths options for tilepro.
12482
12483 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
12484
12485 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
12486 to 0 when in 32 bit mode.
12487 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
12488 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
12489 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
12490 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
12491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
12492 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
12493 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
12494 XSTAT_IS_XSTAT64 test.
12495 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
12496 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
12497 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
12498 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
12499 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
12500 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
12501 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
12502 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
12503 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
12504 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
12505 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
12506
12507 2016-11-19 Joseph Myers <joseph@codesourcery.com>
12508
12509 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12510 (setpayload): New declaration.
12511 * math/Versions (setpayload): New libm symbol at version
12512 GLIBC_2.25.
12513 (setpayloadf): Likewise.
12514 (setpayloadl): Likewise.
12515 * math/Makefile (libm-calls): Add s_setpayloadF.
12516 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
12517 test_Ff_b1_data.
12518 (RUN_TEST_Ff_b1): New macro.
12519 (RUN_TEST_LOOP_Ff_b1): Likewise.
12520 (canonicalize_test_data): Update type.
12521 (setpayload_test_data): New array.
12522 (setpayload_test): New function.
12523 (main): Call setpayload_test.
12524 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
12525 setpayloadf and setpayloadl.
12526 * manual/libm-err-tab.pl: Update comment on interfaces without
12527 ulps tabulated.
12528 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
12529 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
12530 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
12531 Likewise.
12532 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
12533 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
12534 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
12535 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
12536 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
12537 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
12538 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
12539 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
12540 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
12541 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12542 setpayload.
12543 (CFLAGS-nldbl-setpayload.c): New variable.
12544 * sysdeps/nacl/libm.abilist: Update.
12545 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12546 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12547 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12548 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12549 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12550 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12551 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12552 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12553 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12554 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12555 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12556 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12558 Likewise.
12559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12560 Likewise.
12561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12562 Likewise.
12563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12564 Likewise.
12565 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12566 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12567 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12568 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12569 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12571 Likewise.
12572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12573 Likewise.
12574 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12575 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12576 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12577
12578 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12579
12580 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
12581 * include/unistd.h: Extend comment about __access_noerrno return
12582 semantics.
12583 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
12584 (access_common): Correct typo for EACCES.
12585
12586 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
12587
12588 * sysdeps/tile/math-tests.h: New file.
12589
12590 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
12591 (__old_set_dataplane): Rename from set_dataplane and make a
12592 compatibility symbol.
12593 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
12594 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
12595 sys/dataplane.h.
12596
12597 2016-11-18 Joseph Myers <joseph@codesourcery.com>
12598
12599 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
12600 script quote words in command output to log suitably for input to
12601 the shell.
12602
12603 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
12604 Maciej W. Rozycki <macro@imgtec.com>
12605
12606 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
12607 `.Lno_weak_fn' label.
12608 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
12609 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
12610
12611 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12612 Yury Norov <ynorov@caviumnetworks.com>
12613
12614 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
12615 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
12616 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12617 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
12618 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12619 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
12620 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12621 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12622 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12623 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
12624 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12625 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
12626 (sysdep_routines): Remove oldgetrlimit64.
12627 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
12628 (sysdep_routines): Likewise.
12629 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
12630 (sysdep_routines): Likewise.
12631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12632 [$(subdir) = resource] (sysdep_routines): Likewise.
12633 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
12634 [$(subdir) = resource] (sysdep_routines): Likewise.
12635 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
12636 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
12637 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
12638 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
12639 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
12640 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12641 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
12642 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
12643 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
12644 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
12645 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
12646 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
12647 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
12648 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
12649 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
12650 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
12651 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
12652 setrlimit and getrlimit.
12653 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
12654 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12655 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
12656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
12658 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12659 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
12660 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12661 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12662 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
12663 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
12664 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
12665 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
12666 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
12667 (__old_getrlimit64): Add compatibility symbol.
12668 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
12669
12670 2016-11-17 Joseph Myers <joseph@codesourcery.com>
12671
12672 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
12673 newly built gmp, mpfr and mpc.
12674
12675 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
12676
12677 2016-11-16 Joseph Myers <joseph@codesourcery.com>
12678
12679 * conform/Makefile (linknamespace-libs): Rename to
12680 linknamespace-libs-thr.
12681 (linknamespace-libs-posix): New variable.
12682 (linknamespace-libs-xsi): Likewise.
12683 (linknamespace-libs-XPG3): Include libcrypt.a.
12684 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
12685 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
12686 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
12687 (linknamespace-libs-XOPEN2K): Likewise.
12688 (linknamespace-libs-XOPEN2K8): Likewise.
12689 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
12690
12691 [BZ #20829]
12692 * stdio-common/Versions (__snprintf): Add to version
12693 GLIBC_PRIVATE.
12694 * include/stdio.h (__snprintf): Use libc_hidden_proto.
12695 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
12696 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
12697 of snprintf.
12698 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12699
12700 2016-11-16 Zack Weinberg <zackw@panix.com>
12701
12702 * string/string.h: Remove obsolete comment stating that
12703 strcoll_l and strxfrm_l have not yet been standardized.
12704
12705 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12706
12707 * hurd/hurd.h (__hurd_fail_noerrno): New function.
12708 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
12709 __access_noerrno.
12710 * io/access.c (__access_noerrno): New function.
12711 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
12712 (hurd_fail_seterrno): Likewise.
12713 (access_common): Likewise.
12714 (__access_noerrno): Likewise.
12715 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
12716 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
12717 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
12718 macro.
12719
12720 2016-11-16 Joseph Myers <joseph@codesourcery.com>
12721
12722 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
12723 Only declare fpregs if [__SH_FPU_ANY__].
12724
12725 2016-11-15 Joseph Myers <joseph@codesourcery.com>
12726
12727 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
12728 Make code unconditional.
12729 [!(__SH4__ || __SH4A__)]: Remove conditional code.
12730
12731 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
12732
12733 * manual/sysinfo.texi (S_APPEND): Delete.
12734 (S_IMMUTABLE): Likewise.
12735
12736 2016-11-15 Denis Kaganovich <mahatma@eu.by>
12737 Magnus Granberg <zorry@gentoo.org>
12738 Mike Frysinger <vapier@gentoo.org>
12739
12740 [BZ #20662]
12741 * configure.ac (libc_cv_predef_stack_protector): Also check for
12742 __stack_chk_fail_local symbols.
12743 * configure: Regenerated.
12744
12745 2016-11-15 Florian Weimer <fweimer@redhat.com>
12746
12747 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
12748 (libc_hidden_def): Remove redefinition.
12749 (__sigsetjmp): Add hidden definition.
12750 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
12751 (libc_hidden_def): Remove redefinition.
12752 (__sigsetjmp): Add hidden definition.
12753
12754 2016-11-14 Joseph Myers <joseph@codesourcery.com>
12755
12756 * scripts/build-many-glibcs.py (os.path): Do not import.
12757 (Context): Inherit explicitly from object. Remove blank line
12758 between class and docstring.
12759 (Config): Likewise.
12760 (Glibc): Likewise.
12761 (Command): Likewise.
12762 (CommandList): Likewise.
12763 (Context.write_files): Store chmod mode in a variable.
12764
12765 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
12766 LIBC_SLIBDIR_RTLDDIR for tilegx32.
12767 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
12768
12769 2016-11-14 Zack Weinberg <zackw@panix.com>
12770
12771 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
12772 creating or re-creating it.
12773
12774 * string/bits/string2.h: Fix typo in comment.
12775
12776 2016-11-14 Zack Weinberg <zackw@panix.com>
12777
12778 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
12779 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
12780 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
12781 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
12782 of redirected function names.
12783
12784 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
12785 as well. Document that MESSAGE must be a single string literal.
12786
12787 2016-11-11 Joseph Myers <joseph@codesourcery.com>
12788
12789 * scripts/build-many-glibcs.py: New file.
12790
12791 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
12792 (do_test): Disable -Wmaybe-uninitialized around uses of
12793 except_mask.
12794
12795 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
12796
12797 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
12798
12799 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
12800 (atomic_store_release): Provide tilepro-specific implementations.
12801
12802 2016-11-10 Joseph Myers <joseph@codesourcery.com>
12803
12804 * math/math.h (__MATH_TG): New macro.
12805 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
12806 [__USE_ISOC99] (signbit): Likewise.
12807 [__USE_ISOC99] (isfinite): Likewise.
12808 [__USE_ISOC99] (isnan): Likewise.
12809 [__USE_ISOC99] (isinf): Likewise.
12810 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
12811 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
12812 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
12813 __MATH_TG and __MATH_EVAL_FMT2.
12814 * sysdeps/generic/math_private.h (fabs_tg): Define using
12815 __MATH_TG.
12816 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
12817 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
12818 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
12819 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
12820 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
12821 macro.
12822 (__iscanonical): Likewise.
12823 (iscanonical): Define using __MATH_TG.
12824
12825 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12826
12827 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
12828 guards.
12829
12830 * sysdeps/unix/sysv/linux/access.c: New file.
12831 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
12832
12833 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
12834
12835 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
12836 and __WORDSIZE32_PTRDIFF_LONG.
12837
12838 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
12839
12840 * sysdeps/aarch64/libm-test-ulps: Regenerated.
12841
12842 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12843
12844 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
12845 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
12846 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
12847 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
12848 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
12849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
12850 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
12851 * sysdeps/unix/sysv/linux/truncate.c: New file.
12852 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
12853 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
12854 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
12855 Remove.
12856 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
12857 Likewise.
12858
12859 * posix/tst-truncate-common.c: New file.
12860 * posix/tst-truncate.c: Use tst-truncate-common.c.
12861 * posix/tst-truncate64.c: Likewise and add LFS tests.
12862 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
12863 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
12864 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
12865 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
12866 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
12867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
12868 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
12869 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
12870 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
12871 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
12872 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
12873 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
12874 Remove.
12875 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
12876 Likewise.
12877
12878 2016-11-08 Joseph Myers <joseph@codesourcery.com>
12879
12880 [BZ #20790]
12881 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
12882 to MAXLINESIZE.
12883 * sunrpc/bug20790.x: New file.
12884 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
12885 variable.
12886 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
12887 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
12888
12889 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
12890
12891 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
12892
12893 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
12894 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
12895 calloc, realloc, free, memalign and __libc_memalign rather than
12896 making them optional.
12897
12898 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
12899 for libc.so.
12900
12901 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12902
12903 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
12904 ptw-lseek64.
12905 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
12906 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
12907 Likewise.
12908 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
12909 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
12910 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
12911 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
12912 * sysdeps/unix/sysv/linux/lseek.c: New file.
12913 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
12914 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
12915 __libc_lseek64 from auto-generation.
12916 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12917 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
12918
12919 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12920
12921 * nptl/tst-basic1.c (tf, do_test): Use write_message.
12922 * nptl/tst-cleanup1.c (do_test): Likewise.
12923 * nptl/tst-cleanup3.c (do_test): Likewise.
12924 * nptl/tst-key1.c (do_test): Likewise.
12925 * nptl/tst-key2.c (tf, do_test): Likewise.
12926 * nptl/tst-key3.c (tf, do_test): Likewise.
12927 * nptl/tst-stdio1.c (do_test): Likewise.
12928 * nptl/tst-stdio2.c (do_test): Likewise.
12929
12930 * nptl/tst-kill3.c (handler): Use write_message in place of write.
12931 * nptl/tst-kill6.c (handler): Likewise.
12932 * nptl/tst-tls2.c (CB): Likewise.
12933 * nptl/tst-tls3.c (CB): Likewise.
12934
12935 2016-11-07 Joseph Myers <joseph@codesourcery.com>
12936
12937 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
12938
12939 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
12940 Steve Ellcey <sellcey@caviumnetworks.com>
12941
12942 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
12943 __ASSUME_ST_INO_64_BIT as 0
12944 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
12945 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
12946 over the code where __ASSUME_ST_INO_64_BIT is used.
12947 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
12948 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
12949 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12950
12951 2016-11-07 Florian Weimer <fweimer@redhat.com>
12952
12953 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12954 Document ABI exposure of the __kind offset.
12955 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12956 Mention reason for the __kind offset exposure in the ABI.
12957 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12958 Likewise.
12959 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12960 Likewise.
12961 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12962 Likewise.
12963 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
12964 (struct __pthread_mutex_s): Likewise.
12965 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12966 Likewise.
12967 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12968 Likewise.
12969 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12970 Likewise.
12971 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12972 Likewise.
12973 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12974 Likewise.
12975 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12976 Likewise.
12977 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
12978 (struct __pthread_mutex_s): Likewise.
12979 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12980 (struct __pthread_mutex_s): Likewise.
12981 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
12982 Likewise.
12983
12984 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
12985
12986 * test-skeleton.c: Document do_test usage.
12987
12988 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
12989
12990 * iconv/gconv.h (__gconv_info): Define __data element using a
12991 zero-length array.
12992
12993 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
12994
12995 * math/test-tgmath2.c: Split up test function.
12996
12997 2016-11-04 Joseph Myers <joseph@codesourcery.com>
12998
12999 * Rules (tests-expected): New variable, depending on
13000 $(run-built-tests).
13001 (tests): Pass $(tests-expected) to merge-test-results.sh, not
13002 $(tests).
13003
13004 * Rules [$(run-built-tests) = no] (tests): Do not depend on
13005 $(tests-unsupported).
13006
13007 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13008
13009 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
13010 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
13011
13012 2016-11-04 Joseph Myers <joseph@codesourcery.com>
13013
13014 [BZ #20768]
13015 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
13016 __fegetenv instead of fegetenv.
13017
13018 [BZ #14139]
13019 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
13020 (find_files): Obtain platform name from libm-test-ulps-name and
13021 store in %pplatforms.
13022 (canonicalize_platform): Remove.
13023 (print_platforms): Use $pplatforms directly.
13024 (by_platforms): Do not allow for platforms missing from
13025 %pplatforms.
13026 * sysdeps/aarch64/libm-test-ulps-name: New file.
13027 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
13028 * sysdeps/arm/libm-test-ulps-name: Likewise.
13029 * sysdeps/generic/libm-test-ulps-name: Likewise.
13030 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
13031 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
13032 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
13033 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
13034 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
13035 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
13036 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
13037 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
13038 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
13039 * sysdeps/nios2/libm-test-ulps-name: Likewise.
13040 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
13041 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
13042 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
13043 * sysdeps/sh/libm-test-ulps-name: Likewise.
13044 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
13045 * sysdeps/tile/libm-test-ulps-name: Likewise.
13046 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
13047
13048 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
13049
13050 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
13051 (test-xfail-check-execstack): New variable.
13052
13053 * sysdeps/mips/localplt.data: New file.
13054
13055 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
13056 Steve Ellcey <sellcey@caviumnetworks.com>
13057
13058 * bits/wordsize.h: Add documentation.
13059 * sysdeps/aarch64/bits/wordsize.h : New file
13060 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
13061 definitions.
13062 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
13063 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
13064 with #if instead of #ifdef.
13065 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
13066 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
13067 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
13068 Add or change defines.
13069 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
13070 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13071 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
13072 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
13073 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13074 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13075 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
13076 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
13077 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
13078 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13079 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
13080 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
13081 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
13082 * sysdeps/x86/bits/wordsize.h: Likewise.
13083
13084 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
13085 Kevin Petit <kevin.petit@arm.com>
13086
13087 * sysdeps/aarch64/memchr.S (__memchr): New file.
13088
13089 2016-11-04 Joseph Myers <joseph@codesourcery.com>
13090
13091 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
13092
13093 2016-11-03 Joseph Myers <joseph@codesourcery.com>
13094
13095 [BZ #19398]
13096 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
13097 $(linknamespace-symlists-tests).
13098
13099 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
13100
13101 * time/tst-strptime2.c: Ignore -Wformat-length warning.
13102
13103 2016-11-02 Florian Weimer <fweimer@redhat.com>
13104 Carlos O'Donell <carlos@redhat.com>
13105
13106 [Bug #20729]
13107 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
13108 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
13109 for -Os related change.
13110
13111 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
13112
13113 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
13114
13115 2016-11-01 Joseph Myers <joseph@codesourcery.com>
13116
13117 [BZ #19673]
13118 * manual/math.texi (Exponents and Logarithms): Correct description
13119 of clog10.
13120
13121 2016-10-31 Carlos O'Donell <carlos@redhat.com>
13122
13123 [Bz #20729]
13124 * locale/weight.h: Include libc-internal.h.
13125 * locale/weightwc.h: Likewise.
13126 * nptl/nptl_dbP.h: Likewise.
13127
13128 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
13129
13130 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
13131 when it is MACH_PORT_NULL.
13132
13133 2016-10-31 Andreas Schwab <schwab@suse.de>
13134
13135 [BZ #20707]
13136 * posix/glob.c (glob): Initialize pglob before checking for
13137 GLOB_BRACE. Don't call glob recursively if pattern contains no
13138 valid brace expression despite GLOB_BRACE.
13139 * posix/globtest.sh: Test it.
13140
13141 2016-10-28 Carlos O'Donell <carlos@redhat.com>
13142
13143 [BZ #20729]
13144 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
13145 Define.
13146 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
13147 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
13148 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
13149 for seq2.back_us and seq1.back_us only for -Os compiles.
13150 * locale/weightwc.h (findix): Likewise.
13151 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
13152 DB_GET_FIELD_ADDRESS only for -Os compiles.
13153 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
13154 for slen only for -Os compiles.
13155 * string/strcoll_l.c (get_next_seq): Ignore
13156 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
13157 for -Os compiles.
13158
13159 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
13160 * include/crypt.h: New file.
13161
13162 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13163
13164 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
13165 from test-skeleton.c.
13166 (statclass): Replace calls to write with calls to write_message.
13167
13168 2016-10-28 Joseph Myers <joseph@codesourcery.com>
13169
13170 * math/math.h
13171 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
13172 New macro.
13173 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
13174 Likewise.
13175 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
13176 Likewise.
13177 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
13178 SNANL.
13179 * math/test-double.h (snan_value_MACRO): New macro.
13180 * math/test-float.h (snan_value_MACRO): Likewise.
13181 * math/test-ldouble.h (snan_value_MACRO): Likewise.
13182 * math/libm-test.inc (issignaling_test_data): Add tests of
13183 snan_value_MACRO.
13184
13185 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13186
13187 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
13188 behavior when eliding a lock not held by the current thread.
13189 * sysdeps/powerpc/nptl/elide.h: Likewise.
13190
13191 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13192
13193 [BZ #20728]
13194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
13195 branch to _exit() by a function call.
13196
13197 2016-10-28 Florian Weimer <fweimer@redhat.com>
13198
13199 * malloc/malloc.c: Update chunk layout comments.
13200 (chunk_main_arena): Update comment.
13201
13202 2016-10-28 Florian Weimer <fweimer@redhat.com>
13203
13204 * crypt/sha256.c, crypt/sha256-block.c,
13205 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
13206 sha256_process_block to __sha256_process_block.
13207 * crypt/sha512.c, crypt/sha512-block.c,
13208 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
13209 sha512_process_block to __sha512_process_block.
13210
13211 2016-10-28 Carlos O'Donell <carlos@redhat.com>
13212
13213 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
13214
13215 * math/test-nan-overflow.c: Include stdlib.h for malloc.
13216
13217 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
13218
13219 [BZ #20019]
13220 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
13221 definition in unrelocated shared library.
13222 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13223
13224 2016-10-28 Florian Weimer <fweimer@redhat.com>
13225
13226 [BZ #20729]
13227 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
13228 * sysdeps/unix/sysv/linux/i386/Makefile
13229 (uses-6-syscall-arguments): Define.
13230 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
13231 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
13232 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
13233 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
13234 Likewise.
13235 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
13236 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
13237 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
13238 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
13239 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
13240 (CFLAGS-fallocate64.os): Likewise.
13241 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
13242 (CFLAGS-pthread_rwlock_timedrdlock.os)
13243 (CFLAGS-pthread_rwlock_timedwrlock.o)
13244 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
13245 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
13246 (CFLAGS-sem_timedwait.os): Likewise.
13247
13248 2016-10-28 Florian Weimer <fweimer@redhat.com>
13249
13250 * elf/tst-linkall-static.c: New file.
13251 * elf/Makefile (tests-static): Add tst-linkall-static.
13252 (tst-linkall-static): Link against static libraries.
13253
13254 2016-10-27 Florian Weimer <fweimer@redhat.com>
13255
13256 * malloc/malloc.c (sysmalloc): Initialize previous size field of
13257 mmaped chunks.
13258
13259 2016-10-28 Florian Weimer <fweimer@redhat.com>
13260
13261 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
13262 members to mchunk_prev_size, mchunk_size.
13263 (chunk_main_arena): Reverse sense and rename from
13264 chunk_non_main_arena.
13265 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
13266 mchunk_size instead of size.
13267 (set_non_main_arena): Define.
13268 (chunksize): Use chunksize_nomask instead of direct member access.
13269 (chunksize_nomask): Define.
13270 (next_chunk): Use chunksize instead of direct member access.
13271 (prev_size, set_prev_size): Define.
13272 (prev_chunk): Use prev_size instead of direct member access.
13273 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
13274 (inuse_bit_at_offset, set_inuse_bit_at_offset)
13275 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
13276 (mchunk_prev_size, mchunk_size): Poison tokens.
13277 (unlink): Use chunksize_nomask, prev_size accessors.
13278 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
13279 (do_check_free_chunk): Use prev_size accessor.
13280 (sysmalloc): Use set_prev_size, set_head accessors.
13281 (munmap_chunk, mremap_chunk): Use prev_size accessor.
13282 (__libc_free): Use chunksize_nomask accessor.
13283 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
13284 chunk_main_arena accessors.
13285 (_int_free): Use chunksize_nomask, prev_size accessors.
13286 (malloc_consolidate): Use chunksize, prev_size accessors.
13287 (_int_realloc): Use chunksize_nomask accessor.
13288 (_int_memalign): Use set_prev_size accessor.
13289 (__malloc_info): Use chunksize_nomask accessor.
13290 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
13291 accessors.
13292 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
13293 (heap_trim): Use chunksize_nomask, prev_size accessors.
13294
13295 2016-10-28 Joseph Myers <joseph@codesourcery.com>
13296
13297 [BZ #19380]
13298 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
13299 for inexact results.
13300 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
13301 of inexact result where mpfr_subnormalize is the only inexact
13302 step.
13303 * stdlib/tst-strtod-round-data.h: Regenerated.
13304 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
13305 Define to 0.
13306 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
13307
13308 2016-10-27 David S. Miller <davem@davemloft.net>
13309
13310 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
13311
13312 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
13313
13314 * malloc/malloc.c (do_set_mallopt_check): New function.
13315 (do_set_mmap_threshold): Likewise.
13316 (do_set_mmaps_max): Likewise.
13317 (do_set_top_pad): Likewise.
13318 (do_set_perturb_byte): Likewise.
13319 (do_set_trim_threshold): Likewise.
13320 (do_set_arena_max): Likewise.
13321 (do_set_arena_test): Likewise.
13322 (__libc_mallopt): Use them.
13323
13324 2016-10-26 Joseph Myers <joseph@codesourcery.com>
13325
13326 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13327 (canonicalize): New declaration.
13328 * math/Versions (canonicalize): New libm symbol at version
13329 GLIBC_2.25.
13330 (canonicalizef): Likewise.
13331 (canonicalizel): Likewise.
13332 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
13333 * math/s_canonicalize_template.c: New file.
13334 * math/libm-test.inc: Update comment on functions tested and
13335 testing of NaN payloads.
13336 (TEST_NAN_PAYLOAD): New macro.
13337 (NO_TEST_INLINE): Update value.
13338 (XFAIL_TEST): Likewise.
13339 (ERRNO_UNCHANGED): Likewise.
13340 (ERRNO_EDOM): Likewise.
13341 (ERRNO_ERANGE): Likewise.
13342 (IGNORE_RESULT): Likewise.
13343 (NON_FINITE): Likewise.
13344 (TEST_SNAN): Likewise.
13345 (NO_TEST_MATHVEC): Likewise.
13346 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
13347 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
13348 (struct test_Ffp_b1_data): New type.
13349 (RUN_TEST_Ffp_b1): New macro.
13350 (RUN_TEST_LOOP_Ffp_b1): Likewise.
13351 (canonicalize_test_data): New array.
13352 (canonicalize_test): New function.
13353 (main): Call canonicalize_test.
13354 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
13355 canonicalizef and canonicalizel.
13356 * manual/libm-err-tab.pl: Update comment on interfaces without
13357 ulps tabulated.
13358 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
13359 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
13360 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13361 canonicalize.
13362 (CFLAGS-nldbl-canonicalize.c): New variable.
13363 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
13364 to ...
13365 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
13366 ... here.
13367 (do_test): Also test canonicalizel.
13368 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
13369 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
13370 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
13371 file.
13372 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
13373 Use libm_hidden_def.
13374 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
13375 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
13376 (do_test): Also test canonicalizel.
13377 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
13378 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
13379 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
13380 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
13381 libm_hidden_def.
13382 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
13383 macro.
13384 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
13385 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
13386 * sysdeps/nacl/libm.abilist: Update.
13387 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13388 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13389 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13390 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13391 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13392 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13393 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13394 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13395 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13396 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13397 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13398 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13400 Likewise.
13401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13402 Likewise.
13403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13404 Likewise.
13405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13406 Likewise.
13407 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13408 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13409 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13410 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13411 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13413 Likewise.
13414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13415 Likewise.
13416 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13417 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13418 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13419
13420 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
13421 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13422 getpayload.
13423 (CFLAGS-nldbl-getpayload.c): New variable.
13424
13425 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13426
13427 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
13428 integer from the format string.
13429
13430 2016-10-26 Florian Weimer <fweimer@redhat.com>
13431
13432 [BZ #19473]
13433 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
13434 declarations.
13435 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
13436 weak aliases.
13437 * malloc/hooks.c (__malloc_get_state): Remove definition.
13438 (malloc_get_state): New stub implementation as
13439 compatibility symbol.
13440 (malloc_set_state): Rename from __malloc_set_state. Turn into
13441 compat symbol.
13442 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
13443 malloc_set_state.
13444 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
13445
13446 2016-10-26 Florian Weimer <fweimer@redhat.com>
13447
13448 * iconvdata/iso646.c (enum variant): Drop illegal_var.
13449 (names): Turn into concatenation of strings.
13450 (gconv_init): Adapt iteration over names.
13451
13452 2016-10-26 Florian Weimer <fweimer@redhat.com>
13453
13454 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
13455 make const.
13456 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
13457 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
13458 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
13459 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
13460 character in sbconv.
13461 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
13462 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
13463 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
13464
13465 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
13466
13467 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
13468
13469 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
13470 (M_TRIM_THRESHOLD): Likewise.
13471
13472 * manual/memory.texi (M_ARENA_TEST): Add documentation.
13473 (M_ARENA_MAX): Likewise.
13474 * malloc/malloc.c: Remove obsolete comment.
13475
13476 * manual/memory.texi: Add environment variable alternatives to
13477 setting mallopt parameters.
13478
13479 2016-10-26 Carlos O'Donell <carlos@redhat.com>
13480
13481 * include/atomic.h
13482 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
13483 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
13484
13485 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13486
13487 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
13488 * stdlib/tst-strfrom.h: New file.
13489 * stdlib/tst-strfrom.c: New file.
13490 * stdlib/tst-strfrom-locale.c: New file.
13491
13492 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
13493 * stdlib/bug-strtod2.c: Likewise.
13494 * stdlib/tst-strtod-round-skeleton.c: Likewise.
13495 * stdlib/tst-strtod6.c: Likewise.
13496 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
13497
13498 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13499
13500 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
13501 * manual/arith.texi: Document strfromd, strfromf, strfroml.
13502 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
13503 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
13504 * stdlib/stdlib.h (strfromd): New declaration.
13505 (strfromf): Likewise.
13506 (strfroml): Likewise.
13507 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
13508 strfrom.
13509 * stdlib/strfromd.c: New file.
13510 * stdlib/strfromf.c: Likewise.
13511 * stdlib/strfroml.c: Likewise.
13512 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
13513 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
13514 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
13515 * sysdeps/arm/nacl/libc.abilist: Update.
13516 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13517 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13518 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13519 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13520 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13521 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13522 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13523 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13524 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13525 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13526 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13527 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13528 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13529 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
13532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13534 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13535 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13536 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13537 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13538 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13541 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13542 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13543 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13544
13545 2016-10-25 Joseph Myers <joseph@codesourcery.com>
13546
13547 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
13548 instead of cmpli.
13549 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
13550 instead of cmpli.
13551
13552 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
13553
13554 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
13555 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
13556 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
13557 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
13558 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
13559 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
13560
13561 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13562
13563 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
13564 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13565 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
13566 SYSCALL_LL64_PRW.
13567 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13568 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
13569 __ASSUME_PRW_DUMMY_ARG.
13570 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
13571 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13572 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
13573 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13574 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
13575 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
13576
13577 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
13578
13579 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
13580
13581 2016-10-22 Florian Weimer <fweimer@redhat.com>
13582
13583 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
13584 "C++", to override a potential extern "C" directive around the
13585 header file inclusion.
13586
13587 2016-10-21 Joseph Myers <joseph@codesourcery.com>
13588
13589 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
13590
13591 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13592
13593 * sysdeps/powerpc/fpu/fenv_private.h:
13594 (_FPU_MASK_ALL): Rename to...
13595 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
13596 XE FPSCR bits.
13597
13598 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
13599
13600 (_FPU_MASK_ROUNDING): Rename to...
13601 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
13602 NI bits.
13603
13604 (_FPU_MASK_EXCEPT_ROUND): Rename to...
13605 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
13606 bits and rounding bits.
13607
13608 (__libc_feholdbits_ppc): New inline function to mask, set,
13609 and pontentially clear FSPCR bits, and change MSR[FE] bits.
13610 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
13611 (libc_feholdexcept_setround_ppc): Likewise.
13612
13613 (__libc_femergeenv_ppc): New function to dynamically mask both
13614 old and new FP environments and merge.
13615 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
13616 (libc_feresetround_ppc): Likewise.
13617 (libc_feupdateenv_test_ppc): Likewise.
13618 (libc_feupdateenv_ppc): Likewise.
13619
13620 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
13621 of ISA RN bits, and update macro names.
13622 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
13623 effectively the same as the previously mentioned function.
13624
13625 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
13626 usage with fe_resetround_ppc.
13627
13628 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
13629 to be used.
13630 (libc_feholdexcept_setround_ctxf): Likewise.
13631 (libc_feholdexcept_setround_ctxl): Likewise.
13632
13633 2016-10-21 Florian Weimer <fweimer@redhat.com>
13634
13635 [BZ #20715]
13636 * math/math.h [__cplusplus] (iszero): Define as function template.
13637 * math/Makefile [CXX] (tests): Add test-math-iszero.
13638 (CFLAGS-test-math-iszero.cc): Set.
13639 * math/test-math-iszero.cc: New file.
13640
13641 2016-10-20 Joseph Myers <joseph@codesourcery.com>
13642
13643 [BZ #20660]
13644 * sysdeps/arm/e_sqrt.c: New file.
13645 * sysdeps/arm/e_sqrtf.c: Likewise.
13646
13647 2016-10-19 Joseph Myers <joseph@codesourcery.com>
13648
13649 [BZ #20718]
13650 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
13651 not use floating-point comparisons to test sign.
13652 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
13653 Likewise.
13654
13655 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13656 (getpayload): New declaration.
13657 * math/Versions (getpayload): New libm symbol at version
13658 GLIBC_2.25.
13659 (getpayloadf): Likewise.
13660 (getpayloadl): Likewise.
13661 * math/Makefile (libm-calls): Add s_getpayloadF.
13662 * math/libm-test.inc: Include <nan-high-order-bit.h>.
13663 (struct test_f_f_data): Add comment.
13664 (RUN_TEST_fp_f): New macro.
13665 (RUN_TEST_LOOP_fp_f): Likewise.
13666 (getpayload_test_data): New array.
13667 (getpayload_test): New function.
13668 (main): Call getpayload_test.
13669 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
13670 descriptor.
13671 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
13672 getpayloadf and getpayloadl.
13673 * manual/libm-err-tab.pl: Update comment on interfaces without
13674 ulps tabulated.
13675 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
13676 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
13677 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
13678 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
13679 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
13680 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
13681 * sysdeps/nacl/libm.abilist: Update.
13682 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13683 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13684 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13685 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13686 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13687 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13688 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13689 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13690 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13691 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13692 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13693 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13695 Likewise.
13696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13697 Likewise.
13698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13699 Likewise.
13700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13701 Likewise.
13702 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13703 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13704 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13705 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13706 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13707 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13708 Likewise.
13709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13710 Likewise.
13711 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13712 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13713 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13714
13715 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13716
13717 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
13718 tst-fallocate{64}.
13719 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
13720 on syscall return.
13721
13722 2016-10-17 Carlos O'Donell <carlos@redhat.com>
13723
13724 [BZ #20689]
13725 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
13726 usable.
13727
13728 2016-10-17 Joseph Myers <joseph@codesourcery.com>
13729
13730 * sysdeps/generic/nan-high-order-bit.h: New file.
13731 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
13732 * sysdeps/mips/nan-high-order-bit.h: Likewise.
13733 * sysdeps/hppa/math_private.h: Remove file.
13734 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
13735 not define here.
13736 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
13737 <nan-high-order-bit.h>.
13738 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13739 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
13740 <nan-high-order-bit.h>.
13741 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13742 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
13743 <nan-high-order-bit.h>.
13744 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13745 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
13746 <nan-high-order-bit.h>.
13747 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13748 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
13749 <nan-high-order-bit.h>.
13750 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13751 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
13752 <nan-high-order-bit.h>.
13753 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13754 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
13755 <nan-high-order-bit.h>.
13756 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13757 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
13758 <nan-high-order-bit.h>.
13759 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13760 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
13761 <nan-high-order-bit.h>.
13762 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13763 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
13764 <nan-high-order-bit.h>.
13765 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13766 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
13767 <nan-high-order-bit.h>.
13768 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13769 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
13770 <nan-high-order-bit.h>.
13771 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13772 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
13773 <nan-high-order-bit.h>.
13774 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13775 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
13776 <nan-high-order-bit.h>.
13777 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13778 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
13779 <nan-high-order-bit.h>.
13780 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13781 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
13782 <nan-high-order-bit.h>.
13783 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13784 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
13785 <nan-high-order-bit.h>.
13786 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13787 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
13788 <nan-high-order-bit.h>.
13789 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13790
13791 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
13792
13793 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
13794
13795 2016-09-22 John David Anglin <dave.anglin@bell.net>
13796
13797 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
13798 abort-instr.h.
13799 (EFAULT): Remove conditional define.
13800 (ENOSYS): Likewise.
13801 (atomic_compare_and_exchange_val_acq): Use instruction nullification
13802 instead of conditional branch instructions.
13803
13804 2016-10-15 Joseph Myers <joseph@codesourcery.com>
13805
13806 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13807 (totalordermag): New declaration.
13808 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
13809 New macro.
13810 * math/Versions (totalordermag): New libm symbol at version
13811 GLIBC_2.25.
13812 (totalordermagf): Likewise.
13813 (totalordermagl): Likewise.
13814 * math/Makefile (libm-calls): Add s_totalordermagF.
13815 * math/libm-test.inc (totalordermag_test_data): New array.
13816 (totalordermag_test): New function.
13817 (main): Call totalordermag_test.
13818 * math/test-tgmath.c (NCALLS): Increase to 125.
13819 (F(compile_test)): Call totalordermag.
13820 (F(totalordermag)): New function.
13821 * manual/arith.texi (FP Comparison Functions): Document
13822 totalordermag, totalordermagf and totalordermagl.
13823 * manual/libm-err-tab.pl: Update comment on interfaces without
13824 ulps tabulated.
13825 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
13826 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
13827 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
13828 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
13829 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
13830 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
13831 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
13832 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13833 totalordermag.
13834 (CFLAGS-nldbl-totalordermag.c): New variable.
13835 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
13836 (do_test): Also test totalordermagl.
13837 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
13838 Likewise.
13839 * sysdeps/nacl/libm.abilist: Update.
13840 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13841 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13842 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13843 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13844 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13845 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13846 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13847 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13848 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13849 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13850 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13851 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13853 Likewise.
13854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13855 Likewise.
13856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13857 Likewise.
13858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13859 Likewise.
13860 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13861 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13862 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13863 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13864 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13866 Likewise.
13867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13868 Likewise.
13869 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13870 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13871 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13872
13873 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
13874
13875 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
13876 boolean.
13877
13878 2016-10-13 Joseph Myers <joseph@codesourcery.com>
13879
13880 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
13881 raising FE_INVALID with feraisexcept in case where part of
13882 argument is infinite, subtract that part of argument from itself.
13883 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
13884 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
13885 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
13886
13887 2016-10-12 Joseph Myers <joseph@codesourcery.com>
13888
13889 * math/libm-test.inc (totalorder_test_data): Add more tests.
13890
13891 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
13892
13893 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
13894 Undefine weak_alias and add a comment why mips64 require
13895 versioning.
13896
13897 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
13898
13899 [BZ #20647]
13900 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
13901 maximum CPUID level is less than 2.
13902
13903 2016-10-12 Joseph Myers <joseph@codesourcery.com>
13904
13905 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13906 (totalorder): New declaration.
13907 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
13908 New macro.
13909 * math/Versions (totalorder): New libm symbol at version
13910 GLIBC_2.25.
13911 (totalorderf): Likewise.
13912 (totalorderl): Likewise.
13913 * math/Makefile (libm-calls): Add s_totalorderF.
13914 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
13915 string.
13916 * math/libm-test.inc (PAYLOAD_DIG): New macro.
13917 (qnan_value_pl): Likewise.
13918 (snan_value_pl): Likewise.
13919 (qnan_value): Define using qnan_value_pl.
13920 (snan_value): Define using snan_value_pl.
13921 (struct test_ff_i_data): Add comment about which tests use this
13922 structure.
13923 (RUN_TEST_ff_b): New macro.
13924 (RUN_TEST_LOOP_ff_b): Likewise.
13925 (totalorder_test_data): New array.
13926 (totalorder_test): New function.
13927 (main): Call totalorder_test.
13928 * math/test-tgmath.c (NCALLS): Increase to 122.
13929 (F(compile_test)): Call totalorder.
13930 (F(totalorder)): New function.
13931 * manual/arith.texi (FP Comparison Functions): Document
13932 totalorder, totalorderf and totalorderl.
13933 * manual/libm-err-tab.pl: Update comment on interfaces without
13934 ulps tabulated.
13935 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
13936 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
13937 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
13938 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
13939 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
13940 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
13941 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
13942 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13943 totalorder.
13944 (CFLAGS-nldbl-totalorder.c): New variable.
13945 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
13946 file.
13947 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
13948 Add test-totalorderl-ldbl-128ibm.
13949 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
13950 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
13951 test-totalorderl-ldbl-96.
13952 * sysdeps/nacl/libm.abilist: Update.
13953 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13954 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13955 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13956 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13957 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13958 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13959 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13960 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13961 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13962 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13963 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13964 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13966 Likewise.
13967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13968 Likewise.
13969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13970 Likewise.
13971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13972 Likewise.
13973 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13974 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13975 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13976 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13977 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13979 Likewise.
13980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13981 Likewise.
13982 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13983 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13984 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13985
13986 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13987
13988 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
13989 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
13990 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
13991 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
13992 remove ENOSYS implementation.
13993 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
13994 Consolidate all Linux implementations.
13995
13996 2016-10-11 Florian Weimer <fweimer@redhat.com>
13997
13998 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
13999 * resolv/herror.c (herror): Cast away const-ness.
14000 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
14001 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
14002
14003 2016-10-11 Joseph Myers <joseph@codesourcery.com>
14004
14005 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
14006 instead of M_NAN + M_NAN.
14007 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
14008
14009 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14010
14011 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
14012 unused variable 'p'.
14013
14014 2016-10-09 Alan Modra <amodra@gmail.com>
14015 Andreas Schwab <schwab@linux-m68k.org>
14016
14017 [BZ #20554]
14018 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
14019 [PIC && !SHARED]: Set up PIC register for PLT call.
14020
14021 2016-10-07 Joseph Myers <joseph@codesourcery.com>
14022
14023 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
14024 conditional on value of [__FLT_EVAL_METHOD__].
14025 * math/test-iseqsig-excess-precision.c: New file.
14026 * math/Makefile (tests): Add test-iseqsig-excess-precision.
14027
14028 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14029
14030 * math/s_iseqsig_template.c: Include math-private.h.
14031
14032 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
14033 * posix/tst-posix_fadvise.c: New file.
14034 * posix/tst-posix_fadvise64.c: Likewise.
14035 * posix/tst-posix_fadvise-common.c: Likewise.
14036 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14037 (__ASSUME_FADVISE64_64_6ARG): Define.
14038 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14039 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
14040 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14041 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
14042 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
14043 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
14044 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
14045 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
14046 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
14047 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
14048 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
14049 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
14050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
14051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
14052 Likewise.
14053 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
14054 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
14055 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
14056 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
14057 Alias to __posix_fadvise64_l32.
14058 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
14059 Add compat definition to posix_fadvise64.
14060 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
14061 Add versioned definition to posix_fadvise64.
14062 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
14063 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
14064 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
14065 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
14066 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
14067
14068 * io/Makefile (tests): Add tst-posix_fallocate and
14069 tst-posix_fallocate64.
14070 * io/tst-posix_fallocate-common.c: New file.
14071 * io/tst-posix_fallocate.c: Likewise.
14072 * io/tst-posix_fallocate64.c: Likewise.
14073 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
14074 file.
14075 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
14076 Likewise.
14077 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
14078 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
14079 Likewise.
14080 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
14081 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
14082 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
14083 SYSCALL_LL to pass both offset and len arguments.
14084 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
14085 Likewise.
14086 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
14087 __libc_pwrite64 alias used by posix_fallocate64.
14088
14089 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
14090 tst-fallocate64.
14091 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
14092 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
14093 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
14094 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
14095 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
14096 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
14097 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
14098 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14099 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
14100 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
14101 macro on offset argument.
14102 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
14103 SYSCALL_LL64 on offset argument.
14104
14105 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
14106 tst-fallocate64.
14107 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
14108 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
14109 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
14110 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
14111 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
14112 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
14113 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
14114 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14115 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
14116 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
14117 macro on offset argument.
14118 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
14119 SYSCALL_LL64 on offset argument.
14120 * test-skeleton.c (FAIL_RET): Add macro.
14121 (FAIL_EXIT): Likewise.
14122 (FAIL_EXIT1): Likewise.
14123 (_FAIL): Likewise.
14124
14125 2016-10-07 Florian Weimer <fweimer@redhat.com>
14126
14127 [BZ #20629]
14128 resolv: Remove RES_USEBSTRING and its implementation.
14129 * resolv/resolv.h (RES_USEBSTRING): Remove.
14130 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
14131 (digitvalue, encode_bitstring, decode_bitstring): Remove.
14132 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
14133 (labellen): Remove extended label types support.
14134 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
14135 * resolv/res_init.c (res_setoptions): Likewise.
14136 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
14137
14138 2016-10-07 Florian Weimer <fweimer@redhat.com>
14139
14140 resolv: Remove RES_NOIP6DOTINT and its implementation.
14141 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
14142 (RES_NOIP6DOTINT): Remove.
14143 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
14144 handling.
14145 * resolv/res_debug.c (p_option): Likewise.
14146 * resolv/res_init.c (res_setoptions): Likewise.
14147 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
14148
14149 2016-10-07 Florian Weimer <fweimer@redhat.com>
14150
14151 resolv: Deprecate unimplemented flags.
14152 * misc/sys/cdefs.h (__glibc_macro_warning1)
14153 (__glibc_macro_warning): Define.
14154 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
14155 (RES_KEEPTSIG): Mark as deprecated.
14156 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
14157 RES_NOCHECKNAME, RES_KEEPTSIG.
14158 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
14159
14160 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
14161
14162 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
14163 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
14164 Use strong_alias to create symbols for glibc verison 2.19.
14165
14166 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
14167
14168 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
14169
14170 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
14171
14172 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
14173
14174 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
14175
14176 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
14177
14178 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
14179
14180 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14181 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
14182 in header for using it as type for ifunc function because __GI_* symbols
14183 for ppc32 do not target the ifunc symbols.
14184 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14185
14186 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
14187
14188 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
14189 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
14190 libc_ifunc_hidden_def.
14191 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
14192 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
14193 Redirect ifunced function in header for using it as type of ifunc'ed
14194 function. Redefine libc_hidden_def to use fallback non ifunc'ed
14195 function for __GI_* symbol.
14196 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
14197 * include/libc-symbols.h
14198 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
14199
14200 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
14201
14202 [BZ #20478]
14203 * sysdeps/s390/multiarch/ifunc-resolve.h
14204 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
14205 to create ifunc symbols.
14206 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
14207 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
14208 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
14209 for using it as type for ifunc function.
14210 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
14211 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
14212 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
14213 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
14214 * sysdeps/s390/multiarch/strcat.c: Likewise.
14215 * sysdeps/s390/multiarch/strchr.c: Likewise.
14216 * sysdeps/s390/multiarch/strcmp.c: Likewise.
14217 * sysdeps/s390/multiarch/strcpy.c: Likewise.
14218 * sysdeps/s390/multiarch/strcspn.c: Likewise.
14219 * sysdeps/s390/multiarch/strlen.c: Likewise.
14220 * sysdeps/s390/multiarch/strncmp.c: Likewise.
14221 * sysdeps/s390/multiarch/strncpy.c: Likewise.
14222 * sysdeps/s390/multiarch/strnlen.c: Likewise.
14223 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
14224 * sysdeps/s390/multiarch/strrchr.c: Likewise.
14225 * sysdeps/s390/multiarch/strspn.c: Likewise.
14226 * sysdeps/s390/multiarch/wcschr.c: Likewise.
14227 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
14228 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
14229 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
14230 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
14231 * sysdeps/s390/multiarch/wmemset.c: Likewise.
14232 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
14233 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
14234 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
14235 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
14236 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
14237 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
14238
14239 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
14240
14241 * include/libc-symbols.h (__ifunc_resolver):
14242 New macro is used by __ifunc* macros.
14243 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
14244 depending on HAVE_GCC_IFUNC.
14245 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
14246 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
14247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
14248 Redirect ifunced function in header for using as type for ifunc function.
14249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
14250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
14251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
14252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
14253 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
14254 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
14255 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
14256 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
14257 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
14258 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
14259 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
14260 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
14261 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
14262 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
14263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
14264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
14265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
14266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
14267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
14268 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
14269 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
14270 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
14271 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
14272 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
14273 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
14274 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
14275 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
14276 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
14277 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
14278 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
14279 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
14280 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
14281 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
14282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
14283 Add libc_hidden_def() and use libc_ifunc_hidden() macro
14284 instead of libc_ifunc() macro.
14285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
14286 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
14287
14288 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
14289
14290 * config.h.in (HAVE_GCC_IFUNC): New undef.
14291 * configure.ac: Add check if gcc supports attribute ifunc feature.
14292 * configure: Regenerated.
14293 * manual/install.texi: Add recommendation for gcc with
14294 indirect-function support.
14295 * INSTALL: Regenerated.
14296
14297 2016-10-06 Joseph Myers <joseph@codesourcery.com>
14298
14299 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
14300 macro.
14301 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14302 (__iseqsig): New declaration.
14303 * math/s_iseqsig_template.c: New file.
14304 * math/Versions (__iseqsigf): New libm symbol at version
14305 GLIBC_2.25.
14306 (__iseqsig): Likewise.
14307 (__iseqsigl): Likewise.
14308 * math/libm-test.inc (iseqsig_test_data): New array.
14309 (iseqsig_test): New function.
14310 (main): Call iseqsig_test.
14311 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
14312 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
14313 * manual/libm-err-tab.pl: Update comment on interfaces without
14314 ulps tabulated.
14315 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
14316 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
14317 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
14318 * sysdeps/nacl/libm.abilist: Update.
14319 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14320 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14321 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14322 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14323 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14324 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14325 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14326 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14327 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14328 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14329 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14330 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14332 Likewise.
14333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14334 Likewise.
14335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14336 Likewise.
14337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14338 Likewise.
14339 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14340 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14341 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14342 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14343 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14345 Likewise.
14346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14347 Likewise.
14348 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14349 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14350 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14351
14352 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
14353
14354 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
14355 do_sincos_2, sloww, sloww1): Update comments.
14356
14357 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
14358 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
14359
14360 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
14361 K boolean and rename it.
14362 (__sin): Adjust.
14363 (__cos): Adjust.
14364
14365 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
14366 Siddhesh Poyarekar <siddhesh@sourceware.org>
14367
14368 * manual/nss.texi: Fix typos in the manual.
14369
14370 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
14371
14372 * manual/contrib.texi: Fix typos in the manual.
14373
14374 * manual/maint.texi: Fix typos in the manual.
14375
14376 * manual/install.texi: Fix typos in the manual.
14377 * INSTALL: Regenerated.
14378
14379 * manual/lang.texi: Fix typos in the manual.
14380
14381 * manual/probes.texi: Fix typos in the manual.
14382
14383 * manual/threads.texi: Fix typos in the manual.
14384
14385 * manual/debug.texi: Fix typos in the manual.
14386
14387 * manual/crypt.texi: Fix typos in the manual.
14388
14389 * manual/conf.texi: Fix typos in the manual.
14390
14391 * manual/sysinfo.texi: Fix typos in the manual.
14392
14393 * manual/users.texi: Fix typos in the manual.
14394
14395 * manual/job.texi: Fix typos in the manual.
14396
14397 * manual/process.texi: Fix typos in the manual.
14398
14399 * manual/argp.texi: Fix typos in the manual.
14400 * manual/getopt.texi: Likewise.
14401 * manual/startup.texi: Likewise.
14402
14403 * manual/signal.texi: Fix typos in the manual.
14404
14405 * manual/setjmp.texi: Fix typos in the manual.
14406
14407 * manual/resource.texi: Fix typos in the manual.
14408
14409 * manual/time.texi: Fix typos in the manual.
14410
14411 * manual/arith.texi: Fix typos in the manual.
14412
14413 * manual/math.texi: Fix typos in the manual.
14414
14415 * manual/syslog.texi: Fix typos in the manual.
14416
14417 * manual/terminal.texi: Fix typos in the manual.
14418
14419 * manual/socket.texi: Fix typos in the manual.
14420
14421 * manual/filesys.texi: Fix typos in the manual.
14422
14423 * manual/llio.texi: Fix typos in the manual.
14424
14425 * manual/stdio.text: Fix typos in the manual.
14426
14427 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
14428
14429 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
14430 instead of K1.
14431
14432 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
14433 SHIFT_QUADRANT and make it bool.
14434 (do_sincos_2): Likewise.
14435 (sloww): Likewise.
14436 (sloww1): Likewise.
14437 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
14438 (__cos): Likewise.
14439
14440 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14441
14442 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14443
14444 2016-10-04 Joseph Myers <joseph@codesourcery.com>
14445
14446 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
14447 Define to __WORDSIZE, not conditional on [LONG_MAX ==
14448 0x7fffffffL].
14449 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
14450
14451 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14452
14453 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
14454 inline by __inline__.
14455 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
14456 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
14457 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
14458 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
14459 sigset_t from signal.h.
14460 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
14461 which is already required.
14462
14463 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
14464
14465 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14466
14467 2016-10-03 Joseph Myers <joseph@codesourcery.com>
14468
14469 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
14470 (struct tcp_repair_window): New type.
14471
14472 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14473
14474 * libio/tst-memstream3.c: Include string.h.
14475
14476 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14477
14478 [BZ #18241]
14479 [BZ #20181]
14480 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
14481 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
14482 write position is at the end the buffer.
14483 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
14484 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
14485 (_IO_str_seekoff): Set correct offset from negative displacement and
14486 set EINVAL for invalid ones.
14487 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
14488 buffer length.
14489 (_IO_wstr_switch_to_get_mode): New function.
14490 (_IO_wstr_seekoff): Set correct offset from negative displacement and
14491 set EINVAL for invalid ones.
14492 * libio/tst-memstream3.c: New file.
14493 * libio/tst-wmemstream3.c: Likewise.
14494 * manual/examples/memstrm.c: Remove warning when priting size_t.
14495
14496 2016-09-30 Joseph Myers <joseph@codesourcery.com>
14497
14498 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
14499 macro to use __builtin_fma.
14500 * sysdeps/x86_64/fpu/dla.h: Remove file.
14501
14502 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14503 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
14504 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
14505
14506 2016-09-30 Carlos O'Donell <carlos@redhat.com>
14507
14508 [BZ #20292]
14509 * elf/Makefile (routines): Add dl-addr-obj.
14510 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
14511 tst-_dl_addr_inside_object.
14512 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
14513 [ifeq (yesyes,$(have-fpie)$(build-shared))]
14514 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
14515 [ifeq (yesyes,$(have-fpie)$(build-shared))]
14516 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
14517 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
14518 * elf/dl-open.c: Likewise.
14519 * elf/dl-addr-obj.c: New file.
14520 * elf/tst-_dl_addr_inside_object.c: New file.
14521
14522 2016-09-30 Joseph Myers <joseph@codesourcery.com>
14523
14524 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
14525 <bits/iscanonical.h>.
14526 * bits/iscanonical.h: New file.
14527 * math/s_iscanonicall.c: Likewise.
14528 * math/Versions (__iscanonicall): New libm symbol at version
14529 GLIBC_2.25.
14530 * math/libm-test.inc (iscanonical_test_data): New array.
14531 (iscanonical_test): New function.
14532 (main): Call iscanonical_test.
14533 * math/Makefile (headers): Add bits/iscanonical.h.
14534 (type-ldouble-routines): Add s_iscanonicall.
14535 * manual/arith.texi (Floating Point Classes): Document
14536 iscanonical.
14537 * manual/libm-err-tab.pl: Update comment on interfaces without
14538 ulps tabulated.
14539 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
14540 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
14541 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
14542 Likewise.
14543 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
14544 test-iscanonical-ldbl-128ibm.
14545 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
14546 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
14547 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
14548 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
14549 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
14550 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14551 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14553 Likewise.
14554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14555 Likewise.
14556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14557 Likewise.
14558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14559 Likewise.
14560 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14561 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14562
14563 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14564
14565 * string/bits/string3.h: Remove C++ style comments.
14566
14567 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
14568
14569 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
14570 instead of ternary condition.
14571 (do_sincos_2): Likewise.
14572 (__sin): Likewise.
14573 (__cos): Likewise.
14574 (slow): Likewise.
14575 (sloww): Likewise.
14576 (sloww1): Likewise.
14577 (bsloww): Likewise.
14578 (bsloww1): Likewise.
14579
14580 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
14581 instead of ternary condition.
14582 (do_sin_slow): Likewise.
14583 (do_sincos_1): Likewise.
14584 (do_sincos_2): Likewise.
14585 (__cos): Likewise.
14586 (sloww): Likewise.
14587 (sloww1): Likewise.
14588 (sloww2): Likewise.
14589 (bsloww): Likewise.
14590 (bsloww1): Likewise.
14591 (bsloww2): Likewise.
14592
14593 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
14594 check from here...
14595 (slow2): ... and here...
14596 (__sin): ... to here.
14597
14598 2016-09-28 Joseph Myers <joseph@codesourcery.com>
14599
14600 * math/math.h
14601 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
14602 Cast argument to its own type.
14603 * math/test-iszero-excess-precision.c: New file.
14604 * math/Makefile (tests): Add test-iszero-excess-precision.
14605 (CFLAGS-test-iszero-excess-precision.c): New variable.
14606
14607 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
14608
14609 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
14610 field, add err field.
14611 (__spawni_child): Report error through err member instead of pipe.
14612 (__spawnix): Likewise.
14613
14614 2016-09-28 Zack Weinberg <zackw@panix.com>
14615
14616 * scripts/check-installed-headers.sh: Generalize treatment of
14617 sys/elf.h to all target architectures.
14618
14619 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
14620 deleted typedef ucontext_t.
14621
14622 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14623
14624 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
14625 (__INTERNAL_SYSCALL1): Likewise.
14626 (__INTERNAL_SYSCALL2): Likewise.
14627 (__INTERNAL_SYSCALL3): Likewise.
14628 (__INTERNAL_SYSCALL4): Likewise.
14629 (__INTERNAL_SYSCALL5): Likewise.
14630 (__INTERNAL_SYSCALL6): Likewise.
14631 (__INTERNAL_SYSCALL7): Likewise.
14632 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
14633 (__INTERNAL_SYSCALL_NARGS): Likewise.
14634 (__INTERNAL_SYSCALL_DISP): Likewise.
14635 (INTERNAL_SYSCALL_CALL): Likewise.
14636 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
14637 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
14638 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
14639 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
14640 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
14641 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
14642 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
14643 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
14644 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
14645 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
14646 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
14647 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
14648 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
14649
14650 2016-09-23 Joseph Myers <joseph@codesourcery.com>
14651
14652 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
14653 macro.
14654 * math/libm-test.inc (iszero_test_data): New array.
14655 (iszero_test): New function.
14656 (main): Call iszero_test.
14657 * manual/arith.texi (Floating Point Classes): Document iszero.
14658 * manual/libm-err-tab.pl: Update comment on interfaces without
14659 ulps tabulated.
14660
14661 2016-09-23 Zack Weinberg <zackw@panix.com>
14662
14663 * scripts/check-installed-headers.sh: New script.
14664 * Rules: In each directory that defines header files to be installed,
14665 run check-installed-headers.sh on them as a special test.
14666 * Makefile: Likewise for the headers installed at top level.
14667
14668 * include/aliases.h, include/alloca.h, include/argz.h
14669 * include/arpa/nameser.h, include/arpa/nameser_compat.h
14670 * include/elf.h, include/envz.h, include/err.h
14671 * include/execinfo.h, include/fpu_control.h, include/getopt.h
14672 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
14673 * include/link.h, include/malloc.h, include/mcheck.h
14674 * include/mntent.h, include/netinet/ether.h
14675 * include/nss.h, include/obstack.h, include/printf.h
14676 * include/pty.h, include/resolv.h, include/rpc/auth.h
14677 * include/rpc/auth_des.h, include/rpc/auth_unix.h
14678 * include/rpc/clnt.h, include/rpc/des_crypt.h
14679 * include/rpc/key_prot.h, include/rpc/netdb.h
14680 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
14681 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
14682 * include/rpc/rpc_msg.h, include/rpc/svc.h
14683 * include/rpc/svc_auth.h, include/rpc/xdr.h
14684 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
14685 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
14686 * include/rpcsvc/ypupd.h, include/shadow.h
14687 * include/stdio_ext.h, include/sys/epoll.h
14688 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
14689 * include/sys/prctl.h, include/sys/profil.h
14690 * include/sys/statfs.h, include/sys/sysctl.h
14691 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
14692 * sysdeps/arm/nacl/include/bits/setjmp.h
14693 * sysdeps/mips/include/sys/asm.h
14694 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
14695 * sysdeps/unix/sysv/linux/include/sys/timex.h
14696 * sysdeps/x86/fpu/include/bits/fenv.h:
14697 Add #ifndef _ISOMAC guard around internal declarations.
14698 Add multiple-inclusion guard if not already present.
14699
14700 2016-09-23 Zack Weinberg <zackw@panix.com>
14701
14702 * sysdeps/generic/sys/ucontext.h
14703 * sysdeps/arm/sys/ucontext.h
14704 * sysdeps/i386/sys/ucontext.h
14705 * sysdeps/m68k/sys/ucontext.h
14706 * sysdeps/mips/sys/ucontext.h
14707 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
14708 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
14709 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
14710 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
14711 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
14712 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
14713 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
14714 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
14715 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
14716 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
14717 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
14718 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
14719 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
14720 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
14721 Include both bits/sigcontext.h and bits/sigstack.h.
14722 Fix grammar error in comment, if present.
14723
14724 * bits/sigstack.h
14725 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
14726 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
14727 * sysdeps/unix/sysv/linux/bits/sigstack.h
14728 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
14729 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
14730 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
14731 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
14732 * bits/sigcontext.h
14733 * sysdeps/mach/hurd/i386/bits/sigcontext.h
14734 * sysdeps/unix/sysv/linux/bits/sigcontext.h
14735 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
14736 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
14737 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
14738 as well as signal.h, if this was not already allowed. Request
14739 definition of size_t if necessary. Minimize semantically-null
14740 differences across files.
14741
14742 2016-09-23 Zack Weinberg <zackw@panix.com>
14743
14744 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
14745 Remove all logic conditional on __need macros. Move all the
14746 conditionally defined types to their own headers...
14747 * time/bits/types/clock_t.h: Define clock_t here.
14748 * time/bits/types/clockid_t.h: Define clockid_t here.
14749 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
14750 * time/bits/types/struct_timespec.h: Define struct timespec here.
14751 * time/bits/types/struct_timeval.h: Define struct timeval here.
14752 * time/bits/types/struct_tm.h: Define struct tm here.
14753 * time/bits/types/time_t.h: Define time_t here.
14754 * time/bits/types/timer_t.h: Define timer_t here.
14755 * time/Makefile: Install the new headers.
14756
14757 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
14758 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
14759 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
14760 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
14761 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
14762 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
14763 * sysdeps/unix/sysv/linux/bits/resource.h
14764 * sysdeps/unix/sysv/linux/bits/timex.h
14765 * sysdeps/unix/sysv/linux/mips/bits/resource.h
14766 * sysdeps/unix/sysv/linux/net/ppp_defs.h
14767 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
14768 * sysdeps/unix/sysv/linux/sys/acct.h
14769 * sysdeps/unix/sysv/linux/sys/timerfd.h
14770 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
14771 * time/sys/time.h, time/sys/timeb.h
14772 Use the new bits/types headers.
14773
14774 * include/time.h: Remove __need logic.
14775 * include/bits/time.h
14776 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
14777 * include/bits/types/time_t.h, include/bits/types/timer_t.h
14778 * include/bits/types/struct_itimerspec.h
14779 * include/bits/types/struct_timespec.h
14780 * include/bits/types/struct_timeval.h
14781 * include/bits/types/struct_tm.h:
14782 New wrapper headers.
14783
14784 2016-09-23 Zack Weinberg <zackw@panix.com>
14785
14786 * sysdeps/mach/hurd/net/if_ppp.h
14787 * sysdeps/unix/sysv/linux/net/if_ppp.h:
14788 Only define struct ifpppstatsreq and struct ifpppcstatsreq
14789 if __USE_MISC is defined, to ensure struct ifreq is declared.
14790
14791 * inet/netinet/ether.h: Condition all function prototypes
14792 on __USE_MISC, to ensure struct ether_addr is declared.
14793
14794 * socket/bits/types/struct_osockaddr.h: New header.
14795 * include/bits/types/struct_osockaddr.h: New wrapper.
14796 * socket/Makefile: Install the new header.
14797 * socket/sys/socket.h, inet/protocols/talkd.h:
14798 Refer to bits/types/struct_osockaddr.h for the definition of
14799 struct osockaddr.
14800
14801 2016-09-23 Zack Weinberg <zackw@panix.com>
14802
14803 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
14804 * inet/protocols/routed.h, inet/protocols/talkd.h
14805 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
14806 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
14807 * sysdeps/generic/netinet/if_ether.h
14808 * sysdeps/generic/netinet/in_systm.h
14809 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
14810 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
14811 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
14812 * sysdeps/mach/hurd/net/if_arp.h
14813 * sysdeps/mach/hurd/net/if_ppp.h
14814 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
14815 * sysdeps/unix/sysv/linux/bits/in.h
14816 * sysdeps/unix/sysv/linux/net/ethernet.h
14817 * sysdeps/unix/sysv/linux/net/if_arp.h
14818 * sysdeps/unix/sysv/linux/net/if_ppp.h
14819 * sysdeps/unix/sysv/linux/net/if_shaper.h
14820 * sysdeps/unix/sysv/linux/net/route.h
14821 * sysdeps/unix/sysv/linux/netinet/if_ether.h
14822 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
14823 * sysdeps/unix/sysv/linux/netinet/if_tr.h
14824 * sysdeps/unix/sysv/linux/netipx/ipx.h
14825 * sysdeps/unix/sysv/linux/sys/acct.h
14826 * include/arpa/nameser.h, include/resolv.h:
14827 Change all uses of u_char to unsigned char,
14828 u_short and ushort to unsigned short, u_int and uint to unsigned int,
14829 u_long and ulong to unsigned long, u_int8_t to uint8_t,
14830 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
14831 and u_int64_t and u_quad_t to uint64_t.
14832
14833 * mach/sys/reboot.h: Remove two casts of integer literals
14834 to the types they already have.
14835
14836 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
14837 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
14838 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
14839 from referring to 'unsigned char' to 'uint8_t' for consistency with
14840 the macro definition below.
14841
14842 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
14843 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
14844 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
14845 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
14846 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
14847 * sysdeps/unix/sysv/linux/sys/acct.h
14848 * include/arpa/nameser.h, include/resolv.h:
14849 Fix indentation disrupted by mechanical edits.
14850
14851 * inet/protocols/talkd.h, resolv/arpa/nameser.h
14852 * sysdeps/generic/netinet/in_systm.h
14853 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
14854 * sysdeps/gnu/netinet/udp.h
14855 * sysdeps/unix/sysv/linux/net/ethernet.h
14856 * sysdeps/unix/sysv/linux/net/if_arp.h
14857 * sysdeps/unix/sysv/linux/net/if_ppp.h
14858 * sysdeps/unix/sysv/linux/net/if_shaper.h
14859 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
14860 * sysdeps/unix/sysv/linux/netinet/if_tr.h
14861 * sysdeps/unix/sysv/linux/netipx/ipx.h
14862 * sysdeps/unix/sysv/linux/sys/acct.h
14863 Include stdint.h for uintNN_t definitions.
14864 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
14865
14866 2016-09-23 Zack Weinberg <zackw@panix.com>
14867
14868 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
14869 * sysdeps/unix/sysv/linux/netrose/rose.h:
14870 Include sys/socket.h and netax25/ax25.h.
14871
14872 * inet/netinet/icmp6.h, inet/netinet/ip6.h
14873 * resolv/arpa/nameser_compat.h:
14874 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
14875
14876 * sysdeps/unix/sysv/linux/sys/quota.h:
14877 Use __caddr_t instead of caddr_t.
14878 * sysdeps/unix/sysv/linux/sys/timerfd.h:
14879 Use __clockid_t instead of clockid_t.
14880
14881 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
14882
14883 * argp/argp.h: Check whether _LIBC is defined before expanding it.
14884 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
14885 expanding it.
14886
14887 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
14888 Define __glibc_c99_flexarr_available to 1 when the compiler
14889 supports C99-compatible flexible array members, 0 otherwise.
14890 * sysdeps/unix/sysv/linux/bits/socket.h
14891 * sysdeps/mach/hurd/bits/socket.h
14892 * bits/socket.h: Use __glibc_c99_flexarr_available in
14893 definitions of struct cmsghdr and CMSG_DATA.
14894
14895 2016-09-23 Florian Weimer <fweimer@redhat.com>
14896
14897 * manual/nss.texi (NSS Modules Interface): Adjust function return
14898 type to enum nss_status. Document errnop argument. Clarify
14899 h_errnop semantics. Fix cross-reference formatting.
14900 (NSS Module Function Internals): Mention that *errnop needs to be
14901 set on failure, but not to zero.
14902
14903 2016-09-23 Florian Weimer <fweimer@redhat.com>
14904
14905 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
14906 (get_random_name): New functions.
14907 (check_wrapper_flags_mode): Use linkat to give the new file a name
14908 determined by get_random_name.
14909 (do_test): Add calls to test open64 and openat64.
14910
14911 2016-09-23 Florian Weimer <fweimer@redhat.com>
14912
14913 * test-skeleton.c: Remove #include <stdarg.h>.
14914
14915 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
14916
14917 [BZ #19826]
14918 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
14919 initialization of static TLS entries.
14920 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
14921 * nptl/allocatestack.c (init_one_static_tls): Likewise.
14922
14923 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14924
14925 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
14926 _hurd_malloc_fork_prepare.
14927 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
14928 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
14929 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
14930 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
14931 (_hurd_fork_child_hook): Drop malloc_fork_child.
14932 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
14933 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
14934 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
14935 after locking locks (notably hurd_dtable_lock). Call
14936 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
14937 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
14938 __malloc_fork_unlock_child.
14939 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
14940
14941 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
14942
14943 * soft-fp/extendhftf2.c: New.
14944 * soft-fp/fixhfti.c: Likewise.
14945 * soft-fp/fixunshfti.c: Likewise.
14946 * soft-fp/floattihf.c: Likewise.
14947 * soft-fp/floatuntihf.c: Likewise.
14948 * soft-fp/half.h: Likewise.
14949 * soft-fp/trunctfhf2.c: Likewise.
14950
14951 2016-09-21 Joseph Myers <joseph@codesourcery.com>
14952
14953 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
14954 macro.
14955 * math/libm-test.inc (issubnormal_test_data): New array.
14956 (issubnormal_test): New function.
14957 * manual/arith.texi (Floating Point Classes): Document
14958 issubnormal.
14959 * manual/libm-err-tab.pl: Update comment on interfaces without
14960 ulps tabulated.
14961
14962 * sysdeps/generic/stdint.h: Define
14963 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14964 <bits/libc-header-start.h> instead of including <features.h>.
14965 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
14966 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
14967 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
14968 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
14969 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
14970 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
14971 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
14972 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
14973 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
14974 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
14975 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
14976 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
14977 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
14978 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
14979 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
14980 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
14981 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
14982 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
14983 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
14984 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
14985 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
14986 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
14987 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
14988 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
14989 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
14990 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
14991 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
14992 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
14993 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
14994 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
14995 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
14996 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
14997 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
14998 * manual/arith.texi (Integers): Document these macros for types
14999 specified by width properties.
15000 * manual/lang.texi (Width of Type): Document these macros for
15001 other standard typedefs.
15002 * stdlib/tst-width-stdint.c: New file.
15003 * stdlib/Makefile (tests): Add tst-width-stdint.
15004
15005 2016-09-21 Florian Weimer <fweimer@redhat.com>
15006
15007 [BZ #20016]
15008 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
15009 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
15010 Move ...
15011 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
15012 ... here, as compatibility symbols in a new file.
15013 * resolv/Makefile (libresolv-routines): Add compat-hooks.
15014 * resolv/res_init.c (__res_vinit): Adjust member names.
15015 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
15016 * resolv/resolv.h (res_sendhookact, res_send_qhook)
15017 (res_send_rhook): Remove.
15018 (struct __res_state): Rename qhook, rhook members.
15019
15020 2016-09-21 Florian Weimer <fweimer@redhat.com>
15021
15022 malloc: Use __libc_lock wrappers.
15023 * malloc/arena.c (list_lock, free_list_lock): Define using
15024 __libc_lock_define_initialized.
15025 (arena_lock): Adjust formatting.
15026 * malloc/malloc.c (struct malloc_state): Define mutex using
15027 __libc_lock_define.
15028 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
15029 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
15030 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
15031 (mutex_unlock, mutex_trylock): Remove.
15032 (__pthread_initialize): Remove unused macro.
15033 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
15034 (mutex_unlock, mutex_trylock): Remove.
15035
15036 2016-09-21 Florian Weimer <fweimer@redhat.com>
15037
15038 [BZ #20592]
15039 Remove RR type classification macros.
15040 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
15041 (ns_t_udp_p, ns_t_xfr_p): Remove.
15042
15043 2016-09-21 Florian Weimer <fweimer@redhat.com>
15044
15045 Remove misleading version information.
15046 * resolv/arpa/nameser.h (__NAMESER): Remove.
15047 * resolv/arpa/nameser_compat.h (__BIND): Remove.
15048
15049 2016-09-21 Florian Weimer <fweimer@redhat.com>
15050
15051 Remove the always-defined BIND_4_COMPAT macro.
15052 * resolv/arpa/nameser.h: Unconditionally include
15053 <arpa/nameser_compat.h>.
15054 (BIND_4_COMPAT): Remove.
15055 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
15056
15057 2016-09-21 Florian Weimer <fweimer@redhat.com>
15058
15059 [BZ #20591]
15060 Remove obsolete DNSSEC support.
15061 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
15062 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
15063 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
15064 (ns_verify_tcp, ns_verify_tcp_init): Remove.
15065 (ns_cert_types): Add comment.
15066 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
15067 separately.
15068 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
15069 (dst_s_dns_key_id): Remove.
15070 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
15071 variables.
15072
15073 2016-09-21 Florian Weimer <fweimer@redhat.com>
15074
15075 [BZ #20524]
15076 * manual/string.texi (String/Array Comparison): Clarify the
15077 strverscmp behavior.
15078
15079 2016-09-21 Florian Weimer <fweimer@redhat.com>
15080
15081 * test-skeleton.c (xasprintf): Add function.
15082 * io/tst-open-tmpfile.c: New test.
15083 * io/Makefile (tests): Add it.
15084
15085 2016-09-21 Florian Weimer <fweimer@redhat.com>
15086
15087 Avoid running $(CXX) during build to obtain header file paths.
15088 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
15089 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
15090 * Makerules (cstdlib, cmath): Remove variables. Use
15091 $(c++-cstdlib-header), $(c++-cmath-header) instead.
15092 * configure: Regenerate.
15093
15094 2016-09-21 Florian Weimer <fweimer@redhat.com>
15095
15096 * Makeconfig (all-object-suffixes): Include .op only if
15097 $(build-profile).
15098
15099 2016-09-21 Florian Weimer <fweimer@redhat.com>
15100
15101 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
15102 conditionals. Do not define PATH_MAX.
15103
15104 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15105
15106 * posix/Makefile (tests): Add tst-spawn3.
15107 * posix/tst-spawn3.c: New file.
15108 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
15109 if it is already opened for open action.
15110
15111 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
15112 all signals when executing the clone vfork child.
15113 (SIGALL_SET): Remove macro.
15114
15115 * nptl/Makefile (tests): Add tst-exec5.
15116 * nptl/tst-exec5.c: New file.
15117 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
15118 asynchronous cancellation.
15119
15120 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
15121
15122 * hurd/exc2signal.c: #include <hurd/signal.h>
15123 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
15124 'sigcode', 'error' parameters with 'detail' parameter. Fix code
15125 accordingly.
15126 * mach/mach_error.c (mach_error): Fix old-style function definition.
15127 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
15128
15129 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15130
15131 * math/Makefile (libm-calls): Remove s_nanF.
15132 (gen-libm-calls): Add s_nanF.
15133
15134 * math/s_nan.c: Refactor into ...
15135 * math/s_nan_template.c: New file.
15136
15137 * math/s_nanf.c: Removed.
15138 * math/s_nanl.c: Removed.
15139 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
15140 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
15141
15142 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15143 (LDOUBLE_nanl_libm_version): New macro.
15144
15145 * sysdeps/generic/math-type-macros-double.h:
15146 (M_STRTO_NAN): New macro.
15147 * sysdeps/generic/math-type-macros-float.h: Likewise.
15148 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
15149
15150 * sysdeps/generic/math-type-macros.h: Document
15151 M_STRTO_NAN.
15152
15153 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15154
15155 * math/s_nanf.c: Remove __nanf undef.
15156 * math/s_nan.c: Remove __nan undef.
15157 * math/s_nanl.c: Remove __nanl undef.
15158
15159 * sysdeps/generic/math_private.h (__nan): Remove macro
15160 override.
15161 (__nanf): Likewise.
15162 (__nanl): Likewise.
15163
15164 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15165
15166 * math/Makefile (gen-all-calls): New variable.
15167 (generated): Replace gen-libm-calls with gen-all-calls.
15168 (gen-libm-templates.stmp): Likewise. Also, ensure
15169 the output directory exists or is created and add
15170 dependency on the Makefile.
15171 (calls): Move s_ldexpF into gen-calls.
15172 (gen-calls): New variable.
15173
15174 * math/s_ldexpf.c: Removed.
15175 * math/s_ldexpl.c: Removed.
15176 * math/s_ldexp.c: Refactored into ...
15177 * math/s_ldexp_template.c: New file.
15178
15179 * sysdeps/generic/math-type-macros-double.h: Remove
15180 redundant fall-through definition of declare_mgen_alias.
15181 (declare_mgen_alias_2): New macro.
15182
15183 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
15184 New macro for function aliased to two exported symbols.
15185
15186 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
15187 new template file.
15188 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
15189
15190 2016-09-20 Florian Weimer <fweimer@redhat.com>
15191
15192 * Makeconfig (all-object-suffixes): Remove .og.
15193 * Makerules (elide-routines.og): Remove.
15194 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
15195 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
15196 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
15197
15198 2016-09-20 Florian Weimer <fweimer@redhat.com>
15199
15200 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
15201 .os objects.
15202
15203 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15204
15205 [BZ #20615]
15206 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
15207 fpu directory by non-fpu.
15208 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
15209 on non-fpu directory from a fpu directory.
15210
15211 2016-09-19 Joseph Myers <joseph@codesourcery.com>
15212
15213 * include/limits.h: Define
15214 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15215 <bits/libc-header-start.h> instead of including <features.h>.
15216 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
15217 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
15218 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
15219 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
15220 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
15221 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
15222 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
15223 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
15224 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
15225 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
15226 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
15227 * manual/lang.texi (Width of Type): Document these macros.
15228 * stdlib/tst-width.c: New file.
15229 * stdlib/Makefile (tests): Add tst-width.
15230
15231 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15232
15233 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
15234 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
15235
15236 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15237
15238 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
15239 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
15240 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
15241
15242 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15243
15244 [BZ #18243]
15245 * rt/Makefile (test): Add tst-shm-cancel.
15246 * rt/tst-shm-cancel.c: New file.
15247 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
15248
15249 [BZ #18243]
15250 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
15251 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
15252 definition.
15253 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
15254 uncontended case.
15255 * nptl/sem_wait.c (__new_sem_wait): Likewise.
15256 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
15257 (tf): Fix check for uncontended case.
15258 (do_test): Likewise.
15259 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
15260 (tf): Fix check for uncontended case.
15261 (do_test): Likewise.
15262 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
15263 (tf): Fix check for uncontended case.
15264 (do_test): Likewise.
15265 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
15266 (tf): Fix check for uncontended case.
15267 (do_test): Likewise.
15268
15269 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
15270 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
15271
15272 [BZ #15765]
15273 * nptl/Makefile (tests): Add tst-sem16.
15274 * nptl/tst-sem16.c: New file.
15275 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
15276
15277 * nptl/sem_open.c (sem_open): Init pad value to 0.
15278 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
15279 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
15280
15281 2016-09-15 Florian Weimer <fweimer@redhat.com>
15282
15283 [BZ #20611]
15284 * inet/Makefile (routines): Add inet6_scopeid_pton.
15285 (tests): Add tst-inet6_scopeid_pton.
15286 * inet/inet6_scopeid_pton.c: New file.
15287 * inet/net-internal.h: Likewise.
15288 * inet/tst-inet6_scopeid_pton.c: New test.
15289 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
15290 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
15291 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15292
15293 2016-09-14 Florian Weimer <fweimer@redhat.com>
15294
15295 Remove support for compiling wrappers with PTW.
15296 * sysdeps/nptl/Makeconfig: Drop ptw- support.
15297 * nptl/Makefile (pthread-compat-wrappers): Define.
15298 (libpthread-routines): Use pthread-compat-wrappers.
15299 * sysdeps/unix/sysv/linux/alpha/Makefile
15300 (libpthread-routines, libpthread-shared-only-routines): Remove
15301 ptw- prefix.
15302 * sysdeps/s390/nptl/Makefile
15303 (libpthread-routines, libpthread-shared-only-routines): Likewise.
15304 * sysdeps/ia64/nptl/Makefile
15305 (libpthread-routines, libpthread-shared-only-routines): Likewise.
15306 * sysdeps/nacl/Makefile (libpthread-routines): Use
15307 pthread-compat-wrappers to filter the routines list instead of the
15308 ptw- prefix.
15309
15310 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15311
15312 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
15313 with L() and remove explicit suffix, convert real literals
15314 which can be equivalentally substituted with integers, and
15315 transform -L(x) to L(-x).
15316
15317 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15318 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15319 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15320 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15321 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15322 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15323 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15324 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15325 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15326 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15327 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15328 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15329 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15330 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15331 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15332 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15333 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15334 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15335 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15336 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15337 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15338 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15339 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15340 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15341 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15342 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15343 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15344 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15345 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15346 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15347 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15348 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15349 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15350 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15351 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15352 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15353 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15354 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15355 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15356 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15357 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15358 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15359 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15360 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15361 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15362 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15363 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15364 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
15365 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15366 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15367
15368 2016-09-13 Florian Weimer <fweimer@redhat.com>
15369
15370 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
15371
15372 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
15373
15374 * malloc/Makefile (tests): Remove individual static test names
15375 and just add all of tests-static.
15376
15377 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
15378
15379 2016-09-07 Joseph Myers <joseph@codesourcery.com>
15380
15381 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
15382 file.
15383
15384 * sysdeps/sparc/fpu/fegetmode.c: New file.
15385 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
15386
15387 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
15388 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
15389
15390 * sysdeps/s390/fpu/fegetmode.c: New file.
15391 * sysdeps/s390/fpu/fesetmode.c: Likewise.
15392
15393 * sysdeps/powerpc/fpu/fegetmode.c: New file.
15394 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
15395 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
15396 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
15397 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
15398 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
15399
15400 * sysdeps/mips/fpu/fegetmode.c: New file.
15401 * sysdeps/mips/fpu/fesetmode.c: Likewise.
15402
15403 * sysdeps/m68k/fpu/fegetmode.c: New file.
15404 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
15405
15406 * sysdeps/ia64/fpu/fegetmode.c: New file.
15407 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
15408
15409 * sysdeps/hppa/fpu/fegetmode.c: New file.
15410 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
15411
15412 * sysdeps/arm/fegetmode.c: New file.
15413 * sysdeps/arm/fesetmode.c: Likewise.
15414
15415 * sysdeps/alpha/fpu/fegetmode.c: New file.
15416 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
15417
15418 * sysdeps/aarch64/fpu/fegetmode.c: New file.
15419 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
15420
15421 * math/fegetmode.c: New file.
15422 * math/fesetmode.c: Likewise.
15423 * sysdeps/i386/fpu/fegetmode.c: Likewise.
15424 * sysdeps/i386/fpu/fesetmode.c: Likewise.
15425 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
15426 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
15427 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
15428 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
15429 declaration.
15430 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
15431 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
15432 typedef.
15433 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15434 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15435 (femode_t): New typedef.
15436 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15437 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15438 (femode_t): New typedef.
15439 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15440 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15441 (femode_t): New typedef.
15442 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15443 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15444 (femode_t): New typedef.
15445 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15446 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15447 (femode_t): New typedef.
15448 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15449 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15450 (femode_t): New typedef.
15451 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15452 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15453 (femode_t): New typedef.
15454 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15455 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15456 (femode_t): New typedef.
15457 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15458 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15459 (femode_t): New typedef.
15460 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15461 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15462 (femode_t): New typedef.
15463 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
15464 declaration.
15465 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15466 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15467 (femode_t): New typedef.
15468 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15469 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15470 (femode_t): New typedef.
15471 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15472 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15473 (femode_t): New typedef.
15474 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15475 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15476 (femode_t): New typedef.
15477 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15478 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15479 (femode_t): New typedef.
15480 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15481 * manual/arith.texi (FE_DFL_MODE): Document macro.
15482 (fegetmode): Document function.
15483 (fesetmode): Likewise.
15484 * math/Versions (fegetmode): New libm symbol at version
15485 GLIBC_2.25.
15486 (fesetmode): Likewise.
15487 * math/Makefile (libm-support): Add fegetmode and fesetmode.
15488 (tests): Add test-femode and test-femode-traps.
15489 * math/test-femode-traps.c: New file.
15490 * math/test-femode.c: Likewise.
15491 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
15492 alias for __fe_dfl_env.
15493 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
15494 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
15495 (__fe_dfl_mode): Likewise.
15496 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
15497 version GLIBC_2.25.
15498 * sysdeps/nacl/libm.abilist: Update.
15499 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15500 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15501 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15502 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15503 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15504 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15505 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15506 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15507 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15508 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15509 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15510 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15512 Likewise.
15513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15514 Likewise.
15515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15516 Likewise.
15517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15518 Likewise.
15519 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15520 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15521 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15522 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15523 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15525 Likewise.
15526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15527 Likewise.
15528 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15529 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15530 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15531
15532 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
15533
15534 [BZ #20495]
15535 [BZ #20508]
15536 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
15537 processors, set Use_dl_runtime_resolve_slow and set
15538 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
15539 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
15540 New.
15541 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
15542 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
15543 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
15544 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
15545 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
15546 if Use_dl_runtime_resolve_opt is set. Use
15547 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
15548 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
15549 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
15550 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
15551 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
15552 New.
15553 (_dl_runtime_resolve_opt): Likewise.
15554 (_dl_runtime_profile): Define only if _dl_runtime_profile is
15555 defined.
15556
15557 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
15558
15559 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
15560 __libc_memalign with "+ RELA R_390_GLOB_DAT".
15561
15562 2016-09-06 Florian Weimer <fweimer@redhat.com>
15563
15564 Convert malloc to __libc_lock. Automated part, using this Perl
15565 s/// command:
15566 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
15567 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
15568 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
15569 conversion.
15570
15571 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
15572
15573 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
15574 (linknamespace-symlists-tests): Likewise.
15575 (linknamespace-header-tests): Likewise.
15576
15577 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
15578
15579 [BZ #19810]
15580 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
15581 * elf/tst-noload.c: New test case.
15582 * elf/Makefile (tests): Add tst-noload.
15583
15584 2016-09-02 Roland McGrath <roland@hack.frob.com>
15585
15586 * sysdeps/nacl/dup.c: Add libc_hidden_def.
15587
15588 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
15589 not any more.
15590
15591 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
15592
15593 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
15594
15595 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
15596 (do_cos_slow): Likewise.
15597 (do_sin): Likewise.
15598 (do_sin_slow): Likewise.
15599 (slow): Likewise.
15600 (slow1): Likewise.
15601 (slow2): Likewise.
15602 (sloww): Likewise.
15603 (sloww1): Likewise.
15604 (sloww2): Likewise.
15605 (bsloww): Likewise.
15606 (bsloww1): Likewise.
15607 (bsloww2): Likewise.
15608 (cslow2): Likewise.
15609
15610 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
15611
15612 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
15613 arguments. Consolidate input partitioning from callers here.
15614 (do_cos_slow): Likewise.
15615 (do_sin): Likewise.
15616 (do_sin_slow): Likewise.
15617 (do_sincos_1): Remove the no longer necessary input partitioning.
15618 (do_sincos_2): Likewise.
15619 (__sin): Likewise.
15620 (__cos): Likewise.
15621 (slow1): Likewise.
15622 (slow2): Likewise.
15623 (sloww1): Likewise.
15624 (sloww2): Likewise.
15625 (bsloww1): Likewise.
15626 (bsloww2): Likewise.
15627 (cslow2): Likewise.
15628
15629 2016-09-02 Florian Weimer <fweimer@redhat.com>
15630
15631 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
15632 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
15633 outside of allocated array.
15634
15635 2016-09-02 Florian Weimer <fweimer@redhat.com>
15636
15637 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
15638 instead of MB_CUR_MAX to avoid variable-length array.
15639
15640 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15641
15642 * math/Makefile (libm-calls): Remove k_rem_pio2F.
15643 (type-double-routines): Add k_rem_pio2.
15644 (type-float-routines): Add k_rem_pio2f.
15645
15646 * sysdeps/generic/math_private.h:
15647 (__kernel_rem_pio2l): Removed.
15648
15649 * math/k_rem_pio2l.c: Removed.
15650 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
15651 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
15652 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
15653 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
15654
15655 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15656
15657 * math/Makefile (gen-libm-calls): Add s_fmin
15658 (libm-calls): Remove above.
15659
15660 * math/s_fmin.c: Refactor into ...
15661 * math/s_fmin_template.c: New file.
15662
15663 * math/s_fminf.c: Removed.
15664 * math/s_fminl.c: Removed.
15665 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15666 (LDOUBLE_fmin_libm_version): New macro.
15667
15668 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
15669 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
15670
15671 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15672
15673 * math/Makefile: (gen-libm-calls): Add s_fmax.
15674 (libm-calls): Remove above.
15675
15676 * math/s_fmax.c: Refactor into ...
15677 * math/s_fmax_template.c: New file.
15678 * math/s_fmaxf.c: Removed.
15679 * math/s_fmaxl.c: Removed.
15680
15681 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15682 (LDOUBLE_fmaxl_libm_version): New macro.
15683
15684 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
15685 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
15686
15687 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
15688 s_fmin.c to pick the aarch64 version of the file.
15689 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
15690 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
15691
15692 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15693
15694 * math/Makefile: (gen-libm-calls): Add s_nextdown.
15695 (libm-calls): Remove above.
15696
15697 * math/s_nextdown.c: Refactor into ...
15698 * math/s_nextdown_template.c: New file.
15699 * math/s_nextdownf.c: Removed.
15700 * math/s_nextdownl.c: Removed.
15701
15702 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
15703
15704 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15705
15706 * math/Makefile (gen-libm-calls): Add s_fdim.
15707 (libm-calls): Move to above.
15708
15709 * math/s_fdim.c: Renamed and refactored into to ...
15710 * math/s_fdim_template.c: New file.
15711 * math/s_fdiml.c: Removed.
15712 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
15713 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
15714
15715 * sysdeps/generic/math-type-macros-double.h:
15716 (declare_mgen_alias): Don't declare if already declared.
15717 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
15718 Likewise.
15719
15720 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15721 (declare_mgen_alias): Don't declare if already declared.
15722 (M_LIBM_NEED_COMPAT): Likewise.
15723 (declare_mgen_libm_compat): Likewise.
15724 (LDOUBLE_fdiml_libm_version): New macro.
15725
15726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
15727 Include math/s_fdim.c now that ldbl-opt version is not needed.
15728 (declare_mgen_alias): New macro to disable aliasing.
15729
15730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
15731 (declare_mgen_alias): Likewise.
15732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
15733 (declare_mgen_alias): Likewise.
15734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
15735 (declare_mgen_alias): Likewise.
15736 (M_LIBM_NEED_COMPAT): Likewise.
15737
15738 2016-09-01 Florian Weimer <fweimer@redhat.com>
15739
15740 [BZ #20525]
15741 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
15742 Include <linux/quota.h>.
15743 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
15744 and btodb.
15745 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
15746 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
15747 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
15748 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
15749 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
15750 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
15751 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
15752 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
15753 types.
15754 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
15755 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
15756
15757 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15758
15759 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
15760 (gammal_positive): Fix spacing.
15761 (__ieee754_gammal_r): Likewise.
15762
15763 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15764
15765 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
15766 (_Float128): Define as long double, always.
15767 (L): Apply long double type suffix, always.
15768
15769 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
15770 _Float128, excepting comments.
15771
15772 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15773 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15774 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15775 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15776 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15777 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15778 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15779 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15780 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15781 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
15782 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15783 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15784 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15785 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15786 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15787 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15788 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15789 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15790 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15791 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15792 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15793 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15794 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15795 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15796 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15797 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15798 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15799 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15800 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15801 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15802 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15803 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15804 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15805 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15806 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15807 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15808 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15809 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15810 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15811 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15812 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15813 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15814 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15815 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15816 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15817 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15818 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15819 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15820 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15821 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15822 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15823 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15824 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15825 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15826 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
15827 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15828 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15829 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15830 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15831 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15832 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15833 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15834 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15835 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15836 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15837 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
15838 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15839 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15840
15841 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
15842 _Float128, and include math_private.h.
15843 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15844
15845 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
15846 long double semantics.
15847 (_Float128): Likewise.
15848 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
15849 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
15850 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
15851 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
15852
15853 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
15854
15855 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
15856 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
15857 * sysdeps/s390/configure: Regenerated.
15858 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
15859 instruction for raising over-/underflow if z196 zarch is supported
15860 by default.
15861 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
15862
15863 2016-08-30 Svante Signell <svante.signell@gmail.com>
15864
15865 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
15866 it point to a dumb buffer for RPC to fill it.
15867
15868 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
15869
15870 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
15871 instead of if/else.
15872 (do_sin_slow): Likewise.
15873 (do_sincos_1): Use fabs instead of if/else.
15874 (do_sincos_2): Likewise.
15875 (__sin): Likewise.
15876 (__cos): Likewise.
15877 (slow2): Likewise.
15878 (sloww): Likewise.
15879 (sloww1): Likewise. Drop argument M.
15880 (sloww2): Use fabs instead of if/else.
15881 (bsloww): Likewise.
15882 (bsloww1): Likewise.
15883 (bsloww2): Likewise.
15884
15885 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
15886 fall through comment.
15887 (do_sincos_1): Likewise.
15888
15889 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
15890 Consolidate switch cases 0 and 2.
15891
15892 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15893
15894 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
15895 (libm-calls): Remove the above.
15896
15897 * math/s_cexp_template.c: Update using type-generic macros.
15898 * math/s_clog10_template.c: Likewise.
15899 * math/s_cpow_template.c: Likewise.
15900 * math/s_clog_template.c: Likewise.
15901 * math/s_cproj_template.c: Likewise.
15902 * math/s_csqrt_template.c: Likewise.
15903
15904 * math/s_cexp.c: Removed.
15905 * math/s_cexpf.c: Removed.
15906 * math/s_cexpl.c: Removed.
15907 * math/s_clog10.c: Removed.
15908 * math/s_clog10f.c: Removed.
15909 * math/s_clog10l.c: Removed.
15910 * math/s_cpow.c: Removed.
15911 * math/s_cpowf.c: Removed.
15912 * math/s_cpowl.c: Removed.
15913 * math/s_clog.c: Removed.
15914 * math/s_clogf.c: Removed.
15915 * math/s_clogl.c: Removed.
15916 * math/s_cproj.c: Removed.
15917 * math/s_cprojf.c: Removed.
15918 * math/s_cprojl.c: Removed.
15919 * math/s_csqrt.c: Removed.
15920 * math/s_csqrtf.c: Removed.
15921 * math/s_csqrtl.c: Removed.
15922
15923 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
15924 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
15925 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
15926 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
15927 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
15928 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
15929
15930 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
15931 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
15932 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
15933 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
15934 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
15935 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
15936 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
15937 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
15938 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
15939 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
15940 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
15941
15942 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
15943 version.
15944
15945 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
15946 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
15947 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
15948 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
15949
15950 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15951
15952 * s_cexp_template.c: Copy of s_cexp.c.
15953 * s_clog_template.c: Copy of s_clog.c.
15954 * s_clog10_template.c: Copy of s_clog10.c.
15955 * s_cpow_template.c: Copy of s_cpow.c.
15956 * s_cproj_template.c: Copy of s_cproj.c.
15957 * s_csqrt_template.c: Copy of s_csqrt.c.
15958
15959 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15960
15961 [BZ #20517]
15962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
15963 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
15964 exported.
15965
15966 2016-08-29 Joseph Myers <joseph@codesourcery.com>
15967
15968 * math/fetestexceptflag.c: New file.
15969 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
15970 Stefan Liebler.
15971 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15972 (fetestexceptflag): New function declaration.
15973 * manual/arith.texi (fetestexceptflag): Document function.
15974 * math/Versions (fetestexceptflag): New libm symbol at version
15975 GLIBC_2.25.
15976 * math/Makefile (libm-support): Add fetestexceptflag.
15977 (tests): Add test-fetestexceptflag.
15978 * math/test-fetestexceptflag.c: New file.
15979 * sysdeps/nacl/libm.abilist: Update.
15980 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15981 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15982 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15983 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15984 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15985 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15986 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15987 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15988 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15989 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15990 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15991 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15993 Likewise.
15994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15995 Likewise.
15996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15997 Likewise.
15998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15999 Likewise.
16000 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16001 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16002 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16003 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16004 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16006 Likewise.
16007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16008 Likewise.
16009 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16010 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16011 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16012
16013 2016-08-26 Florian Weimer <fweimer@redhat.com>
16014
16015 [BZ #20432]
16016 Avoid strong references to malloc-internal symbols when linking
16017 statically, to support statically interposed mallocs.
16018 * include/libc-symbols.h (call_function_static_weak): New macro.
16019 * malloc/Makefile (tests): Add tst-interpose-nothread,
16020 tst-interpose-thread, tst-interpose-static-nothread,
16021 tst-interpose-static-thread.
16022 (tests-static): Add tst-interpose-static-nothread,
16023 tst-interpose-static-thread.
16024 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
16025 tst-interpose-aux-thread.o.
16026 (test-extras): Add tst-interpose-aux-nothread,
16027 tst-interpose-aux-thread.
16028 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
16029 tst-interpose-aux-nothread.o.
16030 (tst-interpose-thread, tst-interpose-static-thread): Link with
16031 tst-interpose-aux-thread.o and libthread.
16032 * malloc/tst-interpose-aux-nothread.c: New file.
16033 * malloc/tst-interpose-aux-thread.c: Likewise.
16034 * malloc/tst-interpose-aux.c: Likewise.
16035 * malloc/tst-interpose-aux.h: Likewise.
16036 * malloc/tst-interpose-nothread.c: Likewise.
16037 * malloc/tst-interpose-skeleton.c: Likewise.
16038 * malloc/tst-interpose-static-nothread.c: Likewise.
16039 * malloc/tst-interpose-static-thread.c: Likewise.
16040 * malloc/tst-interpose-thread.c: Likewise.
16041 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
16042 * sysdeps/mach/hurd/fork.c (__fork): Only call
16043 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
16044 __malloc_fork_unlock_child if defined.
16045 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16046
16047 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16048
16049 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
16050 timespec C99 designated initialization.
16051
16052 2016-08-26 Florian Weimer <fweimer@redhat.com>
16053
16054 [BZ #19946]
16055 Avoid expected SIGALRM signals.
16056 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
16057 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
16058 (xpthread_create, xpthread_detach, xpthread_join)
16059 (delayed_exit_thread, delayed_exit): New functions.
16060 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
16061 (tf): Use xpthread_cond_wait.
16062 (do_test): Likewise. Replace alarm with delayed_exit.
16063 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16064 (do_test): Call delayed_exit. Report failure.
16065 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16066 (do_test): Call delayed_exit.
16067 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16068 (do_test): Call delayed_exit. Use xpthread_join. Report error.
16069 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16070 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
16071 error.
16072 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16073 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
16074 error.
16075 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
16076 (do_test): Call delayed_exit.
16077 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
16078 (do_test): Call delayed_exit.
16079 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
16080 (do_test): Call delayed_exit instead of alarm. Use
16081 xpthread_mutex_lock.
16082 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
16083 (do_test): Call delayed_exit instead of alarm. Use
16084 xpthread_mutex_lock.
16085 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
16086 (do_test): Call delayed_exit instead of alarm.
16087 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
16088 (do_test): Call delayed_exit instead of alarm. Use
16089 xpthread_spin_lock.
16090 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
16091 (do_test): Call delayed_exit instead of alarm. Use
16092 xpthread_join.
16093
16094 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
16095
16096 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
16097 adjust CFA when allocating register save area on re-aligned
16098 stack.
16099
16100 2016-08-26 Florian Weimer <fweimer@redhat.com>
16101
16102 * string/tst-cmp.c: New test.
16103 * string/Makefile (tests): Add it.
16104
16105 2016-08-25 Mark Wielaard <mark@klomp.org>
16106
16107 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
16108 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
16109 (check_tree_recurse): Use newly defined accessors.
16110 (check_tree): Likewise.
16111 (maybe_split_for_insert): Likewise.
16112 (__tfind): Likewise.
16113 (__tdelete): Likewise.
16114 (trecurse): Likewise.
16115 (tdestroy_recurse): Likewise.
16116 (__tsearch): Likewise. And add asserts for malloc alignment.
16117 (__twalk): Cast root to node in case CHECK_TREE is defined.
16118
16119 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
16120
16121 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
16122
16123 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16124
16125 * math/Makefile (libm-gen-calls): Add
16126 catan, catanh, ctan, ctanh.
16127 (libm-calls): Remove the above.
16128
16129 * math/s_catan_template.c: Update using type-generic macros.
16130 * math/s_catanh_template.c: Likewise.
16131 * math/s_ctan_template.c: Likewise.
16132 * math/s_ctanh_template.c: Likewise.
16133
16134 * math/s_catanf.c: Removed.
16135 * math/s_catan.c: Removed.
16136 * math/s_catanl.c: Removed.
16137 * math/s_catanhf.c: Removed.
16138 * math/s_catanh.c: Removed.
16139 * math/s_catanhl.c: Removed.
16140 * math/s_ctanf.c: Removed.
16141 * math/s_ctan.c: Removed.
16142 * math/s_ctanl.c: Removed.
16143 * math/s_ctanhf.c: Removed.
16144 * math/s_ctanh.c: Removed.
16145 * math/s_ctanhl.c: Removed.
16146
16147 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
16148 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
16149 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
16150 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
16151 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
16152 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
16153
16154 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
16155 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
16156 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
16157 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
16158
16159 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16160
16161 * s_catan_template.c: Copy of s_catan.c.
16162 * s_catanh_template.c: Copy of s_catanh.c.
16163 * s_ctan_template.c: Copy of s_ctan.c.
16164 * s_ctanh_template.c: Copy of s_ctanh.c.
16165
16166 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16167
16168 * math/Makefile (gen-libm-calls): Move
16169 casin, casinh, csin, csinh here.
16170 (libm-calls): Remove the above.
16171
16172 * math/s_casin_template.c: Update using type-generic macros.
16173 * math/s_casinh_template.c: Likewise.
16174 * math/s_csin_template.c: Likewise.
16175 * math/s_csinh_template.c: Likewise.
16176 * math/k_casinh_template.c: Likewise.
16177
16178 * math/s_casinf.c: Removed.
16179 * math/s_casin.c: Removed.
16180 * math/s_casinl.c: Removed.
16181 * math/s_casinh.c: Removed.
16182 * math/s_casinhf.c: Removed.
16183 * math/s_casinhl.c: Removed.
16184 * math/s_csin.c: Removed.
16185 * math/s_csinf.c: Removed.
16186 * math/s_csinl.c: Removed.
16187 * math/s_csinh.c: Removed.
16188 * math/s_csinhf.c: Removed.
16189 * math/s_csinhl.c: Removed.
16190 * math/k_casinh.c: Removed.
16191 * math/k_casinhf.c: Removed.
16192 * math/k_casinhl.c: Removed.
16193
16194 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
16195 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
16196 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
16197 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
16198
16199 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
16200 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
16201 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
16202 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
16203 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
16204 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
16205 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
16206 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
16207
16208 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
16209 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
16210 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
16211 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
16212
16213 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
16214 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
16215 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
16216 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
16217
16218 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16219
16220 * s_casin_template.c: Copy of s_casin.c.
16221 * s_casinh_template.c: Copy of s_casinh.c.
16222 * s_csin_template.c: Copy of s_csin.c.
16223 * s_csinh_template.c: Copy of s_csinh.c.
16224 * k_casinh_template.c: Copy of k_casinh.c.
16225
16226 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
16227
16228 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
16229
16230 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16231
16232 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
16233 (mul_split) Remove, rename as mul_splitl, remove
16234 redundant float.h include, and include via mul_splitl.h
16235
16236 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16237 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16238 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16239 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
16240 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16241
16242 * math/mul_splitl.h: New file.
16243
16244 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
16245 Move into mul_split.h, and remove redundant float.h include.
16246
16247 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
16248 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
16249 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16250 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
16251
16252 * math/mul_split.h: New file.
16253
16254 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16255
16256 * math/Makefile (libm-gen-calls): Move
16257 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
16258 (libm-calls): Remove above.
16259
16260 * math/s_cacos_template.c: Update using type-generic macros.
16261 * math/s_cacosh_template.c: Likewise.
16262 * math/s_ccos_template.c: Likewise.
16263 * math/s_ccosh_template.c: Likewise.
16264
16265 * math/s_cacosf.c: Removed.
16266 * math/s_cacos.c: Removed.
16267 * math/s_cacosl.c: Removed.
16268 * math/s_cacoshf.c: Removed.
16269 * math/s_cacosh.c: Removed.
16270 * math/s_cacoshl.c: Removed.
16271 * math/s_ccosf.c: Removed.
16272 * math/s_ccos.c: Removed.
16273 * math/s_ccosl.c: Removed.
16274 * math/s_ccoshf.c: Removed.
16275 * math/s_ccosh.c: Removed.
16276 * math/s_ccoshl.c: Removed.
16277
16278 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
16279 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
16280 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
16281 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
16282 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
16283 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
16284
16285 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
16286 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
16287 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
16288 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
16289
16290 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
16291 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
16292 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
16293 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
16294
16295 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16296
16297 * s_cacos_template.c: Copy of s_cacos.c.
16298 * s_cacosh_template.c: Copy of s_cacosh.c.
16299 * s_ccos_template.c: Copy of s_ccos.c.
16300 * s_ccosh_template.c: Copy of s_ccosh.c.
16301
16302 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16303
16304 * stdlib/tst-strtod-round-skeleton.c:
16305 Refactored from tst-strtod-round.c.
16306
16307 (L_): New macro to apply literal modifier.
16308 (FNPFX): New macro to select str or wcs prefix.
16309 (CHAR): New macro to choose wchar_t or char.
16310 (STRM): New macro to choose printf for tested character type.
16311
16312 (STRTO): New macro to choose appropriate string -> real function.
16313 (FNPFXS): Stringitized version of FNPFX.
16314 (STR): Support for above macro.
16315 (STRX): Likewise.
16316
16317 (TEST): Update with above macros.
16318 (test): Likewise.
16319 (GEN_ONE_TEST): Likewise.
16320 (test_in_one_mode): Likewise.
16321
16322 * stdlib/tst-strtod-round.c: New file.
16323 * wcsmbs/tst-wcstod-round.c: New file.
16324
16325 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
16326 (tst-wcstod-round): Add libm depencency for fesetround.
16327
16328 2016-08-19 Zack Weinberg <zackw@panix.com>
16329
16330 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
16331
16332 2016-08-18 Torvald Riegel <triegel@redhat.com>
16333
16334 [BZ #20477]
16335 * resolv/res_hconf.c (do_init): Use atomic access.
16336 * resolv/res_hconf.h: Add comments.
16337 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
16338 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
16339 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16340
16341 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
16342
16343 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
16344 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
16345 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16346 Likewise.
16347
16348 2016-08-18 Florian Weimer <fweimer@redhat.com>
16349
16350 [BZ #16907]
16351 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
16352 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
16353 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
16354 (__attribute__): Remove definition.
16355
16356 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16357
16358 * sysdeps/ieee754/ldbl-128/e_asinl.c:
16359 Remove unused sqrtl declaration.
16360
16361 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16362
16363 * math/Makefile: (gen-libm-templates.stmp): New rule.
16364 (libm-calls): Move carg conj cimag and cabs into ...
16365 (gen-libm-calls): New variable.
16366 (generated): Inform Make objects from gen-libm-calls
16367 may be generated.
16368
16369 * sysdeps/generic/math-type-macros.h: New file.
16370 * sysdeps/generic/math-type-macros-float.h: Likewise.
16371 * sysdeps/generic/math-type-macros-double.h: Likewise.
16372 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
16373 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
16374 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
16375
16376 * math/cabs.c: Refactor into
16377 * math/cabs_template.c: new file.
16378 * math/cabsf.c: Removed.
16379 * math/cabsl.c: Removed.
16380 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
16381 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
16382
16383 * math/carg.c: Refactor into
16384 * math/carg_template.c: new file.
16385 * math/cargf.c: Removed.
16386 * math/cargl.c: Removed.
16387 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
16388 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
16389
16390 * math/conj.c: Refactor into
16391 * math/conj_template.c: new file.
16392 * math/conjf.c: Removed.
16393 * math/conjl.c: Removed.
16394 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
16395 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
16396
16397 * math/cimag.c: Refactor into
16398 * math/cimag_template.c: new file.
16399 * math/cimagf.c: Removed.
16400 * math/cimagl.c: Removed.
16401 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
16402 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
16403
16404 * math/cimag.c: Refactor into
16405 * math/cimag_template.c: new file.
16406 * math/cimagf.c: Removed.
16407 * math/cimagl.c: Removed.
16408 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
16409 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
16410
16411 2016-08-17 Florian Weimer <fweimer@redhat.com>
16412
16413 Reduce time to expected nptl/tst-once5 failure.
16414 * nptl/tst-once5.cc (TIMEOUT): Define.
16415
16416 2016-08-17 Florian Weimer <fweimer@redhat.com>
16417
16418 [BZ #20452]
16419 Avoid additional copies of objects in libc.a in static libraries.
16420 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
16421 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
16422 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
16423 rt-sysdep.
16424 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
16425 Add nptl-sysdep.
16426 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
16427 Add ptw-sysdep.
16428 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
16429 rt-sysdep.
16430 * sysdeps/unix/sysv/linux/alpha/Makefile
16431 (libpthread-shared-only-routines): Add ptw-sysdep,
16432 ptw-sigprocmask, ptw-rt_sigaction.
16433 * sysdeps/unix/sysv/linux/ia64/Makefile
16434 (librt-shared-only-routines): Add rt-sysdep.
16435 * sysdeps/unix/sysv/linux/i386/Makefile
16436 (libpthread-shared-only-routines): Add libc-do-syscall.
16437 * sysdeps/unix/sysv/linux/microblaze/Makefile
16438 (libpthread-shared-only-routines): Add sysdep.
16439 * sysdeps/unix/sysv/linux/powerpc/Makefile
16440 (librt-shared-only-routines): Add rt-sysdep.
16441 (libpthread-shared-only-routines): Add sysdep.
16442 * sysdeps/unix/sysv/linux/s390/Makefile
16443 (librt-shared-only-routines): Add rt-sysdep.
16444 * sysdeps/unix/sysv/linux/sparc/Makefile
16445 (librt-shared-only-routines): Add rt-sysdep.
16446 (libpthread-shared-only-routines): Add sysdep.
16447 * sysdeps/unix/sysv/linux/tile/Makefile
16448 (libpthread-shared-only-routines): Likewise.
16449
16450 2016-08-16 Joseph Myers <joseph@codesourcery.com>
16451
16452 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
16453 Mask implicit bit out of unpacked value.
16454 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
16455 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
16456 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
16457
16458 * sysdeps/sparc/fpu/fesetexcept.c: New file.
16459
16460 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
16461
16462 * sysdeps/s390/fpu/fesetexcept.c: New file.
16463
16464 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
16465 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
16466 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
16467
16468 * sysdeps/mips/fpu/fesetexcept.c: New file.
16469
16470 * sysdeps/m68k/fpu/fesetexcept.c: New file.
16471
16472 * sysdeps/ia64/fpu/fesetexcept.c: New file.
16473
16474 * sysdeps/hppa/fpu/fesetexcept.c: New file.
16475
16476 * sysdeps/arm/fesetexcept.c: New file.
16477
16478 * sysdeps/alpha/fpu/fesetexcept.c: New file.
16479
16480 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
16481
16482 * math/fesetexcept.c: New file.
16483 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
16484 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
16485 * math/fenv.h: Define
16486 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16487 <bits/libc-header-start.h> instead of including <features.h>.
16488 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
16489 declaration.
16490 * manual/arith.texi (fesetexcept): Document function.
16491 * math/Versions (fesetexcept): New libm symbol at version
16492 GLIBC_2.25.
16493 * math/Makefile (libm-support): Add fesetexcept.
16494 (tests): Add test-fesetexcept and test-fesetexcept-traps.
16495 * math/test-fesetexcept.c: New file.
16496 * math/test-fesetexcept-traps.c: Likewise.
16497 * sysdeps/nacl/libm.abilist: Update.
16498 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16499 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16500 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16501 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16502 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16503 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16504 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16505 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16506 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16507 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16508 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16509 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16511 Likewise.
16512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16513 Likewise.
16514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16515 Likewise.
16516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16517 Likewise.
16518 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16519 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16520 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16521 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16522 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16524 Likewise.
16525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16526 Likewise.
16527 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16528 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16529 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16530
16531 2016-08-16 Florian Weimer <fweimer@redhat.com>
16532
16533 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
16534 New.
16535 (do_test): Apply default_stack_size_in_mb if not set.
16536 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
16537
16538 2016-08-15 Andreas Schwab <schwab@suse.de>
16539
16540 [BZ #20435]
16541 CVE-2016-6323
16542 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
16543 as .cantunwind.
16544
16545 2016-08-12 Joseph Myers <joseph@codesourcery.com>
16546
16547 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
16548 comment from fraiseexcpt.c.
16549
16550 * math/test-fexcept.c (feraiseexcept_exact): New function.
16551 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
16552 (test_except): Likewise.
16553
16554 2016-08-10 Joseph Myers <joseph@codesourcery.com>
16555
16556 [BZ #20455]
16557 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
16558 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
16559 to be restored.
16560
16561 * math/test-fexcept-traps.c: New file.
16562 * math/test-fexcept.c: Likewise.
16563 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
16564 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
16565 macro.
16566 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
16567 (EXCEPTION_SET_FORCES_TRAP): Likewise.
16568
16569 2016-08-09 Torvald Riegel <triegel@redhat.com>
16570
16571 * include/atomic.h (atomic_fetch_and_relaxed,
16572 atomic_fetch_and_release, atomic_fetch_or_release,
16573 atomic_fetch_xor_release): New.
16574
16575 2016-08-06 Christian Seiler <christian@iwakd.de>
16576
16577 [BZ #20444]
16578 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
16579 MACH_PORT_NULL.
16580
16581 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
16582
16583 * math/s_fdim.c: Avoid alias renamed.
16584 * math/s_fdimf.c: Likewise.
16585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16586 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16587 Add s_fdimf-vis3, s_fdim-vis3.
16588 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
16589 (CFLAGS-s_fdim-vis3.c): Likewise.
16590 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
16591 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
16592
16593 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
16594
16595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16596 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16597 Remove s_fdimf-vis3, s_fdim-vis3.
16598 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
16599 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
16600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
16601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
16602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
16603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
16604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
16605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
16606 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
16607 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
16608
16609 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
16610
16611 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
16612 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
16613 -Wa,-Av9a -mvis.
16614
16615 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16616
16617 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
16618 LIT() to individual constants in simple expressions
16619 after splitting on spaces.
16620 (_apply_lit): Rename replaced version, and use it to
16621 apply to what appears to be a token.
16622
16623 * math/libm-test.inc: Fix many, many issues with
16624 spacing.
16625
16626 2016-08-05 Joseph Myers <joseph@codesourcery.com>
16627
16628 * math/math.h: Move comment about <bits/mathdef.h> definitions
16629 above inclusion of <bits/mathdef.h>. Do not mention
16630 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
16631
16632 2016-08-05 Torvald Riegel <triegel@redhat.com>
16633
16634 * include/atomic.h (atomic_exchange_relaxed): New.
16635
16636 2016-08-04 Joseph Myers <joseph@codesourcery.com>
16637
16638 * math/e_scalb.c: Do not include <fenv.h>.
16639 (invalid_fn): Do calculation resulting in NaN instead of raising
16640 FE_INVALID and returning a NaN explicitly.
16641 * math/e_scalbf.c: Do not include <fenv.h>.
16642 (invalid_fn): Do calculation resulting in NaN instead of raising
16643 FE_INVALID and returning a NaN explicitly.
16644 * math/e_scalbl.c: Do not include <fenv.h>.
16645 (invalid_fn): Do calculation resulting in NaN instead of raising
16646 FE_INVALID and returning a NaN explicitly.
16647
16648 2016-08-04 Carlos O'Donell <carlos@redhat.com>
16649
16650 * po/de.po: Updated from Translation Project.
16651 * po/fi.po: Likewise.
16652 * po/sv.po: Likewise.
16653
16654 2016-08-04 Florian Weimer <fweimer@redhat.com>
16655
16656 [BZ #20452]
16657 Use sysdep.o from libc.a in static libraries.
16658 * sysdeps/unix/sysv/linux/i386/Makefile
16659 (libpthread-shared-only-routines): Add sysdep.
16660 (librt-shared-only-routines): Likewise.
16661
16662 2016-08-03 Joseph Myers <joseph@codesourcery.com>
16663
16664 * math/tgmath.h (nextdown): Define if
16665 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
16666 (nextup): Likewise.
16667
16668 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
16669 macro.
16670 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
16671 Document.
16672 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
16673 Document macro.
16674 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
16675 (exp10f): Likewise.
16676 (exp10l): Likewise.
16677 * math/bits/mathcalls.h (exp10): Declare if
16678 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
16679
16680 * manual/arith.texi (nextup): Fix typo in last change.
16681
16682 2016-08-03 Zack Weinberg <zackw@panix.com>
16683
16684 [BZ #19239]
16685 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
16686 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
16687 define major, minor, and makedev to issue deprecation warnings on use.
16688 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
16689 previously-activated deprecation warnings for these macros and prevent
16690 subsequent inclusions of this header from having any effect.
16691 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
16692 including <sys/sysmacros.h>, and undefine it again afterward.
16693
16694 2016-08-03 Zack Weinberg <zackw@panix.com>
16695
16696 * sysdeps/generic/sys/sysmacros.h: Delete file.
16697 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
16698 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
16699 * bits/sysmacros.h: ... here; this encoding is now the generic
16700 encoding. Now defines only the following macros:
16701 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
16702 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
16703 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
16704
16705 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
16706 bits/sysmacros.h and the above new macros to generate the
16707 public implementations of major, minor, and makedev.
16708 * misc/tst-makedev.c: New test.
16709 * include/sys/sysmacros.h: New wrapper.
16710
16711 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
16712 (routines): Add makedev.
16713 (tests): Add tst-makedev.
16714 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
16715 gnu_dev_makedev.
16716 * posix/Makefile (headers): Remove sys/sysmacros.h.
16717 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
16718
16719 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
16720 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
16721 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
16722 * sysdeps/unix/sysv/linux/alpha/libc.abilist
16723 * sysdeps/unix/sysv/linux/arm/libc.abilist
16724 * sysdeps/unix/sysv/linux/hppa/libc.abilist
16725 * sysdeps/unix/sysv/linux/i386/libc.abilist
16726 * sysdeps/unix/sysv/linux/ia64/libc.abilist
16727 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
16728 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
16729 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
16730 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
16731 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
16732 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
16733 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
16734 * sysdeps/unix/sysv/linux/nios2/libc.abilist
16735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
16736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
16737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
16738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
16739 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
16740 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
16741 * sysdeps/unix/sysv/linux/sh/libc.abilist
16742 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
16743 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
16744 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
16745 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
16746 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
16747 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
16748 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
16749 Add GLIBC_2.25.
16750
16751 * include/features.h (__glibc_clang_prereq): New macro.
16752 * misc/sys/cdefs.h (__glibc_clang_has_extension)
16753 (__attribute_deprecated_msg__): New macros.
16754
16755 2016-08-03 Joseph Myers <joseph@codesourcery.com>
16756
16757 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
16758 macro.
16759 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
16760 * manual/arith.texi (issignaling): Document as ISO from TS
16761 18661-1:2014.
16762 (nextup): Likewise.
16763 (nextupf): Likewise.
16764 (nextupl): Likewise.
16765 (nextdown): Likewise.
16766 (nextdownf): Likewise.
16767 (nextdownl): Likewise.
16768 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
16769 macro.
16770 * math/math.h: Define
16771 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16772 <bits/libc-header-start.h> instead of including <features.h>.
16773 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
16774 [__USE_GNU].
16775 * math/bits/mathcalls.h (nextdown): Declare if
16776 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
16777 (nextup): Likewise.
16778 (__issignaling): Likewise.
16779
16780 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16781
16782 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
16783 check, and remove __glibc_likely hint
16784 from FP_INFINITE check.
16785 * s_csinhf.c (__csinhf): Likewise.
16786
16787 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
16788 hint from FP_INFINITE check.
16789 * s_csinhl.c (__csinhl): Likewise.
16790
16791 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16792
16793 * math/Makefile (libm-calls): Insert F placeholder into
16794 object names. Move w_lgamma_compat* routines into
16795 (libm-compat-calls): New variable.
16796 (libm-compat-calls-ldouble-yes): New variable.
16797 (calls): Insert F placeholder.
16798 (generated): Redefine using new type-foreach macro call.
16799 (routines): Likewise.
16800
16801 (types): New variable to hold a list of symbolic names
16802 for each type supported by the target machine.
16803 (libm-routines): Redefine using new types variable.
16804 (type-foreach): macro to replace fooF with the
16805 appropriately suffixed foo for each types.
16806
16807 (type-ldouble-suffix): New variable.
16808 (type-ldouble-routines): Likewise.
16809 (type-ldouble-yes): Likewise.
16810 (type-double-suffix): Likewise.
16811 (type-double-routines): Likewise.
16812 (type-float-suffix): Likewise.
16813 (type-float-routines): Likewise.
16814
16815 (dbl-only-routines): Remove.
16816 (long-c-yes): Likewise.
16817 (long-m-routines): Likewise.
16818 (long-m-support): Likewise.
16819 (long-m-yes): Likewise.
16820 (test-longdouble-yes): Likewise.
16821
16822 (test-float.o): Simplify by increasing the scope of the
16823 recipe which adds libm-test.stmp to the vector types.
16824 (test-ifloat.o): Likewise.
16825 (test-float-finite.o): Likewise.
16826 (test-double.o): Likewise
16827 (test-idouble.o): Likewise.
16828 (test-double-finite.o): Likewise.
16829 (test-ldouble.o): Likewise
16830 (test-ildoubl.o): Likewise.
16831 (test-ldouble-finite.o): Likewise.
16832
16833 (libm-tests): Redefine type tests using foreach and the
16834 list of types in types.
16835
16836 (CPPFLAGS-test-ildoubl.c): Rename to
16837 (CPPFLAGS-test-ildouble.c): New variable
16838
16839 * math/test-ildoubl.c: Rename to
16840 * math/test-ildouble.c: New file.
16841
16842 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16843
16844 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
16845 Use fabsl instead of fabs.
16846 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
16847 Likewise.
16848 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
16849 Add long double suffix to constant to ensure proper
16850 promotion to long double.
16851
16852 2016-08-03 Tom Tromey <tom@tromey.com>
16853
16854 [BZ #20311]
16855 * nptl_db/Makefile (headers): Add proc_service.h.
16856 * nptl_db/proc_service.h: Add include guard. Use
16857 __BEGIN/__END_DECLS.
16858 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
16859 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
16860 arguments.
16861
16862
16863 2016-08-03 Florian Weimer <fweimer@redhat.com>
16864
16865 [BZ #17730]
16866 Avoid using memalign for TCB allocations.
16867 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
16868 (_dl_allocate_tls_storage): Use malloc and manual alignment.
16869 Avoid alignment gap in the TLS_DTV_AT_TP case.
16870 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
16871 determine the pointer to free.
16872 * nptl/tst-tls3-malloc.c: New test.
16873 * nptl/Makefile (tests): Add it.
16874 (tst-tls3-malloc): Link with libdl, libpthread.
16875 (LDFLAGS-tst-tls3-malloc): Set.
16876 (tst-tls3-malloc.out): Depend on DSO used in test.
16877
16878 2016-08-03 Florian Weimer <fweimer@redhat.com>
16879
16880 [BZ #17730]
16881 Avoid using memalign for TLS allocations.
16882 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
16883 is_static member with to_free member.
16884 (union dtv): Use struct dtv_pointer.
16885 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
16886 dtv_pointer instead of is_static.
16887 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
16888 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
16889 instead of val.
16890 (allocate_dtv_entry): New function.
16891 (allocate_and_init): Return struct dtv_pointer. Call
16892 allocate_dtv_entry instead of __libc_memalign.
16893 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
16894 instead of val.
16895 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
16896 instead of is_static. Adjust call to allocate_and_init.
16897 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
16898 struct dtv_pointer instead of val.
16899
16900 2016-08-03 Florian Weimer <fweimer@redhat.com>
16901
16902 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
16903 (MALLOC_ALIGN_MASK): Move ...
16904 * malloc/malloc-internal.h: ... to here.
16905 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
16906
16907 2016-08-03 Joseph Myers <joseph@codesourcery.com>
16908
16909 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
16910 (UDP_ENCAP_GTP1U): Likewise.
16911
16912 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
16913 (PF_MAX): Update value.
16914 (AF_QIPCRTR): New macro.
16915
16916 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
16917
16918 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
16919 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16920 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16921 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
16922 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16923 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
16924 s_truncf-vis3, s_trunc-vis3.
16925 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
16926 (CFLAGS-s_ceil-vis3.c): Likewise.
16927 (CFLAGS-s_floorf-vis3.c): Likewise.
16928 (CFLAGS-s_floor-vis3.c): Likewise.
16929 (CFLAGS-s_truncf-vis3.c): Likewise.
16930 (CFLAGS-s_trunc-vis3.c): Likewise.
16931 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
16932 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
16933 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
16934 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
16935 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
16936 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
16937 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
16938 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
16939 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
16940 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
16941 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
16942 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
16943
16944 2016-08-02 David S. Miller <davem@davemloft.net>
16945
16946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
16947 (__nearbyint_vis3): Don't check for sNaN before float register is
16948 loaded with the incoming argument.
16949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
16950 (__nearbyintf_vis3): Likewise.
16951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
16952 Likewise.
16953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
16954 Likewise.
16955
16956 * string/test-strncmp.c (do_test_limit): Make sure the test data
16957 stream is aligned as required for the type "CHAR".
16958 (do_test): Likewise.
16959
16960 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
16961
16962 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
16963 by beq instructions jumping to the end of the function.
16964 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
16965 clobber list. Use "i" constraint instead of "X".
16966 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
16967 of "X".
16968
16969 2016-08-02 Joseph Myers <joseph@codesourcery.com>
16970
16971 * bits/libc-header-start.h: New file.
16972 * Makefile (headers): Add bits/libc-header-start.h.
16973 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
16974 (__GLIBC_USE): New macro.
16975 * libio/stdio.h: Define
16976 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16977 <bits/libc-header-start.h> instead of including <features.h>.
16978 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
16979 (open_memstream): Likewise.
16980 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
16981 (__asprintf): Likewise.
16982 (asprintf): Likewise.
16983 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
16984 (getdelim): Likewise.
16985 (getline): Likewise.
16986 * string/string.h: Define
16987 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16988 <bits/libc-header-start.h> instead of including <features.h>.
16989 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
16990 (strndup): Likewise.
16991 * wcsmbs/wchar.h: Define
16992 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16993 <bits/libc-header-start.h> instead of including <features.h>.
16994 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
16995 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
16996
16997 2016-08-02 Florian Weimer <fweimer@redhat.com>
16998
16999 Support linking against compatibility symbols, for use in tests.
17000 * include/libc-symbols.h (symbol_version_reference): New macro.
17001 (symbol_version): Use it.
17002 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
17003 (compat_symbol): Use compat_symbol_reference.
17004 (compat_symbol_1, compat_symbol_2): Remove.
17005 (compat_symbol_reference, compat_symbol_reference_1)
17006 (compat_symbol_reference_2): New macro. Use
17007 symbol_version_reference.
17008
17009 2016-08-02 Florian Weimer <fweimer@redhat.com>
17010
17011 [BZ #19469]
17012 * malloc/Makefile (CPPFLAGS): Compile tests with
17013 -DTEST_NO_MALLOPT.
17014 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
17015
17016 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
17017
17018 [BZ #20033]
17019 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
17020 finite version.
17021 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
17022 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
17023 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
17024 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
17025 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
17026 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
17027 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
17028 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
17029 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
17030 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
17031 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
17032 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
17033 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
17034 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
17035 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
17036 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
17037 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
17038 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
17039 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
17040 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
17041 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
17042 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
17043 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
17044 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
17045 in zero power.
17046
17047 2016-08-02 Florian Weimer <fweimer@redhat.com>
17048
17049 [BZ #20370]
17050 * malloc/arena.c (get_free_list): Update comment. Assert that
17051 arenas on the free list have no attached threads.
17052 (remove_from_free_list): New function.
17053 (reused_arena): Call it.
17054
17055 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
17056
17057 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
17058 when it is a NaN.
17059 [_IEEE_FP_INEXACT] Remove.
17060 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
17061 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
17062 when it is a NaN.
17063 [_IEEE_FP_INEXACT] Remove.
17064 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
17065 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
17066 when it is a NaN.
17067 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
17068 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
17069 when its absolute value is greater than 0x1.0p52.
17070 [_IEEE_FP_INEXACT] Remove.
17071 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
17072 when its absolute value is greater than 0x1.0p23.
17073 [_IEEE_FP_INEXACT] Remove.
17074
17075 2016-08-01 Carlos O'Donell <carlos@redhat.com>
17076
17077 * version.h (RELEASE): Set to "development"
17078 (VERSION): Set to 2.24.90.
17079 * NEWS: Add 2.25 section.
17080
17081 * version.h (RELEASE): Set to "stable"
17082 (VERSION): Set to 2.24.
17083 * include/features.h (__GLIBC_MINOR__): Set to 24.
17084
17085 * NEWS: Add 2.24 fixed bugs.
17086 * po/libc.pot: Regenerate.
17087
17088 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
17089
17090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17091 [$(subdir) = math] (libm-sysdep_routines): Remove.
17092 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
17093 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
17094 s_truncf-vis3, s_trunc-vis3.
17095 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
17097 file.
17098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
17099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
17100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
17101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
17104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
17105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
17107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
17108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
17109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
17110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
17111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
17112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
17113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
17117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
17118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
17119 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
17120 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17121 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17122 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
17123 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17124 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17125 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
17126 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
17127 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17128 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
17129 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
17130 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17131 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
17132 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
17133 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
17134 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
17135 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17136 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17137 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
17138 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
17139 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
17140 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
17141
17142 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
17143
17144 [BZ #20384]
17145 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
17146 test-double-libmvec-sincos-avx-main.o,
17147 test-double-libmvec-sincos-avx2-main.o,
17148 test-double-libmvec-sincos-main.o,
17149 test-float-libmvec-sincosf-avx-main.o,
17150 test-float-libmvec-sincosf-avx2-main.o and
17151 test-float-libmvec-sincosf-main.o.
17152 test-float-libmvec-sincosf-avx512-main.o.
17153 ($(objpfx)test-double-libmvec-sincos): Also link with
17154 $(objpfx)test-double-libmvec-sincos-main.o.
17155 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
17156 $(objpfx)test-double-libmvec-sincos-avx-main.o.
17157 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
17158 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
17159 ($(objpfx)test-float-libmvec-sincosf): Also link with
17160 $(objpfx)test-float-libmvec-sincosf-main.o.
17161 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
17162 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
17163 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
17164 test-double-libmvec-sincos-avx512-main.o and
17165 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
17166 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
17167 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
17168 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
17169 (CFLAGS-test-double-libmvec-sincos.c): Removed.
17170 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
17171 (CFLAGS-test-double-libmvec-sincos-main.c): New.
17172 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
17173 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
17174 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
17175 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
17176 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
17177 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
17178 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
17179 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
17180 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
17181 -DREQUIRE_AVX2.
17182 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
17183 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
17184 -DREQUIRE_AVX512F.
17185 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
17186 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
17187 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
17188 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
17189 file.
17190 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
17191 Likewise.
17192 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
17193 Likewise.
17194 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
17195 Likewise.
17196 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
17197 Likewise.
17198 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
17199 Likewise.
17200 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
17201 Likewise.
17202 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
17203 Likewise.
17204
17205 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
17206
17207 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
17208
17209 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
17210
17211 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
17212 and typo in a comment about AT_HWCAP entry.
17213
17214 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
17215
17216 * sysdeps/aarch64/libm-test-ulps: Updated.
17217
17218 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
17219
17220 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
17221 of r13 as it is not restored in mvcle case.
17222
17223 2016-07-19 Mike Frysinger <vapier@gentoo.org>
17224
17225 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
17226 Rename "ret" to "__ret".
17227 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
17228 inline_syscall5, inline_syscall6): Likewise.
17229
17230 2016-07-19 Will Newton <will.newton@gmail.com>
17231
17232 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
17233 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
17234 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
17235 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
17236 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
17237
17238 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
17239
17240 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
17241 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
17242 -mfpmath=387 with $(rtld-CFLAGS).
17243 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
17244 $(rtld-CFLAGS).
17245
17246 2016-07-18 Ross Burton <ross.burton@intel.com>
17247 Khem Raj <raj.khem@gmail.com>
17248
17249 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
17250 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
17251 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
17252 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
17253 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
17254 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
17255 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
17256 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
17257 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
17258 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
17259 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
17260 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
17261 R_METAG_TLS_DTPOFF): New.
17262
17263 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
17264 Matt Clay <mclay@lycos.com>
17265
17266 [BZ #20357]
17267 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
17268 to call __mpsin/__mpcos and to negate values.
17269 * math/auto-libm-test-in: Add test.
17270 * math/auto-libm-test-out: Regenerate.
17271
17272 2016-07-18 Zack Weinberg <zackw@panix.com>
17273
17274 * grp/Makefile: Don't install the internal header grp-merge.h.
17275
17276 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
17277
17278 * sysdeps/aarch64/libm-test-ulps: Regenerated.
17279
17280 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
17281
17282 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
17283
17284 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17285
17286 [BZ #15368]
17287 * sysdeps/unix/sysv/linux/nptl-signals.h
17288 (__nptl_clear_internal_signals): New function.
17289 (__libc_signal_block_all): Likewise.
17290 (__libc_signal_block_app): Likewise.
17291 (__libc_signal_restore_set): Likewise.
17292 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
17293 implementation.
17294 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
17295 the cached pid/tid value in pthread structure.
17296
17297 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
17298
17299 [BZ #20347]
17300 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
17301
17302 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
17303
17304 [BZ #20348]
17305 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
17306 preadv64, pwrite64 and pwritev64.
17307
17308 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
17309
17310 [BZ #20350]
17311 * posix/tst-preadwrite.c: Renamed to ...
17312 * posix/tst-preadwrite-common.c: This.
17313 (PREAD): Removed.
17314 (PWRITE): Likewise.
17315 (STRINGIFY): Likewise.
17316 (STRINGIFY2): Likewise.
17317 (do_prepare): Make it static and remove function arguments.
17318 (do_test): Likewise.
17319 (PREPARE): Updated.
17320 (TEST_FUNCTION): New.
17321 (name): Make it static.
17322 (fd): Likewise.
17323 (do_prepare): Use create_temp_file.
17324 (do_test): Renamed to ...
17325 (do_test_with_offset): This. Make it static and accept offset.
17326 Properly check return value of PWRITE and PREAD. Return bytes
17327 read. Don't close fd nor unlink name.
17328 * posix/tst-preadwrite.c: Rewrite.
17329 * posix/tst-preadwrite64.c: Likewise.
17330
17331 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
17332
17333 [BZ #20309]
17334 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
17335 -mtls-dialect=gnu2 works.
17336 * configure: Regenerated.
17337 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
17338 (tests): Add tst-gnu2-tls1.
17339 (modules-names): Add tst-gnu2-tls1mod.
17340 ($(objpfx)tst-gnu2-tls1): New.
17341 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
17342 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
17343 * elf/tst-gnu2-tls1.c: New file.
17344 * elf/tst-gnu2-tls1mod.c: Likewise.
17345 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
17346 bytes for push in the PLT entry to align the stack.
17347
17348 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
17349
17350 [BZ #20349]
17351 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
17352
17353 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
17354
17355 [BZ #18707]
17356 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
17357 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
17358
17359 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17360
17361 * sysdeps/unix/sysv/linux/sysdep.h
17362 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
17363 guards.
17364 * misc/tst-preadvwritev-common.c: New file.
17365 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
17366 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
17367 a check for files larger than 2GB.
17368
17369 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17370 (__ASSUME_OFF_DIFF_OFF64): Remove define.
17371 * sysdeps/unix/sysv/linux/pread.c
17372 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
17373 __OFF_T_MATCHES_OFF64_T.
17374 * sysdeps/unix/sysv/linux/pread64.c
17375 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
17376 * sysdeps/unix/sysv/linux/preadv.c
17377 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
17378 * sysdeps/unix/sysv/linux/preadv64.c
17379 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
17380 * sysdeps/unix/sysv/linux/pwrite.c
17381 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
17382 * sysdeps/unix/sysv/linux/pwrite64.c
17383 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
17384 * sysdeps/unix/sysv/linux/pwritev.c
17385 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
17386 * sysdeps/unix/sysv/linux/pwritev64.c
17387 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
17388
17389 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
17390
17391 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17392 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
17393
17394 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
17395
17396 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
17397
17398 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
17399
17400 [BZ #20240]
17401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
17402 (CFLAGS-s_modf-ppc32.c): New variable.
17403 (CFLAGS-s_modff-ppc32.c): Likewise.
17404 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17405 (CFLAGS-s_modf-ppc64.c): Likewise.
17406 (CFLAGS-s_modff-ppc64.c): Likewise.
17407
17408 2016-07-07 Andreas Schwab <schwab@suse.de>
17409
17410 [BZ #20263]
17411 * nptl/tst-robust10.c: New test.
17412 * nptl/Makefile (tests): Add tst-robust10.
17413
17414 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
17415
17416 [BZ #20263]
17417 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
17418
17419 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
17420
17421 * sysdeps/s390/linkmap.h (struct link_map_machine):
17422 Remove member gotplt and add member jmprel.
17423 * sysdeps/s390/s390-32/dl-machine.h
17424 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
17425 instead of gotplt with &got[3].
17426 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
17427 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17428
17429 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
17430
17431 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
17432
17433 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17434
17435 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
17436 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
17437 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
17438 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
17439 * libio/vtables.c (_IO_vtable_check)
17440 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
17441 * libio/libioP.h (IO_set_accept_foreign_vtables)
17442 [!PTR_MANGLE]: Do not call PTR_MANGLE.
17443
17444 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
17445
17446 [BZ #20314]
17447 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
17448 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
17449 $(common-objpfx)cmath.
17450 ($(common-objpfx)cstdlib): New target.
17451 ($(common-objpfx)cmath): Likewise.
17452
17453 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
17454
17455 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
17456
17457 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17458
17459 [BZ #20327]
17460 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
17461 are not part of the string.
17462
17463 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17464
17465 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
17466 * nptl/tst-cancel4-common.h (fifoname): New variable.
17467 (fifofd): Likewise.
17468 (cl_fifo): New function.
17469 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
17470 SIGINT.
17471 (tf_open): Add early cancel test.
17472
17473 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
17474
17475 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
17476
17477 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
17478
17479 * sysdeps/generic/ldsodefs.h
17480 (dl_symbol_visibility_binds_local_p): New inline function.
17481 * elf/dl-addr.c (determine_info): Treat hidden and internal
17482 symbols as local.
17483 * elf/dl-lookup.c (do_lookup_x): Likewise.
17484 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
17485
17486 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
17487
17488 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
17489 invalid exception for a sNaN input.
17490 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17491 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
17492 (__nearbyint_vis3): Likewise
17493 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
17494 (__nearbyintf_vis3): Likewise
17495 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
17496 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17497 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
17498 Likewise.
17499 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
17500 Likewise.
17501
17502 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
17503
17504 [BZ #20139]
17505 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
17506 (HAVE_AVX512DQ_ASM_SUPPORT): This.
17507 * sysdeps/x86_64/configure.ac: Require assembler from binutils
17508 2.24 or above.
17509 (HAVE_AVX512_ASM_SUPPORT): Removed.
17510 (HAVE_AVX512DQ_ASM_SUPPORT): New.
17511 * sysdeps/x86_64/configure: Regenerated.
17512 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
17513 check unconditional.
17514 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
17515 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17516 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17517 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
17518 Likewise.
17519 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17520 Likewise.
17521 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
17522 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
17523 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17524 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17525 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
17526 Likewise.
17527 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17528 Likewise.
17529 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17530 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17531 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
17532 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
17533 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
17534 Likewise.
17535 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
17536 Likewise.
17537 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
17538 Likewise.
17539 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
17540 Likewise.
17541 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
17542 Likewise.
17543 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
17544 Likewise.
17545 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
17546 Likewise.
17547 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
17548 Likewise.
17549 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
17550 Likewise.
17551 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
17552 Likewise.
17553 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
17554 Likewise.
17555
17556 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
17557
17558 [BZ #20024]
17559 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
17560 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
17561 of this implementation of vector function.
17562 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
17563 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
17564 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
17565 Likewise.
17566 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
17567 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
17568 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
17569 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
17570 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
17571 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
17572 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
17573 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
17574 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
17575 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
17576 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
17577 for testing vector sincos with fixed ABI.
17578 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17579 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17580 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17581 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17582 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17583 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17584 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17585 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
17586 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
17587 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
17588 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
17589 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
17590 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
17591 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
17592 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
17593 * sysdeps/x86_64/fpu/Makefile: Added new tests.
17594
17595 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
17596
17597 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
17598
17599 2016-06-30 Anton Blanchard <anton@samba.org>
17600
17601 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17602 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
17603 s_sinf-ppc64.
17604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
17605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
17606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
17607 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
17608
17609 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17610
17611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17612 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17613 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
17614 e_expf-ppc64.
17615 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
17616 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
17617 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
17618 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
17619
17620 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
17621
17622 [BZ #20277]
17623 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
17624 when SHARED is defined.
17625
17626 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
17627
17628 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
17629 (index_arch_Prefer_ERMS): Likewise.
17630 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
17631 __memcpy_erms for Prefer_ERMS.
17632 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17633 (__memmove_erms): Enabled for libc.a.
17634 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
17635 __memmove_erms or Prefer_ERMS.
17636 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
17637 __mempcpy_erms for Prefer_ERMS.
17638 * sysdeps/x86_64/multiarch/memset.S (memset): Return
17639 __memset_erms for Prefer_ERMS.
17640
17641 2016-06-30 Andreas Schwab <schwab@suse.de>
17642
17643 [BZ #20262]
17644 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
17645 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
17646 of memory.
17647
17648 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
17649
17650 [BZ #18645]
17651 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
17652 (test-extras): Add tst-cleanupx4aux.
17653 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
17654 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
17655 tst-cleanupx4aux.o.
17656 * nptl/tst-cleanupx4aux.c: New file.
17657
17658 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
17659
17660 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
17661
17662 2016-06-29 Andreas Schwab <schwab@suse.de>
17663
17664 [BZ #20260]
17665 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
17666 address before the beginning of the string as an integer to avoid
17667 array-bounds warning.
17668
17669 2016-06-28 Richard Henderson <rth@redhat.com>
17670
17671 * elf/elf.h (EM_BPF): New.
17672 (EM_NUM): Update.
17673 (R_BPF_NONE, R_BPF_MAP_FD): New.
17674
17675 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
17676 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
17677 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
17678 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
17679 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
17680 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
17681 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
17682 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
17683 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
17684 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
17685 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
17686 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
17687 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
17688 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
17689 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
17690 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
17691 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
17692 (EM_NUM): Update.
17693
17694 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
17695
17696 [BZ #18960]
17697 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
17698 Set _nl_current_LC_CATEGORY_used to two instead of one.
17699
17700 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
17701
17702 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
17703 (do_test): ... this.
17704 (TEST_FUNCTION): New macro.
17705 Include test-skeleton.c.
17706 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
17707 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
17708
17709 2016-06-27 Joseph Myers <joseph@codesourcery.com>
17710
17711 [BZ #15479]
17712 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
17713 floating-point environment rather than just control word.
17714 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17715 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
17716 floating-point environment, with "invalid" exceptions merged in,
17717 rather than just control word.
17718 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
17719 * math/libm-test.inc (trunc_test_data): Do not allow spurious
17720 "inexact" exceptions.
17721
17722 [BZ #15479]
17723 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
17724 floating-point environment rather than just control word.
17725 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17726 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
17727 floating-point environment, with "invalid" exceptions merged in,
17728 rather than just control word.
17729 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
17730 * math/libm-test.inc (floor_test_data): Do not allow spurious
17731 "inexact" exceptions.
17732
17733 [BZ #15479]
17734 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
17735 floating-point environment rather than just control word.
17736 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17737 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
17738 floating-point environment, with "invalid" exceptions merged in,
17739 rather than just control word.
17740 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
17741 * math/libm-test.inc (ceil_test_data): Do not allow spurious
17742 "inexact" exceptions.
17743
17744 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
17745
17746 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
17747 __libc_vfork.
17748 (__vfork) [IS_IN (libc)]: Remove alias.
17749 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
17750 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
17751 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
17752
17753 2016-06-24 Torvald Riegel <triegel@redhat.com>
17754
17755 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
17756 of atomic_compare_and_exchange_bool_rel.
17757 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
17758 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
17759 catomic_compare_and_exchange_bool_rel): Remove.
17760 * sysdeps/aarch64/atomic-machine.h
17761 (atomic_compare_and_exchange_bool_rel): Likewise.
17762 * sysdeps/alpha/atomic-machine.h
17763 (atomic_compare_and_exchange_bool_rel): Likewise.
17764 * sysdeps/arm/atomic-machine.h
17765 (atomic_compare_and_exchange_bool_rel): Likewise.
17766 * sysdeps/mips/atomic-machine.h
17767 (atomic_compare_and_exchange_bool_rel): Likewise.
17768 * sysdeps/microblaze/atomic-machine.h
17769 ( __arch_compare_and_exchange_bool_8_rel,
17770 __arch_compare_and_exchange_bool_16_rel): Likewise.
17771 * sysdeps/powerpc/atomic-machine.h
17772 ( __arch_compare_and_exchange_bool_8_rel,
17773 __arch_compare_and_exchange_bool_16_rel): Likewise.
17774 * sysdeps/powerpc/powerpc32/atomic-machine.h
17775 ( __arch_compare_and_exchange_bool_32_rel,
17776 __arch_compare_and_exchange_bool_64_rel): Likewise.
17777 * sysdeps/powerpc/powerpc64/atomic-machine.h
17778 ( __arch_compare_and_exchange_bool_32_rel,
17779 __arch_compare_and_exchange_bool_64_rel): Likewise.
17780 * sysdeps/tile/atomic-machine.h
17781 (atomic_compare_and_exchange_bool_rel): Likewise.
17782
17783 2016-06-23 Joseph Myers <joseph@codesourcery.com>
17784
17785 [BZ #20296]
17786 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
17787 when either argument is a NaN.
17788 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
17789 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
17790
17791 * math/libm-test.inc (snan_value_ld): New macro.
17792 (isgreater_test_data): Add sNaN tests.
17793 (isgreaterequal_test_data): Likewise.
17794 (isless_test_data): Likewise.
17795 (islessequal_test_data): Likewise.
17796 (islessgreater_test_data): Likewise.
17797 (isunordered_test_data): Likewise.
17798 (nextafter_test_data): Likewise.
17799 (nexttoward_test_data): Likewise.
17800 (remainder_test_data): Likewise.
17801 (remquo_test_data): Likewise.
17802 (significand_test_data): Likewise.
17803 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
17804
17805 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
17806
17807 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
17808 environment macros are defined.
17809 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
17810
17811 2016-06-23 Florian Weimer <fweimer@redhat.com>
17812
17813 [BZ #20191]
17814 Implement vtable verification in libio.
17815 * Makerules (shlib.lds): Place __libc_IO_vtables section.
17816 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
17817 * debug/vdprintf_chk.c (__vdprintf_chk): Call
17818 _IO_new_file_init_internal instead of _IO_file_init.
17819 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
17820 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
17821 * libio/Makefile (routines): Add vtables.
17822 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
17823 (_IO_init): Remove, not for internal use.
17824 (_IO_init_internal): Declare, internal replacement for _IO_init.
17825 (_IO_file_init): Remove, not for internal use.
17826 (_IO_new_file_init): Remove, not for internal use.
17827 (_IO_new_file_init_internal): Declare, internal replacement for
17828 _IO_new_file_init.
17829 (_IO_old_file_init): Remove, not for internal use.
17830 (_IO_old_file_init_internal): Declare, internal replacement for
17831 _IO_old_file_init.
17832 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
17833 internal use.
17834 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
17835 Declare.
17836 (libio_vtable): New macro.
17837 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
17838 functions.
17839 * libio/fileops.c (_IO_new_file_init_internal): Rename from
17840 _IO_new_file_init.
17841 (_IO_new_file_init): New externally visible wrapper which disables
17842 vtable verification.
17843 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
17844 Define as vtables.
17845 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
17846 (_IO_init): New externally visible wrapper which disables
17847 vtable verification.
17848 * libio/iofdopen.c (_IO_new_fdopen): Call
17849 _IO_new_file_init_internal instead of _IO_file_init. Adjust
17850 comment.
17851 * libio/iofopen.c (__fopen_internal): Call
17852 _IO_new_file_init_internal instead of _IO_file_init.
17853 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
17854 Define as vtables.
17855 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
17856 _IO_new_file_init_internal instead of _IO_file_init.
17857 * libio/iopopen.c (_IO_new_popen): Likewise.
17858 (_IO_proc_jumps): Define as vtable.
17859 * libio/iovdprintf.c (_IO_vdprintf): Call
17860 _IO_new_file_init_internal instead of _IO_file_init.
17861 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
17862 (__open_memstream): Call _IO_init_internal instead of _IO_init.
17863 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
17864 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
17865 _IO_old_file_init.
17866 (_IO_old_file_init): New externally visible wrapper which disables
17867 vtable verification.
17868 (_IO_old_file_jumps): Define as vtable.
17869 * libio/oldiofdopen.c (_IO_old_fdopen): Call
17870 _IO_old_file_init_internal instead of _IO_old_file_init.
17871 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17872 * libio/oldiopopen.c (_IO_old_popen): Likewise.
17873 (_IO_old_proc_jumps): Define as vtable.
17874 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
17875 Define as vtables.
17876 * libio/vtables.c: New file.
17877 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
17878 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
17879 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
17880 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
17881 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
17882 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
17883 instead of _IO_init.
17884
17885 2016-06-23 Florian Weimer <fweimer@redhat.com>
17886
17887 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
17888
17889 2016-06-23 Florian Weimer <fweimer@redhat.com>
17890
17891 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
17892 potentially unused.
17893
17894 2016-06-22 Florian Weimer <fweimer@redhat.com>
17895
17896 * test-skeleton.c (write_message): New function.
17897 * malloc/tst-mallocfork2.c (write_message): Remove.
17898 * debug/tst-longjmp_chk2.c (write_indented): New function.
17899 (write_message): Remove.
17900 (stackoverflow_handler): Call write_indented.
17901
17902 2016-06-22 Joseph Myers <joseph@codesourcery.com>
17903
17904 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
17905 "inexact" exceptions after fnstenv.
17906 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17907 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
17908 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
17909
17910 2015-06-22 Zack Weinberg <zackw@panix.com>
17911
17912 * sysdeps/generic/bits/hwcap.h: Moved to ...
17913 * bits/hwcap.h: Here.
17914
17915 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
17916
17917 * sysdeps/aarch64/memcpy.S (memcpy):
17918 Further tuning for performance.
17919
17920 2016-06-21 Florian Weimer <fweimer@redhat.com>
17921
17922 [BZ #20284]
17923 * malloc/arena.c (reused_arena): Do not return NULL if we start
17924 out with a non-corrupted arena.
17925
17926 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17927
17928 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
17929 * misc/tst-preadvwritev.c: New file.
17930 * misc/tst-preadvwritev64.c: Likewise.
17931 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
17932 usage.
17933 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
17934 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
17935 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
17936 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
17937
17938 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
17939
17940 [BZ #19654]
17941 * sysdeps/x86_64/fpu/Makefile: Added new tests.
17942 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
17943 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
17944 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
17945 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
17946 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
17947 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
17948 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
17949 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
17950 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
17951 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
17952 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
17953 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
17954 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
17955 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
17956 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
17957 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
17958 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
17959 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
17960 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
17961 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
17962 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
17963 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
17964 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
17965 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
17966 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
17967
17968 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
17969
17970 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
17971 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
17972
17973 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
17974
17975 * sysdeps/aarch64/memcpy.S (memcpy):
17976 Rewrite of optimized memcpy and memmove.
17977 * sysdeps/aarch64/memmove.S (memmove): Remove
17978 memmove code (merged into memcpy.S).
17979
17980 2016-06-20 Florian Weimer <fweimer@redhat.com>
17981
17982 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
17983 * sysdeps/generic/dl-dtv.h: New file.
17984 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17985 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
17986 (dtv_t): Remove.
17987 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17988 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
17989 (dtv_t): Remove.
17990 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17991 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
17992 (dtv_t): Remove.
17993 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17994 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
17995 (dtv_t): Remove.
17996 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17997 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
17998 (dtv_t): Remove.
17999 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18000 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
18001 (dtv_t): Remove.
18002 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18003 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
18004 (dtv_t): Remove.
18005 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
18006 (dtv_t): Remove.
18007 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18008 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
18009 (dtv_t): Remove.
18010 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18011 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
18012 (dtv_t): Remove.
18013 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18014 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
18015 (dtv_t): Remove.
18016 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18017 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
18018 (dtv_t): Remove.
18019 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18020 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
18021 (dtv_t): Remove.
18022 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18023 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
18024 (dtv_t): Remove.
18025 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18026 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
18027 (dtv_t): Remove.
18028 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18029 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
18030 (dtv_t): Remove.
18031
18032 2016-06-20 Florian Weimer <fweimer@redhat.com>
18033
18034 Revert symbol poisoning of __malloc_initialize_hook.
18035 * include/stdc-predef.h (__malloc_initialize_hook): Remove
18036 poisoning.
18037 * malloc/Makefile: Remove un-poisoning.
18038 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
18039 instead of old__malloc_initialize_hook.
18040 * malloc/malloc-hooks.h: Likewise.
18041 * malloc/malloc.c: Likewise.
18042 * malloc/mcheck-init.c: Likewise.
18043
18044 2016-06-19 Carlos O'Donell <carlos@redhat.com>
18045
18046 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
18047
18048 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
18049
18050 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
18051 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
18052 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
18053 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
18054
18055 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18056
18057 * NEWS: Mention addition of nextup and nextdown.
18058 * manual/arith.texi: Document nextup and nextdown.
18059 * manual/libm-err-tab.pl: Add nextup and nextdown.
18060 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
18061 * math/Versions (libm): Add GLIBC_2.24.
18062 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
18063 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
18064 Add new test.
18065 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
18066 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
18067 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
18068 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
18069 (nextup_test_data): Likewise.
18070 (nextdown_test_data): Likewise.
18071 * math/s_nextdown.c: New file.
18072 * math/s_nextdownf.c: Likewise.
18073 * math/s_nextdownl.c: Likewise.
18074 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
18075 F(nextup): New function.
18076 F(nextdown): Likewise.
18077 * math/tgmath.h: Add nextup and nextdown.
18078 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
18079 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
18080 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
18081 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
18082 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
18083 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
18084 Add nextup and nextdown.
18085 (CFLAGS-nldbl-nextup.c): New variable.
18086 (CFLAGS-nldbl-nextdown.c): Likewise.
18087 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
18088 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
18089 * sysdeps/nacl/libm.abilist: Update.
18090 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18091 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18092 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18093 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18094 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18095 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18096 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18097 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18098 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18099 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18100 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18101 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18104 Likewise.
18105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18107 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18108 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18109 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18110 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18111 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
18113 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
18114 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18115 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18116 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
18117 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18118
18119 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
18120
18121 * manual/pattern.texi: Fix typos & grammar errors.
18122
18123 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
18124
18125 * manual/search.texi: Fix typos & grammar errors.
18126
18127 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
18128
18129 * manual/message.texi: Fix typos & grammar errors.
18130
18131 2016-06-16 Mike Frysinger <vapier@gentoo.org>
18132
18133 * manual/contrib.texi: Fix spelling typos.
18134 * manual/crypt.texi: Likewise.
18135 * manual/filesys.texi: Likewise.
18136 * manual/locale.texi: Likewise.
18137 * manual/message.texi: Likewise.
18138 * manual/nss.texi: Likewise.
18139 * manual/string.texi: Likewise.
18140
18141 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
18142
18143 * manual/locale.texi: Fix typos & grammar errors.
18144
18145 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
18146
18147 * manual/charset.texi: Fix typos & grammar errors.
18148
18149 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
18150
18151 * manual/string.texi: Fix typos.
18152
18153 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
18154
18155 * manual/ctype.texi: Fix typos.
18156
18157 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
18158
18159 * manual/memory.texi: Fix various typos & grammar errors.
18160
18161 2016-06-14 Joseph Myers <joseph@codesourcery.com>
18162
18163 [BZ #20255]
18164 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
18165 * math/libm-test.inc (fdim_test_data): Add another test.
18166
18167 [BZ #6796]
18168 [BZ #20255]
18169 [BZ #20256]
18170 * math/s_fdim.c: Include <math_private.h>.
18171 (__fdim): Use math_narrow_eval on result.
18172 * math/s_fdimf.c: Include <math_private.h>.
18173 (__fdimf): Use math_narrow_eval on result.
18174 * sysdeps/i386/fpu/s_fdim.S: Remove file.
18175 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
18176 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
18177 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
18178 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
18179 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
18180 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
18181 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
18182 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
18183 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
18184 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
18185 * math/libm-test.inc (fdim_test_data): Expect errno setting on
18186 overflow. Add sNaN tests.
18187
18188 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
18189 fpclassify.
18190 * math/s_fdimf.c (__fdimf): Likewise.
18191 * math/s_fdiml.c (__fdiml): Likewise.
18192
18193 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18194
18195 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18196 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
18197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18198 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
18199 ifunc'ed strcasecmp/strncasecmp.
18200 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
18201 [EALIGN]: Removed.
18202 [END]: Likewise.
18203 [__strcasecmp]: Define instead of the above to control symbol name.
18204 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
18205 for __strcasecmp_power8.
18206 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
18207 for __strncasecmp_power8.
18208 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
18209 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
18210 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
18211 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
18212 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
18213 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
18214
18215 2016-06-13 Joseph Myers <joseph@codesourcery.com>
18216
18217 [BZ #20252]
18218 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
18219 arguments when second argument is a NaN.
18220 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
18221 qNaN tests.
18222
18223 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
18224 (conj_test_data): Likewise.
18225 (copysign_test_data): Likewise.
18226 (creal_test_data): Likewise.
18227 (fma_test_data): Likewise.
18228 (fmod_test_data): Likewise.
18229
18230 [BZ #20250]
18231 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
18232 itself.
18233 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
18234 zero input to itself.
18235 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
18236 Likewise.
18237 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
18238 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
18239 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18240 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
18241 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
18242
18243 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18244
18245 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
18246 * nptl/tst-cancel4-common.c: New file.
18247 * nptl/tst-cancel4-common.h: Likewise.
18248 * nptl/tst-cancel4.c: Move common definitions to
18249 tst-cancel4-common.{c,h} file.
18250 * nptl/tst-cancel4_1.c: New test.
18251 * nptl/tst-cancel4_2.c: New test.
18252
18253 2016-06-13 Florian Weimer <fweimer@redhat.com>
18254
18255 [BZ #20248]
18256 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
18257 (write_message): New function.
18258 (stackoverflow_handler): Call it instead of printf, to avoid
18259 excessive stack usage by printf.
18260 (do_test): Restore SIGSEGV, SIGBUS default handlers.
18261
18262 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18263
18264 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
18265 (prio_inherit_missing): Remove define.
18266 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18267 (__ASSUME_FUTEX_LOCK_PI): Likewise.
18268 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
18269 Likewise.
18270 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18271 (__ASSUME_FUTEX_LOCK_PI): Likewise.
18272 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18273 (__ASSUME_FUTEX_LOCK_PI): Likewise.
18274 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18275 (__ASSUME_FUTEX_LOCK_PI): Likewise.
18276
18277 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
18278
18279 [BZ #19670]
18280 [BZ #19672]
18281
18282 * io/test-lfs.c (do_prepare): Use xmalloc.
18283 * io/tst-fcntl.c (do_prepare): Likewise.
18284 * libio/tst-fopenloc.c (do_bz17916): Likewise.
18285 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
18286 * login/tst-utmp.c (do_prepare): Likewise.
18287 * posix/tst-exec.c (do_prepare): Likewise.
18288 * posix/tst-pathconf.c (prepare): Likewise.
18289 * posix/tst-spawn.c (do_prepare): Likewise.
18290 * posix/tst-truncate.c (do_prepare): Likewise.
18291 * rt/tst-aio.c (do_prepare): Likewise.
18292 * rt/tst-aio64.c (do_prepare): Likewise.
18293
18294 2016-06-11 Florian Weimer <fweimer@redhat.com>
18295
18296 [BZ #20237]
18297 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
18298 (get*ent): Set entidx to NULL during initialization. If entidx is
18299 NULL, start iteration from the beginning.
18300
18301 2016-06-11 Florian Weimer <fweimer@redhat.com>
18302
18303 * malloc/malloc.c (musable): Return correct size for dumped fake
18304 mmapped chunk.
18305
18306 2016-06-11 Florian Weimer <fweimer@redhat.com>
18307
18308 [BZ #20222]
18309 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
18310 (_IO_cookie_write): Likewise.
18311 (_IO_cookie_seek): Likewise.
18312 (_IO_cookie_close): Likewise.
18313 (_IO_old_cookie_seek): Likewise.
18314 (set_callbacks): New function.
18315 (_IO_cookie_init): Call set_callbacks to copy callbacks.
18316
18317 2016-06-11 Marko Myllynen <myllynen@redhat.com>
18318
18319 * locale/programs/localedef.c (oldstyle_tables): Remove.
18320 * locale/programs/localedef.h (oldstyle_tables): Likewise.
18321
18322 2016-06-10 Joseph Myers <joseph@codesourcery.com>
18323
18324 [BZ #20240]
18325 * math/Makefile (CFLAGS-s_modf.c): New variable.
18326 (CFLAGS-s_modff.c): Likewise.
18327 (CFLAGS-s_modfl.c): Likewise.
18328 * math/libm-test.inc (modf_test_data): Add sNaN tests.
18329
18330 2016-06-09 Carlos O'Donell <carlos@redhat.com>
18331
18332 [BZ #20215]
18333 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
18334 [!__GNUC_PREREQ (3,2)]: Likewise.
18335
18336 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
18337
18338 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
18339 (msghdr.msg_controllen): Likewise.
18340 (cmsghdr.cmsg_len): Likewise.
18341 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
18342 ptw-oldsendmsg.
18343 (CFLAGS-oldrecvmsg.c): Remove rule.
18344 (CFLAGS-oldsendmsg.c): Likewise.
18345 (CFLAGS-recvmsg.c): Add rule.
18346 (CFLAGS-sendmsg.c): Likewise.
18347 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
18348 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
18349 (CFLAGS-recvmsg.c): Remove rule.
18350 (CFLAGS-sendmsg.c): Likewise.
18351 (CFLAGS-oldrecvmsg.c): Likewise.
18352 (CFLAGS-oldsendmsg.c): Likewise.
18353 (CFLAGS-recvmmsg.c): Likewise.
18354 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
18355 to kernel defined interfaces.
18356 (msghdr.msg_controllen): Likewise.
18357 (cmsghdr.cmsg_len): Likewise.
18358 (msghdr.__glibc_reserved1): Remove member.
18359 (msghdr.__glibc_reserved2): Likewise.
18360 (cmsghdr.__glibc_reserved1): Likewise.
18361 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
18362 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
18363 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
18364 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
18365 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
18366 version.
18367 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
18368 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
18369 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
18370 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
18371 Remove recvmsg and sendmsg.
18372 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
18373 Likewise.
18374 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
18375 Likewise.
18376 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
18377 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
18378 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
18379 Likewise.
18380 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
18381 Likewise.
18382 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
18383 [libc] (GLIBC_2.24): Likewise.
18384 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
18385 Likewise.
18386 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
18387 Likewise.
18388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18389 [libc] (GLIBC_2.24): Likewise.
18390 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
18391 Likewise.
18392 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
18393 Likewise.
18394 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
18395 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
18396 Likewise.
18397 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
18398 Likewise.
18399 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
18400 Likewise.
18401 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
18402 Likewise.
18403 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
18404 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
18405 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
18406 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
18407 version for {recv,send,recm,sendm}msg.
18408 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18409 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18410 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18411 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18412 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18413 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18414 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18415 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18416 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18417 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18418 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18419 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18421 Likewise.
18422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18423 Likewise.
18424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18426 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18427 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18428 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18429 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18430 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18431 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
18433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
18434 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18435 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18436 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18437
18438 2016-06-10 Florian Weimer <fweimer@redhat.com>
18439
18440 [BZ #19564]
18441 Remove __malloc_initialize_hook from the API.
18442 * malloc/malloc.h (__malloc_initialize_hook): Remove.
18443 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
18444 #pragma GCC poison.
18445 * malloc/malloc-hooks.h: New file.
18446 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
18447 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
18448 (old__malloc_initialize_hook): Rename from
18449 __malloc_initialize_hook to evade poisoning. Turn into compat
18450 symbol.
18451 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
18452 __malloc_initialize_hook.
18453 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
18454 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
18455 * manual/memory.texi (Hooks for Malloc): Remove
18456 __malloc_initialize_hook. Adjust hook example.
18457
18458 2016-06-09 Joseph Myers <joseph@codesourcery.com>
18459
18460 [BZ #20235]
18461 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
18462 itself.
18463 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18464 * math/libm-test.inc (log2_test_data): Add sNaN tests.
18465
18466 [BZ #20234]
18467 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
18468 infinity or NaN input to itself.
18469
18470 [BZ #20233]
18471 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
18472 to itself.
18473
18474 [BZ #20232]
18475 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
18476 itself.
18477
18478 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
18479
18480 * sysdeps/x86_64/start.S (_start): Always indirect branch to
18481 __libc_start_main via GOT.
18482
18483 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
18484
18485 * sysdeps/x86_64/memcopy.h: New file.
18486 * sysdeps/x86_64/wordcopy.c: Likewise.
18487
18488 2016-06-09 Florian Weimer <fweimer@redhat.com>
18489
18490 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
18491 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
18492 <cstdlib>.
18493 (optimization_barrier): New.
18494 (do_test): Use it. Call quick_exit in the global namespace.
18495 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
18496 instead of <cstdlib>, <thread>.
18497 (optimization_barrier): New.
18498 (non_main_thread): Adjust declaration. Call optimization_barrier.
18499 Call quick_exit in the global namespace.
18500 (do_test): Call optimization_barrier. Use pthread_create,
18501 pthread_join instead of std::thread.
18502
18503 2016-06-09 Andreas Schwab <schwab@suse.de>
18504
18505 [BZ #19755]
18506 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
18507 new entries in auto-propagate mode.
18508 * nscd/grpcache.c (cache_addgr): Likewise.
18509
18510 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
18511
18512 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
18513 New functions.
18514 (add_temp_file): Use them.
18515
18516 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
18517
18518 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
18519
18520 2016-06-08 Joseph Myers <joseph@codesourcery.com>
18521
18522 [BZ #20229]
18523 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
18524 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
18525 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
18526
18527 [BZ #20228]
18528 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
18529 itself.
18530 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18531 * math/libm-test.inc (log10_test_data): Add sNaN tests.
18532
18533 [BZ #20227]
18534 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
18535 itself.
18536 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18537 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18538 * math/libm-test.inc (log_test_data): Add sNaN tests.
18539
18540 [BZ #20226]
18541 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
18542 itself.
18543 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18544 * math/libm-test.inc (exp_test_data): Add sNaN tests.
18545 (exp10_test_data): Likewise.
18546 (expm1_test_data): Likewise.
18547
18548 [BZ #20225]
18549 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
18550 itself.
18551 * math/s_ldexpf.c (__ldexpf): Likewise.
18552 * math/s_ldexpl.c (__ldexpl): Likewise.
18553 * math/w_scalbln.c (__w_scalbln): Likewise.
18554 * math/w_scalblnf.c (__w_scalblnf): Likewise.
18555 * math/w_scalblnl.c (__w_scalblnl): Likewise.
18556 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
18557 (scalbln_test_data): Likewise.
18558
18559 [BZ #20224]
18560 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
18561 argument to itself.
18562 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
18563
18564 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
18565
18566 [BZ #19776]
18567 * sysdeps/x86_64/memcpy.S: Make it dummy.
18568 * sysdeps/x86_64/mempcpy.S: Likewise.
18569 * sysdeps/x86_64/memmove.S: New file.
18570 * sysdeps/x86_64/memmove_chk.S: Likewise.
18571 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
18572 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
18573 * sysdeps/x86_64/memmove.c: Removed.
18574 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
18575 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18576 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
18577 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
18578 Likewise.
18579 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18580 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18581 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18582 memcpy-sse2-unaligned, memmove-avx-unaligned,
18583 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
18584 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18585 (__libc_ifunc_impl_list): Replace
18586 __memmove_chk_avx512_unaligned_2 with
18587 __memmove_chk_avx512_unaligned. Remove
18588 __memmove_chk_avx_unaligned_2. Replace
18589 __memmove_chk_sse2_unaligned_2 with
18590 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
18591 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
18592 with __memmove_avx512_unaligned. Replace
18593 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
18594 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
18595 with __memcpy_chk_avx512_unaligned. Remove
18596 __memcpy_chk_avx_unaligned_2. Replace
18597 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
18598 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
18599 Replace __memcpy_avx512_unaligned_2 with
18600 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
18601 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
18602 with __mempcpy_chk_avx512_unaligned. Remove
18603 __mempcpy_chk_avx_unaligned_2. Replace
18604 __mempcpy_chk_sse2_unaligned_2 with
18605 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
18606 Replace __mempcpy_avx512_unaligned_2 with
18607 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
18608 Replace __mempcpy_sse2_unaligned_2 with
18609 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
18610 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
18611 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
18612 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
18613 if processor has ERMS. Default to __memcpy_sse2_unaligned.
18614 (ENTRY): Removed.
18615 (END): Likewise.
18616 (ENTRY_CHK): Likewise.
18617 (libc_hidden_builtin_def): Likewise.
18618 Don't include ../memcpy.S.
18619 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
18620 __memcpy_chk_avx512_unaligned_erms and
18621 __memcpy_chk_avx512_unaligned. Use
18622 __memcpy_chk_avx_unaligned_erms and
18623 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
18624 Default to __memcpy_chk_sse2_unaligned.
18625 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
18626 Change function suffix from unaligned_2 to unaligned.
18627 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
18628 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
18629 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
18630 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
18631 (ENTRY): Removed.
18632 (END): Likewise.
18633 (ENTRY_CHK): Likewise.
18634 (libc_hidden_builtin_def): Likewise.
18635 Don't include ../mempcpy.S.
18636 (mempcpy): New. Add a weak alias.
18637 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
18638 __mempcpy_chk_avx512_unaligned_erms and
18639 __mempcpy_chk_avx512_unaligned. Use
18640 __mempcpy_chk_avx_unaligned_erms and
18641 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
18642 Default to __mempcpy_chk_sse2_unaligned.
18643
18644 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
18645
18646 [BZ #19881]
18647 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
18648 into ...
18649 * sysdeps/x86_64/memset.S: This.
18650 (__bzero): Removed.
18651 (__memset_tail): Likewise.
18652 (__memset_chk): Likewise.
18653 (memset): Likewise.
18654 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
18655 defined.
18656 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
18657 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
18658 (__memset_zero_constant_len_parameter): Check SHARED instead of
18659 PIC.
18660 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18661 memset-avx2 and memset-sse2-unaligned-erms.
18662 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18663 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
18664 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
18665 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
18666 (__bzero): Enabled.
18667 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
18668 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
18669 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
18670 or __memset_avx2_unaligned_erms if processor has ERMS. Support
18671 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
18672 (memset): Removed.
18673 (__memset_chk): Likewise.
18674 (MEMSET_SYMBOL): New.
18675 (libc_hidden_builtin_def): Replace __memset_sse2 with
18676 __memset_sse2_unaligned.
18677 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
18678 __memset_chk_sse2 and __memset_chk_avx2 with
18679 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
18680 Use __memset_chk_sse2_unaligned_erms or
18681 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
18682 __memset_chk_avx512_unaligned_erms and
18683 __memset_chk_avx512_unaligned.
18684
18685 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18686
18687 * math/gen-auto-libm-test.c (fp_format_desc): remove
18688 suffix member.
18689 (output_generic_value): Remove usage of suffix member,
18690 and the resulting unuse of the fp_format argument.
18691 (output_for_one_input_case): Remove unused fp_format
18692 parameter.
18693
18694 * math/auto-libm-test-out: Regenerate.
18695
18696 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
18697 usage with TEST_COND_ibm128.
18698 (TEST_COND_flt_32): Remove.
18699 (TEST_COND_dbl_64): Remove.
18700 (TEST_COND_ldbl_96_intel): Remove.
18701 (TEST_COND_ldbl_96_m68k): Remove.
18702 (TEST_COND_ldbl_128): Remove.
18703
18704 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18705
18706 * auto-libm-test-in:
18707 Replace flt-32 usage with binary32.
18708 Replace dbl-64 usage with binary64.
18709 Replace ldbl-intel-96 usage with intel96.
18710 Replace ldbl-m68k-96 usage with m68k96.
18711 Replace ldbl-128ibm usage with ibm128.
18712 Replace ldbl-128 usage with binary128.
18713
18714 * auto-libm-test-out: Regenerate.
18715
18716 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18717
18718 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
18719 (parse_ulps): Dynamically generate type name matching
18720 string from all_floats.
18721 (get_ulps): Generate the ulps as an array instead.
18722 (output_ulps): Dynamically compose the type based
18723 on the number of supported formats, and print
18724 the indices as type specific helper macros.
18725
18726 * math/libm-test.inc: Remove comment about CHOOSE.
18727 (ulp_data): Generate the type in libm-test-ulps.h.
18728 (ULP_IDX): New macro.
18729 (find_ulps): Update usage of max_ulp.
18730
18731 * math/test-double-vlen2.h (CHOOSE): Remove.
18732 * math/test-double-vlen4.h (CHOOSE): Likewise.
18733 * math/test-double-vlen8.h (CHOOSE): Likewise.
18734 * math/test-float.c (CHOOSE): Likewise.
18735 * math/test-float-finite.c (CHOOSE): Likewise.
18736 * math/test-double.c (CHOOSE): Likewise.
18737 * math/test-double-finite.c (CHOOSE): Likewise.
18738 * math/test-idouble.c (CHOOSE): Likewise.
18739 * math/test-ifloat.c (CHOOSE): Likewise.
18740 * math/test-ildoubl.c (CHOOSE): Likewise.
18741 * math/test-ldouble-finite.c (CHOOSE): Likewise.
18742 * math/test-ldouble.c (CHOOSE): Likewise.
18743
18744 * math/test-float.h (TEST_FLOAT): Remove.
18745 * math/test-double.h (TEST_DOUBLE): Likewise.
18746 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
18747
18748 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18749
18750 * math/gen-libm-test.pl: (apply_lit): New subroutine.
18751 (parse_args): Strip C suffix from floating point literals
18752 typed with 'f' and wrap them with LIT().
18753
18754 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
18755 (test_ff_f_data_nexttoward): Rename to
18756 (test_fj_f_data): New struct.
18757 (nexttoward_test_data): Relabel tests as
18758 TEST_fj_f instead of TEST_ff_f.
18759
18760 2016-06-08 Florian Weimer <fweimer@redhat.com>
18761
18762 Emacs bug 23726.
18763 * malloc/malloc.c (dumped_main_arena_start): Update comment.
18764 (__libc_realloc): Correct size computation for dumped fake mmapped
18765 chunks.
18766
18767 2016-06-07 Joseph Myers <joseph@codesourcery.com>
18768
18769 [BZ #20219]
18770 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
18771 to itself.
18772 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
18773
18774 [BZ #20218]
18775 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
18776 to itself.
18777 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
18778
18779 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
18780
18781 [BZ #20195]
18782 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
18783 check to ...
18784 (init_cpu_features): Here.
18785
18786 2016-06-07 Carlos O'Donell <carlos@redhat.com>
18787
18788 [BZ #20214]
18789 * sysdeps/unix/sysv/linux/bits/in.h
18790 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
18791 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
18792 Define to 1.
18793 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
18794 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
18795 Define to 0.
18796 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
18797 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
18798
18799 2016-06-06 Carlos O'Donell <carlos@redhat.com>
18800
18801 [BZ #20198]
18802 * stdlib/Makefile (tests): Add tst-quick_exit, and
18803 tst-thread-quick_exit.
18804 [ifeq ($(have-cxx-thread_local),yes)]
18805 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
18806 (CFLAGS-tst-thread-quick_exit.o): Likewise.
18807 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
18808 (LDLIBS-tst-thread-quick_exit): Likewise.
18809 [ifneq ($(have-cxx-thread_local),yes)]
18810 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
18811 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
18812 If run_dtors is true call __call_tls_dtors.
18813 (exit): Call __run_exit_handlers with run_dtors set to true.
18814 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
18815 definition.
18816 * stdlib/quick_exit.c (quick_exit): Remove function.
18817 (__new_quick_exit): New function.
18818 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
18819 function.
18820 * stdlib/tst-quick_exit.cc: New file.
18821 * stdlib/tst-thread-quick_exit.cc: New file.
18822 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
18823 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
18824 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
18825 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
18826 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
18827 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
18828 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
18829 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
18830 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
18831 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
18832 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
18833 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
18834 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
18835 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
18836 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
18837 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
18838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
18839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
18840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
18841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
18842 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
18843 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
18844 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
18845 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
18846 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
18847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
18848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
18849 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
18850 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
18851 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
18852
18853 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
18854
18855 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
18856 a typo in comments.
18857
18858 2016-06-06 Joseph Myers <joseph@codesourcery.com>
18859
18860 [BZ #20213]
18861 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
18862 argument to itself.
18863 * math/libm-test.inc (asin_test_data): Add sNaN tests.
18864
18865 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18866
18867 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
18868 required flags.
18869 (CFLAGS-pwritev64.c): Likewise.
18870 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
18871 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
18872 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
18873 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18874 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
18875 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
18876 syscall from auto-generation.
18877 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
18878 [WORDSIZE == 64] (pwritev64): Remove macro.
18879 [!PWRITEV] (PWRITEV): Likewise.
18880 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
18881 [!PWRITEV] (PWRITE): Likewise.
18882 [!PWRITEV] (OFF_T): Likewise.
18883 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
18884 (LO_HI_LONG): Remove macro.
18885 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
18886 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
18887 (PWRITEV): Remove macro.
18888 (PWRITEV_REPLACEMENTE): Likewise.
18889 (PWRITE): Likewise.
18890 (OFF_T): Likewise.
18891 (pwritev64): New function.
18892 * nptl/tst-cancel4.c (tf_writev): Add test.
18893
18894 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
18895 required flags.
18896 (CFLAGS-preadv64.c): Likewise.
18897 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
18898 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
18899 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
18900 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
18901 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
18902 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
18903 syscall from auto-generation.
18904 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
18905 [WORDSIZE == 64] (preadv64): Remove macro.
18906 [!PREADV] (PREADV): Likewise.
18907 [!PREADV] (PREADV_REPLACEMENT): Likewise.
18908 [!PREADV] (PREAD): Likewise.
18909 [!PREADV] (OFF_T): Likewise.
18910 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
18911 (LO_HI_LONG): Remove macro.
18912 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
18913 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
18914 (PREADV): Remove macro.
18915 (PREADV_REPLACEMENTE): Likewise.
18916 (PREAD): Likewise.
18917 (OFF_T): Likewise.
18918 (preadv64): New function.
18919 * nptl/tst-cancel4.c (tf_preadv): Add test.
18920
18921 2016-06-06 Joseph Myers <joseph@codesourcery.com>
18922
18923 [BZ #20212]
18924 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
18925 argument to itself.
18926 * math/libm-test.inc (acos_test_data): Add sNaN tests.
18927
18928 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18929
18930 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
18931 New symbol defined as libc_hidden_def.
18932 (strcasestr): Became a weak alias to __strcasestr.
18933 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
18934 according to multi-arch support. Move __stpncpy hidden
18935 definition from here to...
18936 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
18937 symbol stpncpy.
18938 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
18939 libc_hidden_builtin_def.
18940 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
18941 memset symbol to use when multi-arch support is available.
18942
18943 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
18944
18945 * dlfcn/tst-rec-dlopen.c: Include string.h.
18946
18947 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18948
18949 * manual/install.texi: Remove mention of --without-tls
18950 * INSTALL: Regenerate.
18951
18952 2016-06-05 Florian Weimer <fweimer@redhat.com>
18953
18954 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
18955 Remove.
18956 (call_function, interposed_malloc_called): New variables.
18957 (malloc): New function.
18958 (do_test): Do not change malloc hooks. Initialize malloc. Set
18959 and clear call_function as needed.
18960
18961 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
18962
18963 * include/wchar.h (__wmemset): Use __typeof.
18964
18965 2016-06-03 Carlos O'Donell <carlos@redhat.com>
18966
18967 * include/wchar.h (__wmemset): Declare function without typeof.
18968
18969 2016-06-03 Joseph Myers <joseph@codesourcery.com>
18970
18971 [BZ #20205]
18972 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
18973 exponent when incrementing negative subnormal with low mantissa
18974 word zero.
18975 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
18976 Add another test.
18977
18978 2016-06-03 Florian Weimer <fweimer@redhat.com>
18979
18980 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
18981 __wmemset instead of wmemset.
18982
18983 2016-06-02 Carlos O'Donell <carlos@redhat.com>
18984
18985 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
18986 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
18987 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
18988 __USE_KERNEL_IPV6_DEFS to 0.
18989 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
18990 Update comment.
18991
18992 2016-06-01 Florian Weimer <fweimer@redhat.com>
18993
18994 [BZ #19861]
18995 Do not use IFUNC resolver with potentially unrelocated symbol.
18996 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
18997 (DEFINE_FORK): Remove macro and inline definition.
18998 (fork_alias): Renamed from fork_ifunc.
18999 (__fork_alias): Renamed from __fork_ifunc.
19000
19001 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
19002
19003 [BZ 19653]
19004 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
19005 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
19006
19007 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19008
19009 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
19010 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
19011 i386-linux-gnu).
19012 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
19013 Set to no.
19014 * sysdeps/mach/hurd/configure: Refresh.
19015
19016 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19017
19018 [BZ #20178]
19019 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
19020 on failure instead of exit.
19021
19022 2016-05-30 Roland McGrath <roland@hack.frob.com>
19023
19024 [BZ #3629]
19025 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
19026 of POSIX.1-2008.
19027
19028 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19029
19030 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
19031 Use PLT entry for calling _hurd_self_sigstate.
19032
19033 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
19034
19035 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
19036 available logical processors with SMT level type sharing L2
19037 cache for Intel processors.
19038
19039 2016-05-27 Joseph Myers <joseph@codesourcery.com>
19040
19041 [BZ #20160]
19042 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
19043 argument to itself before returning the result.
19044 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
19045 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
19046 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
19047 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
19048 Likewise.
19049 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
19050 Likewise.
19051 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
19052 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
19053 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
19054 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
19055 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
19056 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
19057
19058 [BZ #20160]
19059 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
19060 argument to itself before returning the result.
19061 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
19062 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
19063 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
19064 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
19065 Likewise.
19066 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19067 Likewise.
19068 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
19069 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
19070 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
19071 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
19072 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
19073 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
19074
19075 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19076
19077 * libm-test.inc: Replace usage of M_El with
19078 (lit_e): New macro.
19079
19080 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19081
19082 * libm-test.inc: Replace usage of M_PI_4l with
19083 (lit_pi_4_d): New macro.
19084
19085 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19086
19087 * libm-test.inc: Replace usage of M_PIl with
19088 (lit_pi): New macro.
19089
19090 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19091
19092 * libm-test.inc: Replace usage of M_PI2l with
19093 (lit_pi_2_d): New macro.
19094
19095 * math/test-double.h (LITM): New macro.
19096 * math/test-float.h (LITM): Likewise.
19097 * math/test-ldouble.h (LITM): Likewise.
19098
19099 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19100
19101 * libm-test.inc (M_PI_34l): Rename to
19102 (lit_pi_3_m_4_d): New Macro.
19103 (M_PI_34_LOG10El): Rename to
19104 (lit_pi_3_m_4_ln10_m_d): New Macro.
19105 (M_PI2_LOG10El): Rename to
19106 (lit_pi_2_ln10_m_d): New Macro.
19107 (M_PI4_LOG10El): Rename to
19108 (lit_pi_4_ln10_m_d): New Macro.
19109 (M_PI_LOG10El): Rename to
19110 (lit_pi_ln10_d): New Macro.
19111
19112 2016-05-27 Joseph Myers <joseph@codesourcery.com>
19113
19114 [BZ #20157]
19115 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
19116 determine whether to negate low half if [_ARCH_PPCGR], and integer
19117 comparison otherwise.
19118 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
19119 determine whether to negate low half.
19120
19121 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
19122 (NO_TEST_INLINE_DOUBLE): Likewise.
19123 (TEST_COND_x86_64): Likewise.
19124 (TEST_COND_x86): Likewise.
19125 (M_PI_6l): Likewise.
19126
19127 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19128
19129 * math/libm-test.inc:
19130 (TEST_FLOAT): Change usage to TEST_COND_binary32.
19131 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
19132 (TEST_LDOUBLE): Update usage to evaluate as true if
19133 the guarded tests match the property being tested.
19134 (LDBL_MAX_EXP): Change to MAX_EXP.
19135 (LDBL_MIN_EXP): Change to MIN_EXP.
19136 (LDBL_MANT_DIG): Change to MANT_DIG, except for
19137 nexttoward tests.
19138
19139 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19140
19141 * math/libm-test.inc:
19142 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
19143 (TYPE_MIN): Likewise.
19144 (TYPE_TRUE_MIN): Likewise.
19145 (TYPE_MAX): Likewise.
19146 (MIN_EXP): Likewise.
19147 (MAX_EXP): Likewise.
19148 (MANT_DIG): Likewise.
19149
19150 (FSTR_MAX): New macro.
19151 (__CONCATX): Likewise.
19152 (QTYPE_STR): Likewise.
19153 (TEST_COND_binary32): Likewise.
19154 (TEST_COND_binary64): Likewise.
19155 (TEST_COND_binary128): Likewise.
19156 (TEST_COND_ibm128): Likewise.
19157 (TEST_COND_intel96): Likewise.
19158 (TEST_COND_m68k96): Likewise.
19159
19160 (TEST_COND_flt_32): Redefine as equivalent format test macro.
19161 (TEST_COND_dbl_64): Likewise.
19162 (TEST_COND_ldbl_96_intel): Likewise.
19163 (TEST_COND_ldbl_96_m68k): Likewise.
19164 (TEST_COND_ldbl_128): Likewise.
19165 (TEST_COND_ldbl_128ibm): Likewise.
19166
19167 (plus_zero): Redefine using LIT macro.
19168 (minus_zero): Likewise.
19169 (plus_infty): Redefine as (INF).
19170 (minux_infty): Redefine as (-INF).
19171 (max_value): Redefine as TYPE_MAX.
19172 (min_value): Redefine as TYPE_MIN.
19173 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
19174
19175 (print_float): Refactor to use snprintf to convert FLOAT values
19176 to string. This brings it closer to dropin replacement of strtof
19177 for the TS 18661 defined types.
19178 (update_stats): Likewise.
19179 (print_complex_function_ulps): Likewise.
19180 (print_max_error): Likewise.
19181 (print_complex_max_error): Likewise.
19182 (check_float_internal): Likewise.
19183
19184 * math/test-float.h (PREFIX): New macro.
19185 (LIT): Likewise.
19186 (TYPE_STR): Likewise.
19187 (FTOSTR): Likewise.
19188
19189 * math/test-double.h (PREFIX): New macro.
19190 (LIT): Likewise.
19191 (TYPE_STR): Likewise.
19192 (FTOSTR): Likewise.
19193
19194 * math/test-ldouble.h (PREFIX): New macro.
19195 (LIT): Likewise.
19196 (TYPE_STR): Likewise.
19197 (FTOSTR): Likewise.
19198
19199 2016-05-27 Joseph Myers <joseph@codesourcery.com>
19200
19201 [BZ #20156]
19202 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
19203 to itself when zero or not finite.
19204 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
19205 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19206 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
19207 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
19208
19209 2016-05-26 Joseph Myers <joseph@codesourcery.com>
19210
19211 [BZ #20153]
19212 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
19213 x * x + x for infinities and NaNs.
19214
19215 [BZ #20151]
19216 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
19217 argument to itself before returning result.
19218 (__ieee754_y0l): Likewise.
19219 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19220 (__ieee754_y1l).
19221
19222 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
19223 (atan_test_data): Likewise.
19224 (ceil_test_data): Likewise.
19225 (cos_test_data): Likewise.
19226 (cosh_test_data): Likewise.
19227 (erf_test_data): Likewise.
19228 (exp2_test_data): Likewise.
19229 (fabs_test_data): Likewise.
19230 (floor_test_data): Likewise.
19231 (ilogb_test_data): Likewise.
19232 (j0_test_data): Likewise.
19233 (j1_test_data): Likewise.
19234 (jn_test_data): Likewise.
19235 (lgamma_test_data): Likewise.
19236 (lrint_test_data): Likewise.
19237 (llrint_test_data): Likewise.
19238 (logb_test_data): Likewise.
19239 (lround_test_data): Likewise.
19240 (llround_test_data): Likewise.
19241 (nearbyint_test_data): Likewise.
19242 (rint_test_data): Likewise.
19243 (round_test_data): Likewise.
19244 (sin_test_data): Likewise.
19245 (sincos_test_data): Likewise.
19246 (sinh_test_data): Likewise.
19247 (sqrt_test_data): Likewise.
19248 (tan_test_data): Likewise.
19249 (tanh_test_data): Likewise.
19250 (tgamma_test_data): Likewise.
19251 (trunc_test_data): Likewise.
19252 (y0_test_data): Likewise.
19253 (y1_test_data): Likewise.
19254 (yn_test_data): Likewise.
19255
19256 * math/libm-test.inc: Update comment about NaN testing.
19257 (TEST_SNAN): New macro.
19258 (snan_value): Likewise.
19259 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
19260 (fpclassify_test_data): Add sNaN tests.
19261 (isfinite_test_data): Likewise.
19262 (isinf_test_data): Likewise.
19263 (isnan_test_data): Likewise.
19264 (isnormal_test_data): Likewise.
19265 (issignaling_test_data): Likewise.
19266 (signbit_test_data): Likewise.
19267 * math/gen-libm-test.pl (%beautify): Add snan_value.
19268 (show_exceptions): Add argument $test_snan.
19269 (parse_args): Handle snan_value as non-finite. Update call to
19270 show_exceptions.
19271 * math/Makefile (libm-test-no-inline-cflags): Add
19272 -fsignaling-nans.
19273
19274 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19275
19276 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
19277 (CFLAGS-oldsendmsg.c): Add rule.
19278 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
19279 Correct recvmsg symbol name.
19280 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
19281 Likewise.
19282
19283 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19284
19285 * sysdeps/unix/sysv/linux/Makefile
19286 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
19287 oldsendmmsg.
19288 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
19289 sendmmsg.
19290 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19291 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19292 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19293 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19295 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19296 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19297 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19298 Likewise.
19299 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19300 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
19301 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
19302 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
19303 iovlen and controllen fields to adjust to POSIX specification.
19304 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19305
19306 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
19307 and change to correct expected type.
19308 (msghdr.msg_controllen): Likewise.
19309 (cmsghdr.cmsg_len): Likewise.
19310 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
19311 expected POSIX assumption about the size.
19312 (msghdr.msg_controllen): Likewise.
19313 (msghdr.__glibc_reserved1): Likewise.
19314 (msghdr.__glibc_reserved2): Likewise.
19315 (cmsghdr.cmsg_len): Likewise.
19316 (cmsghdr.__glibc_reserved1): Likewise.
19317 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
19318 Add ptw-oldrecvmsg and ptw-oldsendmsg.
19319 (CFLAGS-sendmsg.c): Remove rule.
19320 (CFLAGS-recvmsg.c): Likewise.
19321 (CFLAGS-oldsendmsg.c): Add rule.
19322 (CFLAGS-oldrecvmsg.c): Likewise.
19323 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
19324 recvmsg and sendmsg.
19325 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
19326 Likewise.
19327 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
19328 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
19329 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
19330 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
19331 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
19332 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
19333 Likewise.
19334 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
19335 Likewise.
19336 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
19337 Likewise.
19338 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
19339 Likewise.
19340 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
19341 Likewise.
19342 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
19343 Likewise.
19344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
19345 (GLIBC_2.24): Likewise.
19346 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
19347 Likewise.
19348 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
19349 Likewise.
19350 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
19351 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
19352 Likewise.
19353 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
19354 Likewise.
19355 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
19356 Likewise.
19357 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
19358 (GLIBC_2.24): Likewise.
19359 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
19360 Likewise.
19361 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
19362 Likewise.
19363 * sysdeps/unix/sysv/linux/Makefile
19364 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
19365 (CFLAGS-sendmsg.c): Add rule.
19366 (CFLAGS-recvmsg.c): Likewise.
19367 (CFLAGS-oldsendmsg.c): Likewise.
19368 (CFLAGS-oldrecvmsg.c): Likewise.
19369 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
19370 initialization.
19371 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
19372 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
19373 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
19374 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
19375 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
19376 iovlen and controllen fields to adjust to POSIX specification.
19377 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
19378 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
19379 added recvmsg and sendmsg.
19380 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19381 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19382 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19383 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19384 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19385 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19386 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19387 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19388 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
19389 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19390 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19391 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
19392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19393 Likewise.
19394 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
19395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19396 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19397 Likewise.
19398 Likewise.
19399 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19400 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19401 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19402 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19403 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19404 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19405 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
19406 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19408 Likewise.
19409 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19410 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19411
19412 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
19413 from auto-generation.
19414 (sendmsg): Likewise.
19415 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
19416 (sendmsg): Likewise.
19417 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
19418 (sendmsg): Likewise.
19419 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
19420 (sendmsg): Likewise.
19421 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
19422 (sendmsg): Likewise.
19423 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
19424 (sendmsg): Likewise.
19425 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
19426 Likewise.
19427 (sendmsg): Likewise.
19428 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
19429 (sendmsg): Likewise.
19430 * sysdeps/unix/sysv/linux/i386/kernel-features.h
19431 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19432 Remove.
19433 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19434 Likewise.
19435 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19436 Undefine.
19437 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19438 Likewise.
19439 * sysdeps/unix/sysv/linux/kernel-features.h
19440 (__ASSUME_SENDMSG_SYSCALL): Define.
19441 (__ASSUME_RECVMSG_SYSCALL): Likewise.
19442 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19443 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19444 Remove.
19445 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19446 Likewise.
19447 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19448 Undefine.
19449 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19450 Likewise.
19451 * sysdeps/unix/sysv/linux/s390/kernel-features.h
19452 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19453 Remove.
19454 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19455 Likewise.
19456 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19457 Undefine.
19458 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19459 Likewise.
19460 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19461 (__ASSUME_SENDMSG_SYSCALL): Undefine.
19462 (__ASSUME_RECVMSG_SYSCALL): Likewise.
19463 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19464 (__ASSUME_SENDMSG_SYSCALL): Likewise.
19465 (__ASSUME_RECVMSG_SYSCALL): Likewise.
19466 * sysdeps/unix/sysv/linux/sh/kernel-features.h
19467 (__ASSUME_SENDMSG_SYSCALL): Likewise.
19468 (__ASSUME_RECVMSG_SYSCALL): Likewise.
19469
19470 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19471
19472 * stdlib/gen-tst-strtod-round.c: Add backslash to
19473 compile command in comment.
19474 (printfp): Remove the literal suffix, and define an infinite
19475 value as INF to avoid expansion clash with INFINITY.
19476 (round_str): Remove the literal suffix.
19477 (round_for_all): Likewise, remove the now duplicate ldbl-64
19478 entry, and remove some magic constants.
19479
19480 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
19481 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
19482 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
19483 (_CONCAT): New macro.
19484 (CONCAT): Likewise.
19485 (CHOOSE_ld): Likewise.
19486 (CHOOSE_f): Likewise.
19487 (CHOOSE_d): Likewise.
19488 (FTYPE_MEMBER): Likewise.
19489 (BOOL_MEMBER): Likewise.
19490 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
19491 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
19492 (_XNTRY): Likewise.
19493 (XNTRY): Likewise.
19494 (_ENTRY): Likewise.
19495 (ENTRY): Likewise.
19496 (test_exactness): Generate members via macro.
19497 (test_results): Likewise.
19498 (test): Update members.
19499 (TEST): Redefine using new macros.
19500 (INF): New macro.
19501 (fetestmodes): New structure.
19502 (do_test): Refactor to be type generic.
19503 (test_in_one_mode): Refactor duplicate code into
19504 (GEN_ONE_TEST): New macro.
19505
19506 * stdlib/tst-strtod-round-data.h: Regenerate.
19507
19508 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
19509 Extend to pass additional arbitrary parameters to
19510 generators.
19511
19512 2016-05-25 Joseph Myers <joseph@codesourcery.com>
19513
19514 [BZ #15479]
19515 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
19516 floating-point state after first floating-point operation on
19517 input. Restore full floating-point state instead of just rounding
19518 mode.
19519 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
19520 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
19521 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
19522 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
19523 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
19524
19525 [BZ #15479]
19526 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
19527 floating-point state after first floating-point operation on
19528 input. Restore full floating-point state instead of just rounding
19529 mode.
19530 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
19531 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
19532 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
19533 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
19534 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
19535
19536 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19537
19538 [BZ #19727]
19539 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
19540 valid high surrogate.
19541 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
19542 of an utf16 surrogate.
19543 * iconv/gconv_simple.c (BODY): Likewise.
19544 * iconvdata/bug-iconv12.c: New file.
19545 * iconvdata/Makefile (tests): Add bug-iconv12.
19546
19547 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19548
19549 [BZ #19726]
19550 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
19551 outptrp in case of an illegal input.
19552 * iconv/tst-iconv6.c: New file.
19553 * iconv/Makefile (tests): Add tst-iconv6.
19554
19555 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19556
19557 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
19558 an error in case of a value in range of an utf16 low surrogate.
19559
19560 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19561
19562 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
19563 an error in case of a value in range of an utf16 low surrogate.
19564
19565 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19566
19567 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
19568 Move to ...
19569 * sysdeps/s390/Makefile: ... here.
19570 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
19571 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
19572 (BRANCH_ON_COUNT): New define.
19573 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
19574 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
19575 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
19576 run on s390-32, too.
19577 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
19578 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
19579 run on s390-32, too.
19580 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
19581 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
19582 run on s390-32, too.
19583
19584 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19585
19586 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
19587 etf3eh or new vector loop-variant.
19588
19589 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19590
19591 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
19592 etf3eh or new vector loop-variant.
19593
19594 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19595
19596 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
19597 or new vector loop-variant.
19598
19599 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19600
19601 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
19602 Rename to TR_LOOP and usage of tr instead of troo instruction.
19603
19604 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19605
19606 * sysdeps/s390/multiarch/gconv_simple.c: New File.
19607 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
19608
19609 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19610
19611 * sysdeps/s390/multiarch/8bit-generic.c: New File.
19612 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
19613 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
19614 New override define.
19615 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
19616
19617 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19618
19619 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
19620 * sysdeps/s390/configure.ac: Add test for S390 vector register
19621 support in gcc.
19622 * sysdeps/s390/configure: Regenerated.
19623
19624 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19625
19626 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
19627 Install file from $(objpfx)gconv-modules.
19628 ($(objpfx)gconv-modules): Concatenate architecture specific file
19629 in variable sysdeps-gconv-modules and gconv-modules in src dir.
19630 * sysdeps/s390/gconv-modules: New file.
19631 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
19632 Deleted.
19633 ($(objpfx)gconv-modules-s390): Deleted.
19634 (sysdeps-gconv-modules): New variable.
19635
19636 2016-05-24 Joseph Myers <joseph@codesourcery.com>
19637
19638 [BZ #15479]
19639 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
19640 of immediate operand to rounding instruction.
19641 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
19642 Likewise.
19643 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
19644 Likewise.
19645 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
19646 Likewise.
19647
19648 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19649
19650 * math/libm-test.inc (MIN_EXP): Directly define as
19651 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
19652
19653 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19654
19655 * math/libm-test.inc (MANT_DIG): Directly define as
19656 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
19657
19658 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19659
19660 * stdlib/gen-tst-strtod-round.c (main):
19661 Change usage to more closely match the generated
19662 output. Add usage and compilation instructions.
19663 (string_to_fp): Add and use FILE* parameter as
19664 output target.
19665 (print_fp): Likewise.
19666 (round_str): Likewise.
19667 (round_for_all): Likewise.
19668 * stdlib/tst-strtod-round.c (tests): Move into
19669 * stdlib/tst-strtod-round-data.h: New file.
19670
19671 2016-05-24 Joseph Myers <joseph@codesourcery.com>
19672
19673 [BZ #15479]
19674 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
19675 (__round): Do not force "inexact" exception.
19676 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
19677 variable.
19678 (__round): Do not force "inexact" exception.
19679 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
19680 (__roundf): Do not force "inexact" exception.
19681 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
19682 (__roundl): Do not force "inexact" exception.
19683 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
19684 (__roundl): Do not force "inexact" exception.
19685 * math/libm-test.inc (round_test_data): Do not allow spurious
19686 "inexact" exceptions.
19687
19688 [BZ #15479]
19689 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
19690 exception in comment.
19691 (huge): Remove variable.
19692 (__floor): Do not force "inexact" exception.
19693 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
19694 "inexact" exception in comment.
19695 (huge): Remove variable.
19696 (__floor): Do not force "inexact" exception.
19697 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
19698 exception in comment.
19699 (huge): Remove variable.
19700 (__floorf): Do not force "inexact" exception.
19701 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
19702 exception in comment.
19703 (huge): Remove variable.
19704 (__floorl): Do not force "inexact" exception.
19705
19706 [BZ #15479]
19707 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
19708 exception in comment.
19709 (huge): Remove variable.
19710 (__ceil): Do not force "inexact" exception.
19711 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
19712 "inexact" exception in comment.
19713 (huge): Remove variable.
19714 (__ceil): Do not force "inexact" exception.
19715 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
19716 (__ceilf): Do not force "inexact" exception.
19717 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
19718 exception in comment.
19719 (huge): Remove variable.
19720 (__ceill): Do not force "inexact" exception.
19721
19722 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
19723
19724 * config.h.in (BIND_NOW): New.
19725 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
19726 * configure: Regenerated.
19727 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
19728 indirect branch via the GOT slot.
19729
19730 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19731
19732 [BZ #19765]
19733 * sysdeps/s390/mempcpy.S: New File.
19734 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
19735 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
19736 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19737 Add mempcpy variants.
19738 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
19739 (memcpy): Adjust to be usable from mempcpy entry point.
19740 (__memcpy_mvcle): Likewise.
19741 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19742 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
19743 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
19744 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
19745 (__memcpy_z10): Likewise.
19746 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
19747
19748 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19749
19750 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
19751 Remove __GI_ symbol.
19752 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
19753 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
19754 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
19755 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
19756 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
19757 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
19758
19759 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19760
19761 * sysdeps/s390/s390-64/memcpy.S (memcpy):
19762 Use cghi instead of chi to compare 64bit value.
19763
19764 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19765
19766 * sysdeps/s390/s390-32/memcpy.S (memcpy):
19767 Jump to 1MB check before executing mvc-loop.
19768
19769 2016-05-24 Florian Weimer <fweimer@redhat.com>
19770
19771 [BZ #6527]
19772 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
19773 unconditionally.
19774 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
19775
19776 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19777
19778 * stdlib/tst-strtod6.c (do_test): Use new type generic
19779 invocation of the test function.
19780 (test): Refactor into ...
19781 (TEST_STRTOD): New macro base function.
19782
19783 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19784
19785 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
19786 (TEST_STRTOD): New macro.
19787 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
19788
19789 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19790
19791 * stdlib/tst-strtod6.c (do_test): Use new type generic
19792 invocation of the test function.
19793 (test): Refactor into ...
19794 (TEST_STRTOD): New macro base function.
19795
19796 2016-05-23 Florian Weimer <fweimer@redhat.com>
19797
19798 CVE-2016-4429
19799 [BZ #20112]
19800 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
19801 payload.
19802
19803 2016-05-23 Florian Weimer <fweimer@redhat.com>
19804
19805 [BZ #20111]
19806 * bits/sockaddr.h (_SS_SIZE): Define.
19807 * bits/socket.h (_SS_SIZE): Remove.
19808 (_SS_PADSIZE): Adjust to account for all padding.
19809 (struct sockaddr_storage): Update comment. Avoid implicit
19810 padding.
19811 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
19812 (_SS_PADSIZE): Adjust to account for all padding.
19813 (struct sockaddr_storage): Update comment. Avoid implicit
19814 padding.
19815 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
19816 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
19817 (_SS_PADSIZE): Adjust to account for all padding.
19818 (struct sockaddr_storage): Update comment. Avoid implicit
19819 padding.
19820 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
19821 __SS_SIZE is 126 in this version.
19822 * inet/tst-sockaddr.c: New file.
19823 * inet/Makefile (tests): Add tst-sockaddr.c
19824 (tst-sockaddr.c): Compile with non-strict aliasing.
19825
19826 2016-05-23 Joseph Myers <joseph@codesourcery.com>
19827
19828 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
19829 [XPG3 || XPG4].
19830 (NL_ARGMAX): Also expect for [XPG3].
19831 (NL_LANGMAX): Likewise.
19832 (NL_MSGMAX): Likewise.
19833 (NL_NMAX): Likewise.
19834 (NL_SETMAX): Likewise.
19835 (NL_TEXTMAX): Likewise.
19836 (NZERO): Likewise.
19837 (TMP_MAX): Likewise.
19838 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
19839 variable.
19840
19841 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
19842 (PF_MAX): Update value.
19843 (AF_KCM): New macro.
19844 (SOL_NETBEUI): Likewise.
19845 (SOL_LLC): Likewise.
19846 (SOL_DCCP): Likewise.
19847 (SOL_NETLINK): Likewise.
19848 (SOL_TIPC): Likewise.
19849 (SOL_RXRPC): Likewise.
19850 (SOL_PPPOL2TP): Likewise.
19851 (SOL_BLUETOOTH): Likewise.
19852 (SOL_PNPIPE): Likewise.
19853 (SOL_RDS): Likewise.
19854 (SOL_IUCV): Likewise.
19855 (SOL_CAIF): Likewise.
19856 (SOL_ALG): Likewise.
19857 (SOL_NFC): Likewise.
19858 (SOL_KCM): Likewise.
19859 (MSG_BATCH): New enum value and macro.
19860
19861 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
19862
19863 [BZ #18185]
19864 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
19865 sharing L2 cache to 2 for Knights Landing.
19866
19867 2016-05-20 Joseph Myers <joseph@codesourcery.com>
19868
19869 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
19870 (FTW_DP): Do not expect for [XPG3 || XPG4].
19871 (FTW_SL): Do not expect for [XPG3].
19872 (FTW_SLN): Likewise.
19873 (FTW_PHYS): Likewise.
19874 (FTW_MOUNT): Likewise.
19875 (FTW_DEPTH): Likewise.
19876 (FTW_CHDIR): Likewise.
19877 (nftw): Likewise.
19878 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
19879 variable.
19880
19881 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
19882
19883 * manual/errno.texi: Fix various typos & grammar errors.
19884
19885 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
19886
19887 * manual/intro.texi: Fix duplicated typo.
19888
19889 2016-05-19 Joseph Myers <joseph@codesourcery.com>
19890
19891 [BZ #13304]
19892 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
19893 <float.h>, <math_private.h> and <stdlib.h>.
19894 (add_split): New function.
19895 (mul_split): Likewise.
19896 (ext_val): New typedef.
19897 (store_ext_val): New function.
19898 (mul_ext_val): New function.
19899 (compare): New function.
19900 (add_split_ext): New function.
19901 (__fmal): After checking for Inf, NaN and zero, compute result as
19902 an exact sum of scaled double values in round-to-nearest before
19903 adding those up and adjusting for other rounding modes.
19904 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
19905 tests of fma.
19906 * math/auto-libm-test-out: Regenerated.
19907
19908 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
19909
19910 [BZ #20119]
19911 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
19912 processor level type mask for CPUID with EAX == 11.
19913
19914 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
19915
19916 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
19917 logical threads if the HTT bit is 0.
19918 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
19919 (index_cpu_HTT): Likewise.
19920 (reg_HTT): Likewise.
19921
19922 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
19923
19924 [BZ #20115]
19925 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
19926 Remove alignments on jump targets.
19927
19928 2016-05-19 Joseph Myers <joseph@codesourcery.com>
19929
19930 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
19931 (getpwent): Likewise.
19932 (setpwent): Likewise.
19933 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
19934 variable.
19935
19936 * conform/data/search.h-data (insque): Do not expect for [XPG3].
19937 (remque): Likewise.
19938 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
19939 variable.
19940
19941 2016-05-18 Joseph Myers <joseph@codesourcery.com>
19942
19943 * math/libm-test.inc: Update comment not to refer to signs of NaNs
19944 not being tested.
19945
19946 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
19947
19948 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
19949 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
19950 call.
19951 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
19952 (__condvar_cleanup1): Likewise.
19953
19954 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
19955
19956 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
19957 New
19958 (__pthread_unwind): Renamed to ...
19959 (PTHREAD_UNWIND): This.
19960 (__pthread_enable_asynccancel): Replace
19961 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
19962
19963 2016-05-18 Joseph Myers <joseph@codesourcery.com>
19964
19965 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
19966 (CLONE_NEWCGROUP): New macro.
19967
19968 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
19969 (Q_GETNEXTQUOTA): New macro.
19970
19971 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
19972
19973 [BZ #19907]
19974 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
19975 buffer updated by the previous run.
19976 * string/test-memcpy.c (do_one_test): Likewise.
19977 * benchtests/bench-memmove.c (do_one_test): Add a comment.
19978 * string/test-memmove.c (do_one_test): Likewise.
19979
19980 2016-05-17 Joseph Myers <joseph@codesourcery.com>
19981
19982 [BZ #20094]
19983 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
19984 not [__USE_XOPEN].
19985 (unlockpt): Likewise.
19986 (ptsname): Likewise.
19987 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
19988 variable.
19989
19990 [BZ #20076]
19991 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
19992 instead of [__USE_UNIX98].
19993 (S_ISSOCK): Likewise.
19994 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
19995 variable.
19996
19997 [BZ #20074]
19998 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
19999 [__USE_POSIX].
20000 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
20001 variable.
20002
20003 [BZ #20051]
20004 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
20005 (ttyslot): Do not declare.
20006 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
20007 (ttyslot): New prototype.
20008 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
20009 variable.
20010 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20011
20012 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
20013
20014 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
20015
20016 2016-05-13 Florian Weimer <fweimer@redhat.com>
20017
20018 Fix race condition in tst-mallocfork2, use fewer resources.
20019 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
20020 to current process group.
20021 (signal_sender): Yield in the non-sleeping case.
20022
20023 2016-05-13 Joseph Myers <joseph@codesourcery.com>
20024
20025 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
20026 (ecvt): Likewise.
20027 (fcvt): Likewise.
20028 (gcvt): Likewise.
20029 (getsubopt): Likewise.
20030 (grantpt): Likewise.
20031 (initstate): Likewise.
20032 (l64a): Likewise.
20033 (mktemp): Likewise.
20034 (mkstemp): Likewise.
20035 (ptsname): Likewise.
20036 (random): Likewise.
20037 (realpath): Likewise.
20038 (setstate): Likewise.
20039 (srandom): Likewise.
20040 (ttyslot): Likewise.
20041 (unlockpt): Likewise.
20042 (valloc): Likewise.
20043
20044 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
20045 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
20046 variable.
20047
20048 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
20049
20050 [BZ #20072]
20051 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
20052 init_cpu_features only if SHARED is defined.
20053 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
20054
20055 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
20056
20057 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
20058 non-inclusive caches on Intel processors.
20059
20060 2016-05-13 Florian Weimer <fweimer@redhat.com>
20061
20062 * malloc/malloc.c (dumped_main_arena_start)
20063 (dumped_main_arena_end): New variables.
20064 (DUMPED_MAIN_ARENA_CHUNK): New macro.
20065 (do_check_chunk): Skip dumped fake mmapped chunks.
20066 (munmap_chunk): Likewise.
20067 (__libc_free): Do not adjust statistics for fake mmapped chunks.
20068 (__libc_realloc): Adjust hardening check. Always copy dumped fake
20069 mmapped chunks.
20070 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
20071 Mark dumped chunks as using mmap. Update dumped_main_arena_start
20072 and dumped_main_arena_end to cover the dumped heap.
20073
20074 2016-05-12 Joseph Myers <joseph@codesourcery.com>
20075
20076 * conform/data/time.h-data (getdate_err): Do not expect for
20077 [XPG3].
20078 (getdate): Likewise.
20079 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
20080 variable.
20081
20082 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
20083 (F_ULOCK): Likewise.
20084 (F_TEST): Likewise.
20085 (F_TLOCK): Likewise.
20086 (useconds_t): Likewise.
20087 (intptr_t): Do not expect for [XPG3] or [XPG4].
20088 (brk): Do not expect for [XPG3]
20089 (fchown): Likewise.
20090 (fchdir): Likewise.
20091 (ftruncate): Likewise.
20092 (getdtablesize): Likewise.
20093 (gethostid): Likewise.
20094 (getpagesize): Likewise.
20095 (getpgid): Likewise.
20096 (getsid): Likewise.
20097 (getwd): Likewise.
20098 (lchown): Likewise.
20099 (lockf): Likewise.
20100 (readlink): Likewise.
20101 (sbrk): Likewise.
20102 (setpgrp): Likewise.
20103 (setregid): Likewise.
20104 (setreuid): Likewise.
20105 (symlink): Likewise.
20106 (sync): Likewise.
20107 (truncate): Likewise.
20108 (ualarm): Likewise.
20109 (usleep): Likewise.
20110 (vfork): Likewise.
20111 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
20112 variable.
20113
20114 [BZ #20054]
20115 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
20116 not [__USE_UNIX98].
20117 * conform/data/unistd.h-data (gethostname): Do not expect for
20118 [XPG3].
20119
20120 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
20121 [!POSIX] (S_IFBLK): Likewise.
20122 [!POSIX] (S_IFCHR): Likewise.
20123 [!POSIX] (S_IFIFO): Likewise.
20124 [!POSIX] (S_IFREG): Likewise.
20125 [!POSIX] (S_IFDIR): Likewise.
20126 [!POSIX] (S_IFLNK): Likewise.
20127 [!POSIX] (S_IFSOCK): Likewise.
20128 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
20129 variable.
20130 (test-xfail-XPG4/fcntl.h/conform): Likewise.
20131
20132 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
20133
20134 * sysdeps/aarch64/memset.S (__memset):
20135 Rewrite of optimized memset.
20136
20137 2016-05-12 Florian Weimer <fweimer@redhat.com>
20138
20139 [BZ #19703]
20140 Partially async-signal-safe fork for single-threaded processes.
20141 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
20142 variable. Do not acquire and reset/release malloc and libio locks
20143 in single-threaded processes.
20144 * malloc/tst-mallocfork2.c: New file.
20145 * malloc/Makefile (tests): Add it.
20146
20147 2016-05-12 Florian Weimer <fweimer@redhat.com>
20148
20149 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
20150 argument. Use scratch buffer instead of extend_alloca.
20151 (gethosts): Use scratch buffer instead of extend_alloca.
20152 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
20153 extend_alloca.
20154 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
20155
20156 2016-05-11 Joseph Myers <joseph@codesourcery.com>
20157
20158 [BZ #20055]
20159 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
20160 instead of [__USE_UNIX98].
20161 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
20162 [__USE_UNIX98].
20163 * conform/data/termios.h-data (tcgetsid): Do not expect for
20164 [XPG3].
20165 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
20166 variable.
20167 (test-xfail-XPG4/termios.h/conform): Likewise.
20168
20169 2016-05-11 Florian Weimer <fweimer@redhat.com>
20170
20171 Do not use mcheck in localedef.
20172 * locale/programs/localedef.c (turn_on_mcheck)
20173 (__malloc_initialize_hook): Remove.
20174
20175 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20176
20177 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
20178 * sysdeps/s390/s390-64/Makefile: Likewise.
20179
20180 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
20181
20182 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
20183 Remove ifunc-defines.sym.
20184 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
20185 Likewise.
20186 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
20187 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
20188 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
20189 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
20190 rtld-global-offsets.sym.
20191 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
20192 * sysdeps/x86/cpu-features-offsets.sym: This.
20193 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
20194 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
20195
20196 2016-05-10 Joseph Myers <joseph@codesourcery.com>
20197
20198 [BZ #20073]
20199 * io/sys/stat.h (fchmod): Declare for
20200 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
20201 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
20202 variable.
20203
20204 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
20205 [XPG3] (S_IFSOCK): Likewise.
20206 [XPG3] (S_ISVTX): Likewise.
20207 [XPG3] (S_ISLNK): Likewise.
20208 [XPG3] (S_ISSOCK): Likewise.
20209 [XPG3] (fchmod): Likewise.
20210 [XPG3] (lstat): Likewise.
20211 [XPG3] (mknod): Likewise.
20212
20213 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
20214 [XPG3]. Expect type long and XFAIL for [XPG4].
20215 (st_blocks): Likewise.
20216
20217 [BZ #20044]
20218 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
20219 (pthread_atfork): New prototype.
20220 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
20221 variable.
20222
20223 [BZ #20043]
20224 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
20225 prototype.
20226
20227 2016-05-10 Florian Weimer <fweimer@redhat.com>
20228
20229 [BZ #20017]
20230 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
20231 gmtime.
20232
20233 2016-05-10 Florian Weimer <fweimer@redhat.com>
20234
20235 [BZ #19994]
20236 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
20237 flag in _res.options.
20238
20239 2016-05-09 Joseph Myers <joseph@codesourcery.com>
20240
20241 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
20242 [XPG3 || XPG4].
20243 (blksize_t): Likewise.
20244 (clockid_t): Likewise.
20245 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
20246 variable.
20247 (test-xfail-XPG4/sys/types.h/conform): Likewise.
20248
20249 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
20250
20251 * sysdeps/unix/sysv/linux/s390/init-first.c:
20252 Add VDSO_SYMBOL(getcpu).
20253 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
20254 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
20255 Add VDSO_SYMBOL(getcpu).
20256 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
20257 New define HAVE_GETCPU_VSYSCALL.
20258 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20259
20260 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
20261
20262 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
20263 instead of <sysdeps/x86_64/cacheinfo.c>.
20264 * sysdeps/x86_64/cacheinfo.c: Moved to ...
20265 * sysdeps/x86/cacheinfo.c: Here.
20266
20267 2016-05-04 Florian Weimer <fweimer@redhat.com>
20268
20269 * malloc/malloc-internal.h: Adjust header file guard.
20270
20271 2016-05-04 Florian Weimer <fweimer@redhat.com>
20272
20273 [BZ #19787]
20274 * inet/getnameinfo.c (check_sprintf_result): New function.
20275 (CHECKED_SNPRINTF): New macro.
20276 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
20277 to the host buffer.
20278 (gni_host_local): Use checked_copy to copy the host name.
20279 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
20280 (gni_serv_local): Use checked_copy to copy the service name.
20281 (getnameinfo): Remove unnecessary truncation of result buffers.
20282
20283 2016-05-04 Florian Weimer <fweimer@redhat.com>
20284
20285 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
20286 in case of inet_ntop failure.
20287
20288 2016-05-04 Florian Weimer <fweimer@redhat.com>
20289
20290 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
20291 avoid long lines.
20292 (gni_host_inet_numeric): Likewise. Reduce scope of local
20293 variables.
20294 (gni_host_inet, gni_host_local): Add comment.
20295 (gni_host): Add comment. Use temporary to avoid long lines.
20296
20297 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
20298
20299 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
20300 registers specifiers where general purpose registers specifiers should
20301 have been used.
20302
20303 2016-05-04 Florian Weimer <fweimer@redhat.com>
20304
20305 [BZ #19779]
20306 CVE-2016-1234
20307 Avoid copying names of directory entries.
20308 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
20309 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
20310 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
20311 (struct readdir_result): New type.
20312 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
20313 (GL_READDIR): New macros.
20314 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
20315 (convert_dirent, convert_dirent64): New functions.
20316 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
20317 convert_dirent64. Adjust references to the readdir result.
20318 * sysdeps/unix/sysv/linux/i386/glob64.c:
20319 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
20320 * posix/bug-glob2.c (LONG_NAME): Define.
20321 (filesystem): Add LONG_NAME.
20322 (my_DIR): Increase the size of room_for_dirent.
20323
20324 2016-05-03 Joseph Myers <joseph@codesourcery.com>
20325
20326 [BZ #20041]
20327 * misc/sys/select.h (__need_timespec): Only define if
20328 [__USE_XOPEN2K].
20329 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
20330 variable.
20331 (test-xfail-XPG4/utmpx.h/conform): Likewise.
20332 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20333 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20334
20335 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20336 Segher Boessenkool <segher@gcc.gnu.org>
20337
20338 [BZ #20004]
20339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
20340 (__novec_swapcontext): Add missing load.
20341
20342 2016-05-02 Joseph Myers <joseph@codesourcery.com>
20343
20344 [BZ #20023]
20345 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
20346 <time.h>.
20347 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
20348 variable.
20349 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20350
20351 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20352
20353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
20354 flags CLONE_VM compare.
20355
20356 2016-05-02 Florian Weimer <fweimer@redhat.com>
20357
20358 [BZ #20031]
20359 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
20360 completely empty.
20361
20362 2016-05-02 Florian Weimer <fweimer@redhat.com>
20363
20364 [BZ #19573]
20365 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
20366 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
20367 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
20368 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
20369 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
20370 (hesiod_free_list): Mark as hidden.
20371 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
20372 res_set, res_get.
20373 * hesiod/hesiod.c: Remove unnecessary forward declarations.
20374 (init, __hesiod_res_get, __hesiod_res_set): Remove.
20375 (hesiod_init): Remove obsolete res_ninit call.
20376 (hesiod_end): Do not free resolver state. Do not invoke callback.
20377 (hesiod_bind): Do not call init.
20378 (get_txt_records): Use res_mkquery, res_send instead of
20379 res_nmkquery, res_nsend.
20380 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
20381 instead of _nss_hesiod_init.
20382 (_nss_hesiod_initgroups_dyn): Likewise.
20383 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
20384 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
20385 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
20386
20387 2016-05-02 Florian Weimer <fweimer@redhat.com>
20388
20389 * hesiod/hesiod_p.h (DEF_RHS): Remove.
20390 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
20391
20392 2016-05-02 Florian Weimer <fweimer@redhat.com>
20393
20394 * hesiod/hesiod.h: Remove RCS keyword.
20395 * hesiod/hesiod_p.h: Likewise.
20396
20397 * hesiod/hesiod.c: Likewise.
20398
20399 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
20400
20401 [BZ #12450]
20402 * locale/iso-639.def: Add Samogitian/sgs.
20403
20404 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
20405
20406 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
20407
20408 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
20409
20410 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
20411 Carlos O'Donell <carlos@redhat.com>
20412
20413 [BZ #19072]
20414 * grp/Makefile (headers): Add grp-merge.h
20415 (routines): Add grp-merge.
20416 * grp/getgrgid_r.c: Include grp-merge.h.
20417 (DEEPCOPY_FN): Define.
20418 (MERGE_FN): Define.
20419 * grp/getgrname_r.c: Include grp-merge.h.
20420 (DEEPCOPY_FN): Define.
20421 (MERGE_FN): Define.
20422 * grp/grp-merge.c: New file.
20423 * grp/grp-merge.h: New file.
20424 * include/grp-merge.h: New file.
20425 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
20426 __copy_grp@GLIBC_PRIVATE.
20427 * manual/nss.texi (Actions in the NSS configuration): Describe
20428 return, continue, and merge.
20429 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
20430 (DEEPCOPY_FN): Define.
20431 (MERGE_FN): Define.
20432 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
20433 (DEEPCOPY_FN): Define.
20434 (MERGE_FN): Define.
20435 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
20436 [!MERGE_FN]: Define __merge_einval.
20437 (CHECK_MERGE): Define.
20438 (REENTRANT_NAME): Process merge if do_merge is true.
20439 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
20440 (__nss_getent_r): Likewise.
20441 * nss/nsswitch.c (nss_parse_service_list): Likewise.
20442 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
20443
20444 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20445
20446 [BZ #20012]
20447 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
20448 length to calculate the buffer to read.
20449 (fmemopen_write): Set the buffer position based on bytes written.
20450 (fmemopen_seek): Return EINVAL for invalid whence modes.
20451
20452 [BZ #19957]
20453 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
20454 tst-getpid2.
20455 (test): Add tst-clone2.
20456 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
20457 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
20458 pid/tid fields for CLONE_VM.
20459 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
20460 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
20461 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
20462 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
20463 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
20464 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
20465 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
20466 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
20467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
20468 Likewise.
20469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20470 Likewise.
20471 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
20472 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
20473 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
20474 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
20475 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
20476 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
20477 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
20478 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
20479
20480 2016-04-29 Florian Weimer <fweimer@redhat.com>
20481
20482 [BZ #19642]
20483 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
20484 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
20485 (gni_serv_local, gni_serv): New functions extracted from
20486 getnameinfo.
20487 (getnameinfo): Call gni_host and gni_serv to perform the
20488 processing. Always free scratch buffer.
20489
20490 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
20491
20492 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
20493 remaining bytes in the dest string, with zeros.
20494
20495 2016-04-29 Florian Weimer <fweimer@redhat.com>
20496
20497 [BZ #20010]
20498 CVE-2016-3706
20499 * sysdeps/posix/getaddrinfo.c
20500 (convert_hostent_to_gaih_addrtuple): New function.
20501 (gethosts): Call convert_hostent_to_gaih_addrtuple.
20502 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
20503 AF_INET data.
20504
20505 2016-04-29 Florian Weimer <fweimer@redhat.com>
20506
20507 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
20508 callback function gl_readdir.
20509 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
20510 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
20511 (glob_in_dir): Remove len. Use strdup instead of malloc and
20512 memcpy to copy the name.
20513 * manual/pattern.texi (Calling Glob): Document requirements for
20514 implementations of the gl_readdir callback function.
20515 * manual/examples/mkdirent.c: New example.
20516 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
20517 per the manual guidance.
20518 * posix/tst-gnuglob.c (my_readdir): Likewise.
20519
20520 2016-04-28 Joseph Myers <joseph@codesourcery.com>
20521
20522 [BZ #20014]
20523 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
20524 not [__USE_POSIX].
20525 (getchar_unlocked): Likewise.
20526 (putc_unlocked): Likewise.
20527 (putchar_unlocked): Likewise.
20528 (flockfile): Likewise.
20529 (ftrylockfile): Likewise.
20530 (funlockfile): Likewise.
20531 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
20532 variable.
20533 (test-xfail-XPG4/stdio.h/conform): Likewise.
20534
20535 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
20536 Expect constant.
20537 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
20538 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
20539 variable.
20540 (test-xfail-XPG4/langinfo.h/conform): Likewise.
20541 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20542
20543 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
20544 [__USE_LARGEFILE64] (off64_t): Likewise.
20545 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
20546 variable.
20547
20548 2016-04-28 Florian Weimer <fweimer@redhat.com>
20549
20550 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
20551
20552 2016-04-28 Florian Weimer <fweimer@redhat.com>
20553
20554 * resolv/inet_addr.c: Reindent preprocessor conditionals.
20555 * resolv/res_init.c: Likewise.
20556 * resolv/res_mkquery.c: Likewise.
20557
20558 2016-04-28 Florian Weimer <fweimer@redhat.com>
20559
20560 * resolv/res_init.c (isascii): Do not define. Use definition in
20561 <ctype.h>.
20562 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
20563 (LOG_AUTH): Remove.
20564 (SPRINTF): Remove, adjust caller.
20565 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
20566
20567 2016-04-28 Florian Weimer <fweimer@redhat.com>
20568
20569 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
20570 SUNSECURITY conditional.
20571 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
20572
20573 2016-04-28 Florian Weimer <fweimer@redhat.com>
20574
20575 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
20576 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
20577 Remove BSD-related preprocessor conditionals.
20578 * conf/portability.h: Remove.
20579
20580 2016-04-28 Florian Weimer <fweimer@redhat.com>
20581
20582 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
20583 * resolv/res_data.c: Likewise.
20584
20585 2016-04-28 Florian Weimer <fweimer@redhat.com>
20586
20587 * resolv/res_comp.c: Remove code conditional on __ultrix__.
20588 * resolv/res_data.c: Remove code conditional on ultrix.
20589
20590 2016-04-28 Florian Weimer <fweimer@redhat.com>
20591
20592 * resolv/res_init.c (RFC1535): Do not define. Remove
20593 RFC1535 preprocessor conditionals.
20594 * resolv/README: Update. Do not claim strict RFC 1535 compliance
20595 because there configuration options which make the resolver
20596 behavior different.
20597
20598 2016-04-28 Florian Weimer <fweimer@redhat.com>
20599
20600 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
20601 RESOLVSORT preprocessor conditionals.
20602 * resolv/nss_dns/dns-host.c: Likewise.
20603 * resolv/res_init.c: Likewise.
20604
20605 2016-04-28 Florian Weimer <fweimer@redhat.com>
20606
20607 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
20608 is never defined.
20609
20610 2016-04-28 Florian Weimer <fweimer@redhat.com>
20611
20612 * inet/inet_lnaof.c: Remove SCSS keyword.
20613 * inet/inet_mkadr.c: Likewise.
20614 * inet/inet_net.c: Likewise.
20615 * inet/inet_netof.c: Likewise.
20616 * inet/rcmd.c: Likewise.
20617 * inet/rexec.c: Likewise.
20618 * inet/ruserpass.c: Likewise.
20619
20620 2016-04-28 Florian Weimer <fweimer@redhat.com>
20621
20622 * resolv/inet_addr.c: Remove _LIBC conditionals.
20623 * resolv/res_data.c: Likewise.
20624 * resolv/res_init.c: Likewise.
20625 * resolv/res_mkquery.c: Likewise.
20626 * resolv/res_libc.c: Update comment.
20627 * resolv/README: Update.
20628
20629 2016-04-28 Florian Weimer <fweimer@redhat.com>
20630
20631 * resolv/gethnamaddr.c: Remove SCSS keyword.
20632 * resolv/herror.c: Likewise.
20633 * resolv/inet_addr.c: Likewise.
20634 * resolv/inet_net_ntop.c: Likewise.
20635 * resolv/inet_net_pton.c: Likewise.
20636 * resolv/inet_neta.c: Likewise.
20637 * resolv/inet_ntop.c: Likewise.
20638 * resolv/inet_pton.c: Likewise.
20639 * resolv/ns_date.c: Remove RCS keyword.
20640 * resolv/ns_name.c: Likewise.
20641 * resolv/ns_netint.c: Likewise.
20642 * resolv/ns_parse.c: Likewise.
20643 * resolv/ns_print.c: Likewise.
20644 * resolv/ns_samedomain.c: Likewise.
20645 * resolv/ns_ttl.c: Likewise.
20646 * resolv/nsap_addr.c: Likewise.
20647 * resolv/res_comp.c: Remove SCSS and RCS keyword.
20648 * resolv/res_data.c: Remove RCS keyword.
20649 * resolv/res_debug.c: Remove SCSS and RCS keyword.
20650 * resolv/res_init.c: Likewise.
20651 * resolv/res_mkquery.c: Likewise.
20652 * resolv/res_query.c: Likewise.
20653 * resolv/res_send.c: Likewise.
20654
20655 2016-04-27 Joseph Myers <joseph@codesourcery.com>
20656
20657 * conform/data/stdio.h-data (fdopen): Expect also for
20658 [XPG3 || XPG4].
20659
20660 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
20661 (fseeko): Likewise.
20662 (ftello): Likewise.
20663 (ftrylockfile): Likewise.
20664 (funlockfile): Likewise.
20665 (getc_unlocked): Likewise.
20666 (getchar_unlocked): Likewise.
20667 (putc_unlocked): Likewise.
20668 (putchar_unlocked): Likewise.
20669
20670 2016-04-27 Florian Weimer <fweimer@redhat.com>
20671
20672 [BZ #19868]
20673 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
20674 DNS packet syntax checks (which were not needed before). Skip
20675 over non-PTR records.
20676
20677 2016-04-27 Florian Weimer <fweimer@redhat.com>
20678
20679 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
20680 definition. Include <stddef.h> instead.
20681
20682 2016-04-27 Florian Weimer <fweimer@redhat.com>
20683
20684 [BZ #19831]
20685 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
20686 function.
20687 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
20688 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
20689
20690 2016-04-27 Florian Weimer <fweimer@redhat.com>
20691
20692 [BZ #19862]
20693 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
20694 (getanswer_r): Do not call syslog.
20695 (gaih_getanswer_slice): Likewise.
20696 * resolv/gethnamaddr.c (AskedForGot): Remove.
20697 (getanswer): Do not call syslog.
20698 (gethostbyaddr): Likewise.
20699
20700 2016-04-27 Joseph Myers <joseph@codesourcery.com>
20701
20702 * conform/data/signal.h-data (union sigval): Expect also if
20703 [XOPEN2K].
20704 (struct sigevent): Likewise.
20705 (SIGEV_NONE): Likewise.
20706 (SIGEV_SIGNAL): Likewise.
20707 (SIGEV_THREAD): Likewise.
20708 (SIGRTMIN): Likewise.
20709 (SIGRTMAX): Likewise.
20710 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
20711 variable.
20712 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20713
20714 2016-04-27 Florian Weimer <fweimer@redhat.com>
20715
20716 [BZ #19830]
20717 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
20718 (gaih_getanswer_slice): Likewise.
20719 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
20720 Also check for availability of RR metadata.
20721
20722 2016-04-27 Florian Weimer <fweimer@redhat.com>
20723
20724 [BZ #19825]
20725 * resolv/res_send.c (send_vc): Remove early *resplen2
20726 initialization. Set *resplen2 on socket error. Call
20727 close_and_return_error for other errors.
20728
20729 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
20730
20731 * sysdeps/unix/sysv/linux/netiucv/iucv.h
20732 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
20733 (SCM_IUCV_TRGCLS): New define.
20734
20735 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20736
20737 [BZ #20005]
20738 * libio/fmemopen.c (fmemopen_write): Update internal position after
20739 write.
20740 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
20741 * stdio-common/tst-fmemopen4.c: New file..
20742
20743 2016-04-26 Joseph Myers <joseph@codesourcery.com>
20744
20745 [BZ #19996]
20746 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
20747 not [__USE_XOPEN2K].
20748 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
20749 variable.
20750
20751 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
20752 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
20753 variable.
20754
20755 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
20756 [__USE_XOPEN2K8].
20757 [__USE_LARGEFILE64] (off64_t): Likewise.
20758 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
20759 variable.
20760
20761 2016-04-25 Joseph Myers <joseph@codesourcery.com>
20762
20763 [BZ #19989]
20764 * libio/stdio.h (cuserid): Do not declare if
20765 [__USE_XOPEN2K && !__USE_GNU].
20766 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
20767 variable.
20768
20769 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20770
20771 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20772 (sysdep_routines): Add P8 and PPC64 strcspn targets.
20773 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20774 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
20775 ifunc'ed strcspn.
20776 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
20777 [EALIGN]: Removed.
20778 [END]: Likewise
20779 [STRSPN]: Define instead of the above to control symbol name.
20780 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
20781 New file.
20782 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
20783 Likewise.
20784 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
20785 Likewise.
20786 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
20787 Likewise.
20788 * sysdeps/powerpc/powerpc64/power8/strspn.S:
20789 [INITIAL_MASK]: New macro.
20790 [STRCSPN]: Likewise.
20791 [UPDATE_MASK]: Likewise.
20792 [USE_AS_STRCSPN]: Likewise.
20793
20794 2016-04-25 Florian Weimer <fweimer@redhat.com>
20795
20796 [BZ #19931]
20797 * stdio-common/tst-vfprintf-width-prec.c: New file.
20798 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
20799 (tests-special): Add tst-vfprintf-width-prec-mem.out.
20800 (generated): Add mtrace-related files.
20801 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
20802 (tst-%-mem.out): New pattern rule, replaces
20803 tst-printf-bz18872-mem.out.
20804 * stdio-common/vfprintf.c (vfprintf): When handling a precision
20805 specifier, deallocate any previously allocated work buffer.
20806
20807 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20808
20809 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
20810 Add nop before __startcontext, add explaining comments.
20811
20812 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
20813
20814 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
20815 any more. Notably since IPV6_PKTINFO has been reintroduced with a
20816 completely different API.
20817
20818 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
20819 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
20820 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
20821 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
20822 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
20823 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
20824 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
20825 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
20826 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
20827 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
20828
20829 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
20830
20831 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
20832
20833 2016-04-23 Mike Frysinger <vapier@gentoo.org>
20834
20835 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
20836 when it is the default of 0.
20837
20838 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20839
20840 * sysdeps/powerpc/locale-defines.sym: Add new macros.
20841 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20842 (sysdep_routines): Add new strcasestr targets.
20843 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20844 (__libc_ifunc_impl_list): Likewise.
20845 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
20846 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
20847 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
20848 * sysdeps/powerpc/powerpc64/power8/Makefile:
20849 New file to add strcasestr-ppc64 to sysdep_routines.
20850 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
20851 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
20852
20853 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
20854
20855 * benchtests/Makefile (wcsmbs-benchset): Include only for
20856 native builds and runs.
20857 (LOCALES): Likewise.
20858 (bench-build): Build timing-type here instead of the bench
20859 target. Generate locale only for native builds.
20860 * benchtests/README: Add note for cross-building.
20861
20862 * benchtests/Makefile (bench-clean): Clean up extra-objs.
20863
20864 * benchtests/README: Update README to include instructions on
20865 using bench-build.
20866
20867 * Makefile.in (bench-build): New target.
20868 * Rules (PHONY): Add bench-build target.
20869 * benchtests/Makefile (bench): Depend on bench-build.
20870 (bench-build): New target.
20871
20872 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
20873
20874 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
20875 profil_reply_port.
20876 (profile_waiter): Do not initialize profil_reply_port.
20877 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
20878 frequency instead of tick length in us.
20879
20880 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
20881
20882 [BZ #18712]
20883 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
20884 (__old_mempcpy_small): Likewise.
20885 (__old_strcpy_small): Likewise.
20886 (__old_stpcpy_small): Likewise.
20887 (__old_strpbrk_c2): Fix compat symbol name.
20888 (__old_strpbrk_c3): Likewise.
20889 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
20890 (__mempcpy_small): Remove.
20891 (__strcpy_small): Remove.
20892 (__stpcpy_small): Remove.
20893
20894 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
20895
20896 [BZ #19400]
20897 * locale/iso-639.def: Add the Talossan/tzl language.
20898
20899 2016-04-16 Mike Frysinger <vapier@gentoo.org>
20900
20901 [BZ #16983]
20902 * locale/programs/ld-address.c (address_finish): Update postal_fmt
20903 comment. Add "ln" to strchr check on postal_fmt.
20904
20905 2016-04-16 Mike Frysinger <vapier@gentoo.org>
20906
20907 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
20908 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
20909 tel_dom_fmt.
20910
20911 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
20912
20913 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20914 (sysdep_routines): Added __strlen_power8.
20915 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
20916 __strlen_power8 entry.
20917 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
20918 Implementation for POWER8.
20919 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
20920 for __strlen_power8.
20921 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
20922 Implementation for POWER8.
20923
20924 2016-04-15 Mike Frysinger <vapier@gentoo.org>
20925
20926 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
20927
20928 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
20929
20930 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
20931 Goldmont and Airmont processors.
20932
20933 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
20934
20935 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
20936 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
20937 (__STRING2_SMALL_GET32): Remove.
20938 (memset): Remove.
20939 (__memset_1): Remove.
20940 (__memset_gc): Remove.
20941 (__mempcpy): Remove.
20942 (mempcpy): Remove.
20943 (__mempcpy_args): Remove.
20944 (strchr): Remove.
20945 (strcpy): Remove.
20946 (strcpy_args): Remove.
20947 (__stpcpy_args): Remove.
20948 (__strcmp_cc): Remove.
20949 (__strcmp_gc): Remove.
20950 (strstr): Remove.
20951
20952 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
20953
20954 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
20955 * nis/nis_call.c (nis_server_cache_add): Likewise.
20956
20957 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20958
20959 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
20960
20961 2016-04-14 Florian Weimer <fweimer@redhat.com>
20962
20963 * malloc/arena.c (__malloc_fork_lock_parent)
20964 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
20965 internal_function attribute.
20966
20967 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
20968
20969 * stdio-common/printf_fp.c (__printf_fp_l):
20970 Rename ___printf_fp_l to __printf_fp_l and
20971 remove strong alias. Use libc_hidden_def instead
20972 of ldbl_hidden_def macro.
20973
20974 2016-04-14 Florian Weimer <fweimer@redhat.com>
20975
20976 Remove malloc hooks from fork handler. They are no longer needed
20977 because malloc runs right before fork, and no malloc calls from
20978 other fork handlers are not possible anymore.
20979 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
20980 declarations.
20981 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
20982 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
20983 (atfork_recursive_cntr): Remove.
20984 (__malloc_fork_lock_parent): Do not override malloc hooks and
20985 thread_arena.
20986 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
20987 thread_arena.
20988 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
20989 thread_arena instead of save_arena.
20990
20991 2016-04-14 Florian Weimer <fweimer@redhat.com>
20992
20993 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
20994 (thread_atfork, thread_atfork_static): Remove.
20995 * sysdeps/mach/hurd/malloc-machine.h:
20996 (thread_atfork, thread_atfork_static): Remove.
20997
20998 2016-04-14 Florian Weimer <fweimer@redhat.com>
20999
21000 [BZ #19431]
21001 Run the malloc fork handler as late as possible to avoid deadlocks.
21002 * malloc/malloc-internal.h: New file.
21003 * malloc/malloc.c: Include it.
21004 * malloc/arena.c (ATFORK_MEM): Remove.
21005 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
21006 Update comment.
21007 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
21008 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
21009 Remove outdated comment.
21010 (ptmalloc_init): Do not call thread_atfork. Remove
21011 thread_atfork_static.
21012 * malloc/tst-malloc-fork-deadlock.c: New file.
21013 * Makefile (tests): Add tst-malloc-fork-deadlock.
21014 (tst-malloc-fork-deadlock): Link against libpthread.
21015 * manual/memory.texi (Aligned Memory Blocks): Update safety
21016 annotation comments.
21017 * sysdeps/nptl/fork.c (__libc_fork): Call
21018 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
21019 __malloc_fork_unlock_child.
21020 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
21021
21022 2016-04-14 Florian Weimer <fweimer@redhat.com>
21023
21024 [BZ #19613]
21025 Remove union wait.
21026 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
21027 (w_stopsig, w_stopval): Remove.
21028 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
21029 stat_loc argument.
21030 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
21031 (__WAIT_STATUS_DEFN): Remove.
21032 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
21033 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
21034 (wait, wait3, wait4): Use int * for the stat_loc argument.
21035 * posix/wait.c (__wait): Likewise.
21036 * posix/wait3.c (__wait3): Likewise.
21037 * posix/wait4.c (__wait4): Likewise.
21038 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
21039 (__WAIT_STATUS_DEFN): Remove.
21040 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
21041 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
21042 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
21043 argument.
21044 * sysdeps/posix/wait.c (__libc_wait): Likewise.
21045 * sysdeps/posix/wait3.c (__wait3): Likewise.
21046 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
21047 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
21048 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
21049 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
21050 stat_loc argument.
21051 * manual/process.texi (BSD Wait Functions): Remove union wait.
21052
21053 2016-04-13 Andreas Schwab <schwab@suse.de>
21054
21055 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
21056 (test-extras): Add tst-tlsalign-vars.
21057 * math/Makefile: Wrap long lines.
21058 (libm-vec-test-wrappers): Define.
21059 (test-extras): Add $(libm-vec-test-wrappers).
21060 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
21061 * nss/Makefile (extra-test-objs): Add nss_test1.os.
21062 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
21063 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
21064 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
21065 (extra-test-objs): Add corresponding objects.
21066
21067 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
21068
21069 [BZ #19928]
21070 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
21071 New.
21072 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
21073 times of shared cache size.
21074 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
21075 (VMOVNT): New.
21076 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
21077 (VMOVNT): Likewise.
21078 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
21079 (VMOVNT): Likewise.
21080 (VMOVU): Changed to movups for smaller code sizes.
21081 (VMOVA): Changed to movaps for smaller code sizes.
21082 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
21083 comments.
21084 (PREFETCH): New.
21085 (PREFETCH_SIZE): Likewise.
21086 (PREFETCHED_LOAD_SIZE): Likewise.
21087 (PREFETCH_ONE_SET): Likewise.
21088 Rewrite to use forward and backward loops, which move 4 vector
21089 registers at a time, to support overlapping addresses and use
21090 non temporal store if size is above the threshold and there is
21091 no overlap between destination and source.
21092
21093 2016-04-12 Alex Smith <alex.smith@imgtec.com>
21094
21095 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
21096 Include dl-vdso.
21097 * sysdeps/unix/sysv/linux/mips/Versions: Add
21098 __vdso_clock_gettime.
21099 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
21100 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
21101 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
21102 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
21103 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
21104 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
21105 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
21106 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
21107 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
21108
21109 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21110
21111 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
21112 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
21113 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
21114 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
21115 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
21116 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
21117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
21118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
21119 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
21120 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
21121 syscalls generation.
21122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21123 [__NR_pwrite64] (__NR_write): Remove define.
21124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21125 [__NR_pwrite64] (__NR_write): Remove define.
21126 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
21127 Remove define.
21128 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
21129 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
21130 Remove define.
21131 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
21132 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
21133 Linux implementation as base.
21134 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
21135
21136 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
21137 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
21138 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
21139 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
21140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
21141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
21142 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
21143 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
21144 syscall generation.
21145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21146 [__NR_pread64] (__NR_pread): Remove define.
21147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21148 [__NR_pread64] (__NR_pread): Likewise.
21149 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
21150 define.
21151 (__libc_pread): Use SYSCALL_LL macro on offset argument.
21152 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
21153 Remove define.
21154 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
21155 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
21156 Linux implementation as base.
21157 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
21158 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
21159 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
21160
21161 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
21162 definition.
21163 (__ALIGNMENT_COUNT): Likewise.
21164 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
21165 (__ALIGNMENT_COUNT): Likewise.
21166 (SYSCALL_LL): New define.
21167 (SYSCALL_LL64): Likewise.
21168 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
21169 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
21170 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
21171 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
21172
21173 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21174 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
21175 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21176 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
21177 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21178 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
21179
21180 2016-04-11 Florian Weimer <fweimer@redhat.com>
21181
21182 [BZ #19865]
21183 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
21184 original buffer before retry.
21185
21186 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21187
21188 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
21189 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
21190 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
21191 GLRO(dl_auxv) list.
21192 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
21193 including <ldsodefs.h>.
21194 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
21195
21196 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
21197
21198 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
21199 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
21200 $(CPPFLAGS).
21201
21202 2016-04-09 Khem Raj <raj.khem@gmail.com>
21203
21204 [BZ #17950]
21205 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
21206 Add -mfpmath=387.
21207
21208 2016-04-09 Mike Frysinger <vapier@gentoo.org>
21209
21210 * sysdeps/i386/configure.ac: Change == to = when calling test.
21211 * sysdeps/x86_64/configure.ac: Likewise.
21212 * sysdeps/i386/configure: Regenerated.
21213 * sysdeps/x86_64/configure: Likewise.
21214
21215 2016-04-08 Mike Frysinger <vapier@gentoo.org>
21216
21217 [BZ #16137]
21218 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
21219 * benchtests/bench-strcoll.c (input_files): Likewise.
21220 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
21221 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
21222 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
21223
21224 2016-04-08 Joseph Myers <joseph@codesourcery.com>
21225
21226 [BZ #19929]
21227 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
21228 [__USE_XOPEN2K8 && !__USE_GNU].
21229 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
21230 variable.
21231
21232 [BZ #19925]
21233 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
21234 define if [!__USE_MISC && __USE_XOPEN2K].
21235 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
21236 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
21237 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
21238 Likewise.
21239 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
21240 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
21241 variable.
21242 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21243
21244 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21245
21246 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21247 (sysdep_routines): Add new strspn targets.
21248 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21249 (__libc_ifunc_impl_list): Add strspn.
21250 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
21251 New file.
21252 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
21253 Likewise.
21254 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
21255 Likewise.
21256 * sysdeps/powerpc/powerpc64/power8/strspn.S:
21257 Likewise.
21258
21259 2016-04-07 Florian Weimer <fweimer@redhat.com>
21260
21261 * misc/hsearch_r.c: Include <limits.h>.
21262
21263 2016-04-07 Florian Weimer <fweimer@redhat.com>
21264
21265 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
21266
21267 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
21268
21269 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
21270 (MEMCPY_SYMBOL): New.
21271 (MEMPCPY_SYMBOL): Likewise.
21272 (MEMMOVE_CHK_SYMBOL): Likewise.
21273 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
21274 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
21275 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
21276 Provide alias for memcpy in libc.a and ld.so.
21277
21278 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
21279
21280 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
21281 (MEMSET_CHK_SYMBOL): New. Define if not defined.
21282 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
21283 Disabled fro now.
21284 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
21285 symbols. Properly check USE_MULTIARCH on __memset symbols.
21286
21287 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
21288
21289 * benchtests/Makefile (string-benchset): Add memcpy-large,
21290 memmove-large and memset-large.
21291 * benchtests/bench-memcpy-large.c: New file.
21292 * benchtests/bench-memmove-large.c: Likewise.
21293 * benchtests/bench-memmove-large.c: Likewise.
21294 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
21295
21296 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
21297
21298 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
21299 32-bit displacement to avoid long nop between instructions.
21300
21301 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
21302
21303 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
21304 a comment on VMOVU and VMOVA.
21305
21306 2016-04-04 Florian Weimer <fweimer@redhat.com>
21307
21308 [BZ #19633]
21309 Use specified locale for number formatting in strfmon_l.
21310 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
21311 (__nl_lookup_word): New inline functions.
21312 * include/printf.h (__print_fp_l): Declare.
21313 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
21314 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
21315 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
21316 (___printf_fp): New function.
21317 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
21318 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
21319 * stdlib/tst-strfmon_l.c (do_test): New test.
21320 * stdlib/Makefile (tests): Add kt.
21321 (LOCALES): Build additional locales.
21322 (tst-strfmon_l.out): Require locales.
21323
21324 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
21325
21326 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
21327 if not in libc.
21328 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
21329 Likewise.
21330 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
21331 Likewise.
21332 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
21333 Likewise.
21334
21335 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
21336
21337 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
21338 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
21339 with unaligned_erms.
21340 (__memmove_erms): Skip if source == destination.
21341 (__memmove_unaligned_erms): Don't check source == destination
21342 first.
21343
21344 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
21345
21346 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
21347 bit_arch_Fast_Copy_Backward for Intel Core proessors.
21348
21349 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21350
21351 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
21352 * string/strspn.c (strspn): Likewise.
21353
21354 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
21355
21356 * benchtests/bench-memset.c (do_test): Support 64-byte
21357 alignment.
21358 (test_main): Test 64-byte alignment.
21359
21360 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
21361
21362 * benchtests/bench-memmove.c (test_main): Test 64-byte
21363 alignment.
21364
21365 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
21366
21367 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
21368
21369 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21370
21371 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
21372 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
21373 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
21374
21375 * string/strpbrk.c (strpbrk): Rewrite function.
21376 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
21377 (__strpbrk_c2): Likewise.
21378 (__strpbrk_c3): Likewise.
21379 * string/string-inlines.c
21380 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
21381 Likewise.
21382 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
21383 Likewise.
21384
21385 * string/strspn.c (strcspn): Rewrite function.
21386 * string/bits/string2.h (strspn): Use __builtin_strcspn.
21387 (__strspn_c1): Remove inline function.
21388 (__strspn_c2): Likewise.
21389 (__strspn_c3): Likewise.
21390 * string/string-inlines.c
21391 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
21392 compatibility symbol.
21393 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
21394 Likewise.
21395 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
21396 Likewise.
21397 * string/string-inlines.c: Include generic version.
21398
21399 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
21400 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21401
21402 * string/Version (libc): Add GLIBC_2.24.
21403 * string/strcspn.c (strcspn): Rewrite function.
21404 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
21405 (__strcspn_c1): Remove inline function.
21406 (__strcspn_c2): Likewise.
21407 (__strcspn_c3): Likewise.
21408 * string/string-inline.c
21409 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
21410 compatibility symbol.
21411 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
21412 Likewise.
21413 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
21414 Likewise.
21415 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
21416
21417 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
21418
21419 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21420 Use ahi instead of aghi to adjust stack pointer.
21421
21422 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21423
21424 [BZ #19853]
21425 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
21426 TEST to take significant digits as second parameter.
21427 [TEST]: Redefine in terms of TEST_N taking 30
21428 significant digits.
21429 (do_test): Add test case to demonstrate precision
21430 failure in the ldbl-128ibm printf.
21431 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
21432 (__mpn_extract_long_double): Carry 7 extra intermediate
21433 bits of precision to aide computing difference when
21434 signs differ.
21435
21436 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
21437
21438 [BZ #19881]
21439 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21440 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
21441 memset-avx512-unaligned-erms.
21442 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21443 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
21444 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
21445 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
21446 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
21447 __memset_sse2_unaligned_erms, __memset_erms,
21448 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
21449 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
21450 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
21451 file.
21452 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
21453 Likewise.
21454 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
21455 Likewise.
21456 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
21457 Likewise.
21458
21459 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
21460
21461 [BZ #19776]
21462 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21463 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
21464 memmove-avx512-unaligned-erms.
21465 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21466 (__libc_ifunc_impl_list): Test
21467 __memmove_chk_avx512_unaligned_2,
21468 __memmove_chk_avx512_unaligned_erms,
21469 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
21470 __memmove_chk_sse2_unaligned_2,
21471 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
21472 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
21473 __memmove_avx512_unaligned_erms, __memmove_erms,
21474 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
21475 __memcpy_chk_avx512_unaligned_2,
21476 __memcpy_chk_avx512_unaligned_erms,
21477 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
21478 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
21479 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
21480 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
21481 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
21482 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
21483 __mempcpy_chk_avx512_unaligned_erms,
21484 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
21485 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
21486 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
21487 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
21488 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
21489 __mempcpy_erms.
21490 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
21491 file.
21492 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
21493 Likewise.
21494 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
21495 Likewise.
21496 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
21497 Likewise.
21498
21499 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
21500
21501 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
21502 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
21503 (La_s390_64_regs): Likewise.
21504 (La_s390_32_retval): Append vector register lrv_v24.
21505 (La_s390_64_retval): Likeweise.
21506 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
21507 Handle extended structs La_s390_32_regs and La_s390_32_retval.
21508 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
21509 Handle extended structs La_s390_64_regs and La_s390_64_retval.
21510
21511 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
21512
21513 [BZ #19916]
21514 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
21515 to create a non-vector/vector version for _dl_runtime_resolve and
21516 _dl_runtime_profile. Move implementation to ...
21517 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
21518 (_dl_runtime_resolve) Save and restore fpr/vrs.
21519 (_dl_runtime_profile) Save and restore vrs and fix some issues
21520 if _dl_call_pltexit is called.
21521 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
21522 Choose the correct resolver function if running on a machine with vx.
21523 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
21524 to create a non-vector/vector version for _dl_runtime_resolve and
21525 _dl_runtime_profile. Move implementation to ...
21526 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
21527 (_dl_runtime_resolve) Save and restore fpr/vrs.
21528 (_dl_runtime_profile) Save and restore vrs and fix some issues
21529 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
21530 Choose the correct resolver function if running on a machine with vx.
21531
21532 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21533
21534 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
21535
21536 2016-03-31 Florian Weimer <fweimer@redhat.com>
21537
21538 [BZ #19509]
21539 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
21540 skip_map != NULL.
21541 * elf/tst-dlsym-error.c: New file.
21542 * elf/Makefile (tests): Add tst-dlsym-error.
21543 (tst-dlsym-error): Link against libdl.
21544
21545 2016-03-29 Joseph Myers <joseph@codesourcery.com>
21546
21547 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21548 (__ASSUME_FUTIMESAT): Remove macro.
21549 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
21550
21551 2016-03-29 Florian Weimer <fweimer@redhat.com>
21552
21553 [BZ #19879]
21554 CVE-2016-3075
21555 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
21556 copy name.
21557
21558 2016-03-29 Florian Weimer <fweimer@redhat.com>
21559
21560 [BZ #19837]
21561 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
21562 error if parse_line fails.
21563
21564 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
21565
21566 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
21567 (index_cpu_ERMS): Likewise.
21568 (reg_ERMS): Likewise.
21569
21570 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
21571
21572 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
21573 PER_LINUX_FDPIC): Add.
21574
21575 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
21576
21577 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21578 memcpy-avx512-no-vzeroupper.
21579 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
21580 to ...
21581 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
21582 (MEMCPY): Don't define.
21583 (MEMCPY_CHK): Likewise.
21584 (MEMPCPY): Likewise.
21585 (MEMPCPY_CHK): Likewise.
21586 (MEMPCPY_CHK): Renamed to ...
21587 (__mempcpy_chk_avx512_no_vzeroupper): This.
21588 (MEMPCPY_CHK): Renamed to ...
21589 (__mempcpy_chk_avx512_no_vzeroupper): This.
21590 (MEMCPY_CHK): Renamed to ...
21591 (__memmove_chk_avx512_no_vzeroupper): This.
21592 (MEMCPY): Renamed to ...
21593 (__memmove_avx512_no_vzeroupper): This.
21594 (__memcpy_avx512_no_vzeroupper): New alias.
21595 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
21596
21597 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
21598
21599 [BZ #18858]
21600 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21601 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
21602 and mempcpy-avx512-no-vzeroupper.
21603 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
21604 New.
21605 (MEMPCPY): Likewise.
21606 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
21607 (MEMPCPY_CHK): New.
21608 (MEMPCPY): Likewise.
21609 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
21610 (MEMPCPY): Likewise.
21611 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
21612 (MEMPCPY): Likewise.
21613 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
21614 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
21615 Likewise.
21616 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
21617 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
21618
21619 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
21620 Amit Pawar <Amit.Pawar@amd.com>
21621
21622 [BZ #19583]
21623 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
21624 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
21625 processors. Set Fast_Copy_Backward for AMD Excavator
21626 processors.
21627 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
21628 New.
21629 (index_arch_Fast_Unaligned_Copy): Likewise.
21630 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
21631 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
21632
21633 2016-03-25 Florian Weimer <fweimer@redhat.com>
21634
21635 [BZ #19791]
21636 * resolv/res_send.c (close_and_return_error): New function.
21637 (send_dg): Initialize *resplen2 after reopen failure. Call
21638 close_and_return_error for error returns. On error paths without
21639 __res_iclose, initialze *resplen2 explicitly. Update comment for
21640 successful return.
21641
21642 2016-03-25 Florian Weimer <fweimer@redhat.com>
21643
21644 [BZ #19860]
21645 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
21646 zero if the compiler does not provide the AVX512F bit.
21647
21648 2016-03-24 Joseph Myers <joseph@codesourcery.com>
21649
21650 [BZ #19848]
21651 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
21652 from 8 to 4.
21653 (__ieee754_powl): Compare integer exponent against 4 not 8.
21654 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
21655 from 8 to 4.
21656 (__ieee754_powl): Compare integer exponent against 4 not 8.
21657 * math/auto-libm-test-in: Add more tests of pow.
21658 * math/auto-libm-test-out: Regenerated.
21659 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
21660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21661
21662 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
21663
21664 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
21665 Make code unconditional.
21666 [!__NR_utimensat]: Remove conditional code.
21667 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
21668 Make code unconditional.
21669 [!__NR_utimensat]: Remove conditional code.
21670 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
21671 Make code unconditional.
21672 [!__NR_utimensat]: Remove conditional code.
21673
21674 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
21675
21676 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
21677 Make code unconditional.
21678
21679 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
21680
21681 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
21682 call-clobbered %eax on retry path.
21683 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
21684
21685 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
21686
21687 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
21688 Don't set %rcx twice before "rep movsb".
21689
21690 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
21691
21692 [BZ #19583]
21693 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
21694 inline. Check family before setting family, model and
21695 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
21696 bits here.
21697 (init_cpu_features): Replace HAS_CPU_FEATURE and
21698 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
21699 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
21700 for Intel processors with usable AVX2. Call get_common_indeces
21701 for other processors with family == NULL.
21702 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
21703 (CPU_FEATURES_ARCH_P): Likewise.
21704 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
21705 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
21706
21707 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21708
21709 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
21710 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
21711 $(shared-thread-library) instead of hardcoding the path to libpthread.
21712
21713 2016-03-22 Joseph Myers <joseph@codesourcery.com>
21714
21715 * sysdeps/unix/sysv/linux/kernel-features.h
21716 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
21717 * sysdeps/unix/sysv/linux/getdents.c
21718 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
21719 [!have_no_getdents64_defined]: Likewise.
21720 (__GETDENTS): Remove __have_no_getdents64 conditional.
21721
21722 2016-03-21 Joseph Myers <joseph@codesourcery.com>
21723
21724 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
21725 Remove macro.
21726 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
21727 <kernel-features.h>.
21728 (signalfd) [__NR_signalfd4]: Make code unconditional.
21729 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
21730
21731 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21732
21733 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
21734 style.
21735
21736 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
21737
21738 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
21739 (__pthread_enable_asynccancel): Use JUMPTARGET to call
21740 __pthread_unwind.
21741 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21742 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
21743 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21744 (__condvar_cleanup1): Likewise.
21745
21746 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
21747
21748 [BZ #19822]
21749 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
21750 move it to the final $@ location.
21751
21752 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21753
21754 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
21755 access where posix_spawn success and pid argument is null.
21756 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
21757 success case.
21758
21759 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
21760
21761 * sysdeps/mach/hurd/i386/c++-types.data: New file.
21762
21763 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
21764
21765 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
21766 and __fcntl.
21767 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
21768 __fcntl only.
21769 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
21770 adding attribute_hidden to __open and __fcntl.
21771
21772 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
21773 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
21774 depend on libc-modules.h,
21775 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
21776
21777 2016-03-17 Joseph Myers <joseph@codesourcery.com>
21778
21779 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
21780 Remove macro.
21781 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
21782 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
21783 entry.
21784
21785 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
21786 Remove macro.
21787 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
21788 include <kernel-features.h>.
21789 [!__ASSUME_FALLOCATE]: Remove conditional code.
21790 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
21791
21792 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
21793
21794 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
21795 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
21796 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
21797 (_ZGVdN4v_cos_avx2): Likewise.
21798 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
21799 (_ZGVdN4v_cos): Likewise.
21800 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
21801 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
21802 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
21803 (_ZGVdN4v_exp_avx2): Likewise.
21804 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
21805 (_ZGVdN4v_exp): Likewise.
21806 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
21807 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
21808 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
21809 (_ZGVdN4v_log_avx2): Likewise.
21810 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
21811 (_ZGVdN4v_log): Likewise.
21812 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
21813 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
21814 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
21815 (_ZGVdN4vv_pow_avx2): Likewise.
21816 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
21817 (_ZGVdN4vv_pow): Likewise.
21818 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
21819 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
21820 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
21821 (_ZGVdN4v_sin_avx2): Likewise.
21822 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
21823 (_ZGVdN4v_sin): Likewise.
21824 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
21825 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
21826 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
21827 (_ZGVdN4vvv_sincos_avx2): Likewise.
21828 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
21829 (_ZGVdN4vvv_sincos): Likewise.
21830 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
21831 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
21832 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
21833 (_ZGVbN4v_cosf_sse4): Likewise.
21834 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
21835 (_ZGVdN8v_cosf_avx2): Likewise.
21836 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
21837 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
21838 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
21839 (_ZGVbN4v_expf_sse4): Likewise.
21840 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
21841 (_ZGVdN8v_expf_avx2): Likewise.
21842 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
21843 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
21844 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
21845 (_ZGVbN4v_logf_sse4): Likewise.
21846 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
21847 (_ZGVdN8v_logf_avx2): Likewise.
21848 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
21849 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
21850 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
21851 (_ZGVbN4vv_powf_sse4): Likewise.
21852 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
21853 (_ZGVdN8vv_powf_avx2): Likewise.
21854 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
21855 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
21856 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
21857 (_ZGVbN4vvv_sincosf_sse4): Likewise.
21858 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
21859 (_ZGVdN8vvv_sincosf_avx2): Likewise.
21860 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
21861 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
21862 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
21863 (_ZGVbN4v_sinf_sse4): Likewise.
21864 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
21865 (_ZGVdN8v_sinf_avx2): Likewise.
21866 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
21867 Use JUMPTARGET to call callee.
21868 (WRAPPER_IMPL_SSE2_ff): Likewise.
21869 (WRAPPER_IMPL_SSE2_fFF): Likewise.
21870 (WRAPPER_IMPL_AVX): Likewise.
21871 (WRAPPER_IMPL_AVX_ff): Likewise.
21872 (WRAPPER_IMPL_AVX_fFF): Likewise.
21873 (WRAPPER_IMPL_AVX512): Likewise.
21874 (WRAPPER_IMPL_AVX512_ff): Likewise.
21875 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
21876 Likewise.
21877 (WRAPPER_IMPL_SSE2_ff): Likewise.
21878 (WRAPPER_IMPL_SSE2_fFF): Likewise.
21879 (WRAPPER_IMPL_AVX): Likewise.
21880 (WRAPPER_IMPL_AVX_ff): Likewise.
21881 (WRAPPER_IMPL_AVX_fFF): Likewise.
21882 (WRAPPER_IMPL_AVX512): Likewise.
21883 (WRAPPER_IMPL_AVX512_ff): Likewise.
21884 (WRAPPER_IMPL_AVX512_fFF): Likewise.
21885
21886 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21887
21888 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
21889 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
21890 qualifier.
21891 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
21892 internal_function qualifiers.
21893
21894 2016-03-15 Carlos O'Donell <carlos@redhat.com>
21895
21896 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
21897 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
21898 * math/atest-exp.c (exp_mpn): Mark chk unused.
21899 * math/atest-exp2.c (exp_mpn): Likewise.
21900 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
21901 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
21902
21903 2016-03-15 Joseph Myers <joseph@codesourcery.com>
21904
21905 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
21906 Remove macro.
21907 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
21908 <kernel-features.h>.
21909 [__NR_ppoll]: Make code unconditional.
21910 [!__ASSUME_PPOLL]: Remove conditional code.
21911
21912 * sysdeps/unix/sysv/linux/kernel-features.h
21913 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
21914 (__ASSUME_ACCEPT4): Likewise.
21915 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21916 Define.
21917 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
21918 Likewise.
21919 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21920 Likewise.
21921 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
21922 Likewise.
21923 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
21924 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
21925 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21926 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
21927 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21928 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21929 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21930 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21931 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21932 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21933 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21934 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21935 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21936 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21937 * sysdeps/unix/sysv/linux/i386/kernel-features.h
21938 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21939 Likewise.
21940 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21941 Likewise.
21942 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21943 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
21944 0x040300].
21945 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21946 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
21947 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21948 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21949 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
21950 0x030300].
21951 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
21952 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21953 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21954 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
21955 0x040300].
21956 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21957 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21958 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21959 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21960 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21961 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21962 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
21963 0x030300].
21964 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21965 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21966 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21967 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21968 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21969 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21970 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21971 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21972 * sysdeps/unix/sysv/linux/s390/kernel-features.h
21973 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21974 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
21975 0x040300].
21976 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21977 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21978 * sysdeps/unix/sysv/linux/sh/kernel-features.h
21979 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21980 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21981 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21982 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
21983 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21984 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21985 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21986 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21987 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21988 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21989 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21990 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
21991 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21992 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21993 Likewise.
21994 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21995 Likewise.
21996
21997 2016-03-15 Andreas Schwab <schwab@suse.de>
21998
21999 [BZ #19257]
22000 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
22001 statp->_u._ext.nscount as loop count.
22002
22003 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
22004
22005 * math/test-signgam-finite-c99.c: Also #undef
22006 __LIBC_INTERNAL_MATH_INLINES.
22007 * math/test-signgam-main.c: Likewise.
22008
22009 2016-03-14 Joseph Myers <joseph@codesourcery.com>
22010
22011 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
22012 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
22013 (MADV_FREE): Likewise.
22014 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
22015 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
22016 EPOLLEXCLUSIVE.
22017
22018 2016-03-14 Carlos O'Donell <carlos@redhat.com>
22019
22020 * timezone/README: Remove mention of checktab.awk. Mention wiki
22021 SharedSourceFiles.
22022
22023 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
22024
22025 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
22026 WUNTRACED.
22027
22028 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22029
22030 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
22031 order to match the type of p when calling atomic_exchange_acq().
22032
22033 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22034
22035 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
22036 cfi_offset calls.
22037 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
22038 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
22039 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
22040 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
22041 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
22042
22043 2016-03-10 Carlos O'Donell <carlos@redhat.com>
22044
22045 * timezone/checktab.awk: Removed.
22046
22047 2016-03-10 Joseph Myers <joseph@codesourcery.com>
22048
22049 * manual/math.texi (Errors in Math Functions): Document relaxed
22050 accuracy goals for IBM long double.
22051 * math/libm-test.inc (test_exceptions): Always allow spurious
22052 "underflow" and "inexact" exceptions for IBM long double.
22053
22054 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
22055
22056 [BZ #19762]
22057 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
22058 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
22059 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
22060 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
22061 (bit_arch_*): This for feature array.
22062 (bit_*): Renamed to ...
22063 (bit_cpu_*): This for cpu array.
22064 (index_*): Renamed to ...
22065 (index_arch_*): This for feature array.
22066 (index_*): Renamed to ...
22067 (index_cpu_*): This for cpu array.
22068 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
22069 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
22070 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
22071 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
22072 bit_##name with index_cpu_##name and bit_cpu_##name.
22073 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
22074 bit_##name with index_arch_##name and bit_arch_##name.
22075
22076 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
22077
22078 [BZ #19792]
22079 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
22080 Terminate FDE before return label.
22081
22082 2016-03-09 Joseph Myers <joseph@codesourcery.com>
22083
22084 [BZ #19790]
22085 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
22086 (rintl): Define as macro.
22087 [USE_AS_NEARBYINTL] (__rintl): Likewise.
22088 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
22089 of fesetround. Ensure results are evaluated before end of scope.
22090 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
22091 USE_AS_NEARBYINTL and include s_rintl.c.
22092 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
22093 Disable exception traps in new environment.
22094 (libc_feholdsetround_ppc_ctx): Likewise.
22095
22096 2016-03-08 Roland McGrath <roland@hack.frob.com>
22097
22098 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
22099 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
22100 (tst_audit10_aux) [__AVX512F__]: ... here.
22101
22102 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
22103
22104 * include/sys/auxv.h: New file.
22105
22106 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
22107
22108 [BZ #19759]
22109 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
22110
22111 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22112
22113 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
22114 operand modifier.
22115 (feclearexcept): Likewise.
22116
22117 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22118
22119 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
22120 to reflect the entire 32-bit HWCAP.
22121 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
22122 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
22123
22124 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
22125
22126 [BZ #19783]
22127 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
22128 $(test-via-rtld-prefix).
22129 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
22130
22131 2016-03-08 Florian Weimer <fweimer@redhat.com>
22132
22133 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
22134 union wait. Report any non-zero exit status as error.
22135
22136 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22137
22138 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
22139 configured with --enable-hardcoded-path-in-tests.
22140
22141 2016-03-08 Joseph Myers <joseph@codesourcery.com>
22142
22143 [BZ #19677]
22144 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
22145 (__ieee754_remainderl): Put zero low parts in canonical form.
22146 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
22147 file. Based on
22148 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
22149 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
22150 with wrapper round test-fmodrem-ldbl-128ibm.c.
22151 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
22152 file.
22153 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
22154 Likewise.
22155 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
22156 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
22157
22158 2016-03-07 Florian Weimer <fweimer@redhat.com>
22159
22160 [BZ #19610]
22161 * elf/ldconfig.c (opt_link): Update comment.
22162 (options): Update help string for option -X.
22163 (search_dir): Unlink stale symbolic link only if updating symbolic
22164 links.
22165 * elf/tst-ldconfig-X.sh: New file.
22166 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
22167 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
22168
22169 2016-03-07 Andreas Schwab <schwab@suse.de>
22170
22171 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
22172 needed arguments.
22173
22174 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
22175
22176 [BZ #15333]
22177 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
22178 to lstat64.
22179
22180 2016-03-07 Florian Weimer <fweimer@redhat.com>
22181
22182 * libio/filedoalloc.c (isatty): Remove.
22183 (local_isatty): Add comment. Call __isatty directly.
22184 (_IO_file_doallocate): Update comment. Assume _LIBC.
22185 * libio/wfiledoalloc.c (isatty): Remove.
22186 (_IO_wfile_doallocate): Update comment.
22187
22188 2016-03-07 Florian Weimer <fweimer@redhat.com>
22189
22190 [BZ #19269]
22191 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
22192 tst-audit4-aux.o.
22193 (tst-audit10): Depend on tst-audit10-aux.o.
22194 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
22195 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
22196 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
22197 instead of inline AVX code.
22198 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
22199 instead of inline AVX512 code.
22200 * sysdeps/x86_64/tst-audit4-aux.c: New file
22201 * sysdeps/x86_64/tst-audit10-aux.c: New file
22202
22203 [BZ #19648]
22204 * test-skeleton.c (main): Do not set RLIMIT_DATA.
22205
22206 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22207
22208 [BZ #14750]
22209 [BZ #10354]
22210 [BZ #18433]
22211 * include/sched.h (__clone): Add hidden prototype.
22212 (__clone2): Likewise.
22213 * include/unistd.h (__dup): Likewise.
22214 * posix/Makefile (tests): Add tst-spawn2.
22215 * posix/tst-spawn2.c: New file.
22216 * sysdeps/posix/dup.c (__dup): Add hidden definition.
22217 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
22218 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
22219 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
22220 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
22221 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
22222 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
22223 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
22224 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
22225 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
22226 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
22227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
22228 Likewise.
22229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22230 Likewise.
22231 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
22232 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
22233 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
22234 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
22235 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
22236 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
22237 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
22238 * sysdeps/unix/sysv/linux/nptl-signals.h
22239 (____nptl_is_internal_signal): New function.
22240 * sysdeps/unix/sysv/linux/spawni.c: New file.
22241
22242 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
22243 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
22244 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
22245 * posix/tst-execvp2.c (do_test): Likewise.
22246 * posix/tst-execvp3.c (do_test): Likewise.
22247 * posix/tst-execvp4.c (do_test): Likewise.
22248 * posix/tst-execvpe1.c: New file.
22249 * posix/tst-execvpe2.c: Likewise.
22250 * posix/tst-execvpe3.c: Likewise.
22251 * posix/tst-execvpe4.c: Likewise.
22252 * posix/tst-execvpe5.c: Likewise.
22253 * posix/tst-execvpe6.c: Likewise.
22254
22255 [BZ #19534]
22256 * posix/execl.c (execl): Remove dynamic memory allocation.
22257 * posix/execle.c (execle): Likewise.
22258 * posix/execlp.c (execlp): Likewise.
22259
22260 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
22261
22262 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
22263 Replace .text with .text.avx512.
22264 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
22265 Likewise.
22266
22267 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
22268
22269 * sysdeps/generic/libnsl.abilist: New file.
22270 * sysdeps/generic/libutil.abilist: New file.
22271
22272 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
22273
22274 [BZ #19762]
22275 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
22276 HAS_ARCH_FEATURE with Fast_Rep_String.
22277 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
22278 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
22279 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
22280 Likewise.
22281 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
22282 Likewise.
22283 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
22284 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
22285 Likewise.
22286 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
22287 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
22288 Likewise.
22289
22290 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
22291
22292 [BZ #19745]
22293 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
22294 with *%rax in call.
22295
22296 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
22297
22298 [BZ #19745]
22299 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
22300 with *__libc_start_main@GOTPCREL(%rip) in call.
22301
22302 2016-03-04 Roland McGrath <roland@hack.frob.com>
22303
22304 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
22305 inside conditional for nonempty $(CXX).
22306
22307 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
22308 nonempty.
22309
22310 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
22311 to test for empty $(CXX) rather than $(CXX) of "no".
22312
22313 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
22314
22315 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
22316
22317 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
22318 H.J. Lu <hongjiu.lu@intel.com>
22319
22320 [BZ #18880]
22321 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
22322 instead of Slow_BSF, and also check for Fast_Copy_Backward to
22323 enable __memcpy_ssse3_back.
22324
22325 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
22326
22327 [BZ #19758]
22328 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
22329 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
22330
22331 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
22332
22333 [BZ #19490]
22334 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
22335 (__fentry__): Likewise.
22336
22337 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
22338
22339 * gmon/Makefile (noprof): Add $(sysdep_noprof).
22340 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
22341
22342 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
22343
22344 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
22345 __mcount_internal directly.
22346 (C_LABEL(__fentry__)): Likewise.
22347 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
22348 directly.
22349
22350 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
22351
22352 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22353 (__start_context): Call __setcontext directly.
22354
22355 2016-02-26 Joseph Myers <joseph@codesourcery.com>
22356
22357 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22358 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22359 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
22360 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
22361 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22362 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22363 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
22364 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22365 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22366 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
22367 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
22368 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
22369 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22370 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22371 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22372 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22373 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
22374 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22375 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22376 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
22377 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
22378 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22379 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22380 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
22381 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
22382 Remove conditional code.
22383 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22384 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
22385 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22386 * sysdeps/unix/sysv/linux/sh/kernel-features.h
22387 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
22388 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22389 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
22390 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
22391 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22392 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22393 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22394 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22395
22396 2016-02-24 Marko Myllynen <myllynen@redhat.com>
22397
22398 * NEWS (2.23): Fix typo in bug 19048 text.
22399
22400 2016-02-24 Carlos O'Donell <carlos@redhat.com>
22401
22402 [BZ #14259]
22403 * Makeconfig: Rename msgcatdir to localedir.
22404 Rename inst_msgcatdir to inst_localedir.
22405 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
22406 * config.make.in: Add localedir.
22407 * elf/Makefile ($(objpfx)sotruss): Use localedir.
22408 (ldd-rewrite): Likewise.
22409 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
22410 (install-others): Use inst_localedir.
22411 (CPPFLAGS): Use localedir.
22412 * locale/Makefile (locale-CPPFLAGS): Likewise.
22413 * po/Makefile (mo-installed): Use inst_localedir.
22414
22415 [BZ #19575]
22416 * localedata/charmaps/GB18030: Update comments regarding PAU to
22417 non-PUA mappings.
22418
22419 2016-02-24 Joseph Myers <joseph@codesourcery.com>
22420
22421 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
22422 test for header.
22423 * sysdeps/unix/sysv/linux/configure: Regenerated.
22424 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
22425 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
22426 Remove conditional code.
22427 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
22428
22429 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
22430 Define to 3.2.0.
22431 (arch_minimum_kernel): Likewise.
22432 * sysdeps/unix/sysv/linux/configure: Regenerated.
22433 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
22434 Define to 2.6.32.
22435 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
22436 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
22437 (arch_minimum_kernel): Define to 2.6.32.
22438 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
22439 * README: Document Linux 3.2 requirement.
22440 * manual/install.texi (Linux): Document Linux 3.2 headers
22441 requirement.
22442 * INSTALL: Regenerated.
22443
22444 2016-02-24 Andreas Schwab <schwab@suse.de>
22445
22446 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
22447 if !NO_LONG_DOUBLE.
22448
22449 2016-02-22 Roland McGrath <roland@hack.frob.com>
22450
22451 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
22452 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
22453
22454 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
22455
22456 [BZ #19512]
22457 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
22458
22459 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
22460
22461 * posix/tst-dir.c: Include libc-internal.h.
22462
22463 2016-02-20 Florian Weimer <fweimer@redhat.com>
22464
22465 [BZ #19056]
22466 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
22467 * manual/filesys.texi (Reading/Closing Directory): Mention
22468 deprecaion.
22469 * posix/tst-dir.c (main): Disable deprecation warning in test.
22470
22471 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
22472
22473 [BZ #19679]
22474 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
22475 Renamed to ...
22476 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
22477 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22478 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
22479 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22480 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
22481 * sysdeps/x86_64/dl-trampoline.h
22482 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22483 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
22484
22485 2016-02-19 Mark Wielaard <mjw@redhat.com>
22486
22487 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
22488
22489 2016-02-19 Mark Wielaard <mjw@redhat.com>
22490
22491 * elf/elf.h (R_386_GOT32X): New.
22492 (R_386_NUM): Update.
22493 (R_X86_64_GOTPCRELX: New.
22494 (R_X86_64_REX_GOTPCRELX): New.
22495 (R_X86_64_NUM): Update.
22496
22497 2016-02-19 Mike Frysinger <vapier@gentoo.org>
22498
22499 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
22500
22501 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
22502
22503 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
22504 assign attr->stackaddr to it, and adjust it down when
22505 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
22506 [_STACK_GROWS_UP]: Delete assert.
22507 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
22508 Implement stack grows up logic.
22509 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
22510 stack grows up logic.
22511
22512 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22513
22514 * NEWS: Update with 2.24 template.
22515
22516 2016-02-19 Joseph Myers <joseph@codesourcery.com>
22517
22518 [BZ #19678]
22519 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22520 Ensure +0.0 is returned when taking the next value below the least
22521 positive value.
22522
22523 2016-02-19 Florian Weimer <fweimer@redhat.com>
22524
22525 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
22526 available. Do not define NO_THREADS.
22527 * malloc/malloc.c: Do not check NO_THREADS.
22528 * malloc/arena.c: Likewise.
22529
22530 2016-02-19 Florian Weimer <fweimer@redhat.com>
22531
22532 * malloc/malloc.c (__libc_mallinfo): Update comment.
22533 (struct malloc_par): Remove max_total_mem member, it was always 0.
22534 (int_mallinfo): Store 0 into usmblks (no functional change).
22535 * malloc/hooks.c (struct malloc_state): Document that
22536 max_total_mem is always 0.
22537 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
22538 always 0.
22539 * manual/memory.texi (Statistics of Malloc): Likewise.
22540
22541 2016-02-19 Florian Weimer <fweimer@redhat.com>
22542
22543 * malloc/malloc.c (sysmalloc): Do not update arena_max.
22544 * malloc/arena.c (arena_max): Remove.
22545 (heap_trim, _int_new_arena): Do not update arena_max.
22546
22547 2016-02-19 Florian Weimer <fweimer@redhat.com>
22548
22549 * resolv/res_init.c (res_ninit): Update comment.
22550
22551 2016-02-19 Florian Weimer <fweimer@redhat.com>
22552
22553 [BZ #19505]
22554 * posix/spawn_int.h: Add headers and include guard.
22555 (__spawn_valid_fd): New function.
22556 * posix/spawn_faction_addopen.c
22557 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
22558 * posix/spawn_faction_addclose.c
22559 (posix_spawn_file_actions_addclose): Likewise.
22560 * posix/spawn_faction_adddup2.c
22561 (posix_spawn_file_actions_adddup2): Likewise. Add check for
22562 second file descriptor.
22563 * posix/spawn_valid_fd.c: New file.
22564 * posix/tst-posix_spawn-fd.c: New file.
22565 * posix/Makefile (routines): Add spawn_valid_fd.
22566 (tests): Add tst-posix_spawn-fd.
22567
22568 2016-02-19 Florian Weimer <fweimer@redhat.com>
22569
22570 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
22571 (do_test): Limit the number of arenas, so that we can use fewer
22572 outer threads. Limit timeout to 3 seconds, in preparation for a
22573 larger TIMEOUT value.
22574
22575 2016-02-19 Joseph Myers <joseph@codesourcery.com>
22576
22577 [BZ #19674]
22578 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
22579 sign in overflowing and underflowing results when overflow or
22580 underflow is detected early. Include sign in result before rather
22581 than after scaling.
22582
22583 [BZ #19603]
22584 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
22585 (__ieee754_remainderl): Adjust sign of integer version of low part
22586 when taking absolute value of high part.
22587 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22588 * math/libm-test.inc (remainder_test_data): Add another test.
22589 (remquo_test_data): Likewise.
22590
22591 2016-02-18 Joseph Myers <joseph@codesourcery.com>
22592
22593 [BZ #19602]
22594 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
22595 equal high parts and both low parts zero specially.
22596 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
22597 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
22598 Add test-fmodl-ldbl-128ibm.
22599
22600 [BZ #19595]
22601 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
22602 common logic for all cases of shifting subnormal results. Do not
22603 insert sign bit in shifted mantissa. Always pass -1023 as biased
22604 exponent to ldbl_insert_mantissa in subnormal case.
22605
22606 [BZ #19594]
22607 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
22608 on high and low parts then adjust result and use
22609 ldbl_canonicalize_int if needed.
22610
22611 [BZ #19593]
22612 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
22613 on high part and __floor or __ceil on low part then use
22614 ldbl_canonicalize_int if needed.
22615
22616 [BZ #19592]
22617 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
22618 high and low parts then use ldbl_canonicalize_int if needed.
22619
22620 [BZ #17899]
22621 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
22622 New function.
22623 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
22624 on high and low parts then use ldbl_canonicalize_int if needed.
22625
22626 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22627
22628 * configure: Regenerated.
22629
22630 * po/libc.pot: Regenerated.
22631
22632 * po/be.po: Updated translation.
22633 * po/bg.po: Likewise.
22634 * po/ca.po: Likewise.
22635 * po/cs.po: Likewise.
22636 * po/da.po: Likewise.
22637 * po/el.po: Likewise.
22638 * po/eo.po: Likewise.
22639 * po/es.po: Likewise.
22640 * po/fi.po: Likewise.
22641 * po/fr.po: Likewise.
22642 * po/gl.po: Likewise.
22643 * po/hr.po: Likewise.
22644 * po/hu.po: Likewise.
22645 * po/ia.po: Likewise.
22646 * po/id.po: Likewise.
22647 * po/it.po: Likewise.
22648 * po/ja.po: Likewise.
22649 * po/lt.po: Likewise.
22650 * po/nb.po: Likewise.
22651 * po/nl.po: Likewise.
22652 * po/pt_BR.po: Likewise.
22653 * po/rw.po: Likewise.
22654 * po/sk.po: Likewise.
22655 * po/sl.po: Likewise.
22656 * po/sv.po: Likewise.
22657 * po/tr.po: Likewise.
22658 * po/zh_CN.po: Likewise.
22659 * po/zh_TW.po: Likewise.
22660
22661 * version.h (RELEAES): Set to "development".
22662 (VERSION): Set to 2.23.90.
22663
22664 * version.h (RELEASE): Set to "stable".
22665 (VERSION): Set to 2.23.
22666 * include/feature.h (__GLIBC_MINOR__): Set to 23.
22667
22668 * NEWS: Updated fixed bugs.
22669
22670 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
22671 Wilco Dijkstra <wdijkstr@arm.com>
22672
22673 [BZ #19462]
22674 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
22675 (_STRING_INLINE_unaligned): This.
22676 * include/string.h: Include <string_private.h>.
22677 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
22678 _STRING_INLINE_unaligned.
22679 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
22680 (_STRING_INLINE_unaligned): New.
22681 * sysdeps/aarch64/string_private.h: New file.
22682 * sysdeps/generic/string_private.h: Likewise.
22683 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
22684 * sysdeps/s390/string_private.h: Likewise.
22685 * sysdeps/x86/string_private.h: Likewise.
22686 * sysdeps/m68k/m680x0/m68020/bits/string.h
22687 (_STRING_ARCH_unaligned): Renamed to ...
22688 (_STRING_INLINE_unaligned): This.
22689 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
22690 to ...
22691 (_STRING_INLINE_unaligned): This.
22692 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
22693 to ...
22694 (_STRING_INLINE_unaligned): This.
22695 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
22696 to ...
22697 (_STRING_INLINE_unaligned): This.
22698
22699 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
22700 H.J. Lu <hongjiu.lu@intel.com>
22701
22702 [BZ #19590]
22703 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
22704 relocation.
22705
22706 2016-02-15 Carlos O'Donell <carlos@redhat.com>
22707
22708 [BZ #18665]
22709 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
22710 *herrno_p.
22711 (gaih_getanswer): Document functional behviour. Return tryagain
22712 if any result is tryagain.
22713 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
22714 when freed.
22715 * resolv/res_send.c: Add copyright text.
22716 (__libc_res_nsend): Document that MAXPACKET is expected.
22717 (send_vc): Document. Remove buffer reuse.
22718 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
22719 size of the buffer. Add Dprint for truncated UDP buffer.
22720
22721 2016-02-14 Carlos O'Donell <carlos@redhat.com>
22722
22723 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
22724 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
22725 * INSTALL: Regenerate.
22726
22727 2016-02-14 Jakub Jelinek <jakub@redhat.com>
22728 Jonathan Wakely <jwakely@redhat.com>
22729 Carlos O'Donell <carlos@redhat.com>
22730
22731 [BZ 19439]
22732 * math/Makefile (tests): Add test-math-isinff.
22733 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
22734 * math/bits/mathcalls.h [__USE_MISC]: Use
22735 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
22736 functions not in C++11 and which don't conflict e.g. isinff,
22737 isinfl etc.
22738 * math/test-math-isinff.cc: New file.
22739
22740 2016-02-12 Florian Weimer <fweimer@redhat.com>
22741
22742 * misc/bug18240.c (do_test): Set RLIMIT_AS.
22743
22744 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
22745
22746 [BZ #19529]
22747 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
22748
22749 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22750
22751 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
22752
22753 2016-02-01 Joseph Myers <joseph@codesourcery.com>
22754
22755 [BZ #19550]
22756 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
22757 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
22758 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
22759 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
22760 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
22761 New syscall entry.
22762 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
22763 New syscall entry.
22764 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
22765 syscall entry.
22766
22767 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
22768
22769 [BZ #18240]
22770 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
22771 unsigned int wraparound.
22772
22773 2016-01-27 Florian Weimer <fweimer@redhat.com>
22774
22775 [BZ #18240]
22776 * misc/bug18240.c: New test.
22777 * misc/Makefile (tests): Add it.
22778
22779 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
22780 Joseph Myers <joseph@codesourcery.com>
22781
22782 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
22783 load in branch delay slot when less than a word of input left.
22784
22785 2016-01-27 Andreas Schwab <schwab@suse.de>
22786
22787 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
22788 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
22789 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
22790 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
22791
22792 2016-01-26 David S. Miller <davem@davemloft.net>
22793
22794 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
22795
22796 2016-01-25 David S. Miller <davem@davemloft.net>
22797
22798 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
22799 __sqrtl_finite.
22800 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
22801 instead using versioned_symbol.
22802 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
22803 of entries.
22804
22805 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
22806 __sqrtl_finite to GLIBC_2.23
22807
22808 2016-01-25 Ricchard Henderson <rth@redhat.com>
22809
22810 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22811
22812 2016-01-25 Andreas Schwab <schwab@suse.de>
22813
22814 [BZ #17514]
22815 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
22816 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
22817 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
22818 * nptl/tst-mutex-errorcheck.c: New file.
22819
22820 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22821
22822 [BZ #18560]
22823 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
22824 (IPCOP_semop): Likewise.
22825 (IPCOP_semget): Likewise.
22826 (IPCOP_semctl): Likewise.
22827 (IPCOP_msgsnd): Likewise.
22828 (IPCOP_msgrcv): Likewise.
22829 (IPCOP_msgget): Likewise.
22830 (IPCOP_msgctl): Likewise.
22831 (IPCOP_shmat): Likewise.
22832 (IPCOP_shmdt): Likewise.
22833 (IPCOP_shmget): Likewise.
22834 (IPCOP_shmctl): Likewise.
22835
22836 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
22837
22838 * string/tst-endian.c: Include <libc-internal.h>.
22839 (do_test): Ignore tautological-compare warnings around
22840 "htobeXX (beXXtoh (i)) != i" and
22841 "htoleXX (leXXtoh (i)) != i" if-statements.
22842
22843 2016-01-24 David S. Miller <davem@davemloft.net>
22844
22845 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
22846 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
22847 alias.
22848 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
22849 __sqrtl_finite.
22850
22851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22852
22853 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
22854
22855 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
22856 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
22857 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22858
22859 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22860
22861 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
22862 (thread_func): Use new function to simplify barrier check.
22863 (do_test): Use new function to simplify checking barrier exit
22864 code, and actually join the child thread.
22865
22866 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22867
22868 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
22869 semicolon.
22870 (__libc_tend): Likewise.
22871 (__libc_tabort): Likewise.
22872
22873 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
22874
22875 * sysdeps/nios2/libm-test-ulps: Update.
22876 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
22877 (__gtsf2): Likewise.
22878 (__unorddf2): Likewise.
22879 (__unordsf2): Likewise.
22880 (__ledf2): Likewise.
22881
22882 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
22883
22884 * nis/nis_table.c (__follow_path): Disable diagnostic for
22885 uninitialized variable that is a false positive for gcc 4.7.
22886 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
22887
22888 2016-01-20 Roland McGrath <roland@hack.frob.com>
22889
22890 * sysdeps/nacl/lowlevellock-futex.h
22891 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
22892 Always evaluate PRIVATE argument.
22893
22894 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
22895
22896 [BZ #19490]
22897 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
22898 (pthread_cond_broadcast): Use ENTRY/END
22899 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
22900 (pthread_cond_signal): Likewise.
22901 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
22902 Likewise.
22903 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
22904 Likewise.
22905 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
22906 Likewise.
22907
22908 2016-01-20 Joseph Myers <joseph@codesourcery.com>
22909
22910 * sysdeps/ieee754/dbl-64/s_finite.c
22911 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
22912 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
22913 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
22914 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
22915 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
22916
22917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
22918 (__gtsf2): Add as optional for libc.so.
22919 (__unordsf2): Likewise.
22920 (__signbit): Remove for libc.so.
22921 (__signbitl): Likewise.
22922
22923 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
22924
22925 * iconvdata/bug-iconv11.c (test_ibm93x):
22926 Use %zu printf format specifier for size_t argument.
22927
22928 2016-01-19 Joseph Myers <joseph@codesourcery.com>
22929
22930 * math/gen-libm-test.pl (parse_ulps): Do not reduce
22931 already-recorded ulps.
22932 * sysdeps/arm/libm-test-ulps: Regenerated.
22933 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22934 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22935 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
22936
22937 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
22938 Paul Pluzhnikov <ppluzhnikov@google.com>
22939
22940 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
22941 assembler not supporting AVX-512.
22942
22943 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
22944
22945 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22946
22947 2016-01-18 Joseph Myers <joseph@codesourcery.com>
22948
22949 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22950 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22951
22952 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22953
22954 * sysdeps/arm/libm-test-ulps: Regenerated.
22955
22956 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22957
22958 [BZ #19451]
22959 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
22960
22961 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
22962
22963 [BZ #19486]
22964 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
22965 * sysdeps/generic/fix-fp-int-convert-overflow.h
22966 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
22967 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
22968 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
22969 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
22970 Likewise.
22971 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
22972 Avoid conversions to long int where inexact exceptions
22973 could be raised.
22974 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
22975 Likewise.
22976 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
22977 Avoid conversions to long long int where inexact exceptions
22978 could be raised.
22979 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
22980 Likewise.
22981
22982 2016-01-17 Mike Frysinger <vapier@gentoo.org>
22983
22984 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
22985 * configure: Regenerated.
22986
22987 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
22988
22989 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
22990
22991 2016-01-16 Mike Frysinger <vapier@gentoo.org>
22992
22993 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
22994 outside of comment.
22995
22996 2016-01-15 Torvald Riegel <triegel@redhat.com>
22997
22998 * nptl/tst-barrier1.c: Add description on first line.
22999 * nptl/tst-barrier2.c: Likewise.
23000 * nptl/tst-barrier3.c: Likewise.
23001 * nptl/tst-barrier4.c: Likewise.
23002 * nptl/tst-barrier5.c: Likewise.
23003
23004 2016-01-15 Torvald Riegel <triegel@redhat.com>
23005
23006 [BZ #18868]
23007 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
23008
23009 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
23010
23011 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
23012 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
23013 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
23014 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
23015 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
23016 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
23017 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23018 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23019 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23020 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23021 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23022
23023 2016-01-15 Torvald Riegel <triegel@redhat.com>
23024
23025 [BZ #13065]
23026 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
23027 new implementation.
23028 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
23029 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
23030 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
23031 (BARRIER_IN_THRESHOLD): New macro.
23032 * nptl/pthread_barrierattr_setpshared.c
23033 (pthread_barrierattr_setpshared): Clean up.
23034 * nptl/tst-barrier4.c: Correct comment.
23035 * nptl/tst-barrier5.c: New file.
23036 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
23037 (gen-as-const-headers): Remove lowlevelbarrier.sym.
23038 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
23039 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
23040 * nptl/lowlevelbarrier.sym: Remove.
23041 * nptl/DESIGN-barrier.txt: Remove.
23042 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
23043 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
23044 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
23045 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
23046 error.
23047 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
23048 implementation.
23049
23050 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23051
23052 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
23053 (do_child): Mask SIGRTMIN while thr is running.
23054
23055 2016-01-15 Martin Sebor <msebor@redhat.com>
23056
23057 [BZ #19432]
23058 * iconvdata/Makefile: Add bug-iconv11.
23059 * iconvdata/bug-iconv11.c: New test.
23060 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
23061 * iconvdata/ibm933.c: Same.
23062 * iconvdata/ibm935.c: Same.
23063 * iconvdata/ibm937.c: Same.
23064 * iconvdata/ibm939.c: Same.
23065
23066 2016-01-15 Martin Sebor <msebor@redhat.com>
23067
23068 [BZ #19443]
23069 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
23070 [DEBUG] (_ufc_set_bits): Declare used.
23071 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
23072 [DEBUG] (print_all): Declare used.
23073 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
23074 operands of the ternary ?: expression to target type.
23075 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
23076 calling the undeclared abort.
23077 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
23078
23079 2016-01-15 Martin Sebor <msebor@redhat.com>
23080
23081 [BZ #18755]
23082 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
23083 warnings.
23084 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
23085 (__gai_create_helper_thread): Same.
23086 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
23087 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
23088 to suppress -Wmaybe-uninitialized warnings.
23089
23090 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
23091
23092 [BZ #19465]
23093 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
23094 inside if.
23095 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23096 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23097 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23098
23099 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
23100
23101 [BZ #19466]
23102 * time/tst-mktime2.c (time_t_max): Removed.
23103 (time_t_min): Likewise.
23104 (TYPE_SIGNED): New.
23105 (TYPE_MINIMUM): Likewise.
23106 (TYPE_MAXIMUM): Likewise.
23107 (TIME_T_MIN): Likewise.
23108 (TIME_T_MAX): Likewise.
23109 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
23110 and TIME_T_MIN.
23111 (do_test): Likewise.
23112
23113 2016-01-14 Amit Pawar <amit.pawar@amd.com>
23114
23115 [BZ #19467]
23116 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23117 index_Fast_Unaligned_Load flag for Excavator family CPUs.
23118
23119 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
23120
23121 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
23122
23123 2016-01-13 Carlos O'Donell <carlos@redhat.com>
23124
23125 * benchtests/Makefile (PYTHON): Define.
23126 (bench-func): Use $(PYTHON) to run python scripts.
23127 ($(objpfx)bench-%.c): Likewise.
23128
23129 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
23130
23131 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
23132 leading slash when `file_name' is "/".
23133
23134 2016-01-12 Joseph Myers <joseph@codesourcery.com>
23135
23136 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
23137 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
23138 Likewise.
23139 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
23140 Likewise.
23141 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
23142 Likewise.
23143 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
23144 enum constant and macro.
23145 (PTRACE_SETSIGMASK): Likewise.
23146 (PTRACE_SECCOMP_GET_FILTER): Likewise.
23147 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
23148 (PTRACE_GETSIGMASK): Likewise.
23149 (PTRACE_SETSIGMASK): Likewise.
23150 (PTRACE_SECCOMP_GET_FILTER): Likewise.
23151 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
23152 Likewise.
23153 (PTRACE_SETSIGMASK): Likewise.
23154 (PTRACE_SECCOMP_GET_FILTER): Likewise.
23155 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
23156 (PTRACE_GETSIGMASK): Likewise.
23157 (PTRACE_SETSIGMASK): Likewise.
23158 (PTRACE_SECCOMP_GET_FILTER): Likewise.
23159 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
23160 Likewise.
23161 (PTRACE_SETSIGMASK): Likewise.
23162 (PTRACE_SECCOMP_GET_FILTER): Likewise.
23163 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
23164 Likewise.
23165 (PTRACE_SETSIGMASK): Likewise.
23166 (PTRACE_SECCOMP_GET_FILTER): Likewise.
23167 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
23168 Likewise.
23169 (PTRACE_SETSIGMASK): Likewise.
23170 (PTRACE_SECCOMP_GET_FILTER): Likewise.
23171
23172 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
23173 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23174
23175 [BZ #19439]
23176 * math/bits/mathcalls.h
23177 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
23178 prototype.
23179 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
23180
23181 2016-01-11 Andreas Schwab <schwab@suse.de>
23182
23183 [BZ #19253]
23184 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
23185 cache when TZDEFRULES was used.
23186 * time/tst-tzname.c: New file.
23187 * time/Makefile (test): Add tst-tzname.
23188 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
23189 * timezone/Makefile (test-zones): Add $(posixrules-file).
23190 ($(testdata)/$(posixrules-file)): New rule.
23191
23192 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
23193
23194 Fix doc quoting problems with Texinfo 5
23195 Without this change, in the info file output, Texinfo 5 quotes code
23196 in text with undirected single quotes 'like this' and generates
23197 code examples that with many PDF readers cannot be cut out of PDFs
23198 and pasted into code.
23199 * manual/libc.texinfo: Configure the libc manual like the GNU
23200 Emacs manual, by using @documentencoding and setting
23201 txicodequoteundirected and txicodequotebacktick. This way,
23202 Texinfo 5 quotes code in text with directed single quotes ‘like
23203 this’ and produces examples that can be cut out of PDFs. This
23204 change causes Texinfo 5 to generate info files that contain UTF-8
23205 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
23206 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
23207
23208 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23209
23210 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
23211 __libc_tabort, __libc_tend): New wrappers that enforce compiler
23212 barriers to their respective compiler built-ins.
23213 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
23214 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
23215 * sysdeps/powerpc/sysdep.h: Likewise.
23216 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
23217 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
23218 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
23219
23220 2016-01-08 Marko Myllynen <myllynen@redhat.com>
23221
23222 * scripts/config.guess: Revert previous shebang change.
23223 * scripts/config.sub: Likewise.
23224 * scripts/mkinstalldirs: Likewise.
23225
23226 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
23227
23228 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
23229 PPC_FEATURE2_HAS_IEEE128.
23230 * sysdeps/powerpc/dl-procinfo.c:
23231 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
23232
23233 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
23234
23235 [BZ #19415]
23236 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
23237 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
23238 (_dl_lookup_address): Rewrite using function resolver trampoline.
23239 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
23240 two bits in address.
23241
23242 2016-01-07 Mike Frysinger <vapier@gentoo.org>
23243
23244 * longlong.h: Change !__SHMEDIA__ to
23245 (!defined (__SHMEDIA__) || !__SHMEDIA__).
23246 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
23247
23248 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
23249 Joseph Myers <joseph@codesourcery.com>
23250 Mark Shinwell <shinwell@codesourcery.com>
23251 Andrew Stubbs <ams@codesourcery.com>
23252 Rich Felker <dalias@libc.org>
23253
23254 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
23255
23256 2016-01-07 Richard Henderson <rth@redhat.com>
23257
23258 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
23259
23260 2016-01-07 Mike Frysinger <vapier@gentoo.org>
23261
23262 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
23263 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
23264 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23265 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23266 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
23267
23268 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
23269 Joseph Myers <joseph@codesourcery.com>
23270
23271 * timezone/private.h: Update from tzcode 2015g.
23272 * timezone/tzfile.h: Likewise.
23273 * timezone/tzselect.ksh: Likewise.
23274 * timezone/zdump.c: Likewise.
23275 * timezone/zic.c: Likewise.
23276 * timezone/ialloc.c: Remove file.
23277 * timezone/scheck.c: Likewise.
23278 * timezone/Makefile (extra-objs): Remove variable.
23279 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
23280 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
23281 -Wno-maybe-uninitialized.
23282 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
23283 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
23284 (CFLAGS-ialloc.c): Remove variable.
23285 (CFLAGS-scheck.c): Likewise.
23286 * timezone/README: Update list of files from tzcode.
23287
23288 2016-01-07 Khem Raj <raj.khem@gmail.com>
23289
23290 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
23291 instead of __fxprintf when _LIBC is undefined.
23292
23293 2016-01-07 Marko Myllynen <myllynen@redhat.com>
23294
23295 * catgets/test-gencat.sh: Remove space after shebang.
23296 * conform/GlibcConform.pm: Likewise.
23297 * conform/check-header-lists.sh: Likewise.
23298 * conform/conformtest.pl: Likewise.
23299 * conform/linknamespace.pl: Likewise.
23300 * conform/list-header-symbols.pl: Likewise.
23301 * debug/catchsegv.sh: Likewise.
23302 * elf/genrtldtbl.awk: Likewise.
23303 * elf/tst-pathopt.sh: Likewise.
23304 * elf/tst-rtld-load-self.sh: Likewise.
23305 * grp/tst_fgetgrent.sh: Likewise.
23306 * iconvdata/gen-8bit-gap-1.sh: Likewise.
23307 * iconvdata/gen-8bit-gap.sh: Likewise.
23308 * iconvdata/gen-8bit.sh: Likewise.
23309 * iconvdata/run-iconv-test.sh: Likewise.
23310 * intl/tst-gettext.sh: Likewise.
23311 * intl/tst-gettext2.sh: Likewise.
23312 * intl/tst-gettext4.sh: Likewise.
23313 * intl/tst-gettext6.sh: Likewise.
23314 * intl/tst-translit.sh: Likewise.
23315 * io/ftwtest-sh: Likewise.
23316 * libio/test-freopen.sh: Likewise.
23317 * locale/gen-translit.pl: Likewise.
23318 * malloc/tst-mtrace.sh: Likewise.
23319 * manual/check-safety.sh: Likewise.
23320 * manual/libc-texinfo.sh: Likewise.
23321 * manual/tsort.awk: Likewise.
23322 * manual/xtract-typefun.awk: Likewise.
23323 * nptl/tst-cancel-wrappers.sh: Likewise.
23324 * nptl/tst-tls6.sh: Likewise.
23325 * posix/globtest.sh: Likewise.
23326 * posix/tst-getconf.sh: Likewise.
23327 * posix/wordexp-tst.sh: Likewise.
23328 * scripts/check-c++-types.sh: Likewise.
23329 * scripts/check-local-headers.sh: Likewise.
23330 * scripts/config.guess: Likewise.
23331 * scripts/config.sub: Likewise.
23332 * scripts/cpp: Likewise.
23333 * scripts/cross-test-ssh.sh: Likewise.
23334 * scripts/documented.sh: Likewise.
23335 * scripts/evaluate-test.sh: Likewise.
23336 * scripts/gen-libc-abis: Likewise.
23337 * scripts/gen-sorted.awk: Likewise.
23338 * scripts/list-fixed-bugs.py: Likewise.
23339 * scripts/merge-test-results.sh: Likewise.
23340 * scripts/mkinstalldirs: Likewise.
23341 * scripts/rellns-sh: Likewise.
23342 * scripts/test-installation.pl: Likewise.
23343 * scripts/update-copyrights: Likewise.
23344 * stdio-common/tst-printf.sh: Likewise.
23345 * stdio-common/tst-unbputc.sh: Likewise.
23346 * stdlib/tst-fmtmsg.sh: Likewise.
23347 * stdlib/tst-setcontext3.sh: Likewise.
23348 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
23349 * sysdeps/unix/make-syscalls.sh: Likewise.
23350
23351 2016-01-06 John David Anglin <dave.anglin@bell.net>
23352
23353 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
23354 asm stw with atomic_exchange_rel. Add explanatory comment.
23355 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23356 Likewise.
23357
23358 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
23359
23360 [BZ #19122]
23361 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
23362 * sysdeps/generic/dl-unistd.h: New file.
23363 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
23364
23365 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
23366
23367 [BZ #19122]
23368 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
23369 * sysdeps/generic/dl-mman.h: New file.
23370 * sysdeps/mach/hurd/dl-mman.h: Likewise.
23371
23372 2016-01-05 Joseph Myers <joseph@codesourcery.com>
23373
23374 * manual/texinfo.tex: Update to version 2016-01-04.21 with
23375 trailing whitespace removed.
23376 * scripts/config.guess: Update to version 2016-01-01.
23377 * scripts/config.sub: Update to version 2016-01-01.
23378 * scripts/move-if-change: Update from gnulib.
23379
23380 2016-01-04 Anton Blanchard <anton@samba.org>
23381
23382 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
23383 for array indices.
23384 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
23385
23386 2016-01-04 Joseph Myers <joseph@codesourcery.com>
23387
23388 * NEWS: Update copyright dates.
23389 * catgets/gencat.c (print_version): Likewise.
23390 * csu/version.c (banner): Likewise.
23391 * debug/catchsegv.sh: Likewise.
23392 * debug/pcprofiledump.c (print_version): Likewise.
23393 * debug/xtrace.sh (do_version): Likewise.
23394 * elf/ldconfig.c (print_version): Likewise.
23395 * elf/ldd.bash.in: Likewise.
23396 * elf/pldd.c (print_version): Likewise.
23397 * elf/sotruss.sh: Likewise.
23398 * elf/sprof.c (print_version): Likewise.
23399 * iconv/iconv_prog.c (print_version): Likewise.
23400 * iconv/iconvconfig.c (print_version): Likewise.
23401 * locale/programs/locale.c (print_version): Likewise.
23402 * locale/programs/localedef.c (print_version): Likewise.
23403 * login/programs/pt_chown.c (print_version): Likewise.
23404 * malloc/memusage.sh (do_version): Likewise.
23405 * malloc/memusagestat.c (print_version): Likewise.
23406 * malloc/mtrace.pl: Likewise.
23407 * manual/libc.texinfo: Likewise.
23408 * nptl/version.c (banner): Likewise.
23409 * nscd/nscd.c (print_version): Likewise.
23410 * nss/getent.c (print_version): Likewise.
23411 * nss/makedb.c (print_version): Likewise.
23412 * posix/getconf.c (main): Likewise.
23413 * scripts/test-installation.pl: Likewise.
23414 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23415
23416 * All files with FSF copyright notices: Update copyright dates
23417 using scripts/update-copyrights.
23418 * intl/plural.c: Regenerated.
23419 * locale/programs/charmap-kw.h: Likewise.
23420 * locale/programs/locfile-kw.h: Likewise.
23421
23422 2016-01-02 Helge Deller <deller@gmx.de>
23423
23424 [BZ #19285]
23425 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
23426 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
23427 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
23428 (MADV_xxK_PAGES): Remove.
23429
23430 2016-01-01 Mike Frysinger <vapier@gentoo.org>
23431
23432 [BZ #15421]
23433 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
23434 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
23435 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
23436 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
23437
23438 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
23439
23440 [BZ #19408]
23441 * sysdeps/unix/sysv/linux/personality.c: New file.
23442 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
23443 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
23444 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
23445 (sysdep_routines): Add personality.
23446 (tests): Add tst-personality.
23447 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
23448 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
23449 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
23450 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
23451 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
23452 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
23453 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
23454 Likewise.
23455 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
23456 Likewise.
23457 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
23458 Likewise.
23459 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
23460 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
23461 Likewise.
23462
23463 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
23464
23465 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
23466 (PATH_ARM_SYSTYPE): Remove.
23467 (PATH_CPUINFO): Likewise.
23468 (IO_BASE_FOOTBRIDGE): Likewise.
23469 (IO_SHIFT_FOOTBRIDGE): Likewise.
23470 (struct platform): Likewise.
23471 (init_iosys): Remove compatibility code for 2.4 kernels.
23472 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
23473
23474 2015-12-29 Florian Weimer <fweimer@redhat.com>
23475
23476 * malloc/tst-malloc-thread-fail.c: New file.
23477 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
23478 (tst-malloc-thread-fail): Link against libpthread.
23479
23480 2015-12-29 Mike Frysinger <vapier@gentoo.org>
23481
23482 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
23483 (get_parser): New function.
23484 (main): New function.
23485
23486 2015-12-29 Rob Wu <rob@robwu.nl>
23487
23488 [BZ #19369]
23489 * resolv/res_init.c (__res_vinit): Reset defdname before use.
23490
23491 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
23492
23493 [BZ #19270]
23494 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
23495
23496 2015-12-28 Mike Frysinger <vapier@gentoo.org>
23497
23498 [BZ #15421]
23499 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
23500
23501 2015-12-23 Torvald Riegel <triegel@redhat.com>
23502
23503 [BZ #13690]
23504 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
23505 after releasing it.
23506 (__lll_robust_unlock): Likewise.
23507 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
23508 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
23509 (lll_robust_unlock): Likewise.
23510 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
23511 Prevent warnings in callers.
23512
23513 2015-12-23 Florian Weimer <fweimer@redhat.com>
23514
23515 * malloc/arena.c (list_lock): Update comment.
23516
23517 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
23518
23519 * sysdeps/powerpc/hwcapinfo.c: Export symbol
23520 __parse_hwcap_and_convert_at_platform to libc.a.
23521
23522 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
23523
23524 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
23525 platform and feature support for POWER9.
23526 * sysdeps/powerpc/dl-procinfo.h: Likewise.
23527 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
23528 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
23529 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
23530 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
23531 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
23532 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
23533 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
23534
23535 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23536
23537 Harmonize generic stdio-lock support with nptl
23538
23539 This fixes build when _IO_funlockfile is a macro, fixes build where
23540 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
23541 stack unwind.
23542
23543 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
23544 _IO_release_lock ): Use cleanup attribute on new
23545 _IO_acquire_lock_file variable instead of assuming that
23546 _IO_release_lock will be called.
23547 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
23548 _IO_acquire_lock_needs_exceptions_enabled.
23549 (_IO_acquire_lock_clear_flags2): New macro.
23550
23551 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23552
23553 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
23554
23555 2015-12-21 Florian Weimer <fweimer@redhat.com>
23556
23557 [BZ #19182]
23558 * malloc/arena.c (list_lock): Document lock ordering requirements.
23559 (free_list_lock): New lock.
23560 (ptmalloc_lock_all): Comment on free_list_lock.
23561 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
23562 (detach_arena): Update comment. free_list_lock is now needed.
23563 (_int_new_arena): Use free_list_lock around detach_arena call.
23564 Acquire arena lock after list_lock. Add comment, including FIXME
23565 about incorrect synchronization.
23566 (get_free_list): Switch to free_list_lock.
23567 (reused_arena): Acquire free_list_lock around detach_arena call
23568 and attached threads counter update. Add two FIXMEs about
23569 incorrect synchronization.
23570 (arena_thread_freeres): Switch to free_list_lock.
23571 * malloc/malloc.c (struct malloc_state): Update comments to
23572 mention free_list_lock.
23573
23574 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
23575
23576 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
23577 Remove functions.
23578 (sloww, sloww1): Accept argument to offset quadrant.
23579 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
23580 quadrant.
23581 (__sin, __cos): Consolidate common code into new functions.
23582 (reduce_sincos_1, do_sincos_1): New functions.
23583 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
23584
23585 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
23586 code to new functions.
23587 (reduce_sincos_2, do_sincos_2): New functions.
23588 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
23589
23590 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
23591 common code for sincos.
23592 (__cos) [!IN_SINCOS]: Likewise.
23593 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
23594 New function.
23595 (__sincos): Use it.
23596
23597 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
23598
23599 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
23600 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
23601 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23602
23603 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
23604
23605 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
23606 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
23607 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
23608 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
23609 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23610 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
23611 index_Prefer_No_VZEROUPPER): New feature.
23612 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
23613 Prefer_No_VZEROUPPER for Knights Landing.
23614
23615 015-12-18 Torvald Riegel <triegel@redhat.com>
23616
23617 * math/atest-exp2.c (mp_exp_m1): Remove.
23618
23619 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23620
23621 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
23622 syscalls.
23623 (__SYSCALL0): New macro.
23624 (__SYSCALL1): Likewise.
23625 (__SYSCALL2): Likewise.
23626 (__SYSCALL3): Likewise.
23627 (__SYSCALL4): Likewise.
23628 (__SYSCALL5): Likewise.
23629 (__SYSCALL6): Likewise.
23630 (__SYSCALL_CONCAT_X): Likewise.
23631 (__SYSCALL_CONCAT): Likewise.
23632 (__SYSCALL_DIST): Likewise.
23633 (__SYSCALL_CALL): Likewise.
23634
23635 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
23636
23637 [BZ #19363]
23638 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
23639
23640 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23641
23642 [BZ #19375]
23643 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
23644 negative subnormals.
23645
23646 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
23647
23648 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
23649 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
23650 (INTERNAL_SYSCALL_NCS): Use it.
23651 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23652
23653 2015-12-16 Florian Weimer <fweimer@redhat.com>
23654
23655 [BZ #19243]
23656 * malloc/arena.c (get_free_list): Remove assert and adjust
23657 reference count handling. Add comment about reused_arena
23658 interaction.
23659 (reused_arena): Add comments abount get_free_list interaction.
23660 * malloc/tst-malloc-thread-exit.c: New file.
23661 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
23662 (tst-malloc-thread-exit): Link against libpthread.
23663
23664 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
23665
23666 [BZ #19367]
23667 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
23668 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
23669 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
23670 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
23671 (index_Prefer_MAP_32BIT_EXEC): Likewise.
23672
23673 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
23674
23675 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
23676 Silvermont optimizations for Knights Landing.
23677
23678 2015-12-15 Andreas Schwab <schwab@suse.de>
23679
23680 [BZ #17197]
23681 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
23682 immediately after emitting SI.
23683 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
23684 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
23685 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
23686 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
23687 * iconvdata/bug-iconv10.c: New file.
23688 * iconvdata/Makefile (tests): Add bug-iconv10.
23689 ($(objpfx)bug-iconv10.out): New rule.
23690
23691 2015-12-15 Florian Weimer <fweimer@redhat.com>
23692
23693 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
23694 aliasing violation.
23695
23696 2015-12-14 Joseph Myers <joseph@codesourcery.com>
23697
23698 [BZ #18472]
23699 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
23700 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
23701 conditionals for them.
23702 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
23703 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
23704 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
23705 sys/kdaemon.h.
23706 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
23707 compat-only syscall, obsoleted in glibc 2.23.
23708 (create_module): Likewise.
23709 (get_kernel_syms): Likewise.
23710 (query_module): Likewise.
23711 (uselib): Likewise.
23712 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
23713
23714 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
23715
23716 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
23717 <linux/version.h>.
23718 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
23719 conditional code.
23720 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
23721 and ioshift_name initialization.
23722
23723 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
23724
23725 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
23726 Fix indentation.
23727
23728 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
23729
23730 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
23731
23732 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
23733
23734 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
23735
23736 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
23737 Jakub Wilk <jwilk@debian.org>
23738
23739 [BZ #19347]
23740 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
23741 to change the group of the device to the tty group.
23742
23743 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
23744
23745 Split large string section; add truncation advice
23746 * manual/examples/strncat.c: Remove.
23747 This example was misleading, as the code would have undefined
23748 behavior if "hello" was longer than SIZE. Anyway, the manual
23749 shouldn't encourage strncpy+strncat for this sort of thing.
23750 * manual/string.texi (Copying Strings and Arrays): Split into
23751 three sections Copying Strings and Arrays, Concatenating Strings,
23752 and Truncating Strings, as this section was way too long. All
23753 cross-referenced changed. Add advice about string-truncation
23754 functions. Remove misleading strncat example.
23755
23756 2015-12-10 Carlos O'Donell <carlos@redhat.com>
23757
23758 * manual/nss.texi (NSS Modules Interface): Document
23759 NSS_STATUS_NOTFOUND and SUCCESS.
23760
23761 2015-12-09 Mike FABIAN <mfabian@redhat.com>
23762
23763 [BZ 18568]
23764 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23765 201505L, for Unicode 8.
23766
23767 2015-12-09 Carlos O'Donell <carlos@redhat.com>
23768
23769 * locale/C-translit.h: Regenerate.
23770
23771 2015-12-09 Mike FABIAN <mfabian@redhat.com>
23772
23773 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
23774 and U+0153.
23775
23776 2015-12-09 Joseph Myers <joseph@codesourcery.com>
23777
23778 [BZ #19351]
23779 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
23780 expanding log(1+z), compare z rather than its square with epsilon
23781 to determine when to avoid evaluating the expansion.
23782
23783 [BZ #19350]
23784 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
23785 Increase overflow threshold.
23786
23787 [BZ #19349]
23788 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
23789 when small.
23790
23791 * sysdeps/unix/sysv/linux/i386/kernel-features.h
23792 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
23793 New macro.
23794 [__LINUX_KERNEL_VERSION >= 0x040300]
23795 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
23796 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
23797 Likewise.
23798 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
23799 Likewise.
23800 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
23801 Likewise.
23802 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
23803 Likewise.
23804 [__LINUX_KERNEL_VERSION >= 0x040300]
23805 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
23806 [__LINUX_KERNEL_VERSION >= 0x040300]
23807 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
23808 [__LINUX_KERNEL_VERSION >= 0x040300]
23809 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
23810 [__LINUX_KERNEL_VERSION >= 0x040300]
23811 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
23812 [__LINUX_KERNEL_VERSION >= 0x040300]
23813 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
23814 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
23815 Likewise.
23816 [__LINUX_KERNEL_VERSION >= 0x040300]
23817 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
23818 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
23819 Likewise.
23820 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
23821 Likewise.
23822 [__LINUX_KERNEL_VERSION >= 0x040300]
23823 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
23824 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
23825 Likewise.
23826 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
23827 Likewise.
23828 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23829 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
23830 Likewise.
23831 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
23832 Likewise.
23833 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
23834 Likewise.
23835 [__LINUX_KERNEL_VERSION >= 0x040300]
23836 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
23837 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
23838 Likewise.
23839 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
23840 Likewise.
23841 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
23842 Likewise.
23843 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
23844 Likewise.
23845 [__LINUX_KERNEL_VERSION >= 0x040300]
23846 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
23847 [__LINUX_KERNEL_VERSION >= 0x040300]
23848 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
23849 [__LINUX_KERNEL_VERSION >= 0x040300]
23850 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
23851 [__LINUX_KERNEL_VERSION >= 0x040300]
23852 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
23853 [__LINUX_KERNEL_VERSION >= 0x040300]
23854 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
23855 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
23856 Likewise.
23857 [__LINUX_KERNEL_VERSION >= 0x040300]
23858 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
23859 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
23860 Likewise.
23861 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
23862 Likewise.
23863 [__LINUX_KERNEL_VERSION >= 0x040300]
23864 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
23865 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
23866 Likewise.
23867 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
23868 Likewise.
23869 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23870 (__ASSUME_SOCKET_SYSCALL): Likewise.
23871 (__ASSUME_BIND_SYSCALL): Likewise.
23872 (__ASSUME_CONNECT_SYSCALL): Likewise.
23873 (__ASSUME_LISTEN_SYSCALL): Likewise.
23874 (__ASSUME_ACCEPT_SYSCALL): Likewise.
23875 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
23876 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
23877 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
23878 (__ASSUME_SEND_SYSCALL): Likewise.
23879 (__ASSUME_SENDTO_SYSCALL): Likewise.
23880 (__ASSUME_RECV_SYSCALL): Likewise.
23881 (__ASSUME_RECVFROM_SYSCALL): Likewise.
23882 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
23883 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
23884 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
23885 (__ASSUME_SENDMSG_SYSCALL): Likewise.
23886 (__ASSUME_RECVMSG_SYSCALL): Likewise.
23887 * sysdeps/unix/sysv/linux/sh/kernel-features.h
23888 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
23889 Likewise.
23890 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
23891 Likewise.
23892 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
23893 Likewise.
23894 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
23895 Likewise.
23896 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
23897 Likewise.
23898 [__LINUX_KERNEL_VERSION >= 0x020625]
23899 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
23900 [__LINUX_KERNEL_VERSION >= 0x020625]
23901 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
23902 [__LINUX_KERNEL_VERSION >= 0x020625]
23903 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
23904 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
23905 Likewise.
23906 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
23907 Likewise.
23908 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
23909 Likewise.
23910 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
23911 Likewise.
23912 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
23913 Likewise.
23914 [__LINUX_KERNEL_VERSION >= 0x020625]
23915 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
23916 [__LINUX_KERNEL_VERSION >= 0x020625]
23917 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
23918 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
23919 Likewise.
23920 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
23921 Likewise.
23922
23923 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
23924
23925 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
23926 record the current if the current ABI and CPU support the FP64
23927 extension.
23928 (has-modd-spreg): Define to record the current if the current ABI and
23929 CPU support 32-bit floating point values in odd FPU registers.
23930 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23931 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
23932 $(has-modd-spreg) equals yes.
23933 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
23934 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
23935 $(has-modd-spreg) equal yes.
23936
23937 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
23938
23939 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
23940 basename.
23941
23942 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
23943
23944 * benchtests/Makefile (bench-math): Move ffs and ffsll...
23945 (bench-string): ... here.
23946 (bench): Add bench-string.
23947 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
23948 to *-benchset to reflect what they are.
23949 (benchset): Adjust.
23950
23951 * benchtests/sincos-inputs: Add inputs from sin-inputs and
23952 cos-inputs.
23953
23954 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
23955
23956 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
23957 __attribute__ ((__simd__)) for vector math function declarations.
23958
23959 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
23960
23961 Fix typo in strncat, wcsncat manual entries
23962 * manual/string.texi (Copying and Concatenation): Fix typos in
23963 sample implementations of strncat and wcsncat, by having them use
23964 the old value of the destination length, not the new one.
23965
23966 2015-12-04 Joseph Myers <joseph@codesourcery.com>
23967
23968 [BZ #16961]
23969 [BZ #16962]
23970 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
23971 string on the stack for strtod.
23972 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
23973 a string on the stack for strtof.
23974 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
23975 constructing a string on the stack for strtold.
23976 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
23977 __strtold_nan to GLIBC_PRIVATE.
23978 * math/test-nan-overflow.c: New file.
23979 * math/test-nan-payload.c: Likewise.
23980 * math/Makefile (tests): Add test-nan-overflow and
23981 test-nan-payload.
23982
23983 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
23984
23985 Consistency about byte vs character in string.texi
23986 * manual/string.texi (String and Array Utilities):
23987 Distinguish more carefully among bytes, multibyte characters,
23988 and wide characters. Use "byte" when talking about C 'char',
23989 to distinguish it more clearly from multibyte characters.
23990 Say "wide character" or "multibyte character" instead of
23991 "character", when a wide or multibyte character is intended.
23992 Similarly for "multibyte string" versus "string".
23993 Define these terms more carefully.
23994
23995 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
23996
23997 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
23998 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
23999 Likewise.
24000 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
24001 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
24002 * sysdeps/sh/math_private.h: New file.
24003 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
24004 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
24005 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
24006 long double function name.
24007 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24008 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24009 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24010 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24011 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24013 Remove __finitel, __isinfl, and __isnanl.
24014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24015 Likewise.
24016 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24018 Remove __finitel.
24019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24020 Likewise.
24021 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24022
24023 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
24024
24025 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
24026 installed libmvec_nonshared.a.
24027
24028 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
24029
24030 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
24031 (sysdep_routines): Likewise.
24032 (sysdep-rtld-routines): Likewise.
24033 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
24034 [$(subdir) = nptl](tests-static): test-get_hwcap-static
24035 * sysdeps/powerpc/Versions: Added new
24036 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
24037 * sysdeps/powerpc/hwcapinfo.c: New file.
24038 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
24039 and parse hwcap, hwcap2 and platform number information.
24040 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
24041 to store HWCAP+HWCAP2 and platform number.
24042 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
24043 for HWCAP+HWCAP2 and platform number in the TCB.
24044 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
24045 the HWCAP, HWCAP2 and platform number in the TCB.
24046 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
24047 (TLS_INIT_TP): Included calls to add the hwcap and
24048 at_platform values in the TCB in TP initialization.
24049 (TLS_DEFINE_INIT_TP): Likewise.
24050 (THREAD_GET_HWCAP): New macro.
24051 (THREAD_SET_HWCAP): Likewise.
24052 (THREAD_GET_AT_PLATFORM): Likewise.
24053 (THREAD_SET_AT_PLATFORM): Likewise.
24054 * sysdeps/powerpc/powerpc32/dl-machine.h:
24055 (dl_platform_init): New function that calls
24056 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
24057 powerpc32.
24058 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
24059 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
24060 this functionality, static linking case.
24061 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
24062 linking case.
24063 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
24064 __parse_hwcap_and_convert_at_platform for the static linking case.
24065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
24066 Included the new __parse_hwcap_and_convert_at_platform symbol in the
24067 ABI list for GLIBC 2.23.
24068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
24069 Likewise.
24070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
24071 Likewise.
24072
24073 2015-12-02 Ludovic Courtès <ludo@gnu.org>
24074
24075 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
24076 * configure: Regenerate.
24077 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
24078 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
24079
24080 2015-12-02 Carlos O'Donell <carlos@redhat.com>
24081
24082 * iconvdata/ibm930.c: Add comment explaining encoding uses.
24083 * iconvdata/ibm933.c: Likewise.
24084 * iconvdata/ibm935.c: Likewise.
24085 * iconvdata/ibm937.c: Likewise.
24086 * iconvdata/ibm939.c: Likewise.
24087
24088 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24089
24090 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
24091 pthread_join.
24092 * nptl/tst-cancel21.c (tf): Likewise.
24093
24094 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
24095
24096 [BZ #19313]
24097 * bits/typesizes.h (__CPU_MASK_TYPE): New.
24098 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
24099 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
24100 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
24101 Likewise.
24102 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
24103 Likewise.
24104 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
24105 Likewise.
24106 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
24107 Likewise.
24108 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
24109 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
24110 unsigned long int with __CPU_MASK_TYPE.
24111
24112 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
24113
24114 * sysdeps/aarch64/libm-test-ulps: Regenerated.
24115
24116 2015-12-01 Joseph Myers <joseph@codesourcery.com>
24117
24118 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
24119 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
24120 t512.x.
24121 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
24122
24123 2015-11-30 Amit Pawar <amit.pawar@amd.com>
24124
24125 [BZ #19214]
24126 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
24127 argument to return extended model. Update family and model
24128 with extended family and model when family == 0x0f.
24129 (init_cpu_features): Updated.
24130
24131 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
24132
24133 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
24134 signed off_t, so 32bit bigger than 2GiB values are fine actually.
24135
24136 * sysdeps/mach/hurd/mmap64.c: New file.
24137
24138 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
24139
24140 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
24141 rights for its main user thread in NEWTASK.
24142
24143 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
24144
24145 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
24146 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
24147
24148 2015-11-27 Carlos O'Donell <carlos@redhat.com>
24149
24150 [BZ #14259]
24151 * Makeconfig: Rename localedir to complocaledir.
24152 Rename inst_localedir to inst_complocaledir.
24153 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
24154 * config.make.in: Use complocaledir and libc_cv_complocaledir.
24155 * configure.ac: Use libc_cv_complocaledir.
24156 * configure: Regenerate.
24157 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
24158 -DCOMPLOCALEDIR.
24159 * locale/findlocale.c: Use COMPLOCALEDIR.
24160 * locale/loadarchive.c: Likewise.
24161 * locale/programs/locale.c: Likewise.
24162 * locale/programs/localedef.c: Likewise.
24163 * locale/programs/locarchive.c: Likewise.
24164 * localedata/Makefile: Use inst_complocaledir.
24165 * sysdeps/gnu/configure: Regenerate.
24166 * sysdeps/hppa/configure: Regenerate.
24167 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
24168 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
24170 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
24171 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
24172 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
24173 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
24174
24175 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
24176
24177 [BZ #19058]
24178 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
24179 AS_NEEDED.
24180 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
24181 workaround.
24182 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
24183 libmvec-static-only-routines): Added new file.
24184 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
24185
24186 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
24187
24188 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
24189 of interrupted RPC instead of restoring it.
24190
24191 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
24192 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
24193 libc_hidden_def.
24194 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
24195 into initialized data instead of common. Define rtld_hidden_data_def.
24196 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
24197 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
24198 libc_hidden_def.
24199 (if_freenameindex): Add libc_hidden_weak.
24200 (if_nameindex): Add libc_hidden_weak.
24201 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
24202 __open64.
24203 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
24204 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
24205 * sysdeps/mach/nanosleep.c: Include <time.h>
24206 (__nanosleep): Rename to __libc_nanosleep.
24207 (__nanosleep): Add weak_alias.
24208 (nanosleep): Update alias.
24209
24210 2015-11-24 Joseph Myers <joseph@codesourcery.com>
24211
24212 * stdlib/strtod_nan.c: New file.
24213 * stdlib/strtod_nan_double.h: Likewise.
24214 * stdlib/strtod_nan_float.h: Likewise.
24215 * stdlib/strtod_nan_main.c: Likewise.
24216 * stdlib/strtod_nan_narrow.h: Likewise.
24217 * stdlib/strtod_nan_wide.h: Likewise.
24218 * stdlib/strtof_nan.c: Likewise.
24219 * stdlib/strtold_nan.c: Likewise.
24220 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
24221 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
24222 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
24223 * wcsmbs/wcstod_nan.c: Likewise.
24224 * wcsmbs/wcstof_nan.c: Likewise.
24225 * wcsmbs/wcstold_nan.c: Likewise.
24226 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
24227 strtold_nan.
24228 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
24229 wcstof_nan.
24230 * include/stdlib.h (__strtof_nan): Declare and use
24231 libc_hidden_proto.
24232 (__strtod_nan): Likewise.
24233 (__strtold_nan): Likewise.
24234 (__wcstof_nan): Likewise.
24235 (__wcstod_nan): Likewise.
24236 (__wcstold_nan): Likewise.
24237 * include/wchar.h (____wcstoull_l_internal): Declare.
24238 * stdlib/strtod_l.c: Do not include <ieee754.h>.
24239 (____strtoull_l_internal): Remove declaration.
24240 (STRTOF_NAN): Define macro.
24241 (SET_MANTISSA): Remove macro.
24242 (STRTOULL): Likewise.
24243 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
24244 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
24245 (STRTOF_NAN): Define macro.
24246 (SET_MANTISSA): Remove macro.
24247 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
24248 (SET_MANTISSA): Remove macro.
24249 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
24250 macro.
24251 (SET_MANTISSA): Remove macro.
24252 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
24253 macro.
24254 (SET_MANTISSA): Remove macro.
24255 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
24256 (SET_MANTISSA): Remove macro.
24257 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
24258 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
24259 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
24260
24261 [BZ #19266]
24262 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
24263 upper case and lower case letters inside NAN(), not using TOLOWER.
24264 * stdlib/tst-strtod-nan-locale-main.c: New file.
24265 * stdlib/tst-strtod-nan-locale.c: Likewise.
24266 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
24267 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
24268 Depend on $(gen-locales).
24269 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
24270 * wcsmbs/tst-wcstod-nan-locale.c: New file.
24271 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
24272 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
24273 Depend on $(gen-locales).
24274 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
24275
24276 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
24277
24278 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
24279
24280 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
24281 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
24282 __finitel, __isinfl, and __isnanl.
24283 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24284 Likewise.
24285 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24286 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
24287 __finitel.
24288 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24289 Likewise.
24290 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24291
24292 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
24293
24294 * malloc/memusage.c (me): Remove redundant getenv call.
24295
24296 2015-10-24 Florian Weimer <fweimer@redhat.com>
24297
24298 [BZ #19143]
24299 [BZ #19164]
24300 * nptl/check-cpuset.h: Remove.
24301 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
24302 Remove CPU set size check.
24303 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
24304 Likewise.
24305 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
24306 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
24307 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
24308 (__pthread_setaffinity_new): Remove CPU set size check.
24309 * sysdeps/unix/sysv/linux/sched_setaffinity.c
24310 (__kernel_cpumask_size): Remove.
24311 (__sched_setaffinity_new): Remove CPU set size check.
24312 * manual/threads.texi (Default Thread Attributes): Remove stale
24313 reference to check_cpuset_attr, determine_cpumask_size in comment.
24314 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
24315 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
24316 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
24317 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
24318 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
24319 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
24320 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
24321 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
24322 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
24323 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
24324 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
24325 skeleton test file.
24326 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
24327 tst-affinity-pid.
24328
24329 2015-11-24 Florian Weimer <fweimer@redhat.com>
24330
24331 * scripts/update-abilist.sh: New file.
24332 * Makefile (+subdir_targets): Add subdir_update-all-abi.
24333 * Makerules (update-all-abi-%, update-all-abi)
24334 (subdir_update-all-abi): New targets.
24335 * elf/Makefile (update-all-abi): New target.
24336
24337 2015-11-24 Florian Weimer <fweimer@redhat.com>
24338
24339 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
24340 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
24341 (__libc_lock_define_initialized): Use it.
24342 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
24343 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
24344 * malloc/malloc.c (main_arena): Likewise.
24345 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
24346 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
24347
24348 2015-11-23 Joseph Myers <joseph@codesourcery.com>
24349
24350 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
24351 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
24352 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
24353 (PTRACE_O_MASK): Update value.
24354 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
24355 New value in enum __ptrace_setoptions.
24356 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
24357 (PTRACE_O_MASK): Update value.
24358 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
24359 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
24360 (PTRACE_O_MASK): Update value.
24361 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
24362 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
24363 (PTRACE_O_MASK): Update value.
24364 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
24365 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
24366 (PTRACE_O_MASK): Update value.
24367 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
24368 New value in enum __ptrace_setoptions.
24369 (PTRACE_O_MASK): Update value.
24370 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
24371 New value in enum __ptrace_setoptions.
24372 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
24373 (PTRACE_O_MASK): Update value.
24374
24375 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
24376 New macro.
24377 (PACKET_AUXDATA): Likewise.
24378 (PACKET_ORIGDEV): Likewise.
24379 (PACKET_VERSION): Likewise.
24380 (PACKET_HDRLEN): Likewise.
24381 (PACKET_RESERVE): Likewise.
24382 (PACKET_TX_RING): Likewise.
24383 (PACKET_LOSS): Likewise.
24384 (PACKET_VNET_HDR): Likewise.
24385 (PACKET_TX_TIMESTAMP): Likewise.
24386 (PACKET_TIMESTAMP): Likewise.
24387 (PACKET_FANOUT): Likewise.
24388 (PACKET_TX_HAS_OFF): Likewise.
24389 (PACKET_QDISC_BYPASS): Likewise.
24390 (PACKET_ROLLOVER_STATS): Likewise.
24391 (PACKET_FANOUT_DATA): Likewise.
24392 (PACKET_MR_UNICAST): Likewise.
24393
24394 [BZ #19242]
24395 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
24396 (TOUPPER): Likewise.
24397 * stdlib/tst-strtol-locale-main.c: New file.
24398 * stdlib/tst-strtol-locale.c: Likewise.
24399 * stdlib/Makefile (tests): Add tst-strtol-locale.
24400 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
24401 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
24402 Depend on $(gen-locales).
24403 * wcsmbs/tst-wcstol-locale.c: New file.
24404 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
24405 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
24406 tr_TR.ISO-8859-9.
24407 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
24408 Depend on $(gen-locales).
24409
24410 2015-11-20 Roland McGrath <roland@hack.frob.com>
24411
24412 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
24413 __glibc_likely instead of __builtin_expect. After falling back to
24414 dyncode_create in a non-ET_DYN case, use the allocate_code_data
24415 system interface to register the code pages as occupied.
24416
24417 2015-11-20 Joseph Myers <joseph@codesourcery.com>
24418
24419 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24420 [!ARM_MATH_PRIVATE_H].
24421 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
24422 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24423 [!HPPA_MATH_PRIVATE_H].
24424 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
24425 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
24426 to [!I386_MATH_PRIVATE_H].
24427 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
24428 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
24429 Change guard to [!M68K_MATH_PRIVATE_H].
24430 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
24431 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
24432 guard to [!MICROBLAZE_MATH_PRIVATE_H].
24433 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
24434 macro.
24435 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24436 [!MIPS_MATH_PRIVATE_H].
24437 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
24438 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24439 [!NIO2_MATH_PRIVATE_H].
24440 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
24441 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24442 [!TILE_MATH_PRIVATE_H].
24443 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
24444
24445 [BZ #15421]
24446 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
24447 initialize with 0 and define as weak alias of __signgam.
24448 * include/math.h [!_ISOMAC] (__signgam): Declare.
24449 * math/Makefile (libm-calls): Add w_lgamma_compat.
24450 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
24451 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
24452 test-signgam-ullong-init.
24453 (tests-static): Add test-signgam-uchar-static,
24454 test-signgam-uchar-init-static, test-signgam-uint-static,
24455 test-signgam-uint-init-static, test-signgam-ullong-static and
24456 test-signgam-ullong-init-static.
24457 (CFLAGS-test-signgam-uchar.c): New variable.
24458 (CFLAGS-test-signgam-uchar-init.c): Likewise.
24459 (CFLAGS-test-signgam-uchar-static.c): Likewise.
24460 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24461 (CFLAGS-test-signgam-uint.c): Likewise.
24462 (CFLAGS-test-signgam-uint-init.c): Likewise.
24463 (CFLAGS-test-signgam-uint-static.c): Likewise.
24464 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24465 (CFLAGS-test-signgam-ullong.c): Likewise.
24466 (CFLAGS-test-signgam-ullong-init.c): Likewise.
24467 (CFLAGS-test-signgam-ullong-static.c): Likewise.
24468 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24469 * math/Versions (libm): Add GLIBC_2.23.
24470 * math/lgamma-compat.h: New file.
24471 * math/test-signgam-main.c: Likewise.
24472 * math/test-signgam-uchar-init-static.c: Likewise.
24473 * math/test-signgam-uchar-init.c: Likewise.
24474 * math/test-signgam-uchar-static.c: Likewise.
24475 * math/test-signgam-uchar.c: Likewise.
24476 * math/test-signgam-uint-init-static.c: Likewise.
24477 * math/test-signgam-uint-init.c: Likewise.
24478 * math/test-signgam-uint-static.c: Likewise.
24479 * math/test-signgam-uint.c: Likewise.
24480 * math/test-signgam-ullong-init-static.c: Likewise.
24481 * math/test-signgam-ullong-init.c: Likewise.
24482 * math/test-signgam-ullong-static.c: Likewise.
24483 * math/test-signgam-ullong.c: Likewise.
24484 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
24485 wrapper of w_lgamma_main.c.
24486 * math/w_lgamma_compat.c: New file.
24487 * math/w_lgamma_compatf.c: Likewise.
24488 * math/w_lgamma_compatl.c: Likewise.
24489 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
24490 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
24491 defining compatibility symbols.
24492 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
24493 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
24494 wrapper of w_lgammaf_main.c.
24495 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
24496 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
24497 defining compatibility symbols.
24498 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
24499 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
24500 wrapper of w_lgammal_main.c.
24501 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
24502 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
24503 defining compatibility symbols.
24504 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
24505 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
24506 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
24507 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
24508 <lgamma-compat.h>.
24509 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
24510 (__ieee754_gamma): Define as alias.
24511 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
24512 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
24513 <lgamma-compat.h>.
24514 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
24515 (__ieee754_gammaf): Define as alias.
24516 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
24517 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
24518 <lgamma-compat.h>.
24519 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
24520 (__ieee754_gammal): Define as alias.
24521 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
24522 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
24523 <math/w_lgamma_compat.c>.
24524 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
24525 Define as alias of __lgamma_compat and use in defining lgammal.
24526 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
24527 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
24528 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
24529 (USE_AS_COMPAT): New macro.
24530 (LGAMMA_OLD_VER): Undefine and redefine.
24531 (lgammal): Do not define here.
24532 (gammal): Only define here if [GAMMA_ALIAS].
24533 * conform/linknamespace.pl (@whitelist): Remove signgam.
24534 * sysdeps/nacl/libm.abilist: Update.
24535 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24536 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24537 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24538 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24539 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24540 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24541 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24542 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24543 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24544 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24545 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24546 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24548 Likewise.
24549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24550 Likewise.
24551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24552 Likewise.
24553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24554 Likewise.
24555 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24556 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24557 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24558 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24559 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24561 Likewise.
24562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24563 Likewise.
24564 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24565 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24566 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24567
24568 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24569
24570 [BZ #16364]
24571 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
24572 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
24573
24574 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
24575
24576 * sysdeps/s390/fpu/bits/mathinline.h:
24577 Use __asm__ [__volatile__] instead of asm [volatile].
24578 * sysdeps/s390/abort-instr.h: Likewise.
24579 * sysdeps/s390/atomic-machine.h: Likewise.
24580 * sysdeps/s390/bits/string.h: Likewise.
24581 * sysdeps/s390/dl-tls.h: Likewise.
24582 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24583 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24584 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24585 * sysdeps/s390/fpu/fesetround.c: Likewise.
24586 * sysdeps/s390/fpu/fpu_control.h: Likewise.
24587 * sysdeps/s390/fpu/s_fma.c: Likewise.
24588 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
24589 * sysdeps/s390/memusage.h: Likewise.
24590 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
24591 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
24592 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
24593 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
24594 * sysdeps/s390/nptl/tls.h: Likewise.
24595 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
24596 * sysdeps/s390/s390-32/backtrace.c: Likewise.
24597 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24598 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
24599 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24600 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
24601 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
24602 * sysdeps/s390/s390-64/backtrace.c: Likewise.
24603 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24604 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
24605 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
24606 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24607 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
24608 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
24609 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24610 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24611 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
24612 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
24613 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
24614 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24615 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
24616 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24617 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
24618
24619 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24620 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24621
24622 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
24623 Add lwarx hint, and use macro for acquire instruction.
24624 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
24625 Likewise.
24626 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
24627 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
24628 update to use new atomic macros.
24629
24630 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24631
24632 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
24633 (__lll_trylock_elision): Fix setting of adapt_count.
24634 * sysdeps/unix/sysv/linux/powerpc/htm.h
24635 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
24636 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
24637 (_ABORT_SYSCALL): Renumber, and clarify definition.
24638 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
24639
24640 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24641
24642 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
24643 after system headers to prevent MIN/MAX redefinition. Define
24644 HAVE_ALLOCA to preserve builtin alloca usage.
24645
24646 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
24647
24648 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
24649 static and don't set or restore rounding.
24650 (__cos)[IN_SINCOS]: Likewise.
24651 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
24652 (__sincos): Set and restore rounding mode. Remove check for infinite
24653 or NaN input.
24654
24655 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
24656
24657 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
24658 as used.
24659
24660 2015-11-16 Florian Weimer <fweimer@redhat.com>
24661
24662 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
24663
24664 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
24665
24666 * config.make.in (have-glob-dat-reloc): New.
24667 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
24668 target supports GLOB_DAT relocaton. AC_SUBST.
24669 * configure: Regenerated.
24670 * elf/Makefile (tests): Add tst-prelink.
24671 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
24672 (tst-prelink-ENV): New.
24673 ($(objpfx)tst-prelink-conflict.out): Likewise.
24674 ($(objpfx)tst-prelink-cmp.out): Likewise.
24675 * sysdeps/x86/tst-prelink.c: Moved to ...
24676 * elf/tst-prelink.c: Here.
24677 * sysdeps/x86/tst-prelink.exp: Moved to ...
24678 * elf/tst-prelink.exp: Here.
24679 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
24680 (tst-prelink-ENV): Removed.
24681 ($(objpfx)tst-prelink-conflict.out): Likewise.
24682 ($(objpfx)tst-prelink-cmp.out): Likewise.
24683 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
24684
24685 2015-11-13 Joseph Myers <joseph@codesourcery.com>
24686
24687 [BZ #14551]
24688 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
24689 (__mpn_construct_long_double): If high part overflows to infinity,
24690 set errno and recompute overflowed result of the correct sign.
24691 * sysdeps/ieee754/ldbl-128ibm/Makefile
24692 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
24693 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
24694 $(libm).
24695 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
24696
24697 2015-11-12 Joseph Myers <joseph@codesourcery.com>
24698
24699 [BZ #15479]
24700 [BZ #19238]
24701 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
24702 floating-point state after first operation on input. Restore full
24703 state rather than just rounding mode.
24704 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
24705 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
24706 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
24707
24708 [BZ #19235]
24709 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
24710 add 0.5 to integer arguments.
24711 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
24712 Likewise.
24713 (.LC2): New object.
24714
24715 2015-11-11 Mike Frysinger <vapier@gentoo.org>
24716
24717 * scripts/pylintrc (reports): Set to no.
24718
24719 2015-11-10 Roland McGrath <roland@hack.frob.com>
24720
24721 * elf/dl-load.c (open_verify): Take new argument FD.
24722 Skip __open call if passed FD is not -1.
24723 (_dl_map_object, open_path): Update callers.
24724 * elf/dl-sysdep-open.h: New file.
24725 * elf/dl-load.c: Include it.
24726 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
24727 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
24728 * sysdeps/nacl/dl-sysdep-open.h: New file.
24729 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
24730 from libc to rtld.
24731
24732 2015-11-10 Joseph Myers <joseph@codesourcery.com>
24733
24734 [BZ #19228]
24735 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
24736 and restore full floating-point state.
24737 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
24738 Likewise.
24739 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
24740 Likewise.
24741 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
24742 Likewise.
24743 * math/test-nearbyint-except-2.c: New file.
24744 * math/Makefile (tests): Add test-nearbyint-except-2.
24745
24746 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
24747
24748 [BZ #19178]
24749 * sysdeps/x86/Makefile (tests): Add tst-prelink.
24750 (tst-prelink-ENV): New.
24751 ($(objpfx)tst-prelink-conflict.out): Likewise.
24752 ($(objpfx)tst-prelink-cmp.out): Likewise.
24753 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
24754 * sysdeps/x86/tst-prelink.c: New file.
24755 * sysdeps/x86/tst-prelink.exp: Likewise.
24756
24757 2015-11-10 Joseph Myers <joseph@codesourcery.com>
24758
24759 * math/auto-libm-test-in: Add another test of pow.
24760 * math/auto-libm-test-out: Regenerated.
24761 * math/libm-test.inc (pow_test_data): Add another test.
24762
24763 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24764
24765 [BZ #19219]
24766 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
24767 weak_alias to nearbyintl.
24768
24769 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
24770
24771 * sysdeps/aarch64/bits/string.h: New file.
24772 (_STRING_ARCH_unaligned): Define.
24773
24774 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
24775
24776 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
24777 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
24778 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
24779 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
24780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
24781
24782 2015-11-09 Ulrich Drepper <drepper@gmail.com>
24783
24784 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
24785 for original name of the DSO. Add it to the name list of the DSO
24786 if it is actually given.
24787 (_dl_map_object): Keep track of whether an audit module rewrote
24788 the file name. If yes, pass the original name to
24789 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
24790 debugging is enabled, log the change of the file name.
24791 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
24792 _dl_map_object_from_fd.
24793 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
24794 * elf/tst-audit11.c: New file
24795 * elf/tst-auditmod11.c: New file.
24796 * elf/tst-audit11mod1.c: New file.
24797 * elf/tst-audit11mod2.c: New file.
24798 * elf/tst-audit11mod2.map: New file.
24799 * elf/tst-audit12.c: New file
24800 * elf/tst-auditmod12.c: New file.
24801 * elf/tst-audit12mod1.c: New file.
24802 * elf/tst-audit12mod2.c: New file.
24803 * elf/tst-audit12mod2.map: New file.
24804 * elf/tst-audit12mod3.c: New file.
24805
24806 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
24807
24808 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
24809 Don't create weak aliases,
24810 because versioned symbols are created later.
24811 * sysdeps/s390/s390-32/setjmp.S
24812 (setjmp, _setjmp): Remove weak and rename to an unique name
24813 in SHARED case due to existing versioned symbols.
24814 * sysdeps/s390/s390-64/setjmp.S: Likewise.
24815 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
24816 (getcontext): Create weak alias only in non SHARED case.
24817 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24818
24819 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
24820
24821 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
24822 (__ASSUME_*_SYSCALL) Define new macros.
24823 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
24824 Remove socketcall syscalls.
24825 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
24826 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
24827 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
24828 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
24829 * sysdeps/unix/sysv/linux/send.c (__libc_send):
24830 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
24831
24832 2015-11-09 Florian Weimer <fweimer@redhat.com>
24833
24834 [BZ #12926]
24835 Terminate process on invalid netlink response.
24836 * sysdeps/unix/sysv/linux/netlinkaccess.h
24837 (__netlink_assert_response): Declare.
24838 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
24839 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
24840 (sysdep_routines): Add netlink_assert_response.
24841 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
24842 __netlink_assert_response.
24843 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
24844 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
24845 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
24846 __netlink_assert_response.
24847
24848 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
24849
24850 [BZ #19178]
24851 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
24852 (RTYPE_CLASS_PLT): Likewise.
24853 (RTYPE_CLASS_COPY): Likewise.
24854 (RTYPE_CLASS_TLS): Likewise.
24855 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
24856 to set relocation type class for DL_DEBUG_PRELINK. Keep only
24857 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
24858 DL_DEBUG_PRELINK.
24859
24860 2015-11-06 Joseph Myers <joseph@codesourcery.com>
24861
24862 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
24863 calls with argument -0.5.
24864 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
24865
24866 * configure.ac (libc_cv_z_nodelete): Remove configure test.
24867 (libc_cv_z_nodlopen): Likewise.
24868 (libc_cv_z_initfirst): Likewise.
24869 * configure: Regenerated.
24870
24871 2015-11-06 Florian Weimer <fweimer@redhat.com>
24872
24873 Simplify abilist format to be line-based.
24874 * scripts/abilist.awk: Collect descriptors in the descs variable.
24875 (emit): Write descs variable and sort it
24876 externally, with sort.
24877 * sysdeps/**/*.abilist: Convert to new format.
24878
24879 2015-11-06 Mark Wielaard <mjw@redhat.com>
24880
24881 [BZ #11460]
24882 * io/Makefile (routines): Add fts64.
24883 (tests): Add tst-fts and tst-fts-lfs.
24884 (CFLAGS-fts64.c): New.
24885 * io/Versions (GLIBC_2.23): New.
24886 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
24887 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
24888 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
24889 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
24890 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
24891 (FTSENT64): Likewise.
24892 (fts64_children): Likewise.
24893 (fts64_close): Likewise.
24894 (fts64_open): Likewise.
24895 (fts64_read): Likewise.
24896 (fts64_set): Likewise.
24897 * io/fts64.c: New file.
24898 * io/tst-fts.c: New test.
24899 * io/tst-fts-lfs.c: Likewise.
24900 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
24901 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
24902 fts64_set.
24903 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24904 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24905 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24906 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24907 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24908 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24909 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24910 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24911 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24912 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
24913 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24914 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24915 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24917 Likewise.
24918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24919 Likewise.
24920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
24921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
24922 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24923 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24924 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24925 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24926 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24927 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
24928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
24929 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24930 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24931 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24932 * sysdeps/wordsize-64/fts.c: New file.
24933 * sysdeps/wordsize-64/fts64.c: Likewise.
24934 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
24935 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
24936 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
24937 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
24938
24939 2015-11-05 Joseph Myers <joseph@codesourcery.com>
24940
24941 * math/libm-test.inc (NON_FINITE): New macro.
24942 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
24943 * math/gen-libm-test.pl (show_exceptions): Add argument
24944 $non_finite.
24945 (parse_args): Update call to show_exceptions.
24946 * math/test-math-finite.h: New file.
24947 * math/test-math-no-finite.h: Likewise.
24948 * math/test-double-finite.c: Likewise.
24949 * math/test-float-finite.c: Likewise.
24950 * math/test-ldouble-finite.c: Likewise.
24951 * math/test-double.c: Include "test-math-no-finite.h".
24952 * math/test-float.c: Include "test-math-no-finite.h".
24953 * math/test-ldouble.c: Include "test-math-no-finite.h".
24954 * math/test-math-inline.h (TEST_FINITE): New macro.
24955 * math/test-math-vector.h (TEST_FINITE): Likewise.
24956 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
24957 (libm-tests): Add test-float-finite and test-double-finite.
24958 ($(objpfx)test-float-finite.o): New dependency on
24959 $(objpfx)libm-test.stmp.
24960 ($(objpfx)test-double-finite.o): Likewise.
24961 ($(objpfx)test-ldouble-finite.o): Likewise.
24962 (libm-test-no-inline-cflags): New variable.
24963 (libm-test-finite-cflags): Likewise.
24964 (CFLAGS-test-float-finite.c): Likewise.
24965 (CFLAGS-test-double-finite.c): Likewise.
24966 (CFLAGS-test-ldouble-finite.c): Likewise.
24967 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
24968 (CFLAGS-test-double.c): Likewise.
24969 (CFLAGS-test-ldouble.c): Likewise.
24970
24971 2015-11-05 Roland McGrath <roland@hack.frob.com>
24972
24973 * io/fcntl.c (__fcntl): Add ... to prototype.
24974 * misc/ioctl.c (__ioctl): Likewise.
24975 * misc/syscall.c (syscall): Likewise.
24976
24977 2015-11-05 Joseph Myers <joseph@codesourcery.com>
24978
24979 * scripts/list-fixed-bugs.py: New file.
24980
24981 [BZ #19213]
24982 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
24983 returned for argument 1.
24984 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
24985 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
24986 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
24987 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
24988 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
24989 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
24990
24991 [BZ #19211]
24992 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
24993 __USE_XOPEN], not if [!__USE_ISOC99].
24994 (lgammaf): Likewise.
24995 (lgammal): Likewise.
24996 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
24997 (gammaf): Likewise.
24998 (gammal): Likewise.
24999 * math/test-signgam-finite-c11.c: New file.
25000 * math/test-signgam-finite-c99.c: Likewise.
25001 * math/test-signgam-finite.c: Likewise.
25002 * math/Makefile (tests): Add test-signgam-finite,
25003 test-signgam-finite-c99 and test-signgam-finite-c11.
25004 (CFLAGS-test-signgam-finite.c): New variable.
25005 (CFLAGS-test-signgam-finite-c99.c): Likewise.
25006 (CFLAGS-test-signgam-finite-c11.c): Likewise.
25007
25008 [BZ #19212]
25009 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
25010 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
25011 500].
25012 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
25013 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
25014 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
25015 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
25016 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
25017 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
25018 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
25019 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
25020 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
25021 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
25022
25023 [BZ #19209]
25024 * math/bits/math-finite.h (ldexp): Remove declaration.
25025 (ldexpf): Likewise.
25026 (ldexpl): Likewise.
25027
25028 [BZ #19205]
25029 * math/bits/math-finite.h (acosf): Condition declaration on
25030 [__USE_ISOC99].
25031 (acosl): Likewise.
25032 (acoshf): Likewise.
25033 (acoshl): Likewise.
25034 (asinf): Likewise.
25035 (asinl): Likewise.
25036 (atan2f): Likewise.
25037 (atan2l): Likewise.
25038 (atanhf): Likewise.
25039 (atanhl): Likewise.
25040 (coshf): Likewise.
25041 (coshl): Likewise.
25042 (expf): Likewise.
25043 (expl): Likewise.
25044 (fmodf): Likewise.
25045 (fmodl): Likewise.
25046 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
25047 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
25048 (j0l): Likewise.
25049 (y0f): Likewise.
25050 (y0l): Likewise.
25051 (j1f): Likewise.
25052 (j1l): Likewise.
25053 (y1f): Likewise.
25054 (y1l): Likewise.
25055 (jnf): Likewise.
25056 (jnl): Likewise.
25057 (ynf): Likewise.
25058 (ynl): Likewise.
25059 (lgammaf_r): Condition declaration on [__USE_ISOC99].
25060 (lgammal_r): Likewise.
25061 (__lgamma_r_finite): New declaration.
25062 (__lgammaf_r_finite): Likewise.
25063 (__lgammal_r_finite): Likewise.
25064 (lgamma): Use __lgamma_r_finite.
25065 (lgammaf): Condition definition on [__USE_ISOC99]. Use
25066 __lgammaf_r_finite.
25067 (lgammal): Condition definition on [__USE_ISOC99]. Use
25068 __lgammal_r_finite.
25069 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
25070 __lgamma_r_finite.
25071 (gammaf): Condition definition on [__USE_ISOC99]. Use
25072 __lgammaf_r_finite.
25073 (gammal): Condition definition on [__USE_ISOC99]. Use
25074 __lgammal_r_finite.
25075 (logf): Condition declaration on [__USE_ISOC99].
25076 (logl): Likewise.
25077 (log10f): Likewise.
25078 (log10l): Likewise.
25079 (ldexpf): Likewise.
25080 (ldexpl): Likewise.
25081 (powf): Likewise.
25082 (powl): Likewise.
25083 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
25084 __USE_ISOC99].
25085 (remainderf): Condition declaration on [__USE_ISOC99].
25086 (remainderl): Likewise.
25087 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
25088 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
25089 (scalbl): Likewise.
25090 (sinhf): Condition declaration on [__USE_ISOC99].
25091 (sinhl): Likewise.
25092 (sqrtf): Likewise.
25093 (sqrtl): Likewise.
25094
25095 2015-11-04 Joseph Myers <joseph@codesourcery.com>
25096
25097 * sysdeps/arm/atomic-machine.h
25098 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
25099 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
25100 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
25101 Remove conditional code.
25102 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
25103 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
25104 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
25105 Change conditional to [__ASSEMBLER__].
25106 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
25107 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
25108 [!__ASSEMBLER__].
25109 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
25110 code.
25111 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
25112 conditional macro definitions.
25113 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
25114 (__arch_compare_and_exchange_val_16_acq): Likewise.
25115 (__arch_compare_and_exchange_val_32_acq): Likewise.
25116 (atomic_exchange_and_add): Likewise.
25117 (atomic_add): Likewise.
25118 (atomic_add_negative): Likewise.
25119 (atomic_add_zero): Likewise.
25120 (atomic_bit_set): Likewise.
25121 (atomic_bit_test_set): Likewise.
25122 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
25123 code unconditional.
25124 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25125
25126 * math/test-math-errno.h: New file.
25127 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
25128 empty.
25129 (TEST_ERRNO): New macro.
25130 (TEST_EXCEPTIONS): Likewise.
25131 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
25132 (TEST_EXCEPTIONS): Likewise.
25133 * math/test-math-vector.h (TEST_ERRNO): Likewise.
25134 * math/test-double.c: Include "test-math-errno.h".
25135 * math/test-float.c: Likewise.
25136 * math/test-ldouble.c: Likewise.
25137 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
25138 code unconditional.
25139 (test_exceptions): Only run code if TEST_EXCEPTIONS.
25140 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
25141 unconditional.
25142 (test_errno): Only run code if TEST_ERRNO.
25143 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
25144
25145 2015-11-04 Florian Weimer <fweimer@redhat.com>
25146
25147 * nptl/tst-once5.cc: Remove attribution.
25148
25149 2015-11-04 Joseph Myers <joseph@codesourcery.com>
25150
25151 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
25152 sqrt, tan, tanh, y0, y1 and yn.
25153 * math/auto-libm-test-out: Regenerated.
25154 * math/libm-test.inc (scalb_test_data): Add more tests.
25155 (scalbn_test_data): Likewise.
25156 (scalbln_test_data): Likewise.
25157 (signbit_test_data): Likewise.
25158 (sin_test_data): Likewise.
25159 (sincos_test_data): Likewise.
25160 (sinh_test_data): Likewise.
25161 (sqrt_test_data): Likewise.
25162 (tan_test_data): Likewise.
25163 (tanh_test_data): Likewise.
25164 (tgamma_test_data): Likewise.
25165 (y0_test_data): Likewise.
25166 (y1_test_data): Likewise.
25167 (yn_test_data): Likewise.
25168 (significand_test_data): Likewise.
25169 * sysdeps/i386/fpu/libm-test-ulps: Update.
25170
25171 2015-11-03 David Kastrup <dak@gnu.org>
25172
25173 [BZ #18604]
25174 * assert/assert.h (assert): Don't macro-expand failed assertion
25175 expression in error message.
25176 * malloc/malloc.c (assert): Likewise.
25177
25178 2015-11-03 Joseph Myers <joseph@codesourcery.com>
25179
25180 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
25181 test.
25182 * configure: Regenerated.
25183
25184 2015-11-02 Joseph Myers <joseph@codesourcery.com>
25185
25186 * math/libm-test.inc (modf_test_data): Add more tests.
25187 (nearbyint_test_data): Likewise.
25188 (nextafter_test_data): Likewise.
25189 (nexttoward_test_data): Likewise.
25190 (pow_test_data): Likewise.
25191 (remainder_test_data): Likewise.
25192 (remquo_test_data): Likewise.
25193 (rint_test_data): Likewise.
25194
25195 [BZ #19201]
25196 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
25197 Check for zero remainder in case of large exponents and ensure
25198 correct sign of result in that case.
25199 * math/libm-test.inc (remainder_test_data): Add more tests.
25200
25201 [BZ #6799]
25202 * math/s_nextafter.c: Include <errno.h>.
25203 (__nextafter): Set errno on overflow and underflow.
25204 * math/s_nexttowardf.c: Include <errno.h>.
25205 (__nexttowardf): Set errno on overflow and underflow.
25206 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
25207 (__nextafterl): Set errno on overflow and underflow.
25208 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
25209 (__nexttoward): Set errno on overflow and underflow.
25210 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
25211 (__nexttowardf): Set errno on overflow and underflow.
25212 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
25213 (__nextafterf): Set errno on overflow and underflow.
25214 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
25215 (__nextafterl): Set errno on overflow and underflow.
25216 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
25217 (__nexttoward): Set errno on overflow and underflow.
25218 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
25219 (__nexttowardf): Set errno on overflow and underflow.
25220 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
25221 (__nextafterl): Set errno on overflow and underflow.
25222 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
25223 (__nexttoward): Set errno on overflow and underflow.
25224 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
25225 (__nexttowardf): Set errno on overflow and underflow.
25226 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
25227 (__nexttoward): Set errno on overflow and underflow.
25228 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
25229 (__nexttowardf): Set errno on overflow and underflow.
25230 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
25231 (__nldbl_nexttowardf): Set errno on overflow and underflow.
25232 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
25233 (__nextafterl): Set errno on overflow and underflow.
25234 * math/libm-test.inc (nextafter_test_data): Do not allow errno
25235 setting to be missing on overflow. Add more tests.
25236 (nexttoward_test_data): Likewise.
25237
25238 * configure.ac (libc_cv_initfini_array): Remove configure test.
25239 * configure: Regenerated.
25240
25241 2015-10-29 Joseph Myers <joseph@codesourcery.com>
25242
25243 [BZ #19189]
25244 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
25245 non-finite argument handle arguments with negative sign.
25246
25247 * math/libm-test.inc (j0_test_data): Do not test sign of zero
25248 result from infinite argument.
25249 (j1_test_data): Likewise.
25250 (jn_test_data): Likewise.
25251 (y0_test_data): Likewise.
25252 (y1_test_data): Likewise.
25253 (yn_test_data): Likewise.
25254
25255 [BZ #16171]
25256 * math/w_remainder.c (drem): Define as weak alias of __remainder.
25257 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
25258 * math/w_remainderf.c (dremf): Define as weak alias of
25259 __remainderf.
25260 * math/w_remainderl.c (dreml): Define as weak alias of
25261 __remainderl.
25262 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
25263 __remainder.
25264 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
25265 __remainderf.
25266 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
25267 __remainderl.
25268 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
25269 weak alias of remainderl.
25270 * sysdeps/ieee754/ldbl-opt/w_remainder.c
25271 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
25272 alias of __remainder.
25273 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
25274 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
25275 strong alias of __remainderl.
25276 (dreml): Use long_double_symbol.
25277 * math/Makefile (libm-calls): Remove w_drem.
25278 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
25279 (CFLAGS-nldbl-drem.c): Remove variable.
25280 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
25281 * math/w_drem.c: Remove file.
25282 * math/w_dremf.c: Likewise.
25283 * math/w_dreml.c: Likewise.
25284 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
25285 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
25286 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
25287
25288 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
25289 * sysdeps/i386/configure: Regenerated.
25290 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
25291 * sysdeps/x86_64/configure: Regenerated.
25292
25293 * configure.ac (libc_cv_asm_protected_directive): Remove configure
25294 test.
25295 (libc_cv_visibility_attribute): Likewise.
25296 (libc_cv_protected_data): Test unconditionally.
25297 (libc_cv_broken_visibility_attribute): Remove configure test.
25298 (libc_cv_have_sdata_section): Test unconditionally.
25299 * configure: Regenerated.
25300
25301 * include/libc-internal.h (libc_max_align_t): Remove typedef.
25302 * include/scratch_buffer.h: Include <stddef.h> instead of
25303 <libc-internal.h>.
25304 (struct scratch_buffer): Use max_align_t instead of
25305 libc_max_align_t.
25306
25307 2015-10-29 Florian Weimer <fweimer@redhat.com>
25308
25309 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
25310 instead of extend_alloca. Change control flow to avoid a goto.
25311 Remove assert which is trivially always true.
25312
25313 2015-10-28 Joseph Myers <joseph@codesourcery.com>
25314
25315 [BZ #16068]
25316 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
25317 (FE_ALL_EXCEPT_X86): New macro.
25318 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
25319 FE_ALL_EXCEPT. Ensure precision control is included in
25320 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
25321 handle "denormal operand exception" and clear FZ and DAZ bits.
25322 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
25323 (FE_ALL_EXCEPT_X86): New macro.
25324 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
25325 FE_ALL_EXCEPT. Ensure precision control is included in
25326 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
25327 handle "denormal operand exception" and clear FZ and DAZ bits.
25328 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
25329 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
25330 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
25331 test-fenv-x87 and test-fenv-sse-2.
25332 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
25333
25334 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
25335 * math/test-double.h (BUILD_COMPLEX): New macro.
25336 * math/test-float.h (BUILD_COMPLEX): Likewise.
25337 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
25338
25339 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
25340 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
25341 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
25342 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
25343 instead of DBL_DENORM_MIN in comment.
25344 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
25345 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
25346 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
25347 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
25348 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
25349 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
25350
25351 2015-10-28 Florian Weimer <fweimer@redhat.com>
25352
25353 [BZ #19048]
25354 * malloc/malloc.c (struct malloc_state): Update comment. Add
25355 attached_threads member.
25356 (main_arena): Initialize attached_threads.
25357 * malloc/arena.c (list_lock): Update comment.
25358 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
25359 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
25360 (deattach_arena): New function.
25361 (_int_new_arena): Initialize arena reference count and deattach
25362 replaced arena.
25363 (get_free_list, reused_arena): Update reference count and deattach
25364 replaced arena.
25365 (arena_thread_freeres): Update arena reference count and only put
25366 unreferenced arenas on the free list.
25367
25368 2015-10-28 Joseph Myers <joseph@codesourcery.com>
25369
25370 [BZ #19181]
25371 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
25372 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
25373 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
25374 * math/test-fenv-clear-main.c: New file.
25375 * math/test-fenv-clear.c: Likewise.
25376 * math/Makefile (tests): Add test-fenv-clear.
25377 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
25378 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
25379 test-fenv-clear-sse.
25380 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
25381
25382 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
25383 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
25384 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
25385
25386 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25387
25388 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
25389 static libc.
25390
25391 2015-10-28 Joseph Myers <joseph@codesourcery.com>
25392
25393 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
25394 test.
25395 * sysdeps/i386/configure: Regenerated.
25396 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
25397 test.
25398 * sysdeps/x86_64/configure: Regenerated.
25399 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
25400 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25401 memset-avx2 unconditionally instead of conditionally on
25402 [$(config-cflags-avx2) = yes].
25403 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25404 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
25405 unconditional.
25406 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
25407 * sysdeps/x86_64/multiarch/memset_chk.S
25408 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
25409 to [IS_IN (libc) && SHARED].
25410
25411 2015-10-27 Joseph Myers <joseph@codesourcery.com>
25412
25413 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
25414 configure test.
25415 * sysdeps/arm/configure: Regenerated.
25416 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
25417 Define variable if not already defined.
25418
25419 [BZ #17404]
25420 * sysdeps/mips/atomic-machine.h
25421 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
25422 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
25423 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
25424
25425 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
25426 unconditional.
25427 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
25428 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25429 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
25430 unconditional.
25431 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25432 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
25433 unconditional.
25434 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25435 * stdlib/setenv.c
25436 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
25437 code unconditional.
25438 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
25439 Remove conditional code.
25440 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
25441 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
25442 unconditional.
25443 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25444 code.
25445 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
25446 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
25447 unconditional.
25448 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25449 code.
25450 * sysdeps/ieee754/ldbl-128/k_tanl.c
25451 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25452 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25453 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
25454 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25455 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25456 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
25457 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
25458 unconditional.
25459 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25460 code.
25461 * sysdeps/ieee754/ldbl-96/k_tanl.c
25462 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25463 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25464
25465 * nptl/tst-initializers1-c11.c: New file.
25466 * nptl/tst-initializers1-gnu11.c: Likewise.
25467 * nptl/Makefile (tests): Add these new tests.
25468 (CFLAGS-tst-initializers1-c11.c): New variable.
25469 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
25470
25471 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
25472 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
25473 instead of -std=gnu99.
25474 * configure.ac (systemtap): Test with -std=gnu11 instead of
25475 -std=gnu99.
25476 * configure: Regenerated.
25477 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
25478 in compilation command in comment.
25479
25480 * sysdeps/nptl/configure.ac: Remove file.
25481 * sysdeps/nptl/configure: Remove generated file.
25482 * configure.ac (libc_cv_forced_unwind): Do not substitute.
25483 * configure: Regenerated.
25484 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
25485 * config.make.in (have-forced-unwind): Remove variable.
25486 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
25487 unconditional.
25488 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
25489 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
25490 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
25491 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
25492 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
25493 unconditional.
25494
25495 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
25496
25497 [BZ #19174]
25498 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
25499 .skip_lock_out_of_tbegin_retries.
25500 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
25501 (__lll_lock_elision): Likewise, and respect a value of
25502 try_tbegin <= 0.
25503
25504 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25505
25506 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
25507 statement.
25508
25509 2015-10-27 Joseph Myers <joseph@codesourcery.com>
25510
25511 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
25512 variable.
25513 (test-xfail-ISO11/stdalign.h/conform): Likewise.
25514 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
25515
25516 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
25517 of -std=c1x -D_ISOC11_SOURCE.
25518
25519 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
25520 * configure: Regenerated.
25521 * manual/install.texi (Tools for Compilation): Document
25522 requirement for GCC 4.7 or later.
25523 * INSTALL: Regenerated.
25524
25525 2015-10-27 Ludovic Courtès <ludo@gnu.org>
25526
25527 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
25528 on CNT to a conditional jump to 'puntdata'.
25529
25530 2015-10-27 Joseph Myers <joseph@codesourcery.com>
25531
25532 * configure.ac (libc_cv_gcc___thread): Remove configure test.
25533 (libc_cv_gcc_tls_model_attr): Likewise.
25534 * configure: Regenerated.
25535
25536 * configure.ac (libc_cv_need_minus_P): Remove configure test.
25537 * configure: Regenerated.
25538 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
25539
25540 2015-10-26 Joseph Myers <joseph@codesourcery.com>
25541
25542 * configure.ac (old_glibc_headers): Remove configure test.
25543 * configure: Regenerated.
25544 * config.make.in (old-glibc-headers): Remove variable.
25545 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
25546 (install): Remove dependency on remove-old-headers.
25547 (headers2_0): Remove variable.
25548 (remove-old-headers): Remove rule.
25549
25550 * configure.ac (libc_cv_dot_text): Remove configure test.
25551 (libc_cv_asm_set_directive): Use .text instead of
25552 ${libc_cv_dot_text} in configure test.
25553 * configure: Regenerated.
25554
25555 2015-10-26 Florian Weimer <fweimer@redhat.com>
25556
25557 [BZ #19168]
25558 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25559
25560 2015-10-26 Florian Weimer <fweimer@redhat.com>
25561
25562 * configure.ac (CXX): Clear the variable if the C++ toolchain does
25563 not support static linking.
25564 * configure: Regenerate.
25565
25566 2015-10-23 Joseph Myers <joseph@codesourcery.com>
25567
25568 * math/libm-test.inc (check_float_internal): Do not special-case
25569 errors up to 0.5 ulp.
25570
25571 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25572 log2.
25573 * math/auto-libm-test-out: Regenerated.
25574 * math/libm-test.inc (MAX_EXP): New macro.
25575 (ilogb_test_data): Add more tests.
25576 (isfinite_test_data): Likewise.
25577 (isgreater_test_data): Likewise.
25578 (isgreaterequal_test_data): Likewise.
25579 (isinf_test_data): Likewise.
25580 (isless_test_data): Likewise.
25581 (islessequal_test_data): Likewise.
25582 (islessgreater_test_data): Likewise.
25583 (isnan_test_data): Likewise.
25584 (isnormal_test_data): Likewise.
25585 (issignaling_test_data): Likewise.
25586 (isunordered_test_data): Likewise.
25587 (j0_test_data): Likewise.
25588 (j1_test_data): Likewise.
25589 (jn_test_data): Likewise.
25590 (lgamma_test_data): Likewise.
25591 (log_test_data): Likewise.
25592 (log10_test_data): Likewise.
25593 (log1p_test_data): Likewise.
25594 (log2_test_data): Likewise.
25595 (logb_test_data): Likewise.
25596 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25597
25598 [BZ #18611]
25599 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
25600 avoid excess range and precision on underflow.
25601 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
25602 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
25603 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
25604 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
25605 underflow.
25606 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
25607 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25608 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25609 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
25610 * math/auto-libm-test-in: Do not allow missing errno setting for
25611 tests of j1 and jn.
25612 * math/auto-libm-test-out: Regenerated.
25613
25614 2015-10-22 Joseph Myers <joseph@codesourcery.com>
25615
25616 [BZ #15491]
25617 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
25618 floating-point environment instead of clearing all exceptions.
25619 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
25620 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
25621 merging in "invalid" exceptions from frndint.
25622 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
25623 * math/test-nearbyint-except.c: New file.
25624 * math/Makefile (tests): Add test-nearbyint-except.
25625
25626 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
25627
25628 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
25629
25630 * sysdeps/tile/libm-test-ulps: Regenerated.
25631
25632 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25633
25634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
25635 (__NR_sync_file_range2): Assume it is always defined.
25636 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
25637 (__NR_sync_file_range): Assume it is always defined.
25638
25639 2015-10-22 Andreas Schwab <schwab@suse.de>
25640
25641 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
25642 INTERNAL_SYSCALL_ERRNO.
25643 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25644 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
25645 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25646 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
25647 Likewise.
25648 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25649
25650 2015-10-21 Joseph Myers <joseph@codesourcery.com>
25651
25652 * io/tst-fcntl.c (fd): New static variable.
25653 (do_prepare): Open temporary file here....
25654 (do_test): ...not here.
25655
25656 * io/ftwtest-sh: Also trap on exit to remove temporary files.
25657
25658 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
25659
25660 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
25661 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
25662 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
25663 Moved before "#ifdef __ASSEMBLER__".
25664
25665 2015-10-21 Joseph Myers <joseph@codesourcery.com>
25666
25667 [BZ #19156]
25668 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
25669 arguments very close to 0.
25670
25671 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
25672
25673 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
25674 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
25675
25676 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
25677
25678 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
25679 New. Defined for GCC 5 and above when not compiling for
25680 profiling.
25681 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
25682
25683 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
25684 Renamed to ...
25685 (CFLAGS-epoll_pwait.o): This.
25686 (CFLAGS-mmap.c): Renamed to ...
25687 (CFLAGS-mmap.o): This.
25688 (CFLAGS-mmap64.c): Renamed to ...
25689 (CFLAGS-mmap64.o): This.
25690 (CFLAGS-epoll_pwait.os): New.
25691 (CFLAGS-mmap.os): Likewise.
25692 (CFLAGS-mmap64.os): Likewise.
25693 (CFLAGS-semtimedop.os): Likewise.
25694 (CFLAGS-semtimedop.c): Renamed to ...
25695 (CFLAGS-semtimedop.o): This.
25696
25697 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25698
25699 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
25700 warning message.
25701
25702 2015-10-21 Joseph Myers <joseph@codesourcery.com>
25703
25704 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
25705 * Makefile ($(objpfx)c++-types-check.out): Filter out
25706 $(+gccwarn-c) instead of -Wstrict-prototypes.
25707
25708 * io/fts.c (fts_open): Convert to prototype-style function
25709 definition.
25710 * malloc/mcheck.c (mcheck): Likewise.
25711 (mcheck_pedantic): Likewise.
25712 * posix/regexec.c (re_search_2_stub): Likewise. Use
25713 internal_function.
25714 (re_search_internal): Likewise.
25715 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
25716 prototype-style function definition.
25717 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25718 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
25719 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
25720 (xdr_utmpptr): Likewise.
25721 (xdr_utmparr): Likewise.
25722 (xdr_utmpidle): Likewise.
25723 (xdr_utmpidleptr): Likewise.
25724 (xdr_utmpidlearr): Likewise.
25725
25726 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
25727 log, log10 and log2.
25728 * math/auto-libm-test-out: Regenerated.
25729 * math/libm-test.inc (fmod_test_data): Add more tests.
25730 (fpclassify_test_data): Likewise.
25731 (frexp_test_data): Likewise.
25732 (hypot_test_data): Likewise.
25733 (ilogb_test_data): Likewise.
25734
25735 2015-10-20 Joseph Myers <joseph@codesourcery.com>
25736
25737 * debug/fortify_fail.c (__fortify_fail): Convert to
25738 prototype-style function definition. Use internal_function.
25739 * libio/genops.c (save_for_backup): Convert to prototype-style
25740 function definition.
25741 * libio/wgenops.c (save_for_wbackup): Likewise.
25742 * login/grantpt.c (grantpt): Likewise.
25743 * login/ptsname.c (ptsname): Likewise.
25744 (__ptsname_r): Likewise.
25745 * login/unlockpt.c (unlockpt): Likewise.
25746 * mach/msgserver.c (__mach_msg_server): Likewise.
25747 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
25748 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
25749 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
25750 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
25751 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
25752 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
25753 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
25754 Likewise.
25755 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
25756 internal_function.
25757 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
25758 prototype-style function definition.
25759 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
25760 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
25761 (__pthread_create_2_0): Likewise.
25762 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
25763 * nptl/register-atfork.c (__register_atfork): Likewise.
25764 * posix/glob.c (glob): Likewise.
25765 * posix/regcomp.c (re_comp): Likewise.
25766 * posix/regexec.c (re_exec): Likewise.
25767 * stdlib/add_n.c [__STDC__]: Make code unconditional.
25768 [!__STDC__]: Remove conditional code.
25769 * stdlib/cmp.c [__STDC__]: Make code unconditional.
25770 [!__STDC__]: Remove conditional code.
25771 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
25772 [!__STDC__]: Remove conditional code.
25773 * stdlib/divrem.c [__STDC__]: Make code unconditional.
25774 [!__STDC__]: Remove conditional code.
25775 * stdlib/lshift.c [__STDC__]: Make code unconditional.
25776 [!__STDC__]: Remove conditional code.
25777 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
25778 [!__STDC__]: Remove conditional code.
25779 * stdlib/mul.c [__STDC__]: Make code unconditional.
25780 [!__STDC__]: Remove conditional code.
25781 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
25782 [!__STDC__]: Remove conditional code.
25783 * stdlib/rshift.c [__STDC__]: Make code unconditional.
25784 [!__STDC__]: Remove conditional code.
25785 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
25786 function definition.
25787 (STRTOF): Likewise.
25788 * stdlib/strtod_l.c (__STRTOF): Likewise.
25789 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
25790 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
25791 (__strtol_l): Likewise.
25792 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
25793 [!__STDC__]: Remove conditional code.
25794 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
25795 definition.
25796 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
25797 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
25798 type.
25799 (__strcasecmp): Convert to prototype-style function definition.
25800 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
25801 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
25802 type.
25803 (__strncasecmp): Convert to prototype-style function definition.
25804 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
25805 * sunrpc/xdr.c (xdr_union): Likewise.
25806 * sunrpc/xdr_array.c (xdr_array): Likewise.
25807 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
25808 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
25809 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
25810 Likewise.
25811 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
25812 Likewise.
25813 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
25814 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25815 Likewise.
25816 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
25817 (LOCALE_PARAM_PROTO): Likewise.
25818 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
25819 argument type.
25820 (ut_argument_spec): Remove macro.
25821 (ut_argument_spec_iso): Rename to ut_argument_spec.
25822 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
25823 prototype-style function definition.
25824 (memcpy_uppcase): Likewise.
25825 (__strftime_internal): Likewise.
25826 (my_strftime): Likewise.
25827 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
25828 (LOCALE_PARAM_DECL): Likewise.
25829 [_LIBC] (LOCALE_PARAM): Include argument type.
25830 (__strptime_internal): Convert to prototype-style function
25831 definition.
25832 (strptime): Likewise.
25833 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
25834 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
25835 type.
25836 (__wcscasecmp): Convert to prototype-style function definition.
25837 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
25838 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
25839 type.
25840 (__wcsncasecmp): Convert to prototype-style function definition.
25841
25842 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
25843 function definition.
25844 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25845 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25846 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
25847 * elf/dl-minimal.c (_itoa): Likewise.
25848 * hurd/hurdmalloc.c (malloc): Likewise.
25849 (free): Likewise.
25850 (realloc): Likewise.
25851 * inet/inet6_option.c (inet6_option_space): Likewise.
25852 (inet6_option_init): Likewise.
25853 (inet6_option_append): Likewise.
25854 (inet6_option_alloc): Likewise.
25855 (inet6_option_next): Likewise.
25856 (inet6_option_find): Likewise.
25857 * io/ftw.c (FTW_NAME): Likewise.
25858 (NFTW_NAME): Likewise.
25859 (NFTW_NEW_NAME): Likewise.
25860 (NFTW_OLD_NAME): Likewise.
25861 * libio/iofwide.c (_IO_fwide): Likewise.
25862 * libio/strops.c (_IO_str_init_static_internal): Likewise.
25863 (_IO_str_init_static): Likewise.
25864 (_IO_str_init_readonly): Likewise.
25865 (_IO_str_overflow): Likewise.
25866 (_IO_str_underflow): Likewise.
25867 (_IO_str_count): Likewise.
25868 (_IO_str_seekoff): Likewise.
25869 (_IO_str_pbackfail): Likewise.
25870 (_IO_str_finish): Likewise.
25871 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
25872 (_IO_wstr_overflow): Likewise.
25873 (_IO_wstr_underflow): Likewise.
25874 (_IO_wstr_count): Likewise.
25875 (_IO_wstr_seekoff): Likewise.
25876 (_IO_wstr_pbackfail): Likewise.
25877 (_IO_wstr_finish): Likewise.
25878 * locale/programs/localedef.c (normalize_codeset): Likewise.
25879 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25880 (add_locales_to_archive): Likewise.
25881 (delete_locales_from_archive): Likewise.
25882 * malloc/malloc.c (__libc_mallinfo): Likewise.
25883 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
25884 * misc/tsearch.c (__tfind): Likewise.
25885 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
25886 * nptl/pthread_attr_getdetachstate.c
25887 (__pthread_attr_getdetachstate): Likewise.
25888 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25889 Likewise.
25890 * nptl/pthread_attr_getinheritsched.c
25891 (__pthread_attr_getinheritsched): Likewise.
25892 * nptl/pthread_attr_getschedparam.c
25893 (__pthread_attr_getschedparam): Likewise.
25894 * nptl/pthread_attr_getschedpolicy.c
25895 (__pthread_attr_getschedpolicy): Likewise.
25896 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
25897 Likewise.
25898 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
25899 Likewise.
25900 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25901 Likewise.
25902 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25903 Likewise.
25904 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
25905 (__pthread_attr_init_2_0): Likewise.
25906 * nptl/pthread_attr_setdetachstate.c
25907 (__pthread_attr_setdetachstate): Likewise.
25908 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25909 Likewise.
25910 * nptl/pthread_attr_setinheritsched.c
25911 (__pthread_attr_setinheritsched): Likewise.
25912 * nptl/pthread_attr_setschedparam.c
25913 (__pthread_attr_setschedparam): Likewise.
25914 * nptl/pthread_attr_setschedpolicy.c
25915 (__pthread_attr_setschedpolicy): Likewise.
25916 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
25917 Likewise.
25918 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
25919 Likewise.
25920 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25921 Likewise.
25922 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25923 Likewise.
25924 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
25925 Likewise.
25926 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
25927 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
25928 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
25929 use internal_function.
25930 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
25931 prototype-style function definition.
25932 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25933 (__pthread_mutex_cond_lock_adjust): Likewise. Use
25934 internal_function.
25935 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
25936 Convert to prototype-style function definition.
25937 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
25938 Likewise.
25939 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
25940 Likewise.
25941 (__pthread_mutex_unlock): Likewise.
25942 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
25943 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
25944 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
25945 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
25946 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
25947 * nss/makedb.c (process_input): Likewise.
25948 * posix/fnmatch.c (__strchrnul): Likewise.
25949 (__wcschrnul): Likewise.
25950 (fnmatch): Likewise.
25951 * posix/fnmatch_loop.c (FCT): Likewise.
25952 * posix/glob.c (globfree): Likewise.
25953 (__glob_pattern_type): Likewise.
25954 (__glob_pattern_p): Likewise.
25955 * posix/regcomp.c (re_compile_pattern): Likewise.
25956 (re_set_syntax): Likewise.
25957 (re_compile_fastmap): Likewise.
25958 (regcomp): Likewise.
25959 (regerror): Likewise.
25960 (regfree): Likewise.
25961 * posix/regexec.c (regexec): Likewise.
25962 (re_match): Likewise.
25963 (re_search): Likewise.
25964 (re_match_2): Likewise.
25965 (re_search_2): Likewise.
25966 (re_search_stub): Likewise. Use internal_function
25967 (re_copy_regs): Likewise.
25968 (re_set_registers): Convert to prototype-style function
25969 definition.
25970 (prune_impossible_nodes): Likewise. Use internal_function.
25971 * resolv/inet_net_pton.c (inet_net_pton): Convert to
25972 prototype-style function definition.
25973 (inet_net_pton_ipv4): Likewise.
25974 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25975 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
25976 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
25977 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
25978 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
25979 Make variadic.
25980 * time/strptime_l.c (localtime_r): Convert to prototype-style
25981 function definition.
25982 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
25983 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
25984 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
25985 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
25986
25987 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
25988 definition.
25989 (_ufc_doit_r): Likewise.
25990 * crypt/crypt_util.c (_ufc_copymem): Likewise.
25991 (_ufc_output_conversion_r): Likewise.
25992 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
25993 * inet/rcmd.c (rcmd_af): Likewise.
25994 (rcmd): Likewise.
25995 (ruserok_af): Likewise.
25996 (ruserok): Likewise.
25997 (ruserok2_sa): Likewise.
25998 (ruserok_sa): Likewise.
25999 (iruserok_af): Likewise.
26000 (iruserok): Likewise.
26001 (__ivaliduser): Likewise.
26002 (__validuser2_sa): Likewise.
26003 * inet/rexec.c (rexec_af): Likewise.
26004 (rexec): Likewise.
26005 * inet/ruserpass.c (ruserpass): Likewise.
26006 * locale/programs/xmalloc.c (xcalloc): Likewise.
26007 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
26008 * math/w_drem.c (__drem): Likewise.
26009 * math/w_dremf.c (__dremf): Likewise.
26010 * math/w_dreml.c (__dreml): Likewise.
26011 * misc/daemon.c (daemon): Likewise.
26012 * resolv/res_debug.c (p_fqnname): Likewise.
26013 * stdlib/div.c (div): Likewise.
26014 * string/memcmp.c (memcmp_bytes): Likewise.
26015 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
26016 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
26017
26018 * crypt/cert.c (main): Convert to prototype-style function
26019 definition.
26020 * io/pipe.c (__pipe): Likewise.
26021 * io/pipe2.c (__pipe2): Likewise.
26022 * misc/futimesat.c (futimesat): Likewise.
26023 * misc/utimes.c (__utimes): Likewise.
26024 * posix/execve.c (__execve): Likewise.
26025 * posix/execvp.c (execvp): Likewise.
26026 * posix/execvpe.c (__execvpe): Likewise.
26027 * posix/fexecve.c (fexecve): Likewise.
26028 * socket/socketpair.c (socketpair): Likewise.
26029 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
26030 * stdlib/erand48.c (erand48): Likewise.
26031 * stdlib/erand48_r.c (__erand48_r): Likewise.
26032 * stdlib/jrand48.c (jrand48): Likewise.
26033 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
26034 * stdlib/lcong48.c (lcong48): Likewise.
26035 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
26036 * stdlib/nrand48.c (nrand48): Likewise.
26037 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
26038 * stdlib/seed48.c (seed48): Likewise.
26039 * stdlib/seed48_r.c (__seed48_r): Likewise.
26040 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
26041 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
26042 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
26043
26044 2015-10-19 Joseph Myers <joseph@codesourcery.com>
26045
26046 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
26047 * configure: Regenerated.
26048 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
26049 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
26050 unconditional.
26051 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26052 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26053 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26054 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
26055 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
26056 unconditional.
26057 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26058
26059 * posix/Makefile (CFLAGS-regex.c): Remove variable.
26060 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
26061
26062 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
26063 function definition.
26064 * crypt/crypt_util.c (__encrypt_r): Likewise.
26065 * libio/genops.c (_IO_no_init): Likewise.
26066 * libio/iofopncook.c (_IO_fopencookie): Likewise.
26067 (_IO_old_fopencookie): Likewise.
26068 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26069 * libio/iogetline.c (_IO_getline): Likewise.
26070 (_IO_getline_info): Likewise.
26071 * libio/iogetwline.c (_IO_getwline): Likewise.
26072 (_IO_getwline_info): Likewise.
26073 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
26074 * libio/vswprintf.c (_IO_vswprintf): Likewise.
26075 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
26076 (find_entry): Likewise.
26077 (iterate_table): Likewise.
26078 (lookup): Likewise.
26079 * login/forkpty.c (forkpty): Likewise.
26080 * misc/hsearch_r.c (__hsearch_r): Likewise.
26081 * misc/select.c (__select): Likewise.
26082 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
26083 Likewise.
26084 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
26085 Likewise.
26086 * nptl/old_pthread_cond_timedwait.c
26087 (__pthread_cond_timedwait_2_0): Likewise.
26088 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
26089 * nptl/pthread_barrierattr_getpshared.c
26090 (pthread_barrierattr_getpshared): Likewise.
26091 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
26092 Likewise.
26093 * nptl/pthread_mutex_setprioceiling.c
26094 (pthread_mutex_setprioceiling): Likewise.
26095 * nptl/pthread_mutexattr_getprioceiling.c
26096 (pthread_mutexattr_getprioceiling): Likewise.
26097 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
26098 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26099 Likewise.
26100 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26101 Likewise.
26102 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
26103 Likewise.
26104 * socket/recvfrom.c (__recvfrom): Likewise.
26105 * socket/sendto.c (__sendto): Likewise.
26106 * socket/setsockopt.c (__setsockopt): Likewise.
26107 * stdio-common/_itoa.c (_itoa): Likewise.
26108 * stdio-common/_itowa.c (_itowa): Likewise.
26109 * stdio-common/reg-printf.c (__register_printf_specifier):
26110 Likewise.
26111 (__register_printf_function): Likewise.
26112 * stdio-common/tempname.c (__path_search): Likewise.
26113 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
26114 * stdlib/mul_1.c (mpn_mul_1): Likewise.
26115 * stdlib/random_r.c (__initstate_r): Likewise.
26116 * stdlib/setenv.c (__add_to_environ): Likewise.
26117 * stdlib/submul_1.c (mpn_submul_1): Likewise.
26118 * streams/getpmsg.c (getpmsg): Likewise.
26119 * streams/putmsg.c (putmsg): Likewise.
26120 * streams/putpmsg.c (putpmsg): Likewise.
26121 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
26122 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
26123 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
26124 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
26125 * sunrpc/pm_getport.c (pmap_getport): Likewise.
26126 * sunrpc/svc_udp.c (cache_get): Likewise.
26127 * sunrpc/xdr_array.c (xdr_vector): Likewise.
26128 * sysdeps/mach/hurd/getcwd.c
26129 (__canonicalize_directory_name_internal): Likewise.
26130 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
26131 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
26132 * sysdeps/mach/hurd/select.c (__select): Likewise.
26133 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
26134 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
26135 * sysdeps/sparc/nptl/pthread_barrier_init.c
26136 (__pthread_barrier_init): Likewise.
26137 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
26138 (__pthread_cond_timedwait): Likewise.
26139 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
26140 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
26141 Likewise.
26142 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
26143 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
26144 Likewise.
26145 * sysvipc/semtimedop.c (semtimedop): Likewise.
26146 * time/setitimer.c (__setitimer): Likewise.
26147 * time/strftime_l.c (emacs_strftime): Likewise.
26148
26149 2015-10-19 Mike Frysinger <vapier@gentoo.org>
26150
26151 * config.make.in (have-ssp): Delete.
26152 (stack-protector): New variable.
26153 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
26154 cache test for -fstack-protector-strong. Export stack_protector to
26155 the best ssp flag.
26156 * configure: Regenerated.
26157 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
26158 * nscd/Makefile (CFLAGS-nscd): Likewise.
26159 * resolv/Makefile (CFLAGS-libresolv): Likewise.
26160
26161 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
26162
26163 [BZ #19122]
26164 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
26165 attribute_hidden.
26166
26167 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26168
26169 [BZ #18743]
26170 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
26171 code to...
26172 (ELIDE_LOCK): ...here.
26173 (__get_new_count): New function with part of the code from
26174 __elide_lock that updates the value of adapt_count after a
26175 transaction abort.
26176 (__elided_trylock): Moved this code to...
26177 (ELIDE_TRYLOCK): ...here.
26178
26179 2015-10-19 Mike Frysinger <vapier@gentoo.org>
26180
26181 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
26182 * configure: Regenerate.
26183 * INSTALL: Regenerate.
26184 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
26185 and tweak grammar.
26186
26187 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
26188
26189 * login/programs/pt_chown.c: Include signal.h
26190 (main): Clear any signal mask from the parent process.
26191
26192 2015-10-19 Joseph Myers <joseph@codesourcery.com>
26193
26194 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
26195 * configure: Regenerated.
26196 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
26197 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
26198 $(gnu89-inline-CFLAGS).
26199
26200 * configure.ac (libc_cv_asm_weak_directive): Remove configure
26201 test.
26202 (libc_cv_asm_weakext_directive): Likewise.
26203 * configure: Regenerated.
26204 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
26205 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
26206 * include/libc-symbols.h
26207 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
26208 #error.
26209 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
26210 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
26211
26212 * sysdeps/arm/backtrace.c (__backtrace): Convert to
26213 prototype-style function definition.
26214 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
26215 * sysdeps/i386/ffs.c (__ffs): Likewise.
26216 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
26217 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
26218 Likewise.
26219 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26220 Likewise.
26221 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
26222 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
26223 Likewise.
26224 * sysdeps/m68k/ffs.c (__ffs): Likewise.
26225 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
26226 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
26227 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
26228 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
26229 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
26230 * sysdeps/mach/hurd/access.c (__access): Likewise.
26231 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
26232 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
26233 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
26234 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
26235 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
26236 (cthread_getspecific): Likewise.
26237 (cthread_setspecific): Likewise.
26238 (__libc_getspecific): Likewise.
26239 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
26240 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
26241 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
26242 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
26243 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
26244 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
26245 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
26246 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
26247 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
26248 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
26249 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
26250 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
26251 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
26252 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
26253 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
26254 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
26255 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
26256 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
26257 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
26258 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
26259 * sysdeps/mach/hurd/link.c (__link): Likewise.
26260 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
26261 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
26262 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
26263 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
26264 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
26265 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
26266 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
26267 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
26268 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
26269 * sysdeps/mach/hurd/rename.c (rename): Likewise.
26270 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
26271 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
26272 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
26273 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
26274 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
26275 * sysdeps/mach/hurd/send.c (__send): Likewise.
26276 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
26277 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
26278 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
26279 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
26280 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
26281 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
26282 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
26283 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
26284 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
26285 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
26286 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
26287 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
26288 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
26289 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
26290 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
26291 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26292 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
26293 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26294 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
26295 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
26296 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
26297 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
26298 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
26299 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
26300 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
26301 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
26302 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
26303 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
26304 * sysdeps/posix/alarm.c (alarm): Likewise.
26305 * sysdeps/posix/cuserid.c (cuserid): Likewise.
26306 * sysdeps/posix/dirfd.c (dirfd): Likewise.
26307 * sysdeps/posix/dup.c (__dup): Likewise.
26308 * sysdeps/posix/dup2.c (__dup2): Likewise.
26309 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
26310 (main): Likewise.
26311 * sysdeps/posix/flock.c (__flock): Likewise.
26312 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
26313 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
26314 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
26315 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
26316 * sysdeps/posix/isatty.c (__isatty): Likewise.
26317 * sysdeps/posix/killpg.c (killpg): Likewise.
26318 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26319 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
26320 * sysdeps/posix/raise.c (raise): Likewise.
26321 * sysdeps/posix/remove.c (remove): Likewise.
26322 * sysdeps/posix/rename.c (rename): Likewise.
26323 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
26324 * sysdeps/posix/seekdir.c (seekdir): Likewise.
26325 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26326 * sysdeps/posix/sigignore.c (sigignore): Likewise.
26327 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
26328 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
26329 * sysdeps/posix/sigset.c (sigset): Likewise.
26330 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
26331 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
26332 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
26333 * sysdeps/posix/time.c (time): Likewise.
26334 * sysdeps/posix/ttyname.c (getttyname): Likewise.
26335 (ttyname): Likewise.
26336 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
26337 * sysdeps/posix/utime.c (utime): Likewise.
26338 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
26339 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
26340 Likewise.
26341 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
26342 (pthread_spin_trylock): Likewise.
26343 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
26344 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
26345 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
26346 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
26347 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
26348 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
26349 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
26350 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
26351 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
26352 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
26353 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
26354 * sysdeps/s390/ffs.c (__ffs): Likewise.
26355 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
26356 Likewise.
26357 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26358 Likewise.
26359 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
26360 Likewise.
26361 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
26362 (pthread_barrier_destroy): Likewise.
26363 * sysdeps/sparc/nptl/pthread_barrier_wait.c
26364 (__pthread_barrier_wait): Likewise.
26365 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
26366 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
26367 (__pthread_barrier_wait): Likewise.
26368 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
26369 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
26370 (memcmp_not_common_alignment): Likewise.
26371 (MEMCMP): Likewise.
26372 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
26373 (_wordcopy_fwd_dest_aligned): Likewise.
26374 (_wordcopy_bwd_aligned): Likewise.
26375 (_wordcopy_bwd_dest_aligned): Likewise.
26376 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
26377 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
26378 * sysdeps/unix/bsd/stty.c (stty): Likewise.
26379 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
26380 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
26381 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
26382 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
26383 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
26384 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
26385 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
26386 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
26387 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
26388 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
26389 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
26390 * sysdeps/unix/stime.c (stime): Likewise.
26391 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
26392 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
26393 Likewise. Use internal_function.
26394 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
26395 Convert to prototype-style function definition.
26396 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26397 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26398 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
26399 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26400 Likewise. Use internal_function.
26401 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
26402 prototype-style function definition
26403 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26404 Likewise.
26405 (__getlogin_r): Likewise.
26406 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
26407 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
26408 (__pthread_cond_broadcast): Likewise.
26409 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
26410 (__pthread_cond_destroy): Likewise.
26411 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
26412 (__pthread_cond_init): Likewise.
26413 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
26414 (__pthread_cond_signal): Likewise.
26415 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
26416 (__pthread_cond_wait): Likewise.
26417 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
26418 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
26419 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
26420 Likewise.
26421 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
26422 Likewise.
26423 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26424 Likewise.
26425 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
26426 Likewise.
26427 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
26428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
26429 (__ftruncate64): Likewise.
26430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
26431 (truncate64): Likewise.
26432 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
26433 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
26434 (pthread_getcpuclockid): Likewise.
26435 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
26436 Likewise.
26437 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
26438 Likewise.
26439 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
26440 Likewise.
26441 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
26442 Likewise.
26443 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
26444 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
26445 (__libc_sigaction): Likewise.
26446 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
26447 Likewise.
26448 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26449 (__sigprocmask): Likewise.
26450 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
26451 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
26452 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
26453 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
26454 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26455 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
26456 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26457 Likewise.
26458 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
26459 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
26460 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26461 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
26462 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
26463 Likewise.
26464 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26465 (__sigprocmask): Likewise.
26466 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
26467 (cfgetispeed): Likewise.
26468 (cfsetospeed): Likewise.
26469 (cfsetispeed): Likewise.
26470 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
26471 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
26472 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26473 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
26474 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
26475 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
26476 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
26477 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
26478 Likewise.
26479 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
26480 Likewise.
26481 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
26482 Likewise.
26483 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26484 Likewise.
26485 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
26486
26487 2015-10-17 Florian Weimer <fweimer@redhat.com>
26488
26489 sunrpc: Rewrite with explicit TLS access using __thread.
26490 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
26491 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
26492 directly.
26493 (__rpc_thread_variables): Access thread_rpc_vars directly.
26494 Eliminate redundant assignment of the tvp variable.
26495
26496 2015-10-17 Florian Weimer <fweimer@redhat.com>
26497
26498 malloc: Rewrite with explicit TLS access using __thread.
26499 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
26500 (tsd_setspecific, tsd_getspecific): Remove.
26501 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
26502 (tsd_setspecific, tsd_getspecific): Likewise.
26503 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
26504 (tsd_setspecific, tsd_getspecific): Likewise.
26505 * malloc/arena.c (thread_arena): New TLS variable.
26506 (arena_key): Remove variable.
26507 (arena_get): Use thread_arena.
26508 (arena_lookup): Remove macro.
26509 (malloc_atfork, free_atfork, ptmalloc_lock_all)
26510 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
26511 (_int_new_arena, get_free_list, reused_arena)
26512 (arena_thread_freeres): Use thread_arena.
26513 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
26514 tsd_getspecific, tsd_setspecific from safety annotations.
26515 (Allocating Cleared Space): Remove arena_lookup from safety
26516 annotations.
26517
26518 2015-10-17 Florian Weimer <fweimer@redhat.com>
26519
26520 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
26521 struct scratch_buffer instead of extend_alloca.
26522
26523 2015-10-17 Florian Weimer <fweimer@redhat.com>
26524
26525 * sysdeps/unix/sysv/linux/kernel-features.h
26526 (__ASSUME_SOCK_CLOEXEC): Remove.
26527 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
26528 (__have_paccept): Remove unused macro.
26529 * include/unistd.h (__have_sock_cloexec): Remove declaration.
26530 * misc/syslog.c (openlog_internal): Remove fallback code for
26531 !__ASSUME_SOCK_CLOEXEC.
26532 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
26533 missing SOCK_CLOEXEC.
26534 * nscd/connections.c (have_sock_cloexec): Remove definition.
26535 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
26536 * nscd/nscd_helper.c (open_socket): Remove fallback code for
26537 !__ASSUME_SOCK_CLOEXEC.
26538 * resolv/res_send.c (__have_o_nonblock): Remove definition.
26539 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
26540 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
26541 definition.
26542 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
26543 code for !__ASSUME_SOCK_CLOEXEC.
26544
26545 2015-10-17 Florian Weimer <fweimer@redhat.com>
26546
26547 [BZ #18982]
26548 * manual/stdio.texi (Variable Arguments Output): Add portability
26549 note, explaining that vfprintf clobbers the va_list pointer.
26550
26551 2015-10-16 Joseph Myers <joseph@codesourcery.com>
26552
26553 * math/libm-test.inc (fabs_test_data): Add more tests.
26554 (fdim_test_data): Likewise.
26555 (fma_test_data): Likewise.
26556 (fmax_test_data): Likewise.
26557 (fmin_test_data): Likewise.
26558 (fmod_test_data): Likewise.
26559
26560 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
26561
26562 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
26563 data.
26564
26565 2015-10-16 Joseph Myers <joseph@codesourcery.com>
26566
26567 * math/libm-test.inc (ceil_test_data): Add more tests and more
26568 expectations for "inexact".
26569 (floor_test_data): Add more tests.
26570 (round_test_data): Likewise.
26571 (trunc_test_data): Likewise.
26572
26573 * crypt/cert.c (good_bye): Convert to prototype-style function
26574 definition.
26575 (get8): Likewise.
26576 (put8): Likewise.
26577 * crypt/crypt-entry.c (crypt): Likewise.
26578 (__fcrypt): Likewise.
26579 * crypt/crypt_util.c (_ufc_prbits): Likewise.
26580 (_ufc_set_bits): Likewise.
26581 (_ufc_clearmem): Likewise.
26582 (__init_des_r): Likewise.
26583 (shuffle_sb): Likewise.
26584 (shuffle_sb): Likewise.
26585 (_ufc_setup_salt_r): Likewise.
26586 (_ufc_mk_keytab_r): Likewise.
26587 (_ufc_dofinalperm_r): Likewise.
26588 (encrypt): Likewise.
26589 (__setkey_r): Likewise.
26590 (setkey): Likewise.
26591 * crypt/md5.c (md5_init_ctx): Likewise.
26592 (md5_read_ctx): Likewise.
26593 (md5_finish_ctx): Likewise.
26594 (md5_stream): Likewise.
26595 (md5_buffer): Likewise.
26596 (md5_process_bytes): Likewise.
26597 * crypt/sha256.c (__sha256_init_ctx): Likewise.
26598 (__sha256_finish_ctx): Likewise.
26599 (__sha256_process_bytes): Likewise.
26600 * crypt/sha512.c (__sha512_init_ctx): Likewise.
26601 (__sha512_finish_ctx): Likewise.
26602 (__sha512_process_bytes): Likewise.
26603 * ctype/isctype.c (__isctype): Likewise.
26604 * debug/backtrace.c (__backtrace): Likewise.
26605 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
26606 * debug/fgets_chk.c (__fgets_chk): Likewise.
26607 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
26608 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
26609 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26610 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26611 * debug/memset_chk.c (__memset_chk): Likewise.
26612 * debug/strcat_chk.c (__strcat_chk): Likewise.
26613 * debug/strncat_chk.c (__strncat_chk): Likewise.
26614 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
26615 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
26616 * dirent/dirfd.c (dirfd): Likewise.
26617 * dirent/getdents.c (__getdirentries): Likewise.
26618 * dirent/getdents64.c (getdirentries64): Likewise.
26619 * dirent/rewinddir.c (__rewinddir): Likewise.
26620 * dirent/seekdir.c (seekdir): Likewise.
26621 * dirent/telldir.c (telldir): Likewise.
26622 * elf/sln.c (makesymlinks): Likewise.
26623 (makesymlink): Likewise.
26624 * gmon/gmon.c (__moncontrol): Likewise.
26625 (__monstartup): Likewise.
26626 (write_hist): Likewise.
26627 (write_call_graph): Likewise.
26628 (write_bb_counts): Likewise.
26629 * grp/setgroups.c (setgroups): Likewise.
26630 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26631 * inet/inet_net.c (inet_network): Likewise.
26632 * inet/inet_netof.c (inet_netof): Likewise.
26633 * inet/rcmd.c (rresvport_af): Likewise.
26634 (rresvport): Likewise.
26635 * io/access.c (__access): Likewise.
26636 * io/chdir.c (__chdir): Likewise.
26637 * io/chmod.c (__chmod): Likewise.
26638 * io/chown.c (__chown): Likewise.
26639 * io/close.c (__close): Likewise.
26640 * io/creat.c (creat): Likewise.
26641 * io/creat64.c (creat64): Likewise.
26642 * io/dup.c (__dup): Likewise.
26643 * io/dup2.c (__dup2): Likewise.
26644 * io/dup3.c (__dup3): Likewise.
26645 * io/euidaccess.c (__euidaccess): Likewise.
26646 * io/faccessat.c (faccessat): Likewise.
26647 * io/fchmod.c (__fchmod): Likewise.
26648 * io/fchmodat.c (fchmodat): Likewise.
26649 * io/fchown.c (__fchown): Likewise.
26650 * io/fchownat.c (fchownat): Likewise.
26651 * io/fcntl.c (__fcntl): Likewise.
26652 * io/flock.c (__flock): Likewise.
26653 * io/fts.c (fts_load): Likewise.
26654 (fts_close): Likewise.
26655 (fts_read): Likewise.
26656 (fts_set): Likewise.
26657 (fts_children): Likewise.
26658 (fts_build): Likewise.
26659 (fts_stat): Likewise.
26660 (fts_sort): Likewise.
26661 (fts_alloc): Likewise.
26662 (fts_lfree): Likewise.
26663 (fts_palloc): Likewise.
26664 (fts_padjust): Likewise.
26665 (fts_maxarglen): Likewise.
26666 (fts_safe_changedir): Likewise.
26667 * io/getwd.c (getwd): Likewise.
26668 * io/isatty.c (__isatty): Likewise.
26669 * io/lchown.c (__lchown): Likewise.
26670 * io/link.c (__link): Likewise.
26671 * io/linkat.c (linkat): Likewise.
26672 * io/lseek.c (__libc_lseek): Likewise.
26673 * io/mkdir.c (__mkdir): Likewise.
26674 * io/mkdirat.c (mkdirat): Likewise.
26675 * io/mkfifo.c (mkfifo): Likewise.
26676 * io/mkfifoat.c (mkfifoat): Likewise.
26677 * io/open.c (__libc_open): Likewise.
26678 * io/open64.c (__libc_open64): Likewise.
26679 * io/readlink.c (__readlink): Likewise.
26680 * io/readlinkat.c (readlinkat): Likewise.
26681 * io/rmdir.c (__rmdir): Likewise.
26682 * io/symlink.c (__symlink): Likewise.
26683 * io/symlinkat.c (symlinkat): Likewise.
26684 * io/ttyname.c (ttyname): Likewise.
26685 * io/ttyname_r.c (__ttyname_r): Likewise.
26686 * io/umask.c (__umask): Likewise.
26687 * io/unlink.c (__unlink): Likewise.
26688 * io/unlinkat.c (unlinkat): Likewise.
26689 * io/utime.c (utime): Likewise.
26690 * libio/clearerr.c (clearerr): Likewise.
26691 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
26692 * libio/feof.c (_IO_feof): Likewise.
26693 * libio/feof_u.c (feof_unlocked): Likewise.
26694 * libio/ferror.c (_IO_ferror): Likewise.
26695 * libio/ferror_u.c (ferror_unlocked): Likewise.
26696 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26697 * libio/fileno.c (__fileno): Likewise.
26698 * libio/fputc.c (fputc): Likewise.
26699 * libio/fputc_u.c (fputc_unlocked): Likewise.
26700 * libio/fputwc.c (fputwc): Likewise.
26701 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
26702 * libio/freopen.c (freopen): Likewise.
26703 * libio/freopen64.c (freopen64): Likewise.
26704 * libio/fseek.c (fseek): Likewise.
26705 * libio/fseeko.c (fseeko): Likewise.
26706 * libio/fseeko64.c (fseeko64): Likewise.
26707 * libio/ftello.c (__ftello): Likewise.
26708 * libio/ftello64.c (ftello64): Likewise.
26709 * libio/fwide.c (fwide): Likewise.
26710 * libio/genops.c (_IO_un_link): Likewise.
26711 (_IO_link_in): Likewise.
26712 (_IO_least_marker): Likewise.
26713 (_IO_switch_to_main_get_area): Likewise.
26714 (_IO_switch_to_backup_area): Likewise.
26715 (_IO_switch_to_get_mode): Likewise.
26716 (_IO_free_backup_area): Likewise.
26717 (_IO_switch_to_put_mode): Likewise.
26718 (__overflow): Likewise.
26719 (__underflow): Likewise.
26720 (__uflow): Likewise.
26721 (_IO_setb): Likewise.
26722 (_IO_doallocbuf): Likewise.
26723 (_IO_default_underflow): Likewise.
26724 (_IO_default_uflow): Likewise.
26725 (_IO_default_xsputn): Likewise.
26726 (_IO_sgetn): Likewise.
26727 (_IO_default_xsgetn): Likewise.
26728 (_IO_sync): Likewise.
26729 (_IO_default_setbuf): Likewise.
26730 (_IO_default_seekpos): Likewise.
26731 (_IO_default_doallocate): Likewise.
26732 (_IO_init): Likewise.
26733 (_IO_old_init): Likewise.
26734 (_IO_default_sync): Likewise.
26735 (_IO_default_finish): Likewise.
26736 (_IO_default_seekoff): Likewise.
26737 (_IO_sputbackc): Likewise.
26738 (_IO_sungetc): Likewise.
26739 (_IO_set_column): Likewise.
26740 (_IO_set_column): Likewise.
26741 (_IO_adjust_column): Likewise.
26742 (_IO_get_column): Likewise.
26743 (_IO_init_marker): Likewise.
26744 (_IO_remove_marker): Likewise.
26745 (_IO_marker_difference): Likewise.
26746 (_IO_marker_delta): Likewise.
26747 (_IO_seekmark): Likewise.
26748 (_IO_unsave_markers): Likewise.
26749 (_IO_nobackup_pbackfail): Likewise.
26750 (_IO_default_pbackfail): Likewise.
26751 (_IO_default_seek): Likewise.
26752 (_IO_default_stat): Likewise.
26753 (_IO_default_read): Likewise.
26754 (_IO_default_write): Likewise.
26755 (_IO_default_showmanyc): Likewise.
26756 (_IO_default_imbue): Likewise.
26757 (_IO_iter_next): Likewise.
26758 (_IO_iter_file): Likewise.
26759 * libio/getc.c (_IO_getc): Likewise.
26760 * libio/getwc.c (_IO_getwc): Likewise.
26761 * libio/iofclose.c (_IO_new_fclose): Likewise.
26762 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26763 * libio/iofflush.c (_IO_fflush): Likewise.
26764 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
26765 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
26766 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
26767 * libio/iofgets.c (_IO_fgets): Likewise.
26768 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
26769 * libio/iofgetws.c (fgetws): Likewise.
26770 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
26771 * libio/iofopen64.c (_IO_fopen64): Likewise.
26772 * libio/iofopncook.c (_IO_cookie_read): Likewise.
26773 (_IO_cookie_write): Likewise.
26774 (_IO_cookie_seek): Likewise.
26775 (_IO_cookie_close): Likewise.
26776 (_IO_cookie_seekoff): Likewise.
26777 (_IO_old_cookie_seek): Likewise.
26778 * libio/iofputs.c (_IO_fputs): Likewise.
26779 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
26780 * libio/iofputws.c (fputws): Likewise.
26781 * libio/iofputws_u.c (fputws_unlocked): Likewise.
26782 * libio/iofread.c (_IO_fread): Likewise.
26783 * libio/iofread_u.c (__fread_unlocked): Likewise.
26784 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
26785 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
26786 * libio/ioftell.c (_IO_ftell): Likewise.
26787 * libio/iofwrite.c (_IO_fwrite): Likewise.
26788 * libio/iogetdelim.c (_IO_getdelim): Likewise.
26789 * libio/iogets.c (_IO_gets): Likewise.
26790 * libio/iopadn.c (_IO_padn): Likewise.
26791 * libio/iopopen.c (_IO_new_proc_open): Likewise.
26792 (_IO_new_popen): Likewise.
26793 (_IO_new_proc_close): Likewise.
26794 * libio/ioputs.c (_IO_puts): Likewise.
26795 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
26796 (_IO_seekoff): Likewise.
26797 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
26798 (_IO_seekpos): Likewise.
26799 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
26800 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
26801 * libio/ioungetc.c (_IO_ungetc): Likewise.
26802 * libio/ioungetwc.c (ungetwc): Likewise.
26803 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26804 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
26805 * libio/iowpadn.c (_IO_wpadn): Likewise.
26806 * libio/libc_fatal.c (__libc_fatal): Likewise.
26807 * libio/memstream.c (__open_memstream): Likewise.
26808 (_IO_mem_sync): Likewise.
26809 (_IO_mem_finish): Likewise.
26810 * libio/oldfileops.c (_IO_old_file_init): Likewise.
26811 (_IO_old_file_close_it): Likewise.
26812 (_IO_old_file_finish): Likewise.
26813 (_IO_old_file_fopen): Likewise.
26814 (_IO_old_file_attach): Likewise.
26815 (_IO_old_file_setbuf): Likewise.
26816 (_IO_old_do_write): Likewise.
26817 (old_do_write): Likewise.
26818 (_IO_old_file_underflow): Likewise.
26819 (_IO_old_file_overflow): Likewise.
26820 (_IO_old_file_sync): Likewise.
26821 (_IO_old_file_seekoff): Likewise.
26822 (_IO_old_file_write): Likewise.
26823 (_IO_old_file_xsputn): Likewise.
26824 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
26825 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26826 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
26827 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
26828 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
26829 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
26830 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
26831 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
26832 (_IO_old_popen): Likewise.
26833 (_IO_old_proc_close): Likewise.
26834 * libio/oldpclose.c (__old_pclose): Likewise.
26835 * libio/pclose.c (__new_pclose): Likewise.
26836 * libio/peekc.c (_IO_peekc_locked): Likewise.
26837 * libio/putc.c (_IO_putc): Likewise.
26838 * libio/putc_u.c (putc_unlocked): Likewise.
26839 * libio/putchar.c (putchar): Likewise.
26840 * libio/putchar_u.c (putchar_unlocked): Likewise.
26841 * libio/putwc.c (putwc): Likewise.
26842 * libio/putwc_u.c (putwc_unlocked): Likewise.
26843 * libio/putwchar.c (putwchar): Likewise.
26844 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
26845 * libio/rewind.c (rewind): Likewise.
26846 * libio/setbuf.c (setbuf): Likewise.
26847 * libio/setlinebuf.c (setlinebuf): Likewise.
26848 * libio/vasprintf.c (_IO_vasprintf): Likewise.
26849 * libio/vscanf.c (_IO_vscanf): Likewise.
26850 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
26851 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
26852 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
26853 * libio/wgenops.c (_IO_least_wmarker): Likewise.
26854 (_IO_switch_to_main_wget_area): Likewise.
26855 (_IO_switch_to_wbackup_area): Likewise.
26856 (_IO_wsetb): Likewise.
26857 (_IO_wdefault_pbackfail): Likewise.
26858 (_IO_wdefault_finish): Likewise.
26859 (_IO_wdefault_uflow): Likewise.
26860 (__woverflow): Likewise.
26861 (__wuflow): Likewise.
26862 (__wunderflow): Likewise.
26863 (_IO_wdefault_xsputn): Likewise.
26864 (_IO_wdefault_xsgetn): Likewise.
26865 (_IO_wdoallocbuf): Likewise.
26866 (_IO_wdefault_doallocate): Likewise.
26867 (_IO_switch_to_wget_mode): Likewise.
26868 (_IO_free_wbackup_area): Likewise.
26869 (_IO_switch_to_wput_mode): Likewise.
26870 (_IO_sputbackwc): Likewise.
26871 (_IO_sungetwc): Likewise.
26872 (_IO_adjust_wcolumn): Likewise.
26873 (_IO_init_wmarker): Likewise.
26874 (_IO_wmarker_delta): Likewise.
26875 (_IO_seekwmark): Likewise.
26876 (_IO_unsave_wmarkers): Likewise.
26877 * libio/wmemstream.c (open_wmemstream): Likewise.
26878 (_IO_wmem_sync): Likewise.
26879 (_IO_wmem_finish): Likewise.
26880 * locale/nl_langinfo.c (nl_langinfo): Likewise.
26881 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
26882 * locale/programs/simple-hash.c (init_hash): Likewise.
26883 (delete_hash): Likewise.
26884 (insert_entry): Likewise.
26885 (set_entry): Likewise.
26886 (next_prime): Likewise.
26887 (is_prime): Likewise.
26888 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
26889 (xmalloc): Likewise.
26890 (xrealloc): Likewise.
26891 * locale/programs/xstrdup.c (xstrdup): Likewise.
26892 * localedata/collate-test.c (xstrcoll): Likewise.
26893 * localedata/xfrm-test.c (xstrcmp): Likewise.
26894 * login/getlogin_r.c (__getlogin_r): Likewise.
26895 * login/getpt.c (__posix_openpt): Likewise.
26896 * login/login_tty.c (login_tty): Likewise.
26897 * login/setlogin.c (setlogin): Likewise.
26898 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
26899 (mach_msg_destroy_port): Likewise.
26900 (mach_msg_destroy_memory): Likewise.
26901 * malloc/mcheck.c (flood): Likewise.
26902 * misc/acct.c (acct): Likewise.
26903 * misc/brk.c (__brk): Likewise.
26904 * misc/chflags.c (chflags): Likewise.
26905 * misc/chroot.c (chroot): Likewise.
26906 * misc/fchflags.c (fchflags): Likewise.
26907 * misc/fstab.c (getfsspec): Likewise.
26908 (getfsfile): Likewise.
26909 * misc/fsync.c (fsync): Likewise.
26910 * misc/ftruncate.c (__ftruncate): Likewise.
26911 * misc/ftruncate64.c (__ftruncate64): Likewise.
26912 * misc/getdomain.c (getdomainname): Likewise.
26913 (getdomainname): Likewise.
26914 * misc/gethostname.c (__gethostname): Likewise.
26915 * misc/getpass.c (getpass): Likewise.
26916 * misc/getttyent.c (skip): Likewise.
26917 (value): Likewise.
26918 * misc/gtty.c (gtty): Likewise.
26919 * misc/hsearch.c (hsearch): Likewise.
26920 (hcreate): Likewise.
26921 * misc/hsearch_r.c (__hcreate_r): Likewise.
26922 (__hdestroy_r): Likewise.
26923 * misc/ioctl.c (__ioctl): Likewise.
26924 * misc/mkdtemp.c (mkdtemp): Likewise.
26925 * misc/mkostemp.c (mkostemp): Likewise.
26926 * misc/mkostemp64.c (mkostemp64): Likewise.
26927 * misc/mkostemps.c (mkostemps): Likewise.
26928 * misc/mkostemps64.c (mkostemps64): Likewise.
26929 * misc/mkstemp.c (mkstemp): Likewise.
26930 * misc/mkstemp64.c (mkstemp64): Likewise.
26931 * misc/mkstemps.c (mkstemps): Likewise.
26932 * misc/mkstemps64.c (mkstemps64): Likewise.
26933 * misc/mktemp.c (__mktemp): Likewise.
26934 * misc/preadv.c (preadv): Likewise.
26935 * misc/preadv64.c (preadv64): Likewise.
26936 * misc/pwritev.c (pwritev): Likewise.
26937 * misc/pwritev64.c (pwritev64): Likewise.
26938 * misc/readv.c (__readv): Likewise.
26939 * misc/revoke.c (revoke): Likewise.
26940 * misc/setdomain.c (setdomainname): Likewise.
26941 * misc/setegid.c (setegid): Likewise.
26942 * misc/seteuid.c (seteuid): Likewise.
26943 * misc/sethostid.c (sethostid): Likewise.
26944 * misc/sethostname.c (sethostname): Likewise.
26945 * misc/setregid.c (__setregid): Likewise.
26946 * misc/setreuid.c (__setreuid): Likewise.
26947 * misc/sstk.c (sstk): Likewise.
26948 * misc/stty.c (stty): Likewise.
26949 * misc/syscall.c (syscall): Likewise.
26950 * misc/syslog.c (setlogmask): Likewise.
26951 * misc/truncate.c (__truncate): Likewise.
26952 * misc/truncate64.c (truncate64): Likewise.
26953 * misc/ualarm.c (ualarm): Likewise.
26954 * misc/usleep.c (usleep): Likewise.
26955 * misc/ustat.c (ustat): Likewise.
26956 * misc/writev.c (__writev): Likewise.
26957 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
26958 * nptl/old_pthread_cond_broadcast.c
26959 (__pthread_cond_broadcast_2_0): Likewise.
26960 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
26961 Likewise.
26962 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
26963 Likewise.
26964 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
26965 Likewise.
26966 * nptl/pt-raise.c (raise): Likewise.
26967 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
26968 Likewise.
26969 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
26970 * nptl/pthread_barrierattr_destroy.c
26971 (pthread_barrierattr_destroy): Likewise.
26972 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
26973 Likewise.
26974 * nptl/pthread_barrierattr_setpshared.c
26975 (pthread_barrierattr_setpshared): Likewise.
26976 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
26977 Likewise.
26978 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
26979 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
26980 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
26981 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
26982 Likewise.
26983 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
26984 Likewise.
26985 * nptl/pthread_condattr_getpshared.c
26986 (pthread_condattr_getpshared): Likewise.
26987 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
26988 Likewise.
26989 * nptl/pthread_condattr_setpshared.c
26990 (pthread_condattr_setpshared): Likewise.
26991 * nptl/pthread_detach.c (pthread_detach): Likewise.
26992 * nptl/pthread_equal.c (__pthread_equal): Likewise.
26993 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
26994 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
26995 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
26996 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
26997 Likewise.
26998 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
26999 Likewise.
27000 * nptl/pthread_mutex_getprioceiling.c
27001 (pthread_mutex_getprioceiling): Likewise.
27002 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
27003 Likewise.
27004 * nptl/pthread_mutexattr_getprotocol.c
27005 (pthread_mutexattr_getprotocol): Likewise.
27006 * nptl/pthread_mutexattr_getpshared.c
27007 (pthread_mutexattr_getpshared): Likewise.
27008 * nptl/pthread_mutexattr_getrobust.c
27009 (pthread_mutexattr_getrobust): Likewise.
27010 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
27011 Likewise.
27012 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
27013 Likewise.
27014 * nptl/pthread_mutexattr_setprioceiling.c
27015 (pthread_mutexattr_setprioceiling): Likewise.
27016 * nptl/pthread_mutexattr_setprotocol.c
27017 (pthread_mutexattr_setprotocol): Likewise.
27018 * nptl/pthread_mutexattr_setpshared.c
27019 (pthread_mutexattr_setpshared): Likewise.
27020 * nptl/pthread_mutexattr_setrobust.c
27021 (pthread_mutexattr_setrobust): Likewise.
27022 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
27023 Likewise.
27024 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
27025 Likewise.
27026 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
27027 Likewise.
27028 * nptl/pthread_rwlockattr_getkind_np.c
27029 (pthread_rwlockattr_getkind_np): Likewise.
27030 * nptl/pthread_rwlockattr_getpshared.c
27031 (pthread_rwlockattr_getpshared): Likewise.
27032 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
27033 Likewise.
27034 * nptl/pthread_rwlockattr_setkind_np.c
27035 (pthread_rwlockattr_setkind_np): Likewise.
27036 * nptl/pthread_rwlockattr_setpshared.c
27037 (pthread_rwlockattr_setpshared): Likewise.
27038 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
27039 Likewise.
27040 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
27041 Likewise.
27042 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
27043 Likewise.
27044 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
27045 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
27046 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
27047 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
27048 * nptl/sem_close.c (sem_close): Likewise.
27049 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
27050 * nptl/sem_init.c (__old_sem_init): Likewise.
27051 * nptl/sigaction.c (__sigaction): Likewise.
27052 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
27053 * posix/_exit.c (_exit): Likewise.
27054 * posix/alarm.c (alarm): Likewise.
27055 * posix/confstr.c (confstr): Likewise.
27056 * posix/fpathconf.c (__fpathconf): Likewise.
27057 * posix/getgroups.c (__getgroups): Likewise.
27058 * posix/getpgid.c (__getpgid): Likewise.
27059 * posix/group_member.c (__group_member): Likewise.
27060 * posix/pathconf.c (__pathconf): Likewise.
27061 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
27062 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
27063 * posix/setgid.c (__setgid): Likewise.
27064 * posix/setpgid.c (__setpgid): Likewise.
27065 * posix/setuid.c (__setuid): Likewise.
27066 * posix/sleep.c (__sleep): Likewise.
27067 * posix/sysconf.c (__sysconf): Likewise.
27068 * posix/times.c (__times): Likewise.
27069 * posix/uname.c (__uname): Likewise.
27070 * posix/waitid.c (__waitid): Likewise.
27071 * pwd/getpw.c (__getpw): Likewise.
27072 * resolv/base64.c (b64_pton): Likewise.
27073 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
27074 * resolv/gethnamaddr.c (Dprintf): Likewise.
27075 (gethostbyname): Likewise.
27076 (gethostbyname2): Likewise.
27077 (gethostbyaddr): Likewise.
27078 (_sethtent): Likewise.
27079 (_gethtbyname): Likewise.
27080 (_gethtbyname2): Likewise.
27081 (_gethtbyaddr): Likewise.
27082 (map_v4v6_address): Likewise.
27083 (map_v4v6_hostent): Likewise.
27084 (addrsort): Likewise.
27085 (ht_sethostent): Likewise.
27086 (ht_gethostbyname): Likewise.
27087 (ht_gethostbyaddr): Likewise.
27088 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
27089 (inet_net_ntop_ipv4): Likewise.
27090 * resolv/inet_neta.c (inet_neta): Likewise.
27091 * resolv/inet_ntop.c (inet_ntop): Likewise.
27092 (inet_ntop4): Likewise.
27093 (inet_ntop6): Likewise.
27094 * resolv/inet_pton.c (__inet_pton): Likewise.
27095 (inet_pton4): Likewise.
27096 (inet_pton6): Likewise.
27097 * resolv/res_debug.c (loc_aton): Likewise.
27098 (loc_ntoa): Likewise.
27099 * resource/getpriority.c (__getpriority): Likewise.
27100 * resource/getrusage.c (__getrusage): Likewise.
27101 * resource/nice.c (nice): Likewise.
27102 * resource/setpriority.c (__setpriority): Likewise.
27103 * resource/setrlimit64.c (setrlimit64): Likewise.
27104 * resource/vlimit.c (vlimit): Likewise.
27105 * resource/vtimes.c (vtimes): Likewise.
27106 * rt/aio_error.c (aio_error): Likewise.
27107 * rt/aio_return.c (aio_return): Likewise.
27108 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
27109 * signal/kill.c (__kill): Likewise.
27110 * signal/killpg.c (killpg): Likewise.
27111 * signal/raise.c (raise): Likewise.
27112 * signal/sigaction.c (__sigaction): Likewise.
27113 * signal/sigaddset.c (sigaddset): Likewise.
27114 * signal/sigaltstack.c (sigaltstack): Likewise.
27115 * signal/sigandset.c (sigandset): Likewise.
27116 * signal/sigblock.c (__sigblock): Likewise.
27117 * signal/sigdelset.c (sigdelset): Likewise.
27118 * signal/sigempty.c (sigemptyset): Likewise.
27119 * signal/sigfillset.c (sigfillset): Likewise.
27120 * signal/sighold.c (sighold): Likewise.
27121 * signal/sigignore.c (sigignore): Likewise.
27122 * signal/sigintr.c (siginterrupt): Likewise.
27123 * signal/sigisempty.c (sigisemptyset): Likewise.
27124 * signal/sigismem.c (sigismember): Likewise.
27125 * signal/signal.c (signal): Likewise.
27126 * signal/sigorset.c (sigorset): Likewise.
27127 * signal/sigpause.c (__sigpause): Likewise.
27128 * signal/sigpending.c (sigpending): Likewise.
27129 * signal/sigprocmask.c (__sigprocmask): Likewise.
27130 * signal/sigrelse.c (sigrelse): Likewise.
27131 * signal/sigreturn.c (__sigreturn): Likewise.
27132 * signal/sigset.c (sigset): Likewise.
27133 * signal/sigsetmask.c (__sigsetmask): Likewise.
27134 * signal/sigstack.c (sigstack): Likewise.
27135 * signal/sigsuspend.c (__sigsuspend): Likewise.
27136 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
27137 * signal/sysv_signal.c (__sysv_signal): Likewise.
27138 * socket/accept.c (accept): Likewise.
27139 * socket/accept4.c (__libc_accept4): Likewise.
27140 * socket/bind.c (__bind): Likewise.
27141 * socket/connect.c (__connect): Likewise.
27142 * socket/getpeername.c (getpeername): Likewise.
27143 * socket/getsockname.c (__getsockname): Likewise.
27144 * socket/getsockopt.c (getsockopt): Likewise.
27145 * socket/listen.c (__listen): Likewise.
27146 * socket/recv.c (__recv): Likewise.
27147 * socket/recvmsg.c (__recvmsg): Likewise.
27148 * socket/send.c (__send): Likewise.
27149 * socket/sendmsg.c (__sendmsg): Likewise.
27150 * socket/shutdown.c (shutdown): Likewise.
27151 * socket/sockatmark.c (sockatmark): Likewise.
27152 * socket/socket.c (__socket): Likewise.
27153 * stdio-common/ctermid.c (ctermid): Likewise.
27154 * stdio-common/cuserid.c (cuserid): Likewise.
27155 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
27156 * stdio-common/remove.c (remove): Likewise.
27157 * stdio-common/rename.c (rename): Likewise.
27158 * stdio-common/renameat.c (renameat): Likewise.
27159 * stdio-common/tempname.c (__gen_tempname): Likewise.
27160 * stdio-common/xbug.c (InitBuffer): Likewise.
27161 (AppendToBuffer): Likewise.
27162 (ReadFile): Likewise.
27163 * stdlib/a64l.c (a64l): Likewise.
27164 * stdlib/drand48_r.c (drand48_r): Likewise.
27165 * stdlib/getcontext.c (getcontext): Likewise.
27166 * stdlib/getenv.c (getenv): Likewise.
27167 * stdlib/l64a.c (l64a): Likewise.
27168 * stdlib/llabs.c (llabs): Likewise.
27169 * stdlib/lldiv.c (lldiv): Likewise.
27170 * stdlib/lrand48_r.c (lrand48_r): Likewise.
27171 * stdlib/mrand48_r.c (mrand48_r): Likewise.
27172 * stdlib/putenv.c (putenv): Likewise.
27173 * stdlib/random.c (__srandom): Likewise.
27174 (__initstate): Likewise.
27175 (__setstate): Likewise.
27176 * stdlib/random_r.c (__srandom_r): Likewise.
27177 (__setstate_r): Likewise.
27178 (__random_r): Likewise.
27179 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
27180 * stdlib/setcontext.c (setcontext): Likewise.
27181 * stdlib/setenv.c (setenv): Likewise.
27182 (unsetenv): Likewise.
27183 * stdlib/srand48.c (srand48): Likewise.
27184 * stdlib/srand48_r.c (__srand48_r): Likewise.
27185 * stdlib/swapcontext.c (swapcontext): Likewise.
27186 * stdlib/system.c (__libc_system): Likewise.
27187 * stdlib/tst-strtod.c (expand): Likewise.
27188 * stdlib/tst-strtol.c (expand): Likewise.
27189 * stdlib/tst-strtoll.c (expand): Likewise.
27190 * streams/fattach.c (fattach): Likewise.
27191 * streams/fdetach.c (fdetach): Likewise.
27192 * streams/getmsg.c (getmsg): Likewise.
27193 * streams/isastream.c (isastream): Likewise.
27194 * string/ffs.c (__ffs): Likewise.
27195 * string/ffsll.c (ffsll): Likewise.
27196 * string/memcmp.c (memcmp_common_alignment): Likewise.
27197 (memcmp_not_common_alignment): Likewise.
27198 (MEMCMP): Likewise.
27199 * string/memcpy.c (memcpy): Likewise.
27200 * string/memmove.c (MEMMOVE): Likewise.
27201 * string/memset.c (memset): Likewise.
27202 * string/rawmemchr.c (RAWMEMCHR): Likewise.
27203 * string/strchrnul.c (STRCHRNUL): Likewise.
27204 * string/strerror.c (strerror): Likewise.
27205 * string/strndup.c (__strndup): Likewise.
27206 * string/strverscmp.c (__strverscmp): Likewise.
27207 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
27208 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
27209 (clnttcp_freeres): Likewise.
27210 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
27211 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
27212 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
27213 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
27214 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
27215 (xdr_callhdr): Likewise.
27216 * sunrpc/rpcinfo.c (udpping): Likewise.
27217 (tcpping): Likewise.
27218 (pstatus): Likewise.
27219 (pmapdump): Likewise.
27220 (brdcst): Likewise.
27221 (deletereg): Likewise.
27222 (getprognum): Likewise.
27223 (getvers): Likewise.
27224 (get_inet_address): Likewise.
27225 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
27226 * sunrpc/svc_udp.c (svcudp_create): Likewise.
27227 (svcudp_stat): Likewise.
27228 (svcudp_recv): Likewise.
27229 (svcudp_reply): Likewise.
27230 (svcudp_getargs): Likewise.
27231 (svcudp_freeargs): Likewise.
27232 (svcudp_destroy): Likewise.
27233 * sunrpc/xdr.c (xdr_bytes): Likewise.
27234 (xdr_netobj): Likewise.
27235 (xdr_string): Likewise.
27236 (xdr_wrapstring): Likewise.
27237 * sunrpc/xdr_float.c (xdr_float): Likewise.
27238 (xdr_double): Likewise.
27239 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
27240 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
27241 * sysvipc/ftok.c (ftok): Likewise.
27242 * sysvipc/msgctl.c (msgctl): Likewise.
27243 * sysvipc/msgget.c (msgget): Likewise.
27244 * sysvipc/msgrcv.c (msgrcv): Likewise.
27245 * sysvipc/msgsnd.c (msgsnd): Likewise.
27246 * sysvipc/semget.c (semget): Likewise.
27247 * sysvipc/semop.c (semop): Likewise.
27248 * sysvipc/shmat.c (shmat): Likewise.
27249 * sysvipc/shmctl.c (shmctl): Likewise.
27250 * sysvipc/shmdt.c (shmdt): Likewise.
27251 * sysvipc/shmget.c (shmget): Likewise.
27252 * termios/cfmakeraw.c (cfmakeraw): Likewise.
27253 * termios/speed.c (cfgetospeed): Likewise.
27254 (cfgetispeed): Likewise.
27255 (cfsetospeed): Likewise.
27256 (cfsetispeed): Likewise.
27257 * termios/tcflow.c (tcflow): Likewise.
27258 * termios/tcflush.c (tcflush): Likewise.
27259 * termios/tcgetattr.c (__tcgetattr): Likewise.
27260 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
27261 * termios/tcgetsid.c (tcgetsid): Likewise.
27262 * termios/tcsendbrk.c (tcsendbreak): Likewise.
27263 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
27264 * time/adjtime.c (__adjtime): Likewise.
27265 * time/dysize.c (dysize): Likewise.
27266 * time/ftime.c (ftime): Likewise.
27267 * time/getitimer.c (__getitimer): Likewise.
27268 * time/gettimeofday.c (__gettimeofday): Likewise.
27269 * time/gmtime.c (__gmtime_r): Likewise.
27270 (gmtime): Likewise.
27271 * time/localtime.c (__localtime_r): Likewise.
27272 (localtime): Likewise.
27273 * time/offtime.c (__offtime): Likewise.
27274 * time/settimeofday.c (__settimeofday): Likewise.
27275 * time/stime.c (stime): Likewise.
27276 * time/strftime_l.c (tm_diff): Likewise.
27277 (iso_week_days): Likewise.
27278 * time/strptime.c (strptime): Likewise.
27279 * time/time.c (time): Likewise.
27280 * time/timespec_get.c (timespec_get): Likewise.
27281 * time/tzset.c (tzset_internal): Likewise.
27282 (compute_change): Likewise.
27283 (__tz_compute): Likewise.
27284 * wcsmbs/btowc.c (__btowc): Likewise.
27285 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
27286 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
27287 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
27288 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
27289 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
27290 * wcsmbs/wcscat.c (__wcscat): Likewise.
27291 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27292 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
27293 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
27294 * wcsmbs/wcscspn.c (wcscspn): Likewise.
27295 * wcsmbs/wcsdup.c (wcsdup): Likewise.
27296 * wcsmbs/wcslen.c (__wcslen): Likewise.
27297 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
27298 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
27299 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
27300 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
27301 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27302 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
27303 * wcsmbs/wcsspn.c (wcsspn): Likewise.
27304 * wcsmbs/wcsstr.c (wcsstr): Likewise.
27305 * wcsmbs/wcstok.c (wcstok): Likewise.
27306 * wcsmbs/wctob.c (wctob): Likewise.
27307 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
27308 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27309 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
27310 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
27311 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
27312 * wcsmbs/wmemset.c (__wmemset): Likewise.
27313 * wctype/wcfuncs.c (__towlower): Likewise.
27314 (__towupper): Likewise.
27315
27316 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
27317 (lll_unlock_elision): Add adapt_count parameter.
27318
27319 2015-10-15 Joseph Myers <joseph@codesourcery.com>
27320
27321 * sysdeps/nptl/configure.ac: Do not give errors based on the
27322 results of top-level configure tests.
27323 * sysdeps/nptl/configure: Regenerated.
27324
27325 * configure.ac (libc_cv_Bgroup): Remove configure test.
27326 * configure: Regenerated.
27327 * config.make.in (have-Bgroup): Remove variable.
27328
27329 * configure.ac (sizeof_long_double): Remove configure test.
27330 * configure: Regenerated.
27331 * config.make.in (sizeof-long-double): Remove variable.
27332
27333 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
27334 * configure: Regenerated.
27335 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
27336 variable.
27337 (exceptions): Likewise.
27338 * sysdeps/arm/configure: Regenerated.
27339 * config.make.in (exceptions): Remove variable.
27340 * Makeconfig (uses-callbacks): Use -fexceptions instead of
27341 $(exceptions).
27342 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
27343 (CFLAGS-vdprintf_chk.c): Likewise.
27344 (CFLAGS-printf_chk.c): Likewise.
27345 (CFLAGS-fprintf_chk.c): Likewise.
27346 (CFLAGS-vprintf_chk.c): Likewise.
27347 (CFLAGS-vfprintf_chk.c): Likewise.
27348 (CFLAGS-gets_chk.c): Likewise.
27349 (CFLAGS-fgets_chk.c): Likewise.
27350 (CFLAGS-fgets_u_chk.c): Likewise.
27351 (CFLAGS-fread_chk.c): Likewise.
27352 (CFLAGS-fread_u_chk.c): Likewise.
27353 (CFLAGS-wprintf_chk.c): Likewise.
27354 (CFLAGS-fwprintf_chk.c): Likewise.
27355 (CFLAGS-vwprintf_chk.c): Likewise.
27356 (CFLAGS-vfwprintf_chk.c): Likewise.
27357 (CFLAGS-fgetws_chk.c): Likewise.
27358 (CFLAGS-fgetws_u_chk.c): Likewise.
27359 * libio/Makefile (CFLAGS-fileops.c): Likewise.
27360 (CFLAGS-fputc.c): Likewise.
27361 (CFLAGS-fputwc.c): Likewise.
27362 (CFLAGS-freopen64.c): Likewise.
27363 (CFLAGS-freopen.c): Likewise.
27364 (CFLAGS-fseek.c): Likewise.
27365 (CFLAGS-fseeko64.c): Likewise.
27366 (CFLAGS-fseeko.c): Likewise.
27367 (CFLAGS-ftello64.c): Likewise.
27368 (CFLAGS-ftello.c): Likewise.
27369 (CFLAGS-fwide.c): Likewise.
27370 (CFLAGS-genops.c): Likewise.
27371 (CFLAGS-getc.c): Likewise.
27372 (CFLAGS-getchar.c): Likewise.
27373 (CFLAGS-getwc.c): Likewise.
27374 (CFLAGS-getwchar.c): Likewise.
27375 (CFLAGS-iofclose.c): Likewise.
27376 (CFLAGS-iofflush.c): Likewise.
27377 (CFLAGS-iofgetpos64.c): Likewise.
27378 (CFLAGS-iofgetpos.c): Likewise.
27379 (CFLAGS-iofgets.c): Likewise.
27380 (CFLAGS-iofgetws.c): Likewise.
27381 (CFLAGS-iofputs.c): Likewise.
27382 (CFLAGS-iofputws.c): Likewise.
27383 (CFLAGS-iofread.c): Likewise.
27384 (CFLAGS-iofsetpos64.c): Likewise.
27385 (CFLAGS-iofsetpos.c): Likewise.
27386 (CFLAGS-ioftell.c): Likewise.
27387 (CFLAGS-iofwrite.c): Likewise.
27388 (CFLAGS-iogetdelim.c): Likewise.
27389 (CFLAGS-iogetline.c): Likewise.
27390 (CFLAGS-iogets.c): Likewise.
27391 (CFLAGS-iogetwline.c): Likewise.
27392 (CFLAGS-ioputs.c): Likewise.
27393 (CFLAGS-ioseekoff.c): Likewise.
27394 (CFLAGS-ioseekpos.c): Likewise.
27395 (CFLAGS-iosetbuffer.c): Likewise.
27396 (CFLAGS-iosetvbuf.c): Likewise.
27397 (CFLAGS-ioungetc.c): Likewise.
27398 (CFLAGS-ioungetwc.c): Likewise.
27399 (CFLAGS-oldfileops.c): Likewise.
27400 (CFLAGS-oldiofclose.c): Likewise.
27401 (CFLAGS-oldiofgetpos64.c): Likewise.
27402 (CFLAGS-oldiofgetpos.c): Likewise.
27403 (CFLAGS-oldiofsetpos64.c): Likewise.
27404 (CFLAGS-oldiofsetpos.c): Likewise.
27405 (CFLAGS-peekc.c): Likewise.
27406 (CFLAGS-putc.c): Likewise.
27407 (CFLAGS-putchar.c): Likewise.
27408 (CFLAGS-putwc.c): Likewise.
27409 (CFLAGS-putwchar.c): Likewise.
27410 (CFLAGS-rewind.c): Likewise.
27411 (CFLAGS-wfileops.c): Likewise.
27412 (CFLAGS-wgenops.c): Likewise.
27413 (CFLAGS-oldiofopen.c): Likewise.
27414 (CFLAGS-iofopen.c): Likewise.
27415 (CFLAGS-iofopen64.c): Likewise.
27416 (CFLAGS-oldtmpfile.c): Likewise.
27417 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
27418 (CFLAGS-fprintf.c): Likewise.
27419 (CFLAGS-printf.c): Likewise.
27420 (CFLAGS-vfwprintf.c): Likewise.
27421 (CFLAGS-vfscanf.c): Likewise.
27422 (CFLAGS-vfwscanf.c): Likewise.
27423 (CFLAGS-fscanf.c): Likewise.
27424 (CFLAGS-scanf.c): Likewise.
27425 (CFLAGS-isoc99_vfscanf.c): Likewise.
27426 (CFLAGS-isoc99_vscanf.c): Likewise.
27427 (CFLAGS-isoc99_fscanf.c): Likewise.
27428 (CFLAGS-isoc99_scanf.c): Likewise.
27429 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
27430 (CFLAGS-isoc99_fwscanf.c): Likewise.
27431 (CFLAGS-isoc99_vwscanf.c): Likewise.
27432 (CFLAGS-isoc99_vfwscanf.c): Likewise.
27433
27434 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
27435 after mkstemp64.
27436 * login/tst-utmp.c (do_prepare): Likewise.
27437 * rt/tst-aio.c (do_prepare): Likewise.
27438 * rt/tst-aio64.c (do_prepare): Likewise.
27439
27440 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
27441
27442 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27443 (__lll_lock_elision): Remove adapt_count decrement...
27444 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
27445 (__lll_trylock_elision): Likewise.
27446 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
27447 (__lll_unlock_elision): ... to here. And utilize
27448 new adapt_count parameter.
27449 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
27450 (__lll_unlock_elision): Update to include adapt_count
27451 parameter.
27452 (lll_unlock_elision): Pass pointer to adapt_count
27453 variable.
27454
27455 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
27456
27457 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
27458 Add elision adapt_count parameter to list of arguments.
27459 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
27460 (lll_unlock_elision): Update with new parameter list
27461 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
27462 (lll_unlock_elision): Likewise.
27463 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
27464 (lll_unlock_elision): Likewise.
27465
27466 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
27467
27468 [BZ #19122]
27469 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
27470 attribute_hidden.
27471
27472 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
27473 attribute_hidden.
27474 [IS_IN (rtld)] (__strdup): Likewise.
27475 [IS_IN (rtld)] (__strerror_r): Likewise.
27476 [IS_IN (rtld)] (__strsep_g): Likewise.
27477 [IS_IN (rtld)] (memchr): Likewise.
27478 [IS_IN (rtld)] (memcmp): Likewise.
27479 [IS_IN (rtld)] (memcpy): Likewise.
27480 [IS_IN (rtld)] (memmove): Likewise.
27481 [IS_IN (rtld)] (memset): Likewise.
27482 [IS_IN (rtld)] (rawmemchr): Likewise.
27483 [IS_IN (rtld)] (stpcpy): Likewise.
27484 [IS_IN (rtld)] (strchr): Likewise.
27485 [IS_IN (rtld)] (strcmp): Likewise.
27486 [IS_IN (rtld)] (strlen): Likewise.
27487 [IS_IN (rtld)] (strnlen): Likewise.
27488 [IS_IN (rtld)] (strsep): Likewise.
27489
27490 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
27491 attribute_hidden.
27492 [IS_IN (rtld)] (__strtoul_internal): Likewise.
27493
27494 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
27495 attribute_hidden.
27496 [IS_IN (rtld)] (__libc_sigaction): Likewise.
27497
27498 * include/setjmp.h (__longjmp): Add attribute_hidden.
27499 [IS_IN (rtld)] (__sigsetjmp): Likewise.
27500
27501 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
27502 Add attribute_hidden.
27503
27504 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
27505 [IS_IN (rtld)] (__open): Likewise.
27506 [IS_IN (rtld)] (__fcntl): Likewise.
27507
27508 * include/dirent.h (__opendirat): Add attribute_hidden.
27509 (__getdents): Likewise.
27510 (__getdents64): Likewise.
27511 (__alloc_dir): Likewise.
27512 [IS_IN (rtld)] (__closedir): Likewise.
27513 [IS_IN (rtld)] (__fdopendir): Likewise.
27514 [IS_IN (rtld)] (__readdir): Likewise.
27515 [IS_IN (rtld)] (__readdir64): Likewise.
27516 [IS_IN (rtld)] (__rewinddir): Likewise.
27517
27518 * include/dlfcn.h (_dl_catch_error): Moved to ...
27519 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
27520 attribute_hidden.
27521
27522 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
27523 (_itoa_word): Likewise.
27524
27525 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
27526 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
27527 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
27528 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
27529 (_dl_higher_prime_number): Likewise.
27530 (_dl_debug_printf_c): Likewise.
27531 (_dl_signal_cerror): Likewise.
27532 (_dl_receive_error): Likewise.
27533 (_dl_reloc_bad_type): Likewise.
27534 (_dl_resolve_conflicts): Likewise.
27535 (_dl_check_all_versions): Likewise.
27536 (_dl_check_map_versions): Likewise.
27537 (_dl_sort_fini): Likewise.
27538 (_dl_debug_initialize): Likewise.
27539 (_dl_init_paths): Likewise.
27540 (_dl_show_auxv): Likewise.
27541 (_dl_next_ld_env_entry): Likewise.
27542 (_dl_important_hwcaps): Likewise.
27543 (_dl_load_cache_lookup): Likewise.
27544 (_dl_update_slotinfo): Likewise.
27545 (_dl_show_scope): Likewise.
27546
27547 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
27548 attribute_hidden.
27549 (_wordcopy_fwd_dest_aligned): Likewise.
27550 (_wordcopy_bwd_aligned): Likewise.
27551 (_wordcopy_bwd_dest_aligned): Likewise.
27552
27553 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
27554 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
27555 Likewise.
27556 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
27557 Likewise.
27558 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
27559
27560 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
27561
27562 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
27563 GCC 5 requirement.
27564
27565 2015-10-15 Joseph Myers <joseph@codesourcery.com>
27566
27567 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
27568 test.
27569 * sysdeps/i386/configure: Regenerated.
27570 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
27571 code unconditional.
27572
27573 * configure.ac (libc_cv_asm_previous_directive): Remove configure
27574 test.
27575 (libc_cv_asm_popsection_directive): Likewise.
27576 * configure: Regenerated.
27577 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
27578 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
27579 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
27580 (__make_section_unallocated): Make definition unconditional.
27581 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
27582 Remove conditional definition.
27583 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
27584 (__make_section_unallocated): Likewise.
27585
27586 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
27587 * configure: Regenerated.
27588 * config.make.in (static-libgcc): Remove variable.
27589 * Makerules (build-shlib-helper): Use -static-libgcc instead of
27590 $(static-libgcc).
27591 (build-module-helper): Likewise.
27592
27593 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
27594 * configure: Regenerated.
27595
27596 2015-10-15 Florian Weimer <fweimer@redhat.com>
27597
27598 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
27599 (struct char_buffer): New type.
27600 (char_buffer_start, char_buffer_size, char_buffer_error)
27601 (char_buffer_rewind, char_buffer_add): New functions.
27602 (ADDW): Remove macro, replaced by the char_buffer_add function.
27603 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
27604 of extend_alloca. Make control flow more explicit.
27605
27606 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
27607
27608 [BZ #19137]
27609 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27610 Add -fomit-frame-pointer.
27611 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
27612
27613 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
27614
27615 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
27616 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
27617 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
27618 only if !__GNUC_PREREQ (5,0).
27619 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
27620 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
27621 (INTERNAL_SYSCALL_NCS): Likewise.
27622 (LOADREGS_0): New macro for GCC 5.
27623 (ASMARGS_0): Likewise.
27624 (LOADREGS_1): Likewise.
27625 (ASMARGS_1): Likewise.
27626 (LOADREGS_2): Likewise.
27627 (ASMARGS_2): Likewise.
27628 (LOADREGS_3): Likewise.
27629 (ASMARGS_3): Likewise.
27630 (LOADREGS_4): Likewise.
27631 (ASMARGS_4): Likewise.
27632 (LOADREGS_5): Likewise.
27633 (ASMARGS_5): Likewise.
27634 (LOADREGS_6): Likewise.
27635 (ASMARGS_6): Likewise.
27636
27637 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
27638
27639 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
27640 -fomit-frame-pointer.
27641 (CFLAGS-mmap64.c): Likewise.
27642 (CFLAGS-semtimedop.c): Likewise.
27643 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
27644 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
27645 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27646 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27647
27648 2015-10-15 Florian Weimer <fweimer@redhat.com>
27649
27650 [BZ #18928]
27651 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
27652 _dl_pointer_guard member.
27653 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
27654 initializer.
27655 (security_init): Always set up pointer guard.
27656 (process_envvars): Do not process LD_POINTER_GUARD.
27657
27658 2015-10-14 Joseph Myers <joseph@codesourcery.com>
27659
27660 [BZ #19134]
27661 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
27662 (.LC2): Likewise.
27663 (.LC3): Likewise.
27664 (__lround): Do not add 0.5 to integer or out-of-range arguments.
27665
27666 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
27667
27668 [BZ #19129]
27669 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
27670 r0 and r1.
27671
27672 2015-10-14 Namhyung Kim <namhyung@gmail.com>
27673
27674 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
27675
27676 2015-10-14 Carlos O'Donell <carlos@redhat.com>
27677
27678 * include/stap-probe.h: Fix macro definition formatting.
27679
27680 2015-10-14 Florian Weimer <fweimer@redhat.com>
27681
27682 [BZ #19074]
27683 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
27684 load and store num_ifs.
27685
27686 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
27687
27688 [BZ #18822]
27689 * sysdeps/unix/sysv/linux/sched_getaffinity.c
27690 (__sched_getaffinity_new): Add libc_hidden_proto and
27691 libc_hidden_def.
27692
27693 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
27694
27695 [BZ #19007]
27696 * scripts/localplt.awk: Also allow GOT references.
27697 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
27698 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
27699 with "+ REL R_386_GLOB_DAT".
27700 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
27701 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
27702
27703 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
27704
27705 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
27706 INLINE_SYSCALL_ERROR_RETURN_VALUE.
27707 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
27708 Likewise.
27709 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
27710 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
27711 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27712 INTERNAL_SYSCALLINTERNAL_SYSCALL and
27713 INLINE_SYSCALL_ERROR_RETURN_VALUE.
27714 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27715 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27716 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27717 Likewise.
27718 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27719
27720 2015-10-13 Joseph Myers <joseph@codesourcery.com>
27721
27722 [BZ #19125]
27723 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
27724 <math_private.h> and <stdint.h>.
27725 (__llround): Avoid conversions to and from long long int, and
27726 subtractions, where those might raise spurious exceptions.
27727 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
27728 <math_private.h> and <stdint.h>.
27729 (__llroundf): Avoid conversions to and from long long int, and
27730 subtractions, where those might raise spurious exceptions.
27731
27732 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
27733
27734 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
27735 INLINE_SYSCALL_ERROR_RETURN_VALUE.
27736 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27737 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
27738 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27739 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27740 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
27741 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
27742 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
27743 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27744 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27745 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27746 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
27747 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27748 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27749 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
27750 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
27751 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
27752 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
27753 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
27754 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
27755 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
27756 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
27757 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
27758 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
27759 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
27760 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
27761 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
27762 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27763 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
27764 (__xstat64_conv): Likewise.
27765 (__xstat32_conv): Likewise.
27766
27767 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
27768
27769 * sysdeps/unix/sysv/linux/sysdep.h: New file.
27770 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
27771 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
27772 <sysdeps/unix/sysv/linux/sysdep.h>.
27773 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
27774 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
27775 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
27776 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27777 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
27778 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
27779 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
27780 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
27781 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
27782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27784 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27785 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27786 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27787 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27788 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27789 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
27790 (sysdep-dl-routines): Add sysdep.
27791 [$(subdir) == nptl] (libpthread-routines): Likewise.
27792 [$(subdir) == rt] (librt-routines): Likewise.
27793 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
27794 PIC when branching to SYSCALL_ERROR_LABEL.
27795 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
27796 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
27797 <sysdeps/unix/sysv/linux/sysdep.h>.
27798 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
27799 (SYSCALL_ERROR_ERRNO): Removed.
27800 (SYSCALL_ERROR_HANDLER): Changed to empty.
27801 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
27802 (__syscall_error): New prototype.
27803 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
27804 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
27805
27806 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
27807
27808 [BZ #19124]
27809 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
27810 (_dl_runtime_resolve_avx512): Make it a hidden alias of
27811 _dl_runtime_resolve_avx.
27812 (_dl_runtime_profile_avx512): Make it a hidden alias of
27813 _dl_runtime_profile_avx.
27814
27815 2015-10-13 Joseph Myers <joseph@codesourcery.com>
27816
27817 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
27818 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
27819 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
27820 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
27821
27822 [BZ #16422]
27823 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
27824 New configure test.
27825 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
27826 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
27827 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
27828 <math_private.h> and <stdint.h>.
27829 (__llrint): Avoid conversions to long long int where those might
27830 raise spurious exceptions.
27831 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
27832 <math_private.h> and <stdint.h>.
27833 (__llrintf): Avoid conversions to long long int where those might
27834 raise spurious exceptions.
27835
27836 2015-10-12 Andreas Schwab <schwab@suse.de>
27837
27838 [BZ #18969]
27839 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
27840 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
27841 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
27842 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
27843 $(gen-locales).
27844 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
27845 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
27846 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
27847 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
27848 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
27849 $(gen-locales).
27850 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
27851 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
27852 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
27853 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
27854 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
27855 ($(objpfx)tst-ftell-active-handler.out)
27856 ($(objpfx)tst-ftell-append.out)
27857 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
27858 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
27859 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
27860 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
27861 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
27862 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
27863 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
27864 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
27865 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
27866 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
27867 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
27868 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
27869 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
27870 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
27871 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
27872 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
27873 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
27874 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
27875 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
27876 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
27877 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
27878 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
27879 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
27880 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
27881 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
27882 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
27883 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
27884 $(gen-locales).
27885 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
27886 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
27887 $(gen-locales).
27888 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
27889 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
27890 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
27891 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
27892 $(gen-locales).
27893 * libio/tst_wprintf2.c (main): Use explicit locale.
27894 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
27895
27896 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27897
27898 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
27899 __msg_sig_post.
27900 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
27901
27902 2015-10-09 Joseph Myers <joseph@codesourcery.com>
27903
27904 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
27905 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27906
27907 * sysdeps/arm/libm-test-ulps: Regenerated.
27908
27909 [BZ #15470]
27910 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
27911
27912 [BZ #16399]
27913 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
27914 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
27915 and <fix-fp-int-convert-overflow.h>.
27916 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
27917 FIX_DBL_LLONG_CONVERT_OVERFLOW.
27918 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
27919 and <fix-fp-int-convert-overflow.h>.
27920 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
27921 FIX_DBL_LLONG_CONVERT_OVERFLOW.
27922 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
27923 <fix-fp-int-convert-overflow.h>.
27924 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
27925 FIX_DBL_LLONG_CONVERT_OVERFLOW.
27926 * sysdeps/ieee754/dbl-64/s_lround.c: Include
27927 <fix-fp-int-convert-overflow.h>.
27928 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
27929 FIX_DBL_LLONG_CONVERT_OVERFLOW.
27930 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
27931 and <fix-fp-int-convert-overflow.h>.
27932 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
27933 FIX_DBL_LLONG_CONVERT_OVERFLOW.
27934 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
27935 <limits.h> and <fix-fp-int-convert-overflow.h>.
27936 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
27937 FIX_DBL_LLONG_CONVERT_OVERFLOW.
27938 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
27939 and <fix-fp-int-convert-overflow.h>.
27940 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
27941 FIX_DBL_LLONG_CONVERT_OVERFLOW.
27942 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
27943 and <fix-fp-int-convert-overflow.h>.
27944 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
27945 FIX_DBL_LLONG_CONVERT_OVERFLOW.
27946 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
27947
27948 2015-10-09 Carlos O'Donell <carlos@redhat.com>
27949
27950 [BZ #18589]
27951 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
27952 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
27953 $(gen-locales).
27954
27955 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27956 Phil Blundell <pb@pbcl.net>
27957
27958 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
27959 * nptl/tst-cancel26.c: New file.
27960 * nptl/tst-cancel27.c: Likewise.
27961
27962 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
27963
27964 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
27965 __ILP32__ isn't defined.
27966 (lrint): Likewise.
27967 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
27968 (lrintf): Likewise.
27969 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
27970 (lrintl): Likewise.
27971 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
27972 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
27973 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
27974
27975 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27976
27977 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
27978 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
27979
27980 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
27981 file.
27982 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
27983 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
27984
27985 2015-10-09 Joseph Myers <joseph@codesourcery.com>
27986
27987 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
27988 configure test.
27989 * sysdeps/i386/configure: Regenerated.
27990 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
27991 configure test.
27992 * sysdeps/x86_64/configure: Regenerated.
27993 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
27994 Make code unconditional.
27995
27996 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
27997 test.
27998 * sysdeps/i386/configure: Regenerated.
27999 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
28000 test.
28001 * sysdeps/x86_64/configure: Regenerated.
28002 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
28003 Make code unconditional.
28004 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
28005 Likewise.
28006 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
28007 Likewise.
28008 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28009 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
28010 code unconditional.
28011 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28012 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
28013 code unconditional.
28014 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28015 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
28016 code unconditional.
28017 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
28018 code unconditional.
28019 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28020 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
28021 code unconditional.
28022 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28023 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
28024 code unconditional.
28025 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28026 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
28027 code unconditional.
28028 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28029 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
28030 code unconditional.
28031 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28032 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
28033
28034 [BZ #19095]
28035 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
28036 mantissa to long int before shifting left.
28037
28038 2015-10-08 Joseph Myers <joseph@codesourcery.com>
28039
28040 [BZ #19094]
28041 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
28042 <limits.h>.
28043 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28044 when result overflows but exception would not result from cast.
28045 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
28046 <limits.h>.
28047 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28048 when result overflows but exception would not result from cast.
28049 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
28050 <limits.h>.
28051 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28052 when result overflows but exception would not result from cast.
28053 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
28054 <limits.h>.
28055 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28056 when result overflows but exception would not result from cast.
28057 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
28058 <limits.h>.
28059 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28060 when result overflows but exception would not result from cast.
28061 * math/libm-test.inc (lrint_test_data): Add more tests.
28062 (llrint_test_data): Likewise.
28063
28064 2015-10-08 Roland McGrath <roland@hack.frob.com>
28065
28066 [BZ #18872]
28067 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
28068 Move out from under [$(run-built-tests) = yes] conditional.
28069 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
28070 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
28071
28072 2015-10-08 Carlos O'Donell <carlos@redhat.com>
28073
28074 [BZ #18589]
28075 * string/Makefile (tests): Add bug-strcoll2.
28076 (LOCALES): Add cs_CZ.UTF-8.
28077 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
28078
28079 [BZ #18589]
28080 * string/bug-strcoll2.c: New file.
28081 * locale/categories.def: Revert commit
28082 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
28083 * locale/langinfo.h: Likewise.
28084 * locale/localeinfo.h: Likewise.
28085 * locale/C-collate.c: Likewise.
28086 * locale/programs/ld-collate.c (collate_output): Likewise.
28087 * string/strcoll_l.c (STRDIFF): Likewise.
28088 (STRCOLL): Likewise.
28089 * wcsmbs/wcscoll_l.c: Likewise.
28090
28091 2015-10-08 Joseph Myers <joseph@codesourcery.com>
28092
28093 * math/libm-test.inc (lround_test_data): Do not expect the absence
28094 of "inexact" for some tests with non-integer arguments.
28095 (llround_test_data): Likewise.
28096
28097 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
28098 test.
28099 (libc_cv_cc_sse2avx): Likewise.
28100 * sysdeps/i386/configure: Regenerated.
28101 * sysdeps/i386/i686/multiarch/Makefile
28102 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
28103 [$(subdir) = math].
28104 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
28105 code unconditional.
28106 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
28107 Likewise.
28108 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
28109 Likewise.
28110 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
28111 Likewise.
28112 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
28113 test.
28114 (libc_cv_cc_sse2avx): Likewise.
28115 * sysdeps/x86_64/configure: Regenerated.
28116 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
28117 unconditional.
28118 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
28119 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
28120 unconditional.
28121 (_dl_runtime_profile)
28122 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
28123 conditional code.
28124 * sysdeps/x86_64/fpu/multiarch/Makefile
28125 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
28126 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
28127 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28128 * sysdeps/x86_64/fpu/multiarch/e_exp.c
28129 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28130 * sysdeps/x86_64/fpu/multiarch/e_log.c
28131 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28132 * sysdeps/x86_64/fpu/multiarch/s_atan.c
28133 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28134 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
28135 Likewise.
28136 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
28137 Likewise.
28138 * sysdeps/x86_64/fpu/multiarch/s_sin.c
28139 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28140 * sysdeps/x86_64/fpu/multiarch/s_tan.c
28141 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28142 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
28143 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
28144 (HAVE_SSE2AVX_SUPPORT): Likewise.
28145
28146 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
28147
28148 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
28149 instead of #pragma optimize.
28150
28151 2015-10-07 Carlos O'Donell <carlos@redhat.com>
28152
28153 [BZ #17195]
28154 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
28155 as is similarly done in systrim and _int_free already.
28156
28157 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
28158
28159 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
28160
28161 2015-10-07 Joseph Myers <joseph@codesourcery.com>
28162
28163 [BZ #19088]
28164 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
28165 <limits.h>.
28166 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
28167 overflows but exception would not result from cast.
28168 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
28169 and <limits.h>.
28170 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
28171 overflows but exception would not result from cast.
28172 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
28173 <limits.h>.
28174 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
28175 overflows but exception would not result from cast.
28176 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
28177 <limits.h>.
28178 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
28179 overflows but exception would not result from cast.
28180 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
28181 <limits.h>.
28182 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
28183 overflows but exception would not result from cast.
28184 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
28185 <limits.h>.
28186 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
28187 overflows but exception would not result from cast.
28188 * math/libm-test.inc (lround_test_data): Add more tests.
28189 (llround_test_data): Likewise.
28190
28191 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
28192
28193 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
28194 (CFLAGS-ialloc.c): Ditto.
28195 (CFLAGS-scheck.c): Ditto.
28196
28197 2015-10-07 Carlos O'Donell <carlos@redhat.com>
28198
28199 [BZ #19086]
28200 * manual/filesys.texi (Storage Allocation): Fix argument order for
28201 posix_fallocate64.
28202
28203 2015-10-07 Joseph Myers <joseph@codesourcery.com>
28204
28205 [BZ #19085]
28206 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
28207 exponent below 48 inside case for non-overflowing exponent.
28208 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
28209
28210 2015-10-07 Florian Weimer <fweimer@redhat.com>
28211
28212 * iconvdata/cp737.h (from_idx): Add const.
28213 * iconvdata/cp775.h (from_idx): Likewise.
28214
28215 2015-10-07 Joseph Myers <joseph@codesourcery.com>
28216
28217 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
28218 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
28219 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
28220
28221 [BZ #19079]
28222 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
28223 file, conditioned on [!_LP64].
28224 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
28225 [!_LP64] (__lround): Do not define as function or alias.
28226 [!_LP64] (lround): Likewise.
28227 [!_LP64] (__lroundl): Likewise.
28228 [!_LP64] (lroundl): Likewise.
28229 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
28230 macro.
28231 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
28232 Likewise.
28233
28234 2015-10-06 Joseph Myers <joseph@codesourcery.com>
28235
28236 * math/libm-test.inc (lrint_test_data): Add more tests.
28237 (llrint_test_data): Likewise.
28238 (lround_test_data): Likewise.
28239 (llround_test_data): Likewise.
28240
28241 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
28242 (llrint_test_data): Add tests used for lrint.
28243
28244 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
28245 test.
28246 * sysdeps/i386/configure: Regenerated.
28247 * sysdeps/i386/i686/multiarch/Makefile
28248 [$(config-cflags-sse4) = yes]: Make code unconditional.
28249 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
28250 Likewise.
28251 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
28252 Likewise.
28253 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
28254 test.
28255 * sysdeps/x86_64/configure: Regenerated.
28256 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
28257 Make code unconditional.
28258 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
28259 Likewise.
28260 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
28261 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
28262
28263 * scripts/rpm2dynsym.sh: Remove file.
28264
28265 2015-10-06 Florian Weimer <fweimer@redhat.com>
28266
28267 * configure.ac (libc_cv_cxx_thread_local): Define.
28268 * configure: Regenerate.
28269 * config.make.in (have-cxx-thread_local): Define.
28270 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
28271 (LDLIBS-tst-thread_local1): Define.
28272 (tests): Add tst-thread_local1.
28273 [have-cxx-thread_local != yes] (tests-unsupported): Add
28274 tst-thread_local1.
28275 * nptl/tst-thread_local1.cc: New file.
28276
28277 2015-10-06 Joseph Myers <joseph@codesourcery.com>
28278
28279 [BZ #19078]
28280 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
28281 (u_thres): Likewise.
28282 (__expl): Determine whether to call __kernel_standard_l based on
28283 value of result, not argument.
28284
28285 * math/libm-test.inc (scalb_test_data): Add more expectations for
28286 the "inexact" exception.
28287
28288 [BZ #19077]
28289 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
28290 0.0L for argument 1.0L.
28291
28292 [BZ #19076]
28293 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
28294 constant 0.0L when computing infinite result.
28295
28296 2015-10-06 Florian Weimer <fweimer@redhat.com>
28297
28298 [BZ #10432]
28299 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
28300 malloc_usable_size.
28301
28302 2015-10-06 Florian Weimer <fweimer@redhat.com>
28303
28304 [BZ #19018]
28305 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
28306 Mangle function pointer before storing it.
28307 (__call_tls_dtors): Demangle function pointer before calling it.
28308
28309 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28310
28311 [BZ #19012]
28312 * iconv/gconv_db.c (gen_steps): Check for additional errors.
28313 Clean up on failure.
28314
28315 2015-10-05 Joseph Myers <joseph@codesourcery.com>
28316
28317 [BZ #19071]
28318 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
28319 long int variable to store possibly incremented high part of
28320 mantissa.
28321 * math/libm-test.inc (lround_test_data): Add tests used for
28322 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
28323 for tests requiring 64-bit long. Do not condition tests on
28324 [TEST_FLOAT] unnecessarily.
28325 (llround_test_data): Add tests used for lround. Add another
28326 expectation for the "inexact" exception. Do not condition tests
28327 on [TEST_FLOAT] unnecessarily.
28328
28329 [BZ #887]
28330 [BZ #19049]
28331 [BZ #19050]
28332 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
28333 * sysdeps/ieee754/dbl-64/e_log10.c: Include
28334 <fix-int-fp-convert-zero.h>.
28335 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28336 * sysdeps/ieee754/dbl-64/e_log2.c: Include
28337 <fix-int-fp-convert-zero.h>.
28338 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28339 * sysdeps/ieee754/dbl-64/s_erf.c: Include
28340 <fix-int-fp-convert-zero.h>.
28341 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28342 * sysdeps/ieee754/dbl-64/s_logb.c: Include
28343 <fix-int-fp-convert-zero.h>.
28344 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28345 * sysdeps/ieee754/flt-32/e_log10f.c: Include
28346 <fix-int-fp-convert-zero.h>.
28347 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28348 * sysdeps/ieee754/flt-32/e_log2f.c: Include
28349 <fix-int-fp-convert-zero.h>.
28350 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28351 * sysdeps/ieee754/flt-32/s_erff.c: Include
28352 <fix-int-fp-convert-zero.h>.
28353 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28354 * sysdeps/ieee754/flt-32/s_logbf.c: Include
28355 <fix-int-fp-convert-zero.h>.
28356 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28357 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
28358 <fix-int-fp-convert-zero.h>.
28359 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28360 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
28361 <fix-int-fp-convert-zero.h>.
28362 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28363 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
28364 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
28365 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
28366 file.
28367 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
28368
28369 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
28370
28371 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28372
28373 2015-10-02 Joseph Myers <joseph@codesourcery.com>
28374
28375 [BZ #19059]
28376 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
28377 overflowing computation.
28378 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28379 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
28380 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
28381 Likewise.
28382 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
28383 Likewise.
28384 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
28385 Likewise.
28386 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28387 Likewise.
28388 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
28389 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28390 Likewise.
28391 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28392 Likewise.
28393 * math/libm-test.inc (nexttoward_test_data): Add more tests.
28394
28395 * nss/rewrite_field.c (__nss_rewrite_field): Use
28396 internal_function.
28397 * nss/valid_field.c (__nss_valid_field): Likewise.
28398 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
28399
28400 2015-10-02 Florian Weimer <fweimer@redhat.com>
28401
28402 [BZ #18724]
28403 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
28404 (__nss_invalid_field_characters, __nss_valid_field)
28405 (__nss_valid_list_field, __nss_rewrite_field): Declare.
28406 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
28407 tst-field.c: New file.
28408 * nss/Makefile (routines): Add valid_field, rewrite_field.
28409 (tests-static): Define unconditionally.
28410 (tests): Include tests-static.
28411 [build-static-nss] (tests-static): Use append.
28412 [build-static-nss] (tests): Remove modification.
28413 * nss/getent.c (print_group): Call putgrent. Report error.
28414 (print_gshadow): Call putsgent. Report error.
28415 (print_passwd): Call putpwent. Report error.
28416 (print_shadow): Call putspent. Report error.
28417 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
28418 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
28419 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
28420 name, password, directory, shell fields for valid syntax. Rewrite
28421 GECOS field to match syntax.
28422 * pwd/Makefile (tests): Add tst-putpwent.
28423 * pwd/tst-putpwent.c: New file.
28424 * grp/putgrent.c (putgrent): Convert to ISO function definition.
28425 Check grName, grpasswd, gr_mem fields for valid syntax.
28426 Change loop variable i to size_t.
28427 * grp/Makefile (tests): Add tst-putgrent.
28428 * grp/tst-putgrent.c: New file.
28429 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
28430 valid syntax.
28431 * shadow/Makefile (tests): Add tst-putspent.
28432 * shadow/tst-putspent.c: New file.
28433 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
28434 sg_mem fields for valid syntax.
28435 * gshadow/Makefile (tests): Add tst-putsgent.
28436 * gshadow/tst-putsgent.c: New file.
28437
28438 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28439
28440 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
28441 assembly instructions.
28442
28443 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28444
28445 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
28446 prefix from operands.
28447
28448 2015-10-01 Joseph Myers <joseph@codesourcery.com>
28449
28450 [BZ #16347]
28451 [BZ #19046]
28452 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
28453 <libc-internal.h>.
28454 (MAXLGM): Do not use diagnostic control macros.
28455 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
28456 threshold for ldbl-128ibm.
28457 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
28458 instead of multiplying by log then subtracting.
28459 * math/auto-libm-test-in: Add more tests of lgamma.
28460 * math/auto-libm-test-out: Regenerated.
28461
28462 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
28463 (TYPE_HEX_DIG): Likewise.
28464 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
28465 precisions when printing floating-point numbers.
28466 (check_float_internal): Likewise.
28467
28468 2015-09-30 Joseph Myers <joseph@codesourcery.com>
28469
28470 [BZ #16620]
28471 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
28472 of log (10) rounded downward to 48 bits.
28473 (log10_low): Use corresponding low part of log (10).
28474
28475 [BZ #19032]
28476 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
28477 compute result as (x - x) / (x - x) not as 0 / 0.
28478 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
28479 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
28480
28481 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28482 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
28483 and expm1.
28484 * math/auto-libm-test-out: Regenerated.
28485 * math/libm-test.inc (acos_test_data): Add more tests.
28486 (asin_test_data): Likewise.
28487 (asinh_test_data): Likewise.
28488 (atan_test_data): Likewise.
28489 (atanh_test_data): Likewise.
28490 (atan2_test_data): Likewise.
28491 (cbrt_test_data): Likewise.
28492 (ceil_test_data): Likewise.
28493 (copysign_test_data): Likewise.
28494 (cos_test_data): Likewise.
28495 (cosh_test_data): Likewise.
28496 (erf_test_data): Likewise.
28497 (erfc_test_data): Likewise.
28498 (exp_test_data): Likewise.
28499 (exp10_test_data): Likewise.
28500 (exp2_test_data): Likewise.
28501 (expm1_test_data): Likewise.
28502 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28503
28504 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
28505
28506 [BZ #19006]
28507 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
28508 to ...
28509 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
28510 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
28511 to ...
28512 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
28513 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
28514 to ...
28515 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
28516 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
28517 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
28518 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
28519 to ...
28520 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
28521 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
28522 Moved to ...
28523 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
28524 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
28525 Moved to ...
28526 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
28527 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
28528 to ...
28529 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
28530 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
28531 Moved to ...
28532 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
28533 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
28534 to ...
28535 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
28536 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
28537 Removed.
28538 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
28539 Likewise.
28540 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
28541 Likewise.
28542 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
28543 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
28544 Likewise.
28545 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
28546 Likewise.
28547 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
28548 Likewise.
28549 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
28550 Likewise.
28551 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
28552 Likewise.
28553 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
28554 Likewise.
28555 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
28556 Likewise.
28557 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
28558 Likewise.
28559 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
28560 Likewise.
28561 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
28562 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
28563 Likewise.
28564 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
28565 Likewise.
28566 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
28567 Likewise.
28568 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
28569 Likewise.
28570 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
28571 Likewise.
28572 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
28573 Replace ../i486/pthread_cond_timedwait.S with
28574 ../pthread_cond_timedwait.S.
28575
28576 2015-09-30 Joseph Myers <joseph@codesourcery.com>
28577
28578 * math/libm-test.inc (acos_test_data): Refine expectations for
28579 errno and "inexact" exceptions.
28580 (acosh_test_data): Likewise.
28581 (asin_test_data): Likewise.
28582 (asinh_test_data): Likewise.
28583 (atan_test_data): Likewise.
28584 (atanh_test_data): Likewise.
28585 (atan2_test_data): Likewise.
28586 (cbrt_test_data): Likewise.
28587 (ceil_test_data): Likewise.
28588 (copysign_test_data): Likewise.
28589 (cosh_test_data): Likewise.
28590 (erf_test_data): Likewise.
28591 (erfc_test_data): Likewise.
28592 (exp_test_data): Likewise.
28593 (exp10_test_data): Likewise.
28594 (exp2_test_data): Likewise.
28595 (expm1_test_data): Likewise.
28596 (fabs_test_data): Likewise.
28597 (floor_test_data): Likewise.
28598 (fma_test_data): Likewise.
28599 (fmax_test_data): Likewise.
28600 (fmin_test_data): Likewise.
28601 (fmod_test_data): Likewise.
28602 (fpclassify_test_data): Likewise.
28603 (frexp_test_data): Likewise.
28604 (hypot_test_data): Likewise.
28605 (ilogb_test_data): Likewise.
28606 (isgreater_test_data): Likewise.
28607 (isgreaterequal_test_data): Likewise.
28608 (isinf_test_data): Likewise.
28609 (isless_test_data): Likewise.
28610 (islessequal_test_data): Likewise.
28611 (islessgreater_test_data): Likewise.
28612 (isnan_test_data): Likewise.
28613 (isnormal_test_data): Likewise.
28614 (issignaling_test_data): Likewise.
28615 (isunordered_test_data): Likewise.
28616 (j0_test_data): Likewise.
28617 (j1_test_data): Likewise.
28618 (jn_test_data): Likewise.
28619 (lgamma_test_data): Likewise.
28620 (lrint_test_data): Likewise.
28621 (llrint_test_data): Likewise.
28622 (log_test_data): Likewise.
28623 (log10_test_data): Likewise.
28624 (log1p_test_data): Likewise.
28625 (log2_test_data): Likewise.
28626 (logb_test_data): Likewise.
28627 (lround_test_data): Likewise.
28628 (llround_test_data): Likewise.
28629 (modf_test_data): Likewise.
28630 (nearbyint_test_data): Likewise.
28631 (nextafter_test_data): Likewise.
28632 (nexttoward_test_data): Likewise.
28633 (pow_test_data): Likewise.
28634 (remainder_test_data): Likewise.
28635 (remquo_test_data): Likewise.
28636 (rint_test_data): Likewise.
28637 (round_test_data): Likewise.
28638 (signbit_test_data): Likewise.
28639 (sinh_test_data): Likewise.
28640 (sqrt_test_data): Likewise.
28641 (tanh_test_data): Likewise.
28642 (tgamma_test_data): Likewise.
28643 (trunc_test_data): Likewise.
28644 (y0_test_data): Likewise.
28645 (y1_test_data): Likewise.
28646 (yn_test_data): Likewise.
28647 (significand_test_data): Likewise.
28648
28649 2015-09-29 Carlos O'Donell <carlos@redhat.com>
28650
28651 * manual/filesys.texi (Storage Allocation): Document that
28652 posix_fallocate emulation fails when fd is open with O_WRONLY.
28653
28654 2015-09-28 Joseph Myers <joseph@codesourcery.com>
28655
28656 [BZ #19016]
28657 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
28658 allow more cases with X^2 + Y^2 >= 0.5.
28659 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
28660 normal element in sum instead of special-casing based on values of
28661 arguments.
28662 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
28663 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
28664 -1 as normal element in sum instead of special-casing based on
28665 values of arguments.
28666 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
28667 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
28668 (__x2y2m1): Update comment.
28669 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
28670 as normal element in sum instead of special-casing based on values
28671 of arguments.
28672 * math/s_clog.c (__clog): Handle more cases using log1p without
28673 hypot.
28674 * math/s_clog10.c (__clog10): Likewise.
28675 * math/s_clog10f.c (__clog10f): Likewise.
28676 * math/s_clog10l.c (__clog10l): Likewise.
28677 * math/s_clogf.c (__clogf): Likewise.
28678 * math/s_clogl.c (__clogl): Likewise.
28679 * math/auto-libm-test-in: Add more tests of clog and clog10.
28680 * math/auto-libm-test-out: Regenerated.
28681 * sysdeps/i386/fpu/libm-test-ulps: Update.
28682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28683
28684 2015-09-28 Martin Sebor <msebor@redhat.com>
28685
28686 [BZ #18969]
28687 * string/Makefile (LOCALES): Define.
28688 (gen-locales.mk): Include.
28689 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
28690 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
28691 * string/tst-strxfrm2.c (do_test): Print the name of the locale
28692 on setlocale failure.
28693
28694 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
28695
28696 [BZ #18985]
28697 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
28698 (__strftime_internal): Likewise.
28699 * time/tst-strftime.c (do_bz18985): New test.
28700 (do_test): Call it.
28701
28702 2015-09-26 Joseph Myers <joseph@codesourcery.com>
28703
28704 [BZ #18956]
28705 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
28706 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
28707 extracting high part.
28708 * math/auto-libm-test-in: Add another test of pow.
28709 * math/auto-libm-test-out: Regenerated.
28710 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28711
28712 2015-09-25 Joseph Myers <joseph@codesourcery.com>
28713
28714 [BZ #18825]
28715 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
28716 New macro.
28717 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
28718 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
28719 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
28720 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
28721 DBL_NARROW_EVAL, reloading the PIC register as needed.
28722 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
28723 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
28724 FLT_NARROW_EVAL. Use separate return path for case when first
28725 argument is NaN.
28726 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
28727 DEFINE_LDBL_MIN.
28728 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
28729 PIC register.
28730 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
28731 math_check_force_underflow_nonneg.
28732 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
28733 underflow for subnormal result.
28734 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
28735 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
28736 math_check_force_underflow_nonneg.
28737 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
28738 math_check_force_underflow.
28739 * sysdeps/x86_64/fpu/x86_64-math-asm.h
28740 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
28741 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
28742 DEFINE_LDBL_MIN.
28743 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
28744 * math/auto-libm-test-in: Add more tests of pow.
28745 * math/auto-libm-test-out: Regenerated.
28746
28747 2015-09-25 Florian Weimer <fweimer@redhat.com>
28748
28749 * nss/bug17079.c (init_test_items): Add diagnostic for
28750 inconsistent entries.
28751 (test_buffer_size): Skip inconsistent entries.
28752
28753 2015-09-25 Joseph Myers <joseph@codesourcery.com>
28754
28755 [BZ #13304]
28756 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
28757 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
28758 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
28759
28760 [BZ #13304]
28761 * sysdeps/microblaze/s_fma.c: New file.
28762 * sysdeps/microblaze/s_fmaf.c: Likewise.
28763 * sysdeps/microblaze/sfp-machine.h: Likewise.
28764
28765 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
28766
28767 [BZ #17250]
28768 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
28769 member.
28770
28771 2015-09-24 Joseph Myers <joseph@codesourcery.com>
28772
28773 [BZ #18803]
28774 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
28775 (MO): New macro.
28776 (__ieee754_hypot) [PIC]: Load PIC register.
28777 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
28778 DBL_NARROW_EVAL.
28779 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
28780 math_check_force_underflow_nonneg in case where result might be
28781 tiny.
28782 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
28783 Likewise.
28784 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
28785 Likewise.
28786 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
28787 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
28788 * math/auto-libm-test-in: Add more tests of hypot.
28789 * math/auto-libm-test-out: Regenerated.
28790
28791 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
28792
28793 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
28794
28795 2015-09-24 Joseph Myers <joseph@codesourcery.com>
28796
28797 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
28798 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
28799 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
28800 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
28801 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
28802 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
28803 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
28804
28805 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
28806 LOAD_PIC_REG.
28807
28808 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
28809 (FLT_CHECK_FORCE_UFLOW): Likewise.
28810 (DBL_CHECK_FORCE_UFLOW): Likewise.
28811 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
28812 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
28813 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
28814 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
28815 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
28816 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
28817 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
28818 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
28819 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
28820 (dbl_min): Replace with use of DEFINE_DBL_MIN.
28821 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
28822 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
28823 (flt_min): Replace with use of DEFINE_FLT_MIN.
28824 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
28825 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
28826 (dbl_min): Replace with use of DEFINE_DBL_MIN.
28827 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
28828 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
28829 (flt_min): Replace with use of DEFINE_FLT_MIN.
28830 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
28831 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
28832 (dbl_min): Replace with use of DEFINE_DBL_MIN.
28833 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
28834 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
28835 (flt_min): Replace with use of DEFINE_FLT_MIN.
28836 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
28837 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
28838 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
28839 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
28840 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
28841 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
28842 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
28843 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
28844 (dbl_min): Replace with use of DEFINE_DBL_MIN.
28845 (__atan): Use DBL_CHECK_FORCE_UFLOW.
28846 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
28847 (flt_min): Replace with use of DEFINE_FLT_MIN.
28848 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
28849 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
28850 (dbl_min): Replace with use of DEFINE_DBL_MIN.
28851 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
28852 main computation.
28853 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
28854 (flt_min): Replace with use of DEFINE_FLT_MIN.
28855 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
28856 main computation.
28857 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
28858 (dbl_min): Replace with use of DEFINE_DBL_MIN.
28859 (MO): New macro.
28860 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
28861 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
28862 (flt_min): Replace with use of DEFINE_FLT_MIN.
28863 (MO): New macro.
28864 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
28865 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
28866 (__log1pl): Use MO.
28867
28868 [BZ #19003]
28869 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
28870 $(config-cflags-nofma).
28871
28872 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
28873
28874 * sysdeps/aarch64/libm-test-ulps: Regenerated.
28875
28876 2015-09-23 Joseph Myers <joseph@codesourcery.com>
28877
28878 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
28879 (TWO127): Likewise.
28880
28881 * sysdeps/generic/math_private.h (fabs_tg): New macro.
28882 (min_of_type): Likewise.
28883 (math_check_force_underflow): Likewise.
28884 (math_check_force_underflow_nonneg): Likewise.
28885 (math_check_force_underflow_complex): Likewise.
28886 * math/e_exp2l.c (__ieee754_exp2l): Use
28887 math_check_force_underflow_nonneg.
28888 * math/k_casinh.c (__kernel_casinh): Likewise.
28889 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28890 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28891 * math/s_catan.c (__catan): Use
28892 math_check_force_underflow_complex.
28893 * math/s_catanf.c (__catanf): Likewise.
28894 * math/s_catanh.c (__catanh): Likewise.
28895 * math/s_catanhf.c (__catanhf): Likewise.
28896 * math/s_catanhl.c (__catanhl): Likewise.
28897 * math/s_catanl.c (__catanl): Likewise.
28898 * math/s_ccosh.c (__ccosh): Likewise.
28899 * math/s_ccoshf.c (__ccoshf): Likewise.
28900 * math/s_ccoshl.c (__ccoshl): Likewise.
28901 * math/s_cexp.c (__cexp): Likewise.
28902 * math/s_cexpf.c (__cexpf): Likewise.
28903 * math/s_cexpl.c (__cexpl): Likewise.
28904 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
28905 * math/s_clog10.c (__clog10): Likewise.
28906 * math/s_clog10f.c (__clog10f): Likewise.
28907 * math/s_clog10l.c (__clog10l): Likewise.
28908 * math/s_clogf.c (__clogf): Likewise.
28909 * math/s_clogl.c (__clogl): Likewise.
28910 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
28911 * math/s_csinf.c (__csinf): Likewise.
28912 * math/s_csinh.c (__csinh): Likewise.
28913 * math/s_csinhf.c (__csinhf): Likewise.
28914 * math/s_csinhl.c (__csinhl): Likewise.
28915 * math/s_csinl.c (__csinl): Likewise.
28916 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
28917 * math/s_csqrtf.c (__csqrtf): Likewise.
28918 * math/s_csqrtl.c (__csqrtl): Likewise.
28919 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
28920 * math/s_ctanf.c (__ctanf): Likewise.
28921 * math/s_ctanh.c (__ctanh): Likewise.
28922 * math/s_ctanhf.c (__ctanhf): Likewise.
28923 * math/s_ctanhl.c (__ctanhl): Likewise.
28924 * math/s_ctanl.c (__ctanl): Likewise.
28925 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
28926 instead of volatile.
28927 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
28928 math_check_force_underflow.
28929 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
28930 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
28931 volatile when forcing underflow.
28932 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28933 math_check_force_underflow_nonneg.
28934 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
28935 Likewise.
28936 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
28937 math_check_force_underflow.
28938 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
28939 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
28940 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
28941 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
28942 math_check_force_underflow_nonneg.
28943 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
28944 math_check_force_underflow.
28945 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
28946 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
28947 instead of volatile.
28948 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
28949 math_check_force_underflow.
28950 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28951 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28952 math_check_force_underflow_nonneg.
28953 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
28954 math_check_force_underflow.
28955 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
28956 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
28957 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
28958 math_check_force_underflow_nonneg.
28959 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
28960 Likewise.
28961 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
28962 math_check_force_underflow.
28963 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
28964 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
28965 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
28966 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
28967 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
28968 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
28969 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
28970 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
28971 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
28972 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
28973 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
28974 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
28975 Likewise.
28976 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
28977 math_check_force_underflow_nonneg.
28978 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
28979 Likewise.
28980 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
28981 math_check_force_underflow.
28982 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28983 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
28984 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28985 Likewise.
28986 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
28987 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
28988 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
28989 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
28990 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
28991 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
28992 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
28993 instead of volatile.
28994 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
28995 math_check_force_underflow.
28996 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
28997 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
28998 math_check_force_underflow.
28999 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
29000 Likewise.
29001 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29002 Use math_check_force_underflow_nonneg.
29003 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
29004 math_check_force_underflow.
29005 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
29006 Likewise.
29007 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29008 Likewise.
29009 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29010 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29011 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29012 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29013 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
29014 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29015 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
29016 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
29017 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
29018 math_check_force_underflow_nonneg.
29019 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
29020 math_check_force_underflow.
29021 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
29022 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
29023 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
29024 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
29025 math_check_force_underflow_nonneg.
29026 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
29027 math_check_force_underflow.
29028 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
29029 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
29030 instead of volatile.
29031 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
29032 math_check_force_underflow.
29033
29034 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
29035 * stdlib/strtod_l.c: Include <math_private.h>.
29036 (overflow_value): Use math_narrow_eval.
29037 (underflow_value): Likewise.
29038 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29039 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
29040 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
29041 (__ieee754_gamma_r): Likewise.
29042 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
29043 Likewise.
29044 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
29045 Likewise.
29046 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
29047 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
29048 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
29049 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
29050 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
29051 (__ieee754_gammaf_r): Likewise.
29052 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
29053 Likewise.
29054 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
29055 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
29056 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
29057 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
29058 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
29059 volatile.
29060 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
29061 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
29062 math_narrow_eval.
29063 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
29064 Likewise.
29065 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29066 Likewise.
29067 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
29068 Likewise.
29069 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
29070 volatile.
29071 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
29072 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
29073 math_narrow_eval.
29074 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29075 Likewise.
29076 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29077 Likewise.
29078
29079 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
29080
29081 * nptl/Versions: Remove ignored symbols.
29082
29083 2015-09-22 Florian Weimer <fweimer@redhat.com>
29084
29085 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
29086 * nss/Makefile (tests): Update.
29087
29088 2015-09-22 Florian Weimer <fweimer@redhat.com>
29089
29090 * nss/bug18287.c: New file.
29091 * nss/Makefile (tests): Add bug18287.
29092
29093 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
29094
29095 * mach/Versions (__mach_host_self_): Add symbol.
29096
29097 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
29098
29099 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
29100 vm_page_size.
29101
29102 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
29103
29104 Really fix sysdeps/i386/fpu/s_scalbn.S build
29105
29106 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
29107 (libc: GLIBC_2_22): Remove unused version set.
29108
29109 2015-09-18 Mike Frysinger <vapier@gentoo.org>
29110
29111 * config.make.in (enable-timezone-tools): New variable.
29112 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
29113 (enable_timezone_tools): Export to generated files.
29114 * configure: Regenerate.
29115 * INSTALL: Regenerate.
29116 * manual/install.texi (--disable-timezone-tools): Document new flag.
29117 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
29118 ifeq ($(enable-timezone-tools),yes) check.
29119
29120 2015-09-18 Joseph Myers <joseph@codesourcery.com>
29121
29122 * timezone/Makefile: Revert previous change.
29123
29124 [BZ #18980]
29125 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
29126 (DEFINE_DBL_MIN): Likewise.
29127 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
29128 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
29129 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
29130 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
29131 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
29132 (dbl_min): Replace with use of DEFINE_DBL_MIN.
29133 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
29134 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
29135 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
29136 (dbl_min): Replace with use of DEFINE_DBL_MIN.
29137 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
29138 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
29139 (flt_min): Replace with use of DEFINE_FLT_MIN.
29140 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
29141 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
29142 (dbl_min): Replace with use of DEFINE_DBL_MIN.
29143 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
29144 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
29145 (flt_min): Replace with use of DEFINE_FLT_MIN.
29146 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
29147 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
29148 (flt_min): Replace with use of DEFINE_FLT_MIN.
29149 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
29150 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
29151 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
29152 (__ieee754_hypot): Use DBL_NARROW_EVAL.
29153 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
29154 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
29155 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
29156 (__ieee754_pow): Use DBL_NARROW_EVAL.
29157 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
29158 (__ieee754_powf): Use FLT_NARROW_EVAL.
29159 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
29160 (__ieee754_expf_sse2): Convert double-precision result to single
29161 precision.
29162 * sysdeps/i386/fpu/libm-test-ulps: Update.
29163
29164 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
29165
29166 * timezone/Makefile: Ignore unused variable errors due to private.h
29167 (time_t_min) and (time_t_max).
29168 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
29169 Likewise.
29170
29171 2015-09-18 Joseph Myers <joseph@codesourcery.com>
29172
29173 [BZ #18981]
29174 * sysdeps/i386/fpu/i386-math-asm.h: New file.
29175 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
29176 (__ieee754_scalb): Use DBL_NARROW_EVAL.
29177 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
29178 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
29179 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
29180 (__scalbn): Use DBL_NARROW_EVAL.
29181 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
29182 (__scalbnf): Use FLT_NARROW_EVAL.
29183
29184 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
29185
29186 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
29187 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
29188 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
29189 * stdio-common/printf_fp.c (___printf_fp):
29190 Use signbit to get the sign. Use isinf macro to allow inlining.
29191 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
29192 * stdio-common/printf_size.c (__printf_size): Likewise.
29193
29194 2015-09-18 Mike Frysinger <vapier@gentoo.org>
29195
29196 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
29197
29198 2015-09-18 Joseph Myers <joseph@codesourcery.com>
29199
29200 [BZ #18980]
29201 * sysdeps/generic/math_private.h: Include <float.h>.
29202 (math_narrow_eval): New macro.
29203 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
29204 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
29205 math_narrow_eval on overflowing return value.
29206 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
29207 Likewise.
29208 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
29209 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
29210 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
29211 Likewise.
29212 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
29213
29214 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
29215
29216 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
29217 * math/Makefile: Remove isinf_ns.c.
29218 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
29219 * math/multc3.c (__multc3): Likewise.
29220 * math/s_casin.c (__casin): Likewise.
29221 * math/s_casinf.c (__casinf): Likewise.
29222 * math/s_casinl.c (__casinl): Likewise.
29223 * math/s_cproj.c (__cproj): Likewise.
29224 * math/s_cprojf.c (__cprojf): Likewise.
29225 * math/s_cprojl.c (__cprofl): Likewise.
29226 * math/s_ctan.c (__ctan): Likewise.
29227 * math/s_ctanf.c (__ctanf): Likewise.
29228 * math/s_ctanh.c (__ctanh): Likewise.
29229 * math/s_ctanhf.c (__ctanhf): Likewise.
29230 * math/s_ctanhl.c (__ctanhl): Likewise.
29231 * math/s_ctanl.c (__ctanl): Likewise.
29232 * math/w_fmod.c (__fmod): Likewise.
29233 * math/w_fmodf.c (__fmodf): Likewise.
29234 * math/w_fmodl.c (_fmodl): Likewise.
29235 * math/w_remainder.c (__remainder): Likewise.
29236 * math/w_remainderf.c (__remainderf): Likewise.
29237 * math/w_remainderl.c (__remainderl): Likewise.
29238 * math/w_scalb.c (__scalb): Likewise.
29239 * math/w_scalbf.c (__scalbf): Likewise.
29240 * math/w_scalbl.c (__scalbl): Likewise.
29241 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
29242 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
29243 with isinf.
29244 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
29245 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
29246 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
29247 __isinf_nsf with isinf.
29248 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
29249 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
29250 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
29251 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
29252 with isinf.
29253 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
29254 __isinf_nsl with isinf.
29255 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
29256 with isinf.
29257 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
29258 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
29259 __isinf_nsl with isinf.
29260 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
29261 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
29262 with isinf.
29263
29264 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
29265
29266 * resolv/base64.c (rcsid): Remove unused static.
29267 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
29268 static. (tqpi1): Likewise.
29269 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
29270 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
29271 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
29272 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
29273 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
29274 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
29275 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
29276 * timezone/private.h (time_t_min): Likewise. (time_t_max):
29277 Likewise.
29278
29279 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
29280
29281 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
29282 <nptl/pthreadP.h>.
29283 (_longjmp_unwind): Use __libc_ptf_call.
29284 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
29285
29286 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
29287
29288 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
29289 * sysdeps/arm/__longjmp.S: Likewise.
29290
29291 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
29292
29293 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
29294 Use __builtin_signbit.
29295 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
29296 Use __builtin_signbitf.
29297 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
29298 Use __builtin_signbitl.
29299 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29300 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
29301
29302 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
29303
29304 [BZ #15367]
29305 [BZ #17441]
29306
29307 * math/Makefile: Build test-snan.c with -fsignaling-nans.
29308 * math/math.h (fpclassify): Use __builtin_fpclassify when
29309 available. (signbit): Use __builtin_signbit(f/l).
29310 (isfinite): Use__builtin_isfinite. (isnormal): Use
29311 __builtin_isnormal. (isnan): Use __builtin_isnan.
29312 (isinf): Use __builtin_isinf_sign.
29313
29314 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
29315
29316 * benchtests/Makefile: Add bench-math-inlines, link with libm.
29317 * benchtests/bench-math-inlines.c: New benchmark.
29318 * benchtests/bench-util.h: New file.
29319 * benchtests/bench-util.c: New file.
29320 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
29321
29322 2015-09-18 Carlos O'Donell <carlos@redhat.com>
29323
29324 * elf/tst-dlmopen1.c: Define TEST_SO.
29325 (do_test): Use TEST_SO.
29326
29327 * elf/dl-load.c: Include libc-internal.h.
29328 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
29329
29330 2015-09-18 Vincent Bernat <vincent@bernat.im>
29331
29332 [BZ #17887]
29333 * time/strptime_l.c (__strptime_internal): Make %z accept
29334 [+-]HH:MM time zones.
29335
29336 2015-09-18 Vincent Bernat <vincent@bernat.im>
29337
29338 [BZ #17886]
29339 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
29340 valid time zone.
29341
29342 2015-09-17 Mike Frysinger <vapier@gentoo.org>
29343
29344 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
29345 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
29346 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29347 (__ASSUME_FDATASYNC): Delete.
29348
29349 2015-09-17 Joseph Myers <joseph@codesourcery.com>
29350
29351 * conform/linknamespace.pl: Require weak undefined symbols to be
29352 in the standard namespace.
29353 (%strong_syms): Rename to %seen_syms.
29354 (%strong_seen): Rename to %seen_where.
29355
29356 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
29357
29358 [BZ #18970]
29359 * misc/error.c (error): Replace pthread_setcancelstate with
29360 __pthread_setcancelstate.
29361 (error_at_line): Likewise.
29362 * posix/wordexp.c (parse_comm): Likewise.
29363 * stdlib/fmtmsg.c (fmtmsg): Likewise.
29364 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
29365 (__pthread_setcancelstate): This.
29366 (pthread_setcancelstate): Add an alias.
29367 * nptl/nptl-init.c (pthread_functions): Replace
29368 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
29369 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
29370 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
29371 hidden_proto.
29372 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
29373 it with hidden_def.
29374 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
29375 (pthread_setcancelstate): Renamed to ...
29376 (__pthread_setcancelstate): This.
29377 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
29378 __libc_ptf_call with __pthread_setcancelstate.
29379
29380 2015-09-17 Joseph Myers <joseph@codesourcery.com>
29381 Andreas Schwab <schwab@suse.de>
29382
29383 [BZ #17118]
29384 * math/s_ctan.c (__ctan): Determine sign of zero real part of
29385 result when imaginary part of argument is infinite using sine and
29386 cosine.
29387 * math/s_ctanf.c (__ctanf): Likewise.
29388 * math/s_ctanl.c (__ctanl): Likewise.
29389 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
29390 of result when real part of argument is infinite using sine and
29391 cosine.
29392 * math/s_ctanhf.c (__ctanhf): Likewise.
29393 * math/s_ctanhl.c (__ctanhl): Likewise.
29394 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
29395 (ctanh_test_data): Add more tests of ctanh.
29396
29397 2015-09-17 Joseph Myers <joseph@codesourcery.com>
29398
29399 [BZ #15384]
29400 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
29401 bit-mask as in subtraction.
29402 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
29403 Likewise.
29404 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
29405 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
29406 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
29407
29408 [BZ #18951]
29409 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
29410 underflow exception for small results.
29411 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
29412 Likewise.
29413 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
29414 Likewise.
29415 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29416 Likewise.
29417 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
29418 Likewise.
29419 * math/auto-libm-test-in: Add more tests of tgamma.
29420 * math/auto-libm-test-out: Regenerated.
29421
29422 2015-09-17 Andreas Schwab <schwab@suse.de>
29423
29424 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
29425
29426 2015-09-16 Joseph Myers <joseph@codesourcery.com>
29427
29428 [BZ #18977]
29429 * math/bits/mathcalls.h
29430 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
29431 not declare.
29432 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
29433 Likewise.
29434 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
29435 Likewise.
29436 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
29437 Likewise.
29438 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
29439 Likewise.
29440 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
29441 Likewise.
29442 * conform/data/math.h-data
29443 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
29444 function.
29445 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
29446 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
29447 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
29448 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
29449 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
29450 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
29451 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
29452 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
29453 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
29454 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
29455 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
29456
29457 [BZ #6803]
29458 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
29459 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
29460 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
29461 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
29462 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
29463 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
29464 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
29465 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
29466 [NO_LONG_DOUBLE] (scalbnl): Likewise.
29467 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
29468 Likewise.
29469 [NO_LONG_DOUBLE] (scalbnl): Likewise.
29470 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
29471 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
29472 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
29473 long_double_symbol calls.
29474 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
29475 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
29476 strong alias of __ldexpl.
29477 (scalbnl): Define using long_double_symbol.
29478 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
29479 Remove alias.
29480 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
29481 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
29482 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
29483 (scalbln_test_data): Add more errno expectations.
29484
29485 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
29486
29487 Cache the host port like we cache the task port. This way we do not
29488 need to call the kernel just to get the port. Furthermore, we no
29489 longer increase the reference count on every invocation of
29490 `mach_host_self'.
29491
29492 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
29493 Protect declarations against the macro expansion.
29494 * mach/mach_init.c (__mach_host_self_): New variable.
29495 (mach_init): Initialize `__mach_host_self_'.
29496 * mach/mach_init.h (__mach_host_self_): New declaration.
29497 (__mach_host_self, mach_host_self): New macros.
29498 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
29499 Release reference.
29500
29501 2015-09-16 Joseph Myers <joseph@codesourcery.com>
29502
29503 [BZ #4404]
29504 * po/de.po: Update from Translation Project.
29505
29506 [BZ #16415]
29507 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
29508 (__expm1l): Remove code to handle positive infinity and overflow.
29509 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
29510 variable.
29511 (__expm1l): Remove code to handle positive infinity and overflow.
29512
29513 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
29514 Paul Pluzhnikov <ppluzhnikov@google.com>
29515
29516 [BZ #18872]
29517 * stdio-common/Makefile (tst-printf-bz18872): New test.
29518 (tst-printf-bz18872-mem.out): Likewise.
29519 * stdio-common/tst-printf-bz18872.sh: Generate new test.
29520 * stdio-common/vfprintf.c: Fix memory leaks.
29521
29522 2015-09-16 Andreas Schwab <schwab@suse.de>
29523
29524 [BZ #17244]
29525 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
29526 Remove extra va_start/va_end calls.
29527
29528 [BZ #17243]
29529 * posix/execl.c (execl): Add missing va_end.
29530 * posix/execle.c (execle): Likewise.
29531 * posix/execlp.c (execlp): Likewise.
29532
29533 2015-09-15 Roland McGrath <roland@hack.frob.com>
29534
29535 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
29536 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
29537
29538 2015-09-15 Joseph Myers <joseph@codesourcery.com>
29539
29540 [BZ #18967]
29541 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
29542 undefine around includes of <bits/mathcalls.h>.
29543 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
29544 not declare function.
29545 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
29546 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
29547 (scalb): Likewise.
29548 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
29549 not define macro.
29550 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
29551 variable.
29552 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
29553 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
29554 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
29555
29556 [BZ #18857]
29557 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
29558 return non-finite argument without doing ordered comparisons on
29559 it.
29560
29561 [BZ #16296]
29562 * math/fenv.h (fegetround): Use __attribute_pure__.
29563 * include/fenv.h (__fegetround): Likewise.
29564
29565 [BZ #18595]
29566 * math/s_ctan.c (__ctan): Force underflow exception for results
29567 whose real or imaginary part has small absolute value.
29568 * math/s_ctanf.c (__ctanf): Likewise.
29569 * math/s_ctanh.c (__ctanh): Likewise.
29570 * math/s_ctanhf.c (__ctanhf): Likewise.
29571 * math/s_ctanhl.c (__ctanhl): Likewise.
29572 * math/s_ctanl.c (__ctanl): Likewise.
29573 * math/auto-libm-test-in: Do not allow missing underflow for ctan
29574 and ctanh. Add more tests of ctan and ctanh.
29575
29576 [BZ #15918]
29577 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
29578 handling of cases where one argument is an infinity.
29579
29580 [BZ #18875]
29581 [BZ #18966]
29582 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
29583 (MO): New macro.
29584 (__ieee754_exp10): For small results, force underflow exception
29585 and remove excess range and precision from return value.
29586 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
29587 (MO): New macro.
29588 (__ieee754_exp10f): For small results, force underflow exception
29589 and remove excess range and precision from return value.
29590 * math/auto-libm-test-in: Add more tests of exp10.
29591 * math/auto-libm-test-out: Regenerated.
29592
29593 2015-09-14 Joseph Myers <joseph@codesourcery.com>
29594
29595 [BZ #18875]
29596 [BZ #18961]
29597 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
29598 (MO): New macro.
29599 (__ieee754_exp): For small results, force underflow exception and
29600 remove excess range and precision from return value.
29601 (__exp_finite): Likewise.
29602 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
29603 (MO): New macro.
29604 (__ieee754_expf): For small results, force underflow exception and
29605 remove excess range and precision from return value.
29606 (__expf_finite): Likewise.
29607 * math/auto-libm-test-in: Add more tests of exp.
29608 * math/auto-libm-test-out: Regenerated.
29609
29610 [BZ #16521]
29611 [BZ #18875]
29612 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
29613 small results.
29614 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
29615 (MO): New macro.
29616 (__ieee754_exp2): For small results, force underflow exception and
29617 remove excess range and precision from return value.
29618 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
29619 (MO): New macro.
29620 (__ieee754_exp2f): For small results, force underflow exception
29621 and remove excess range and precision from return value.
29622 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
29623 (MO): New macro.
29624 (__ieee754_exp2l): Force underflow exception for small results.
29625 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29626 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29627 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
29628 (MO): New macro.
29629 (__ieee754_exp2l): Force underflow exception for small results.
29630 * math/auto-libm-test-in: Add more tests or exp2.
29631 * math/auto-libm-test-out: Regenerated.
29632
29633 2015-09-14 Carlos O'Donell <carlos@redhat.com>
29634
29635 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
29636
29637 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
29638 /dev/null.
29639
29640 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
29641
29642 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
29643 io fs process)): Drop spurious backslash.
29644
29645 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
29646
29647 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
29648 Use sysinfo system call instead of parsing /proc/meminfo.
29649 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
29650 Likewise.
29651
29652 2015-09-11 Mike Frysinger <vapier@gentoo.org>
29653
29654 [BZ #16985]
29655 * programs/localedef.c (main): Display argv[remaining] when
29656 output_path is NULL.
29657
29658 2015-09-11 Joseph Myers <joseph@codesourcery.com>
29659
29660 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
29661 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
29662 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
29663 tanh.
29664 * math/auto-libm-test-out: Regenerated.
29665 * sysdeps/i386/fpu/libm-test-ulps: Update.
29666 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29667 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29669
29670 2015-09-11 Roland McGrath <roland@hack.frob.com>
29671
29672 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
29673 Use 'override' keyword to freeze the value here, preventing
29674 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
29675
29676 2015-09-11 Joseph Myers <joseph@codesourcery.com>
29677
29678 [BZ #14912]
29679 * sysdeps/aarch64/bits/atomic.h: Move to ...
29680 * sysdeps/aarch64/atomic-machine.h: ...here.
29681 (_AARCH64_BITS_ATOMIC_H): Rename macro to
29682 _AARCH64_ATOMIC_MACHINE_H.
29683 * sysdeps/alpha/bits/atomic.h: Move to ...
29684 * sysdeps/alpha/atomic-machine.h: ...here.
29685 * sysdeps/arm/bits/atomic.h: Move to ...
29686 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
29687 * bits/atomic.h: Move to ...
29688 * sysdeps/generic/atomic-machine.h: ...here.
29689 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29690 * sysdeps/i386/bits/atomic.h: Move to ...
29691 * sysdeps/i386/atomic-machine.h: ...here.
29692 * sysdeps/ia64/bits/atomic.h: Move to ...
29693 * sysdeps/ia64/atomic-machine.h: ...here.
29694 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
29695 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
29696 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29697 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
29698 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
29699 * sysdeps/microblaze/bits/atomic.h: Move to ...
29700 * sysdeps/microblaze/atomic-machine.h: ...here.
29701 * sysdeps/mips/bits/atomic.h: Move to ...
29702 * sysdeps/mips/atomic-machine.h: ...here.
29703 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
29704 * sysdeps/powerpc/bits/atomic.h: Move to ...
29705 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
29706 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
29707 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
29708 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
29709 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
29710 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
29711 <atomic-machine.h> instead of <bits/atomic.h>.
29712 * sysdeps/s390/bits/atomic.h: Move to ...
29713 * sysdeps/s390/atomic-machine.h: ...here.
29714 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
29715 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
29716 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29717 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
29718 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
29719 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
29720 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
29721 * sysdeps/tile/bits/atomic.h: Move to ...
29722 * sysdeps/tile/atomic-machine.h: ...here.
29723 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
29724 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
29725 <sysdeps/tile/atomic-machine.h> instead of
29726 <sysdeps/tile/bits/atomic.h>.
29727 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29728 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
29729 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
29730 <sysdeps/tile/atomic-machine.h> instead of
29731 <sysdeps/tile/bits/atomic.h>.
29732 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29733 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
29734 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
29735 <sysdeps/arm/atomic-machine.h> instead of
29736 <sysdeps/arm/bits/atomic.h>.
29737 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
29738 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
29739 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29740 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
29741 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
29742 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29743 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
29744 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
29745 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
29746 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
29747 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
29748 * sysdeps/x86_64/bits/atomic.h: Move to ...
29749 * sysdeps/x86_64/atomic-machine.h: ...here.
29750 * include/atomic.h: Include <atomic-machine.h> instead of
29751 <bits/atomic.h>.
29752
29753 * sysdeps/mips/mips32/libm-test-ulps: Update.
29754 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29755
29756 [BZ #18952]
29757 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
29758 not convert non-integer negative arguments to int to determine the
29759 value of signgam.
29760 * math/auto-libm-test-in: Add more tests of lgamma.
29761 * math/auto-libm-test-out: Regenerated.
29762
29763 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
29764 cosh, csqrt, erfc, expm1 and lgamma.
29765 * math/auto-libm-test-out: Regenerated.
29766 * sysdeps/i386/fpu/libm-test-ulps: Update.
29767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29768
29769 2015-09-10 Joseph Myers <joseph@codesourcery.com>
29770
29771 [BZ #2542]
29772 [BZ #2543]
29773 [BZ #2558]
29774 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
29775 __lgamma_neg for arguments from -28.0 to -2.0.
29776 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
29777 __lgamma_negf for arguments from -15.0 to -2.0.
29778 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29779 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
29780 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
29781 Call __lgamma_negl for arguments from -33.0 to -2.0.
29782 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
29783 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
29784 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
29785 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
29786 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
29787 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
29788 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
29789 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
29790 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
29791 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
29792 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
29793 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
29794 (__lgamma_neg): Likewise.
29795 (__lgamma_negl): Likewise.
29796 (__lgamma_product): Likewise.
29797 (__lgamma_productl): Likewise.
29798 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
29799 * math/auto-libm-test-in: Add more tests of lgamma.
29800 * math/auto-libm-test-out: Regenerated.
29801 * sysdeps/i386/fpu/libm-test-ulps: Update.
29802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29803
29804 2015-09-09 Justin Maggard <jmaggard@netgear.com>
29805
29806 [BZ #18675]
29807 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
29808
29809 2015-09-08 Joseph Myers <joseph@codesourcery.com>
29810
29811 [BZ #14912]
29812 * bits/libc-lock.h: Move to ...
29813 * sysdeps/generic/libc-lock.h: ...here.
29814 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
29815 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
29816 * sysdeps/mach/hurd/libc-lock.h: ...here.
29817 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
29818 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
29819 * sysdeps/mach/bits/libc-lock.h: Move to ...
29820 * sysdeps/mach/libc-lock.h: ...here.
29821 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
29822 * sysdeps/nptl/bits/libc-lock.h: Move to ...
29823 * sysdeps/nptl/libc-lock.h: ...here.
29824 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
29825 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
29826 * sysdeps/nptl/libc-lockP.h: ...here.
29827 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
29828 * crypt/crypt_util.c: Include <libc-lock.h> instead of
29829 <bits/libc-lock.h>.
29830 * dirent/scandir-tail.c: Likewise.
29831 * dlfcn/dlerror.c: Likewise.
29832 * elf/dl-close.c: Likewise.
29833 * elf/dl-iteratephdr.c: Likewise.
29834 * elf/dl-lookup.c: Likewise.
29835 * elf/dl-open.c: Likewise.
29836 * elf/dl-support.c: Likewise.
29837 * elf/dl-writev.h: Likewise.
29838 * elf/rtld.c: Likewise.
29839 * grp/fgetgrent.c: Likewise.
29840 * gshadow/fgetsgent.c: Likewise.
29841 * gshadow/sgetsgent.c: Likewise.
29842 * iconv/gconv_conf.c: Likewise.
29843 * iconv/gconv_db.c: Likewise.
29844 * iconv/gconv_dl.c: Likewise.
29845 * iconv/gconv_int.h: Likewise.
29846 * iconv/gconv_trans.c: Likewise.
29847 * include/link.h: Likewise.
29848 * inet/getnameinfo.c: Likewise.
29849 * inet/getnetgrent.c: Likewise.
29850 * inet/getnetgrent_r.c: Likewise.
29851 * intl/bindtextdom.c: Likewise.
29852 * intl/dcigettext.c: Likewise.
29853 * intl/finddomain.c: Likewise.
29854 * intl/gettextP.h: Likewise.
29855 * intl/loadmsgcat.c: Likewise.
29856 * intl/localealias.c: Likewise.
29857 * intl/textdomain.c: Likewise.
29858 * libidn/idn-stub.c: Likewise.
29859 * libio/libioP.h: Likewise.
29860 * locale/duplocale.c: Likewise.
29861 * locale/freelocale.c: Likewise.
29862 * locale/newlocale.c: Likewise.
29863 * locale/setlocale.c: Likewise.
29864 * login/getutent_r.c: Likewise.
29865 * login/getutid_r.c: Likewise.
29866 * login/getutline_r.c: Likewise.
29867 * login/utmp-private.h: Likewise.
29868 * login/utmpname.c: Likewise.
29869 * malloc/mtrace.c: Likewise.
29870 * misc/efgcvt.c: Likewise.
29871 * misc/error.c: Likewise.
29872 * misc/fstab.c: Likewise.
29873 * misc/getpass.c: Likewise.
29874 * misc/mntent.c: Likewise.
29875 * misc/syslog.c: Likewise.
29876 * nis/nis_call.c: Likewise.
29877 * nis/nis_callback.c: Likewise.
29878 * nis/nss-default.c: Likewise.
29879 * nis/nss_compat/compat-grp.c: Likewise.
29880 * nis/nss_compat/compat-initgroups.c: Likewise.
29881 * nis/nss_compat/compat-pwd.c: Likewise.
29882 * nis/nss_compat/compat-spwd.c: Likewise.
29883 * nis/nss_nis/nis-alias.c: Likewise.
29884 * nis/nss_nis/nis-ethers.c: Likewise.
29885 * nis/nss_nis/nis-grp.c: Likewise.
29886 * nis/nss_nis/nis-hosts.c: Likewise.
29887 * nis/nss_nis/nis-network.c: Likewise.
29888 * nis/nss_nis/nis-proto.c: Likewise.
29889 * nis/nss_nis/nis-pwd.c: Likewise.
29890 * nis/nss_nis/nis-rpc.c: Likewise.
29891 * nis/nss_nis/nis-service.c: Likewise.
29892 * nis/nss_nis/nis-spwd.c: Likewise.
29893 * nis/nss_nisplus/nisplus-alias.c: Likewise.
29894 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
29895 * nis/nss_nisplus/nisplus-grp.c: Likewise.
29896 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
29897 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
29898 * nis/nss_nisplus/nisplus-network.c: Likewise.
29899 * nis/nss_nisplus/nisplus-proto.c: Likewise.
29900 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
29901 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
29902 * nis/nss_nisplus/nisplus-service.c: Likewise.
29903 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
29904 * nis/ypclnt.c: Likewise.
29905 * nptl/libc_pthread_init.c: Likewise.
29906 * nss/getXXbyYY.c: Likewise.
29907 * nss/getXXent.c: Likewise.
29908 * nss/getXXent_r.c: Likewise.
29909 * nss/nss_db/db-XXX.c: Likewise.
29910 * nss/nss_db/db-netgrp.c: Likewise.
29911 * nss/nss_db/nss_db.h: Likewise.
29912 * nss/nss_files/files-XXX.c: Likewise.
29913 * nss/nss_files/files-alias.c: Likewise.
29914 * nss/nsswitch.c: Likewise.
29915 * posix/regex_internal.h: Likewise.
29916 * posix/wordexp.c: Likewise.
29917 * pwd/fgetpwent.c: Likewise.
29918 * resolv/res_hconf.c: Likewise.
29919 * resolv/res_libc.c: Likewise.
29920 * shadow/fgetspent.c: Likewise.
29921 * shadow/lckpwdf.c: Likewise.
29922 * shadow/sgetspent.c: Likewise.
29923 * socket/opensock.c: Likewise.
29924 * stdio-common/reg-modifier.c: Likewise.
29925 * stdio-common/reg-printf.c: Likewise.
29926 * stdio-common/reg-type.c: Likewise.
29927 * stdio-common/vfprintf.c: Likewise.
29928 * stdio-common/vfscanf.c: Likewise.
29929 * stdlib/abort.c: Likewise.
29930 * stdlib/cxa_atexit.c: Likewise.
29931 * stdlib/fmtmsg.c: Likewise.
29932 * stdlib/random.c: Likewise.
29933 * stdlib/setenv.c: Likewise.
29934 * string/strsignal.c: Likewise.
29935 * sunrpc/auth_none.c: Likewise.
29936 * sunrpc/bindrsvprt.c: Likewise.
29937 * sunrpc/create_xid.c: Likewise.
29938 * sunrpc/key_call.c: Likewise.
29939 * sunrpc/rpc_thread.c: Likewise.
29940 * sysdeps/arm/backtrace.c: Likewise.
29941 * sysdeps/generic/ldsodefs.h: Likewise.
29942 * sysdeps/generic/stdio-lock.h: Likewise.
29943 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
29944 * sysdeps/i386/backtrace.c: Likewise.
29945 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29946 * sysdeps/m68k/backtrace.c: Likewise.
29947 * sysdeps/mach/hurd/cthreads.c: Likewise.
29948 * sysdeps/mach/hurd/dirstream.h: Likewise.
29949 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
29950 * sysdeps/nptl/malloc-machine.h: Likewise.
29951 * sysdeps/nptl/stdio-lock.h: Likewise.
29952 * sysdeps/posix/dirstream.h: Likewise.
29953 * sysdeps/posix/getaddrinfo.c: Likewise.
29954 * sysdeps/posix/system.c: Likewise.
29955 * sysdeps/pthread/aio_suspend.c: Likewise.
29956 * sysdeps/s390/s390-32/backtrace.c: Likewise.
29957 * sysdeps/s390/s390-64/backtrace.c: Likewise.
29958 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29959 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
29960 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
29961 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
29962 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
29963 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
29964 * sysdeps/unix/sysv/linux/system.c: Likewise.
29965 * sysdeps/x86_64/backtrace.c: Likewise.
29966 * time/alt_digit.c: Likewise.
29967 * time/era.c: Likewise.
29968 * time/tzset.c: Likewise.
29969 * wcsmbs/wcsmbsload.c: Likewise.
29970 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
29971 instead of <bits/libc-lock.h> in comment.
29972
29973 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
29974
29975 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
29976 Only use .set mips2 if the current ISA is below mips2.
29977 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
29978 Likewise.
29979 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
29980 mips32r2 if the current ISA is below mips32r2.
29981 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
29982 (TLS_IE): Updated to use the TLD_RDHWR macro.
29983 (TLS_LE): Likewise.
29984 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
29985 __ASSEMBLER__ condition.
29986
29987 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
29988
29989 Fix parallel build of before-compile targets.
29990
29991 * sysdeps/mach/Makefile ($(patsubst
29992 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
29993 mach-before-compile target.
29994 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
29995 io fs process)): Move rule to dedicated hurd-before-compile target.
29996
29997 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29998
29999 Fix rules generating headers in hurd/ and mach/ when initial make call
30000 has subdir= explicitly set.
30001
30002 * sysdeps/mach/Makefile ($(patsubst
30003 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
30004 calling $(MAKE).
30005 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
30006 io fs process)): Force subdir to hurd when calling $(MAKE).
30007 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
30008 subdir to mach when calling $(MAKE).
30009
30010 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
30011
30012 Check sysheaders when looking for Mach and Hurd headers
30013
30014 * sysdeps/mach/configure.ac: Add sysheaders check.
30015 * sysdeps/mach/configure: Regenerate.
30016 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
30017 * sysdeps/mach/hurd/configure: Regenerate.
30018
30019 2015-09-04 Roland McGrath <roland@hack.frob.com>
30020
30021 [BZ #18921]
30022 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
30023 Fix inverted sense of test of 'o_directory_works' value.
30024 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
30025 Bernhard Voelker <mail@bernhard-voelker.de>.
30026
30027 2015-09-04 Joseph Myers <joseph@codesourcery.com>
30028
30029 [BZ #14912]
30030 * bits/linkmap.h: Move to ...
30031 * sysdeps/generic/linkmap.h: ...here.
30032 * sysdeps/aarch64/bits/linkmap.h: Move to ...
30033 * sysdeps/aarch64/linkmap.h: ...here.
30034 * sysdeps/arm/bits/linkmap.h: Move to ...
30035 * sysdeps/arm/linkmap.h: ...here.
30036 * sysdeps/hppa/bits/linkmap.h: Move to ...
30037 * sysdeps/hppa/linkmap.h: ...here.
30038 * sysdeps/ia64/bits/linkmap.h: Move to ...
30039 * sysdeps/ia64/linkmap.h: ...here.
30040 * sysdeps/mips/bits/linkmap.h: Move to ...
30041 * sysdeps/mips/linkmap.h: ...here.
30042 * sysdeps/s390/bits/linkmap.h: Move to ...
30043 * sysdeps/s390/linkmap.h: ...here.
30044 * sysdeps/sh/bits/linkmap.h: Move to ...
30045 * sysdeps/sh/linkmap.h: ...here.
30046 * sysdeps/x86/bits/linkmap.h: Move to ...
30047 * sysdeps/x86/linkmap.h: ...here.
30048 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
30049
30050 2015-09-04 Andreas Schwab <schwab@suse.de>
30051
30052 [BZ #18635]
30053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
30054 (__makecontext): Terminate FDE before return label.
30055 (__novec_makecontext): Likewise.
30056
30057 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
30058
30059 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
30060 first member of struct sv in syscall macro.
30061
30062 2015-09-04 Joseph Myers <joseph@codesourcery.com>
30063
30064 [BZ #14912]
30065 * bits/stdio-lock.h: Move to ...
30066 * sysdeps/generic/stdio-lock.h: ...here.
30067 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
30068 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
30069 * sysdeps/nptl/stdio-lock.h: ...here.
30070 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
30071 * include/libio.h: Include <stdio-lock.h> instead of
30072 <bits/stdio-lock.h>.
30073 * sysdeps/nptl/fork.c: Likewise.
30074 * sysdeps/pthread/flockfile.c: Likewise.
30075 * sysdeps/pthread/ftrylockfile.c: Likewise.
30076 * sysdeps/pthread/funlockfile.c: Likewise.
30077
30078 [BZ #14912]
30079 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
30080 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
30081 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
30082 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
30083 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
30084 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
30085 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
30086
30087 2015-09-03 Roland McGrath <roland@hack.frob.com>
30088
30089 * elf/Makefile (test-xfail-tst-protected1a): New variable.
30090 (test-xfail-tst-protected1b): New variable.
30091
30092 2015-09-03 Joseph Myers <joseph@codesourcery.com>
30093
30094 [BZ #14912]
30095 * bits/libc-tsd.h: Move to ...
30096 * sysdeps/generic/libc-tsd.h: ...here.
30097 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
30098 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
30099 * sysdeps/mach/hurd/libc-tsd.h: ...here.
30100 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
30101 * include/ctype.h: Include <libc-tsd.h> instead of
30102 <bits/libc-tsd.h>.
30103 * include/rpc/rpc.h: Likewise.
30104 * locale/localeinfo.h: Likewise.
30105 * sunrpc/rpc_thread.c: Likewise.
30106 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
30107 * sysdeps/nptl/malloc-machine.h: Likewise.
30108
30109 * Makefile (headers): Remove bits/libc-lock.h.
30110 * libio/Makefile (headers): Remove bits/stdio-lock.h.
30111
30112 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
30113 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
30114 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
30115 <bits/stdio-lock.h>.
30116 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
30117 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
30118
30119 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30120
30121 [BZ #18757]
30122 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
30123 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
30124 BZ #18757.
30125
30126 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30127
30128 * malloc/mtrace.pl: Filter out NULL entries.
30129
30130 2015-09-01 Joseph Myers <joseph@codesourcery.com>
30131
30132 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
30133 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
30134 macro.
30135
30136 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
30137 (TCP_CC_INFO): Likewise.
30138 (TCP_SAVE_SYN): Likewise.
30139 (TCP_SAVED_SYN): Likewise.
30140
30141 2015-08-31 Brett Neumeier <brett@neumeier.us>
30142
30143 [BZ #18870]
30144 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
30145
30146 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
30147
30148 [BZ #18873]
30149 Fix broken overflow check in posix_fallocate
30150 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
30151 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
30152 Fix parenthesization typo.
30153
30154 2015-08-28 Mike Frysinger <vapier@gentoo.org>
30155
30156 [BZ #18887]
30157 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
30158 tst-mntent-blank-passno.
30159 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
30160 * misc/tst-mntent-blank-corrupt.c: New test.
30161 * misc/tst-mntent-blank-passno.c: New test ripped from ...
30162 * misc/tst-mntent.c (do_test): ... here.
30163
30164 2015-08-29 Mike Frysinger <vapier@gentoo.org>
30165
30166 [BZ #4404]
30167 * po/de.po: Fix SIGALRM typo.
30168
30169 2015-08-28 James Perkins <james@loowit.net>
30170
30171 * time/tst-strptime2.c (tests): Replace short list of test
30172 strings for strptime %z specifier with code which exhaustively
30173 tests every combination of sign and 0 to 5 digits. Tests for
30174 rejection of invalid strings.
30175
30176 2015-08-28 James Perkins <james@loowit.net>
30177
30178 [BZ #16141]
30179 * time/strptime_l.c (__strptime_internal): Fix %z minutes
30180 calculation, removing incorrect decimal time rounding, so that
30181 all minute values result in a valid seconds value.
30182 * time/strptime_l.c (__strptime_internal): Extend %z time zone
30183 offset range limits to UTC-99:59 through UTC+99:59 to parse
30184 current and historical use cases.
30185 * time/tst-strptime2.c (tests): Modify and add tests for the
30186 strptime %z input field descriptor, specifically conversion of
30187 minutes to seconds and validating an offset range of -9959 to
30188 +9959.
30189
30190 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30191 Dmitry V. Levin <ldv@altlinux.org>
30192
30193 [BZ #18877]
30194 * posix/Makefile (tests): Add tst-mmap-offset.
30195 * posix/tst-mmap.c: New file.
30196 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
30197 offset calculation for negative values.
30198
30199 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
30200
30201 * sysdeps/i386/init-arch.h: New file.
30202 * sysdeps/i386/i586/init-arch.h: Likewise.
30203 * sysdeps/i386/i686/init-arch.h: Likewise.
30204 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
30205 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
30206 * sysdeps/x86/cpu-features.h (bit_I586): New.
30207 (bit_I686): Likewise.
30208 (bit_CX8): Likewise.
30209 (bit_CMOV): Likewise.
30210 (index_CX8): Likewise.
30211 (index_CMOV): Likewise.
30212 (index_I586): Likewise.
30213 (index_I686): Likewise.
30214 (reg_CX8): Likewise.
30215 (reg_CMOV): Likewise.
30216 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
30217 available at compile-time.
30218 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
30219 available at compile-time.
30220 * sysdeps/x86/init-arch.h (USE_I586): New macro.
30221 (USE_I686): Likewise.
30222
30223 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
30224
30225 * sysdeps/i386/bcopy.S: New file.
30226 * sysdeps/i386/bzero.S: Likewise.
30227 * sysdeps/i386/memcpy.S: Likewise.
30228 * sysdeps/i386/memmove.S: Likewise.
30229 * sysdeps/i386/mempcpy.S: Likewise.
30230 * sysdeps/i386/memset.S: Likewise.
30231 * sysdeps/i386/bzero.c: Removed.
30232 * sysdeps/i386/memset.c: Likewise.
30233 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
30234 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
30235 * sysdeps/i386/i586/memset_chk.S: Likewise.
30236 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
30237 * sysdeps/i386/memcpy_chk.S: Here.
30238 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
30239 * sysdeps/i386/memmove_chk.S: Here.
30240 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
30241 * sysdeps/i386/mempcpy_chk.S: Likewise.
30242 * sysdeps/i386/i686/memset_chk.S: Moved to ...
30243 * sysdeps/i386/memset_chk.S: Likewise.
30244
30245 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
30246
30247 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
30248 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
30249 file, move DIAG_POP_NEEDS_COMMENT to end of file.
30250 * soft-fp/fmadf4.c: Ditto.
30251 * soft-fp/fmatf4.c: Ditto.
30252
30253 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
30254
30255 * sysdeps/i386/i586/Implies: Removed.
30256 * sysdeps/i386/i686/Implies: Likewise.
30257
30258 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
30259
30260 * sysdeps/i386/i486/strlen.S: Moved to ...
30261 * sysdeps/i386/strlen.S: Here.
30262
30263 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
30264
30265 * sysdeps/i386/i486/strcat.S: Moved to ...
30266 * sysdeps/i386/strcat.S: Here.
30267
30268 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
30269
30270 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
30271 * sysdeps/i386/pthread_spin_trylock.S: Here.
30272 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
30273 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
30274
30275 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
30276
30277 * sysdeps/i386/i486/string-inlines.c: Moved to ...
30278 * sysdeps/i386/string-inlines.c: Here.
30279
30280 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
30281
30282 * sysdeps/i386/i486/htonl.S: Moved ...
30283 * sysdeps/i386/htonl.S: here.
30284
30285 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
30286
30287 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
30288 * sysdeps/i386/bits/atomic.h: Here.
30289
30290 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
30291
30292 * sysdeps/i386/i486/Versions: Removed.
30293
30294 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
30295
30296 [BZ #2898]
30297 * misc/mktemp.c: Add mkdtemp to the link_warning message.
30298 Based on patch by Aurelien Jarno.
30299
30300 2015-08-26 Stan Shebs <stanshebs@google.com>
30301
30302 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
30303 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
30304
30305 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
30306
30307 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
30308 * sysdeps/powerpc/dl-procinfo.c:
30309 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
30310 feature so it shows when LD_SHOW_AUXV=1.
30311
30312 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
30313
30314 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
30315 (__arch_compare_and_exchange_val_32_acq): Remove and use common
30316 definition. ISA 2.07B no longer requires full sync.
30317
30318 2015-08-26 Mike Frysinger <vapier@gentoo.org>
30319
30320 [BZ #18863]
30321 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
30322 (si_call_addr): Define.
30323 (si_syscall): Define.
30324 (si_arch): Define.
30325
30326 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
30327
30328 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
30329 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
30330 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
30331 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
30332 (__memset_zero_constant_len_parameter): New.
30333 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
30334 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
30335 (__memset_zero_constant_len_parameter): Don't define if
30336 __memset_chk or USE_AS_BZERO are defined.
30337
30338 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
30339 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
30340 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
30341
30342 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
30343 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
30344 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
30345 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
30346 comments.
30347 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
30348 -mno-mmx for $(all-rtld-routines).
30349 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
30350 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
30351 i386.
30352
30353 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
30354
30355 * sysdeps/generic/unwind.h
30356 (_Unwind_Word): Use __mode__(__unwind_word__)
30357 instead of __mode__(__word__).
30358 (_Unwind_Sword): Likewise.
30359
30360 * sysdeps/s390/s390-64/utf8-utf16-z9.c
30361 (MAX_NEEDED_INPUT): New define.
30362 (MAX_NEEDED_OUTPUT): New define.
30363
30364 * NEWS: New item for IBM z13 string optimizations.
30365
30366 * sysdeps/s390/multiarch/memrchr-c.c: New File.
30367 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
30368 * sysdeps/s390/multiarch/memrchr.c: Likewise.
30369 * sysdeps/s390/multiarch/Makefile
30370 (sysdep_routines): Add memrchr functions.
30371 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30372 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
30373
30374 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
30375 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
30376 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
30377 * sysdeps/s390/multiarch/Makefile
30378 (sysdep_routines): Add wmemcmp functions.
30379 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30380 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
30381 * benchtests/bench-wmemcmp.c: New File.
30382 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
30383
30384 * sysdeps/s390/multiarch/wmemset-c.c: New File.
30385 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
30386 * sysdeps/s390/multiarch/wmemset.c: Likewise.
30387 * sysdeps/s390/multiarch/Makefile
30388 (sysdep_routines): Add wmemset functions.
30389 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30390 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
30391 * wcsmbs/wmemset.c: Use WMEMSET if defined.
30392 * string/test-memset.c: Add wmemset support.
30393 * wcsmbs/test-wmemset.c: New File.
30394 * wcsmbs/Makefile (strop-tests): Add wmemset.
30395 * benchtests/bench-memset.c: Add wmemset support.
30396 * benchtests/bench-wmemset.c: New File.
30397 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
30398
30399 * sysdeps/s390/multiarch/memccpy-c.c: New File.
30400 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
30401 * sysdeps/s390/multiarch/memccpy.c: Likewise.
30402 * sysdeps/s390/multiarch/Makefile
30403 (sysdep_routines): Add memccpy functions.
30404 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30405 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
30406 * string/memccpy.c: Use MEMCCPY if defined.
30407
30408 * sysdeps/s390/multiarch/memchr-vx.S: New File.
30409 * sysdeps/s390/multiarch/memchr.c: Likewise.
30410 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
30411 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
30412 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
30413 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
30414 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
30415 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
30416 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
30417 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
30418 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
30419 and rawmemchr functions.
30420 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30421 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
30422 and wmemchr.
30423 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
30424 * string/test-memchr.c: Add wmemchr support.
30425 * wcsmbs/test-wmemchr.c: New File.
30426 * wcsmbs/Makefile (strop-tests): Add wmemchr.
30427 * benchtests/bench-memchr.c: Add wmemchr support.
30428 * benchtests/bench-wmemchr.c: New File.
30429 * benchtests/Makefile (wcsmbs-bench): wmemchr.
30430
30431 * sysdeps/s390/multiarch/strcspn-c.c: New File.
30432 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
30433 * sysdeps/s390/multiarch/strcspn.c: Likewise.
30434 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
30435 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
30436 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
30437 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
30438 wcscspn functions.
30439 * sysdeps/s390/multiarch/ifunc-impl-list.c
30440 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
30441 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
30442 * string/test-strcspn.c: Add wcscspn support.
30443 * wcsmbs/test-wcscspn.c: New File.
30444 * wcsmbs/Makefile (strop-tests): Add wcscspn.
30445 * benchtests/bench-strcspn.c: Add wcscspn support.
30446 * benchtests/bench-wcscspn.c: New File.
30447 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
30448
30449 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
30450 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
30451 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
30452 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
30453 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
30454 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
30455 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
30456 wcspbrk functions.
30457 * sysdeps/s390/multiarch/ifunc-impl-list.c
30458 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
30459 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
30460 * string/test-strpbrk.c: Add wcspbrk support.
30461 * wcsmbs/test-wcspbrk.c: New File.
30462 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
30463 * benchtests/bench-strpbrk.c: Add wcspbrk support.
30464 * benchtests/bench-wcspbrk.c: New File.
30465 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
30466
30467 * sysdeps/s390/multiarch/strspn-c.c: New File.
30468 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
30469 * sysdeps/s390/multiarch/strspn.c: Likewise.
30470 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
30471 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
30472 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
30473 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
30474 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
30475 wcsspn functions.
30476 * sysdeps/s390/multiarch/ifunc-impl-list.c
30477 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
30478 * string/test-strspn.c: Add wcsspn support.
30479 * wcsmbs/test-wcsspn.c: New File.
30480 * wcsmbs/Makefile (strop-tests): Add wcsspn.
30481 * benchtests/bench-strspn.c: Add wcsspn support.
30482 * benchtests/bench-wcsspn.c: New File.
30483 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
30484
30485 * sysdeps/s390/multiarch/strrchr-c.c: New File.
30486 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
30487 * sysdeps/s390/multiarch/strrchr.c: Likewise.
30488 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
30489 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
30490 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
30491 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
30492 wcsrchr functions.
30493 * sysdeps/s390/multiarch/ifunc-impl-list.c
30494 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
30495 * benchtests/bench-wcsrchr.c: New File.
30496 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
30497
30498 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
30499 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
30500 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
30501 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
30502 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
30503 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
30504 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
30505 wcschrnul functions.
30506 * sysdeps/s390/multiarch/ifunc-impl-list.c
30507 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
30508 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
30509 * string/test-strchr.c: Add wcschrnul support.
30510 * wcsmbs/test-wcschrnul.c: New File.
30511 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
30512 * benchtests/bench-strchr.c: Add wcschrnul support.
30513 * benchtests/bench-wcschrnul.c: New File.
30514 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
30515
30516 * sysdeps/s390/multiarch/strchr-c.c: New File.
30517 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
30518 * sysdeps/s390/multiarch/strchr.c: Likewise.
30519 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
30520 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
30521 * sysdeps/s390/multiarch/wcschr.c: Likewise.
30522 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
30523 wcschr functions.
30524 * sysdeps/s390/multiarch/ifunc-impl-list.c
30525 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
30526 * string/strchr.c (STRCHR): Define and use macro.
30527 * benchtests/bench-wcschr.c: New File.
30528 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
30529
30530 * sysdeps/s390/multiarch/strncmp-c.c: New File.
30531 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
30532 * sysdeps/s390/multiarch/strncmp.c: Likewise.
30533 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
30534 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
30535 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
30536 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
30537 wcsncmp functions.
30538 * sysdeps/s390/multiarch/ifunc-impl-list.c
30539 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
30540 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
30541 * benchtests/bench-strncmp.c: Add wcsncmp support.
30542 * benchtests/bench-wcsncmp.c: New File.
30543 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
30544
30545 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
30546 * sysdeps/s390/multiarch/strcmp.c: Likewise.
30547 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
30548 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
30549 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
30550 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
30551 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
30552 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
30553 wcscmp functions.
30554 * sysdeps/s390/multiarch/ifunc-impl-list.c
30555 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
30556 * string/strcmp.c (STRCMP): Define and use macro.
30557 * benchtests/bench-wcscmp.c: New File.
30558 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
30559 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
30560 instead of _HAVE_STRING_ARCH_memchr.
30561
30562 * sysdeps/s390/multiarch/strncat-c.c: New File.
30563 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
30564 * sysdeps/s390/multiarch/strncat.c: Likewise.
30565 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
30566 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
30567 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
30568 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
30569 wcsncat functions.
30570 * sysdeps/s390/multiarch/ifunc-impl-list.c
30571 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
30572 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
30573 * string/test-strncat.c: Add wcsncat support.
30574 * wcsmbs/test-wcsncat.c: New File.
30575 * wcsmbs/Makefile (strop-tests): Add wcsncat.
30576 * benchtests/bench-strncat.c: Add wcsncat support.
30577 * benchtests/bench-wcsncat.c: New File.
30578 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
30579
30580 * sysdeps/s390/multiarch/strcat-c.c: New File.
30581 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
30582 * sysdeps/s390/multiarch/strcat.c: Likewise.
30583 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
30584 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
30585 * sysdeps/s390/multiarch/wcscat.c: Likewise.
30586 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
30587 wcscat functions.
30588 * sysdeps/s390/multiarch/ifunc-impl-list.c
30589 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
30590 * string/strcat.c (STRCAT): Define and use macro.
30591 * wcsmbs/wcscat.c: Use WCSCAT if defined.
30592 * string/test-strcat.c: Add wcscat support.
30593 * wcsmbs/test-wcscat.c: New File.
30594 * wcsmbs/Makefile (strop-tests): Add wcscat.
30595 * benchtests/bench-strcat.c: Add wcscat support.
30596 * benchtests/bench-wcscat.c: New File.
30597 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
30598
30599 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
30600 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
30601 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
30602 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
30603 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
30604 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
30605 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
30606 wcpncpy functions.
30607 * sysdeps/s390/multiarch/ifunc-impl-list.c
30608 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
30609 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
30610 * string/test-stpncpy.c: Add wcpncpy support.
30611 * wcsmbs/test-wcpncpy.c: New File.
30612 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
30613 * benchtests/bench-stpncpy.c: Add wcpncpy support.
30614 * benchtests/bench-wcpncpy.c: New File.
30615 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
30616
30617 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
30618 * sysdeps/s390/multiarch/strncpy.c: Likewise.
30619 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
30620 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
30621 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
30622 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
30623 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
30624 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
30625 wcsncpy functions.
30626 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
30627 * sysdeps/s390/multiarch/ifunc-impl-list.c
30628 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
30629 * string/test-strncpy.c: Add wcsncpy support.
30630 * wcsmbs/test-wcsncpy.c: New File.
30631 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
30632 * benchtests/bench-strncpy.c: Add wcsncpy support.
30633 * benchtests/bench-wcsncpy.c: New File.
30634 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
30635
30636 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
30637 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
30638 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
30639 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
30640 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
30641 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
30642 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
30643 wcpcpy functions.
30644 * string/stpcpy.c: Use STPCPY if defined.
30645 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
30646 * sysdeps/s390/multiarch/ifunc-impl-list.c
30647 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
30648 * string/test-stpcpy.c: Add wcpcpy support.
30649 * wcsmbs/test-wcpcpy.c: New File.
30650 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
30651 * benchtests/bench-stpcpy.c: Add wcpcpy support.
30652 * benchtests/bench-wcpcpy.c: New File.
30653 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
30654
30655 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
30656 * sysdeps/s390/multiarch/strcpy.c: Likewise.
30657 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
30658 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
30659 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
30660 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
30661 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
30662 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
30663 wcscpy functions.
30664 * sysdeps/s390/multiarch/ifunc-impl-list.c
30665 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
30666 * benchtests/bench-wcscpy.c: New File.
30667 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
30668
30669 * sysdeps/s390/multiarch/strnlen-c.c: New File.
30670 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
30671 * sysdeps/s390/multiarch/strnlen.c: Likewise.
30672 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
30673 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
30674 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
30675 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
30676 wcsnlen functions.
30677 * sysdeps/s390/multiarch/ifunc-impl-list.c
30678 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
30679 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
30680 * string/test-strnlen.c: Add wcsnlen support.
30681 * wcsmbs/test-wcsnlen.c: New File.
30682 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
30683 * benchtests/bench-strnlen.c: Add wcsnlen support.
30684 * benchtests/bench-wcsnlen.c: New File.
30685 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
30686
30687 * sysdeps/s390/multiarch/Makefile: New File.
30688 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
30689 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
30690 * sysdeps/s390/multiarch/strlen.c: Likewise.
30691 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
30692 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
30693 * sysdeps/s390/multiarch/wcslen.c: Likewise.
30694 * string/strlen.c (STRLEN): Define and use macro.
30695 * sysdeps/s390/multiarch/ifunc-impl-list.c
30696 (IFUNC_VX_IMPL): New macro function.
30697 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
30698 * benchtests/Makefile (wcsmbs-bench): New variable.
30699 (string-bench-all): Added wcsmbs-bench.
30700 * benchtests/bench-wcslen.c: New File.
30701
30702 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
30703 s390_vx_libc_ifunc2): New macro function.
30704
30705 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
30706 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
30707 assembler support.
30708 * sysdeps/s390/configure: Regenerated.
30709
30710 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
30711 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
30712
30713 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
30714 * sysdeps/s390/dl-procinfo.h: Add vector capability.
30715 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
30716
30717 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
30718 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
30719 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
30720 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
30721 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
30722 (memcmp, bcmp): Use __memcmp_default as alias source.
30723 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
30724 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
30725 Rename to __memcmp_default.
30726 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
30727 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
30728 (memcpy): Use __memcpy_default as alias source.
30729 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
30730 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
30731 Rename to __memcpy_default.
30732 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
30733 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
30734 (memset): Use __memset_default as alias source.
30735 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
30736 * sysdeps/s390/s390-32/memset.S (__memset_g5):
30737 Rename to __memset_default.
30738 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
30739 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
30740 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
30741 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
30742 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
30743 (memcmp, bcmp): Use __memcmp_default as alias source.
30744 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
30745 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
30746 Rename to __memcmp_default.
30747 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
30748 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
30749 (memcpy): Use __memcpy_default as alias source.
30750 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
30751 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
30752 Rename to __memcpy_default.
30753 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
30754 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
30755 (memset): Use __memset_default as alias source.
30756 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
30757 * sysdeps/s390/s390-64/memset.S (__memset_z900):
30758 Rename to __memset_default.
30759 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
30760 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
30761
30762 [BZ #18610]
30763 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
30764 __ieee_instruction_pointer to __unused.
30765 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
30766 __ieee_instruction_pointer.
30767 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
30768 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
30769 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30770 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30771 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
30772 Mark dxc-field as reserved.
30773
30774 2015-08-25 Roland McGrath <roland@hack.frob.com>
30775
30776 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
30777 if the weak reference is not null.
30778
30779 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
30780
30781 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
30782
30783 [BZ #11214]
30784 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
30785
30786 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30787
30788 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
30789 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
30790 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
30791 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
30792 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
30793 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
30794 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
30795 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
30796 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
30797 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
30798 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
30799 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
30800 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
30801 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
30802 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
30803 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
30804 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
30805 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
30806
30807 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
30808
30809 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
30810 register other than r0 for tabort, it has special meaning.
30811 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
30812 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
30813 transaction before starting syscall.
30814
30815 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30816
30817 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
30818
30819 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
30820
30821 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
30822
30823 * sysdeps/x86_64/rtld-memcmp.c: Removed.
30824 * sysdeps/x86_64/rtld-memset.S: Likewise.
30825 * sysdeps/x86_64/rtld-strchr.S: Likewise.
30826 * sysdeps/x86_64/rtld-strlen.S: Likewise.
30827 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
30828 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
30829
30830 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
30831
30832 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
30833
30834 * debug/strcpy_chk.c: Improve performance.
30835 * debug/stpcpy_chk.c: Likewise.
30836 * sysdeps/x86_64/strcpy_chk.S: Remove.
30837 * sysdeps/x86_64/stpcpy_chk.S: Remove.
30838
30839 [BZ #18240]
30840 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
30841
30842 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
30843
30844 [BZ #15128]
30845 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
30846 ifuncmain8.
30847 (modules-names): Add ifuncmod8.
30848 ($(objpfx)ifuncmain8): New rule.
30849 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
30850 <cpuid.h>.
30851 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
30852 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
30853 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
30854 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
30855 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
30856 * sysdeps/x86_64/dl-trampoline.h: Likewise.
30857 * sysdeps/x86_64/ifuncmain8.c: New file.
30858 * sysdeps/x86_64/ifuncmod8.c: Likewise.
30859 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
30860 Removed.
30861 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
30862 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
30863 Change rtld_savespace_sse to __glibc_unused2.
30864 (RTLD_CHECK_FOREIGN_CALL): Removed.
30865 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
30866 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
30867 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
30868
30869 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
30870
30871 * sysdeps/aarch64/bzero.S (__bzero): Remove.
30872
30873 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
30874
30875 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
30876 Unconditionally set __fpcr to avoid uninialized warning.
30877 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
30878
30879 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30880
30881 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
30882 is corrupt.
30883
30884 * malloc/arena.c (arena_get2): Drop unused argument.
30885 (arena_lock): Adjust.
30886 (arena_get_retry): Likewise.
30887
30888 2015-08-24 Andreas Schwab <schwab@suse.de>
30889
30890 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
30891 Don't define.
30892 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
30893 (__ASSUME_IPC64): Don't undef.
30894 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
30895 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30896 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30897 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
30898 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
30899 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
30900 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
30901 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
30902 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
30903 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
30904 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
30905 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
30906 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
30907 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
30908 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
30909 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
30910 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
30911 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
30912 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
30913 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
30914 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
30915
30916 2015-08-21 Mike Frysinger <vapier@gentoo.org>
30917
30918 * manual/Makefile (install): Only build manual when perl is available.
30919
30920 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
30921
30922 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
30923 '#undef memcpy' by '#undef memchr'.
30924
30925 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
30926
30927 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
30928 memchr not point to the internal __GI_memchr implementation.
30929
30930 2015-08-20 Joseph Myers <joseph@codesourcery.com>
30931
30932 * timezone/Makefile (CFLAGS-zdump.c): Remove
30933 -Wno-strict-prototypes.
30934 (CFLAGS-zic.c): Likewise.
30935 (CFLAGS-ialloc.c): Likewise.
30936 (CFLAGS-scheck.c): Likewise.
30937
30938 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
30939 -Wno-error=undef.
30940
30941 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
30942
30943 * i386/i686/multiarch/strcasestr-c.c: Removed.
30944 * x86_64/multiarch/strcasestr.c: Likewise.
30945 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30946 Remove strcasestr.
30947
30948 2015-08-20 Joseph Myers <joseph@codesourcery.com>
30949
30950 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
30951
30952 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
30953 variables for high and low parts before possibly modifying them.
30954
30955 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
30956
30957 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
30958 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
30959 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
30960 of "multiarch/init-arch.h".
30961 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
30962 * sysdeps/x86/init-arch.h: This.
30963
30964 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
30965
30966 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
30967 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
30968
30969 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
30970
30971 [BZ #17787]
30972 * manual/macros.texi: Add twoexp macro.
30973 * manual/filesys.texi: Fix exponents.
30974 * manual/llio.texi: Likewise.
30975 * manual/stdio.texi: Likewise.
30976
30977 2015-08-20 Florian Weimer <fweimer@redhat.com>
30978
30979 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
30980 incorrect use.
30981
30982 2015-08-19 Joseph Myers <joseph@codesourcery.com>
30983
30984 [BZ #18370]
30985 * math/s_csqrt.c (__csqrt): Force underflow exception for results
30986 whose real or imaginary part has small absolute value.
30987 * math/s_csqrtf.c (__csqrtf): Likewise.
30988 * math/s_csqrtl.c (__csqrtl): Likewise.
30989 * math/auto-libm-test-in: Add more tests of csqrt.
30990 * math/auto-libm-test-out: Regenerated.
30991 * sysdeps/i386/fpu/libm-test-ulps: Update.
30992
30993 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30994
30995 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
30996 __ppc_set_ppr_very_low): New functions.
30997 * manual/platform.texi: Add documentation about
30998 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
30999
31000 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
31001
31002 * string/stpncpy.c (stpncpy): Improve performance using
31003 __strnlen/memcpy/memset.
31004
31005 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
31006
31007 [BZ #18796]
31008 * scripts/test-installation.pl: Don't add -lmvec to build options if
31009 libmvec wasn't built.
31010
31011 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
31012
31013 [BZ #14341]
31014 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
31015 case when there is a gap between DT_REL and DT_JMPREL sections.
31016 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
31017 (LDFLAGS-tst-split-dynreloc): New.
31018 (tst-split-dynreloc-ENV): Likewise.
31019 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
31020 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
31021
31022 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
31023
31024 [BZ #18822]
31025 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
31026 attribute_hidden.
31027 (__xstat64_conv): Likewise.
31028 (__xstat32_conv): Likewise.
31029
31030 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
31031
31032 [BZ #18822]
31033 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
31034 Don't load %ebx when calling __setcontext. Call __setcontext
31035 with HIDDEN_JUMPTARGET.
31036 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
31037 libc_hidden_def.
31038
31039 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
31040
31041 * sysdeps/i386/i686/Makefile
31042 [$(subdir) == string] (sysdep_routines): Moved to ...
31043 * sysdeps/i386/Makefile: Here.
31044 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
31045 * sysdeps/i386/cacheinfo.c: Here.
31046 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
31047 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
31048 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
31049 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
31050
31051 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
31052
31053 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
31054 __i586__ is defined.
31055 (HAS_I686): Defined to 1 if __i686__ is defined.
31056
31057 2015-08-19 Joseph Myers <joseph@codesourcery.com>
31058
31059 * elf/Makefile [$(have-z-execstack) = yes]
31060 (CPPFLAGS-tst-execstack.c): New variable.
31061
31062 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
31063 conditional to [defined UTMPX || _HAVE_UT_TYPE].
31064 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
31065 UTMPX || _HAVE_UT_TV].
31066 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
31067 UTMPX || _HAVE_UT_TV - 0].
31068
31069 2015-08-18 Joseph Myers <joseph@codesourcery.com>
31070
31071 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
31072 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
31073 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
31074
31075 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
31076
31077 * sysdeps/powerpc/dl-procinfo.c:
31078 (_dl_powerpc_cap_flags): Added missing strings for some
31079 hwcap features.
31080 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
31081
31082 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
31083
31084 Port the 0x7efe...feff pattern to GCC 6.
31085 See Steve Ellcey's bug report in:
31086 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
31087 * string/memrchr.c (MEMRCHR):
31088 * string/rawmemchr.c (RAWMEMCHR):
31089 * string/strchr.c (strchr):
31090 * string/strchrnul.c (STRCHRNUL):
31091 Rewrite code to avoid issues with signed shift overflow.
31092
31093 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
31094
31095 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
31096 whether cpuid is available only if HAS_CPUID is 0.
31097 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
31098 (HAS_I586): Likewise.
31099 (HAS_I686): Likewise.
31100
31101 2015-08-18 Zack Weinberg <zackw@panix.com>
31102
31103 * misc/Versions (libc): Add GLIBC_2.23.
31104
31105 2015-08-18 Alan Modra <amodra@gmail.com>
31106
31107 [BZ #18421]
31108 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
31109 .Lp__global.
31110 (_start): Load %dp via .Lp__global.
31111 [!SHARED]: Use .section .rodata.
31112
31113 2015-08-18 Mike Frysinger <vapier@gentoo.org>
31114
31115 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
31116 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
31117
31118 2015-08-18 Mike Frysinger <vapier@gentoo.org>
31119
31120 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
31121 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
31122
31123 2015-08-18 Mike Frysinger <vapier@gentoo.org>
31124
31125 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
31126 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
31127
31128 2015-08-18 Mike Frysinger <vapier@gentoo.org>
31129
31130 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
31131 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
31132
31133 2015-08-18 Mike Frysinger <vapier@gentoo.org>
31134
31135 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
31136 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
31137
31138 2015-08-18 Mike Frysinger <vapier@gentoo.org>
31139
31140 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
31141 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
31142
31143 2015-08-18 Mike Frysinger <vapier@gentoo.org>
31144
31145 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
31146
31147 2015-08-18 Mike Frysinger <vapier@gentoo.org>
31148
31149 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
31150 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
31151 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31152 (__ASSUME_LWS_CAS): Delete.
31153
31154 2015-08-18 Mike Frysinger <vapier@gentoo.org>
31155
31156 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
31157 * sysdeps/hppa/configure: Regenerated.
31158 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
31159 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
31160 * sysdeps/hppa/nptl/tls.h: Likewise.
31161
31162 2015-08-17 Joseph Myers <joseph@codesourcery.com>
31163
31164 [BZ #18823]
31165 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
31166 for scaling up small arguments.
31167 * math/s_csqrtf.c (__csqrtf): Likewise.
31168 * math/s_csqrtl.c (__csqrtl): Likewise.
31169 * math/auto-libm-test-in: Add more tests of csqrt.
31170 * math/auto-libm-test-out: Regenerated.
31171
31172 2015-08-17 Andreas Schwab <schwab@suse.de>
31173
31174 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
31175 version set GLIBC_2.19.
31176
31177 2015-08-16 Zack Weinberg <zackw@panix.com>
31178
31179 [BZ #18681]
31180 * misc/regexp.h: This interface is no longer supported.
31181 Remove all contents, leaving only an #error directive.
31182 * misc/regexp.c (loc1, loc2, locs, step, advance):
31183 Demote to compatibility symbols.
31184
31185 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
31186
31187 [BZ #18084]
31188 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
31189 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
31190 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
31191 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
31192 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
31193 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
31194 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
31195 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
31196 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
31197
31198 2015-08-15 Zack Weinberg <zackw@panix.com>
31199
31200 [BZ #18795]
31201 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
31202 buffer length is known to be too large, not if it's known to be
31203 small enough.
31204 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
31205 overflow at runtime, involving a length parameter, twice: once
31206 with a compile-time constant length parameter, once without.
31207
31208 2015-08-14 Joseph Myers <joseph@codesourcery.com>
31209
31210 [BZ #18824]
31211 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
31212 scaling x * y up instead of down.
31213 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31214 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31215 * math/auto-libm-test-in: Add more tests of fma.
31216 * math/auto-libm-test-out: Regenerated.
31217
31218 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
31219
31220 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31221
31222 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31223
31224 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
31225 unnecessary movq.
31226 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
31227 Likewise.
31228
31229 2015-08-13 Joseph Myers <joseph@codesourcery.com>
31230
31231 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31232 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
31233 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
31234 and tgamma.
31235 * math/auto-libm-test-out: Regenerated.
31236 * sysdeps/i386/fpu/libm-test-ulps: Update.
31237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31238
31239 [BZ #16520]
31240 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
31241 (__tanh): Force underflow exception for arguments with small
31242 absolute value.
31243 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
31244 (__tanhf): Force underflow exception for arguments with small
31245 absolute value.
31246 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
31247 (__tanhl): Force underflow exception for arguments with small
31248 absolute value.
31249 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
31250 (__tanhl): Force underflow exception for arguments with small
31251 absolute value.
31252 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
31253 (__tanhl): Force underflow exception for arguments with small
31254 absolute value.
31255 * math/auto-libm-test-in: Add more tests of tanh.
31256 * math/auto-libm-test-out: Regenerated.
31257 * sysdeps/i386/fpu/libm-test-ulps: Update.
31258
31259 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
31260
31261 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
31262 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
31263
31264 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
31265
31266 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
31267 <cpuid.h>.
31268
31269 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
31270
31271 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
31272 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
31273
31274 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
31275
31276 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
31277 Remove $(objpfx)init-arch.o.
31278 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
31279 init-arch.
31280 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
31281 (INIT_ARCH_EXT): Defined as empty.
31282 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
31283 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
31284 __init_cpu_features call. Replace HAS_XXX with
31285 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31286 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
31287 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
31288 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
31289 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
31290 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
31291 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
31292 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
31293 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
31294 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
31295 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
31296 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
31297 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
31298 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
31299 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
31300 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
31301 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
31302 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
31303 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
31304 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
31305 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
31306 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
31307 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
31308 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
31309 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
31310 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
31311 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
31312 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
31313 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
31314 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
31315 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
31316 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
31317 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
31318 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
31319 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
31320 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
31321
31322 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
31323
31324 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
31325 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31326 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
31327 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
31328 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
31329 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
31330 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
31331 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
31332 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
31333 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
31334 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
31335 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
31336 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31337 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31338 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31339 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31340 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31341 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31342 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31343 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31344 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31345 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31346 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31347 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31348 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31349 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31350 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31351 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31352 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31353 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31354 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31355 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31356 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31357 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31358 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31359 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31360 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31361 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31362 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31363 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31364 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31365 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31366 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31367
31368 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
31369
31370 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
31371 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31372 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31373 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31374 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31375 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
31376 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31377 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
31378 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31379 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31380 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31381 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
31382 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
31383 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
31384 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
31385 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
31386 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
31387 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
31388 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
31389 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
31390 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
31391 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
31392 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
31393 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31394 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31395 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
31396 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
31397 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
31398 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31399 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31400 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31401 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31402 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31403 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31404 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31405 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31406 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31407 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31408 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31409 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31410 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31411 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31412 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31413
31414 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
31415
31416 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
31417 (dl_platform_init): Call init_cpu_features.
31418 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
31419 * sysdeps/i386/i686/cacheinfo.c
31420 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
31421 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
31422 * sysdeps/i386/i686/multiarch/Versions: Removed.
31423 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
31424 Removed.
31425 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
31426 * sysdeps/unix/sysv/linux/x86/Makefile
31427 (libpthread-sysdep_routines): Remove init-arch.
31428 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
31429 <sysdeps/x86_64/dl-procinfo.c> instead of
31430 sysdeps/generic/dl-procinfo.c>.
31431 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
31432 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
31433 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
31434 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
31435 [$(subdir) == elf] (tests-static): Add
31436 tst-get-cpu-features-static.
31437 * sysdeps/x86/Versions: New file.
31438 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
31439 * sysdeps/x86/cpu-features.c: Likewise.
31440 * sysdeps/x86/cpu-features.h: Likewise.
31441 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
31442 * sysdeps/x86/libc-start.c: Likewise.
31443 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
31444 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
31445 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
31446 * sysdeps/x86_64/dl-procinfo.c: Likewise.
31447 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
31448 Assume USE_MULTIARCH is defined and don't check it.
31449 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
31450 (is_amd): Likewise.
31451 (max_cpuid): Likewise.
31452 (intel_check_word): Likewise.
31453 (__cache_sysconf): Don't call __init_cpu_features.
31454 (__x86_preferred_memory_instruction): Removed.
31455 (init_cacheinfo): Don't call __init_cpu_features. Replace
31456 __cpu_features with GLRO(dl_x86_cpu_features).
31457 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
31458 (dl_platform_init): Call init_cpu_features.
31459 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
31460 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
31461 * sysdeps/x86_64/multiarch/Versions: Removed.
31462 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
31463 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
31464 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
31465 Removed.
31466 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
31467
31468 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
31469
31470 [BZ #18820]
31471 * libio/Makefile (test-fmemopen-mem): New test.
31472 * libio/test-fmemopen.c (do_bz18820): New test.
31473 * libio/fmemopen.c (__fmemopen): Fix memory leak.
31474 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
31475
31476 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
31477
31478 [BZ #16734]
31479 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
31480 (FREE_BUF): Delete.
31481 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
31482 * libio/genops.c (_IO_setb): Use malloc and free directly.
31483 (_IO_default_doallocate, _IO_default_finish): Likewise.
31484 ( _IO_unbuffer_all): Likewise.
31485 ( libc_freeres_fn): Likewise.
31486 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
31487 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
31488 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
31489 (_IO_wdefault_doallocate): Likewise.
31490
31491 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
31492
31493 [BZ #18086]
31494 * sysdeps/posix/nice.c (nice): Restore old errno.
31495 * posix/tst-nice.c (do_test): Add test for BZ #18086.
31496
31497 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
31498
31499 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
31500
31501 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31502
31503 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
31504 __bcopy and add a weak_alias to bcopy.
31505 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
31506 for static build.
31507
31508 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
31509 cleanup macro usage.
31510 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
31511 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
31512 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
31513 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
31514 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
31515 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
31516 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
31517 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
31518 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
31519 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
31520 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31521 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
31522 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31523 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
31524 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
31525 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
31526 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
31527 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
31528 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
31529
31530 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
31531 libc_hidden_def.
31532 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
31533
31534 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
31535 (sysdep_routines): Add strstr-ppc64.
31536 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
31537
31538 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
31539
31540 [BZ #18778]
31541 * elf/Makefile (tests): Add Add tst-nodelete2.
31542 (modules-names): Add tst-nodelete2mod.
31543 (tst-nodelete2mod.so-no-z-defs): New.
31544 ($(objpfx)tst-nodelete2): Likewise.
31545 ($(objpfx)tst-nodelete2.out): Likewise.
31546 (LDFLAGS-tst-nodelete2): Likewise.
31547 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
31548 out of loop through all loaded libraries.
31549 * elf/tst-nodelete2.c: New file.
31550 * elf/tst-nodelete2mod.c: Likewise.
31551 * elf/tst-znodelete-zlib.cc: Delete.
31552
31553 2015-08-11 Andreas Schwab <schwab@suse.de>
31554
31555 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
31556 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
31557 (__openat64_nocancel): Likewise.
31558
31559 2015-08-11 Joseph Myers <joseph@codesourcery.com>
31560
31561 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
31562 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
31563 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
31564 * math/auto-libm-test-out: Regenerated.
31565 * sysdeps/i386/fpu/libm-test-ulps: Update.
31566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31567
31568 2015-08-10 Joseph Myers <joseph@codesourcery.com>
31569
31570 [BZ #18790]
31571 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
31572 threshold for returning +/- 1.
31573 * math/auto-libm-test-in: Add more tests of tanh.
31574 * math/auto-libm-test-out: Regenerated.
31575 * sysdeps/i386/fpu/libm-test-ulps: Update.
31576
31577 2015-08-10 Andreas Schwab <schwab@suse.de>
31578
31579 [BZ #18781]
31580 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
31581 MORE_OFLAGS to oflag.
31582 * io/test-lfs.c (do_test): Test openat64.
31583
31584 2015-08-10 Joseph Myers <joseph@codesourcery.com>
31585
31586 [BZ #18789]
31587 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
31588 smaller threshold for returning the argument.
31589 * math/auto-libm-test-in: Add more tests of sinh.
31590 * math/auto-libm-test-out: Regenerated.
31591 * sysdeps/i386/fpu/libm-test-ulps: Update.
31592
31593 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
31594
31595 [BZ #18674]
31596 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
31597 break.
31598
31599 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
31600
31601 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
31602 (generated): Don't add $(addprefix z.,$(tzfiles)).
31603
31604 2015-08-09 Mike Frysinger <vapier@gentoo.org>
31605
31606 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
31607 * scripts/sysd-rules.awk: Likewise.
31608
31609 2015-08-09 Mike Frysinger <vapier@gentoo.org>
31610
31611 * iconvdata/tst-tables.sh: Change echo -n to printf.
31612 * nss/db-Makefile: Likewise.
31613 * posix/tst-getconf.sh: Likewise.
31614 * stdio-common/tst-unbputc.sh: Likewise.
31615
31616 2015-08-09 Mike Frysinger <vapier@gentoo.org>
31617
31618 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
31619 MADV_*_PAGES defines behind this feature check.
31620
31621 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
31622
31623 [BZ #18480]
31624 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
31625 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
31626 Define.
31627 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
31628 LOAD_REGS_5, LOAD_REGS_6): Update.
31629 (INTERNAL_SYSCALL): Update using new LOAD defines.
31630 (INTERNAL_SYSCALL_NCS): Likewise.
31631 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
31632
31633 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
31634
31635 [BZ #16734]
31636 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
31637
31638 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
31639
31640 [BZ #17905]
31641 * catgets/Makefile (tst-catgets-mem): New test.
31642 * catgets/catgets.c (catopen): Don't use unbounded alloca.
31643 * catgets/open_catalog.c (__open_catalog): Likewise.
31644 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
31645
31646 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
31647
31648 [BZ #18787]
31649 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
31650 clobber registers.
31651 (atomic_compare_and_exchange_val_acq): Use register asms to assign
31652 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
31653 Cast return to __typeof (oldval).
31654
31655 2015-08-08 Mike Frysinger <vapier@gentoo.org>
31656
31657 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
31658 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
31659 and delete sys/syscall.h include.
31660
31661 2015-08-07 Joseph Myers <joseph@codesourcery.com>
31662
31663 [BZ #16517]
31664 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
31665 (tan): Force underflow exception for arguments with small absolute
31666 value.
31667 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
31668 (__kernel_tanf): Force underflow exception for arguments with
31669 small absolute value.
31670 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
31671 (__kernel_tanl): Force underflow exception for arguments with
31672 small absolute value.
31673 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
31674 (__kernel_tanl): Force underflow exception for arguments with
31675 small absolute value.
31676 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
31677 (__kernel_tanl): Force underflow exception for arguments with
31678 small absolute value.
31679 * math/auto-libm-test-in: Add more tests of tan.
31680 * math/auto-libm-test-out: Regenerated.
31681
31682 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
31683
31684 Fix sysdeps/i386/fpu/s_scalbn.S build
31685
31686 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
31687
31688 2015-08-07 Mike Frysinger <vapier@gentoo.org>
31689
31690 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
31691
31692 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
31693
31694 Fix gcrt0.o compilation
31695
31696 When static-start-installed-name is different from
31697 start-installed-name, we must not use the shared objects.
31698
31699 * csu/Makefile
31700 (extra-objs): Add gmon-start.o when building shared library and
31701 $(static-start-installed-name) is different from
31702 $(start-installed-name).
31703 $(objpfx)g$(static-start-installed-name): When building shared
31704 library and $(static-start-installed-name) is different from
31705 $(static-start-installed-name), revert to non-shared rule,
31706 i.e. using $(objpfx)% and gmon-start.o.
31707
31708 2015-08-06 Joseph Myers <joseph@codesourcery.com>
31709
31710 [BZ #16519]
31711 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
31712 (__ieee754_sinh): Force underflow exception for arguments with
31713 small absolute value.
31714 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
31715 (__ieee754_sinhf): Force underflow exception for arguments with
31716 small absolute value.
31717 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
31718 (__ieee754_sinhl): Force underflow exception for arguments with
31719 small absolute value.
31720 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
31721 (__ieee754_sinhl): Force underflow exception for arguments with
31722 small absolute value.
31723 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
31724 (__ieee754_sinhl): Force underflow exception for arguments with
31725 small absolute value.
31726 * math/auto-libm-test-in: Add more tests of sinh.
31727 * math/auto-libm-test-out: Regenerated.
31728 * sysdeps/i386/fpu/libm-test-ulps: Update.
31729
31730 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31731
31732 * libio/oldfileops.c: Include unistd.h.
31733
31734 2015-08-06 Mike Frysinger <vapier@gentoo.org>
31735
31736 * stdlib/isomac.c: Include ctype.h.
31737
31738 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
31739
31740 * dirent/tst-seekdir.c (main): Converted to ...
31741 (do_test): ... this.
31742 (TEST_FUNCTION): New macro.
31743 Include test-skeleton.c.
31744 * elf/tst-dlmodcount.c (main): Converted to ...
31745 (do_test): ... this.
31746 (TEST_FUNCTION): New macro.
31747 Include test-skeleton.c.
31748 * elf/tst-order-main.c (main): Converted to ...
31749 (do_test): ... this.
31750 (TEST_FUNCTION): New macro.
31751 Include test-skeleton.c.
31752 * elf/tst-pie2.c (main): Converted to ...
31753 (do_test): ... this.
31754 (TEST_FUNCTION): New macro.
31755 Include test-skeleton.c.
31756 * inet/tst-ether_aton.c (main): Converted to ...
31757 (do_test): ... this.
31758 (TEST_FUNCTION): New macro.
31759 Include test-skeleton.c.
31760 * misc/tst-mntent.c (main): Converted to ...
31761 (do_test): ... this.
31762 (TEST_FUNCTION): New macro.
31763 Include test-skeleton.c.
31764 * misc/tst-tsearch.c (main): Converted to ...
31765 (do_test): ... this.
31766 (TEST_FUNCTION): New macro.
31767 Include test-skeleton.c.
31768 * posix/tst-regexloc.c (main): Converted to ...
31769 (do_test): ... this.
31770 (TEST_FUNCTION): New macro.
31771 Include test-skeleton.c.
31772 * resolv/tst-aton.c (main): Converted to ...
31773 (do_test): ... this.
31774 (TEST_FUNCTION): New macro.
31775 Include test-skeleton.c.
31776 * stdio-common/test-fwrite.c (main): Converted to ...
31777 (do_test): ... this.
31778 (TEST_FUNCTION): New macro.
31779 Include test-skeleton.c.
31780 * stdio-common/tst-ferror.c (main): Converted to ...
31781 (do_test): ... this.
31782 (TEST_FUNCTION): New macro.
31783 Include test-skeleton.c.
31784 * stdio-common/tst-printf.c (main): Converted to ...
31785 (do_test): ... this.
31786 (TEST_FUNCTION): New macro.
31787 Include test-skeleton.c.
31788 * stdio-common/tst-printfsz.c (main): Converted to ...
31789 (do_test): ... this.
31790 (TEST_FUNCTION): New macro.
31791 Include test-skeleton.c.
31792 * stdlib/tst-strtod.c (main): Converted to ...
31793 (do_test): ... this.
31794 (TEST_FUNCTION): New macro.
31795 Include test-skeleton.c.
31796 * string/tst-strlen.c (main): Converted to ...
31797 (do_test): ... this.
31798 (TEST_FUNCTION): New macro.
31799 Include test-skeleton.c.
31800 * string/tst-svc.c (main): Converted to ...
31801 (do_test): ... this.
31802 (TEST_FUNCTION): New macro.
31803 Include test-skeleton.c.
31804 * time/tst-strptime.c (main): Converted to ...
31805 (do_test): ... this.
31806 (TEST_FUNCTION): New macro.
31807 Include test-skeleton.c.
31808 * timezone/tst-timezone.c (main): Converted to ...
31809 (do_test): ... this.
31810 (TEST_FUNCTION): New macro.
31811 Include test-skeleton.c.
31812
31813 2015-08-05 Zack Weinberg <zackw@panix.com>
31814
31815 * misc/regexp.h: Update comments.
31816
31817 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
31818
31819 [BZ #18635]
31820 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
31821 before return label.
31822
31823 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
31824
31825 [BZ #18661]
31826 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
31827 when calling __errno_location.
31828 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
31829 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
31830
31831 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
31832
31833 [BZ #18661]
31834 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
31835 (__lll_timedwait_tid): Align stack to 16 bytes when calling
31836 __gettimeofday.
31837
31838 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
31839
31840 [BZ #18661]
31841 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31842 (__start_context): Don't use pop to restore %rdi so that stack
31843 is aligned to 16 bytes when calling __setcontext.
31844
31845 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
31846
31847 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
31848 only for libc.
31849 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
31850
31851 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
31852
31853 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
31854 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
31855 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
31856
31857 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
31858
31859 * string/memccpy.c (memccpy):
31860 Improve performance by using memchr/memcpy/__mempcpy.
31861
31862 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
31863
31864 * string/strncpy.c (strncpy):
31865 Improve performance by using __strnlen/memcpy.
31866
31867 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
31868
31869 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31870 Optimize to avoid an unnecessary FPCR read.
31871
31872 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
31873
31874 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
31875 Optimize to reduce FPCR/FPSR accesses.
31876
31877 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
31878
31879 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
31880 dead->data[category] != NULL.
31881
31882 2015-08-05 Joseph Myers <joseph@codesourcery.com>
31883
31884 [BZ #18647]
31885 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
31886 and |x| close to 1, use absolute value of x when computing log.
31887 * math/auto-libm-test-in: Add more tests of pow.
31888 * math/auto-libm-test-out: Regenerated.
31889
31890 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31891
31892 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
31893 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
31894 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
31895
31896 2015-08-05 Marko Myllynen <myllynen@redhat.com>
31897
31898 [BZ #18525]
31899 * locales/km_KH: Remove timezone definition.
31900 * locales/lo_LA: Likewise.
31901 * locales/my_MM: Likewise.
31902 * locales/nan_TW@latin: Likewise.
31903 * locales/th_TH: Likewise.
31904 * locales/uk_UA: Likewise.
31905
31906 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
31907
31908 [BZ #18265]
31909 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
31910 (wcsncat): Likewise.
31911 (wcscmp): Likewise.
31912 (wcsncmp): Likewise.
31913
31914 2015-08-05 Mike Frysinger <vapier@gentoo.org>
31915
31916 * test-skeleton.c (usage): New function.
31917 (main): Call usage when opt is '?'.
31918
31919 2015-08-05 Mike Frysinger <vapier@gentoo.org>
31920
31921 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
31922 before first use.
31923
31924 2015-08-05 Mike Frysinger <vapier@gentoo.org>
31925
31926 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
31927 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
31928 in there too.
31929
31930 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
31931
31932 * version.h (RELEASE): Set to "development".
31933 (VERSION): Set to "2.22.90"
31934
31935 * version.h (RELEASE): Set to "stable".
31936 (VERSION): Set to "2.22"
31937 * include/features.h (__GLIBC_MINOR__): Set to 22.
31938
31939 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
31940
31941 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
31942 Restructure macro to avoid "value computed is not used" warning.
31943 (atomic_compare_and_exchange_val_acq): Likewise.
31944
31945 2015-08-04 Andreas Schwab <schwab@suse.de>
31946
31947 [BZ #18635]
31948 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
31949 ret.
31950 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
31951
31952 2015-08-01 Carlos O'Donell <carlos@redhat.com>
31953
31954 * po/pl.po: Updated translation.
31955 * po/uk.po: Likewise.
31956 * po/fi.po: Likewise.
31957 * po/ko.po: Likewise.
31958 * po/ru.po: Likewise.
31959 * po/vi.po: Likewise.
31960
31961 2015-07-31 Zack Weinberg <zackw@panix.com>
31962
31963 [BZ #18681]
31964 * regexp.h: Add unconditional #warning stating that this header
31965 will be removed soon. Revise banner comment to match.
31966 (compile): Consistently use ERROR instead of RETURN to report
31967 errors (partial fix for BZ #18681).
31968 * regexp.c: Don't include regexp.h. Remove some unnecessary
31969 declarations.
31970
31971 2015-07-31 Carlos O'Donell <carlos@redhat.com>
31972
31973 * po/libc.pot: Regenerated.
31974
31975 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
31976
31977 [BZ #18740]
31978 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
31979 float-vlen4-arch-ext-cflags): Removed.
31980 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
31981 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
31982
31983 2015-07-30 Mike Frysinger <vapier@gentoo.org>
31984
31985 [BZ #14113]
31986 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
31987 aligned to __aligned__.
31988 (pthread_cond_t, pthread_rwlock_t): Likewise.
31989
31990 2015-07-30 Torvald Riegel <triegel@redhat.com>
31991
31992 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
31993
31994 2015-07-30 Mike Frysinger <vapier@gentoo.org>
31995
31996 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
31997 (struct sigaction): Change sa_flags from a long to an int, and add
31998 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
31999
32000 2015-07-30 Mike Frysinger <vapier@gentoo.org>
32001
32002 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
32003 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
32004 sysdeps/generic/sysdep.h include.
32005 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
32006 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
32007 sysdeps/hppa/sysdep.h.
32008 (ENTRY, PSEUDO): Undefine before defining.
32009
32010 2015-07-30 Mike Frysinger <vapier@gentoo.org>
32011
32012 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
32013 from scratch to use INTERNAL_SYSCALL.
32014
32015 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
32016
32017 [BZ #18078]
32018 * scripts/check-localplt.awk: Support alternate relocations.
32019 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
32020 sections.
32021 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
32022 malloc entries with + REL R_386_GLOB_DAT.
32023 * sysdeps/x86_64/localplt.data: New file.
32024
32025 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
32026
32027 [BZ #18731]
32028 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
32029 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32030 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32031
32032 2015-07-27 Mike Frysinger <vapier@gentoo.org>
32033
32034 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
32035
32036 2015-07-27 Mike Frysinger <vapier@gentoo.org>
32037
32038 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
32039 directly in terms of __sync_fetch_and_add and delete (int) cast.
32040
32041 2015-07-27 Mike Frysinger <vapier@gentoo.org>
32042
32043 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
32044 the -D_ASM_IA64_CURRENT_H flag.
32045
32046 2015-07-27 Mike Frysinger <vapier@gentoo.org>
32047
32048 [BZ #18641]
32049 * pwd/pwd.h (putpwent): Delete __nonnull markings.
32050
32051 2015-07-27 Andreas Schwab <schwab@suse.de>
32052
32053 * conform/conformtest.pl (checknamespace): Filter out string
32054 literals while tokenizing.
32055
32056 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
32057
32058 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
32059 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
32060 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
32061
32062 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
32063
32064 * nptl/tst-join7mod.c: Add #include <string.h>.
32065
32066 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
32067
32068 * sysdeps/nios2/libm-test-ulps: Update.
32069
32070 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
32071
32072 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
32073 Fix order of arguments to the rt_sigprocmask syscall.
32074 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
32075 Likewise.
32076
32077 2015-07-24 Roland McGrath <roland@hack.frob.com>
32078
32079 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
32080
32081 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32082
32083 [BZ #18457]
32084 * nptl/Makefile (tests): New test case tst-join7.
32085 (modules-names): New test case module tst-join7mod.
32086 * nptl/tst-join7.c: New file.
32087 * nptl/tst-join7mod.c: New file.
32088 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
32089 all translation units in libc.so, libpthread.so and rtld.
32090
32091 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32092
32093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32094
32095 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
32096
32097 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
32098 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
32099 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
32100 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
32101 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
32102 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
32103 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
32104 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
32105 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
32106 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
32107 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
32108 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
32109 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
32110 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32111 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
32112 implementation.
32113
32114 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
32115
32116 [BZ #17711]
32117 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
32118 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
32119 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
32120 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
32121 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
32122 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
32123
32124 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32125
32126 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
32127 instead of just saying load lock in the comments.
32128
32129 2015-07-23 Roland McGrath <roland@hack.frob.com>
32130
32131 * sysdeps/unix/Subdirs: Moved ...
32132 * sysdeps/posix/Subdirs: ... here.
32133 * login/pty.h (struct termios, struct winsize): Add forward decls.
32134 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
32135 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
32136 * sysdeps/arm/nacl/libc.abilist: Updated.
32137 * sysdeps/nacl/libutil.abilist: New file.
32138
32139 * bits/signum.h: Update comments to mention 1003.1-2013 too.
32140 (SIGWINCH): New macro.
32141
32142 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
32143 * sysdeps/arm/nacl/libc.abilist: Add it.
32144
32145 2015-07-23 Mike Frysinger <vapier@gentoo.org>
32146
32147 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
32148
32149 2015-07-23 Mike Frysinger <vapier@gentoo.org>
32150
32151 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
32152 Swap __glibc_reserved0 and sa_flags order.
32153
32154 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32155
32156 [BZ #18657]
32157 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
32158 are pending TLS destructor calls.
32159 * include/link.h (struct link_map): Add concurrency note for
32160 L_TLS_DTOR_COUNT.
32161 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
32162 Don't touch the link map flag. Atomically increment
32163 l_tls_dtor_count.
32164 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
32165 Avoid taking the load lock and don't touch the link map flag.
32166 * stdlib/tst-tls-atexit-nodelete.c: New test case.
32167 * stdlib/Makefile (tests): Use it.
32168 * stdlib/tst-tls-atexit.c (do_test): dlopen
32169 tst-tls-atexit-lib.so again before dlclose. Add conditionals
32170 to allow tst-tls-atexit-nodelete test case to use it.
32171
32172 2015-07-22 Mike Frysinger <vapier@gentoo.org>
32173
32174 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
32175 to bits/types.h.
32176 (msgqnum_t): New typedef.
32177 (msglen_t): Likewise.
32178 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
32179 and msg_qbytes type to msglen_t.
32180
32181 2015-07-22 Mike Frysinger <vapier@gentoo.org>
32182
32183 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
32184 pad0 to __glibc_reserved0.
32185 (struct stat64): Likewise.
32186
32187 2015-07-22 Mike Frysinger <vapier@gentoo.org>
32188
32189 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
32190 Change sa_flags from a long to an int and add __glibc_reserved0 before
32191 it for padding.
32192
32193 2015-07-22 Mike Frysinger <vapier@gentoo.org>
32194
32195 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
32196 anonymous by deleting "siginfo" name.
32197
32198 2015-07-21 Roland McGrath <roland@hack.frob.com>
32199
32200 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
32201 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
32202 rather than __nacl_irt_filename.
32203 * sysdeps/nacl/xstat.c (__xstat): Likewise.
32204
32205 * NEWS: New item for arm-nacl port.
32206 * sysdeps/arm/nacl/libc.abilist: New file.
32207 * sysdeps/nacl/ld.abilist: New file.
32208 * sysdeps/nacl/libBrokenLocale.abilist: New file.
32209 * sysdeps/nacl/libanl.abilist: New file.
32210 * sysdeps/nacl/libcrypt.abilist: New file.
32211 * sysdeps/nacl/libdl.abilist: New file.
32212 * sysdeps/nacl/libm.abilist: New file.
32213 * sysdeps/nacl/libpthread.abilist: New file.
32214 * sysdeps/nacl/libresolv.abilist: New file.
32215 * sysdeps/nacl/librt.abilist: New file.
32216
32217 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
32218
32219 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
32220 __startcontext to initialize the new context.
32221 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
32222 up CFI directive to forbid further backtracing.
32223
32224 2015-07-21 Marko Myllynen <myllynen@redhat.com>
32225
32226 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
32227 reference.
32228 * charmaps/ANSI_X3.4-1968: Likewise.
32229 * charmaps/BS_4730: Likewise.
32230 * charmaps/BS_VIEWDATA: Likewise.
32231 * charmaps/CP1250: Likewise.
32232 * charmaps/CP1251: Likewise.
32233 * charmaps/CP1252: Likewise.
32234 * charmaps/CP1253: Likewise.
32235 * charmaps/CP1254: Likewise.
32236 * charmaps/CP1255: Likewise.
32237 * charmaps/CP1256: Likewise.
32238 * charmaps/CSN_369103: Likewise.
32239 * charmaps/EBCDIC-DK-NO: Likewise.
32240 * charmaps/GB_1988-80: Likewise.
32241 * charmaps/GREEK-CCITT: Likewise.
32242 * charmaps/GREEK7: Likewise.
32243 * charmaps/INIS-8: Likewise.
32244 * charmaps/ISIRI-3342: Likewise.
32245 * charmaps/ISO_2033-1983: Likewise.
32246 * charmaps/ISO_5427-EXT: Likewise.
32247 * locales/POSIX: Likewise.
32248 * locales/ar_SA: Likewise.
32249 * locales/be_BY: Likewise.
32250 * locales/be_BY@latin: Likewise.
32251 * locales/ca_ES: Likewise.
32252 * locales/cs_CZ: Likewise.
32253 * locales/da_DK: Likewise.
32254 * locales/de_BE: Likewise.
32255 * locales/de_CH: Likewise.
32256 * locales/de_LU: Likewise.
32257 * locales/en_AU: Likewise.
32258 * locales/en_BW: Likewise.
32259 * locales/en_CA: Likewise.
32260 * locales/en_DK: Likewise.
32261 * locales/en_GB: Likewise.
32262 * locales/en_IE: Likewise.
32263 * locales/en_NZ: Likewise.
32264 * locales/en_ZA: Likewise.
32265 * locales/en_ZW: Likewise.
32266 * locales/es_AR: Likewise.
32267 * locales/es_BO: Likewise.
32268 * locales/es_CL: Likewise.
32269 * locales/es_CO: Likewise.
32270 * locales/es_DO: Likewise.
32271 * locales/es_EC: Likewise.
32272 * locales/es_ES: Likewise.
32273 * locales/es_HN: Likewise.
32274 * locales/es_MX: Likewise.
32275 * locales/es_PA: Likewise.
32276 * locales/es_PE: Likewise.
32277 * locales/es_PY: Likewise.
32278 * locales/es_SV: Likewise.
32279 * locales/es_US: Likewise.
32280 * locales/es_UY: Likewise.
32281 * locales/es_VE: Likewise.
32282 * locales/et_EE: Likewise.
32283 * locales/fa_IR: Likewise.
32284 * locales/fo_FO: Likewise.
32285 * locales/fr_CA: Likewise.
32286 * locales/fr_CH: Likewise.
32287 * locales/gv_GB: Likewise.
32288 * locales/he_IL: Likewise.
32289 * locales/hr_HR: Likewise.
32290 * locales/id_ID: Likewise.
32291 * locales/is_IS: Likewise.
32292 * locales/it_CH: Likewise.
32293 * locales/iw_IL: Likewise.
32294 * locales/kl_GL: Likewise.
32295 * locales/ko_KR: Likewise.
32296 * locales/kw_GB: Likewise.
32297 * locales/lg_UG: Likewise.
32298 * locales/lt_LT: Likewise.
32299 * locales/lv_LV: Likewise.
32300 * locales/mi_NZ: Likewise.
32301 * locales/nhn_MX: Likewise.
32302 * locales/nl_BE: Likewise.
32303 * locales/pl_PL: Likewise.
32304 * locales/sk_SK: Likewise.
32305 * locales/sl_SI: Likewise.
32306 * locales/sv_FI: Likewise.
32307 * locales/tl_PH: Likewise.
32308 * locales/tr_TR: Likewise.
32309 * locales/vi_VN: Likewise.
32310
32311 2015-07-21 Khem Raj <raj.khem@gmail.com>
32312
32313 [BZ #17475]
32314 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
32315 of tu_IN and bh_IN.
32316
32317 2015-07-21 Mike Frysinger <vapier@gentoo.org>
32318
32319 [BZ #18694]
32320 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
32321 bits/wordsize.h.
32322 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
32323
32324 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32325
32326 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
32327 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
32328 (spawn_thread): New function.
32329 (load): Rename to reg_dtor_and_close. Move dlopen to...
32330 (do_test): ... here. Use IS_LOADED to test for its
32331 availability.
32332
32333 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
32334
32335 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
32336
32337 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
32338
32339 [BZ #18696]
32340 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
32341 si_addr_bnd.
32342 (si_lower): New.
32343 (si_upper): Likewise.
32344
32345 2015-07-16 David S. Miller <davem@davemloft.net>
32346
32347 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
32348
32349 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32350
32351 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
32352 buffer.
32353 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
32354 fail output information.
32355
32356 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32357
32358 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
32359 and strstr-ppc64..
32360 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
32361 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
32362 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
32363 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
32364 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
32365
32366 2015-07-16 Mike Frysinger <vapier@gentoo.org>
32367
32368 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
32369 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
32370 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
32371 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
32372
32373 2015-07-16 Mike Frysinger <vapier@gentoo.org>
32374
32375 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
32376 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
32377 rtld_hidden_proto.
32378 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
32379
32380 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32381
32382 * tst-nodelete-opened.c (do_test): Add comment to clarify how
32383 the test can fail.
32384
32385 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
32386
32387 [BZ #18676]
32388 * elf/tst-nodelete-opened.c: New test case.
32389 * elf/tst-nodelete-opened-lib.c: New test case module.
32390 * elf/Makefile (tests, modules-names): Use them.
32391 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
32392 early.
32393
32394 2015-07-15 David S. Miller <davem@davemloft.net>
32395
32396 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
32397 futex-intenal.h
32398 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
32399 * sysdeps/sparc/sparc64/Makefile: Likewise.
32400 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
32401 Remove space from macro define.
32402 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
32403
32404 2015-07-15 Pravin Satpute <psatpute@redhat.com>
32405
32406 [BZ #17475]
32407 * locale/iso-639.def: Update Bhili and Tulu language codes as
32408 per iso639-3.
32409
32410 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
32411
32412 * elf/tst-leaks1.c (main): Converted to ...
32413 (do_test): ... this.
32414 (TEST_FUNCTION): New macro.
32415 Include test-skeleton.c.
32416 * localedata/tst-langinfo.c (main): Converted to ...
32417 (do_test): ... this.
32418 (TEST_FUNCTION): New macro.
32419 Include test-skeleton.c.
32420 * math/test-fpucw.c (main): Converted to ...
32421 (do_test): ... this.
32422 (TEST_FUNCTION): New macro.
32423 Include test-skeleton.c.
32424 * math/test-tgmath.c (main): Converted to ...
32425 (do_test): ... this.
32426 (TEST_FUNCTION): New macro.
32427 Include test-skeleton.c.
32428 * math/test-tgmath2.c (main): Converted to ...
32429 (do_test): ... this.
32430 (TEST_FUNCTION): New macro.
32431 Include test-skeleton.c.
32432 * setjmp/tst-setjmp.c (main): Converted to ...
32433 (do_test): ... this.
32434 (TEST_FUNCTION): New macro.
32435 Include test-skeleton.c.
32436 * stdio-common/tst-sscanf.c (main): Converted to ...
32437 (do_test): ... this.
32438 (TEST_FUNCTION): New macro.
32439 Include test-skeleton.c.
32440 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
32441 (do_test): ... this.
32442 (TEST_FUNCTION): New macro.
32443 Include test-skeleton.c.
32444
32445 * elf/tst-audit9.c (main): Converted to ...
32446 (do_test): ... this.
32447 (TEST_FUNCTION): New macro.
32448 Include test-skeleton.c.
32449
32450 2015-07-15 Mike Frysinger <vapier@gentoo.org>
32451
32452 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
32453
32454 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
32455
32456 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
32457 New variable.
32458
32459 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
32460
32461 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
32462
32463 2015-07-14 Roland McGrath <roland@hack.frob.com>
32464
32465 * sysdeps/generic/dl-fileid.h: New file.
32466 * sysdeps/posix/dl-fileid.h: New file.
32467 * sysdeps/nacl/dl-fileid.h: New file.
32468 * include/link.h: Include <dl-fileid.h>.
32469 (struct link_map): Replace l_dev and l_ino with l_file_id.
32470 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
32471 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
32472 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
32473
32474 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32475
32476 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
32477
32478 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32479
32480 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
32481 Add iff $CXX is set.
32482 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
32483 Likewise.
32484 (tst-nodelete-zmodiff): Likewise.
32485 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
32486
32487 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32488
32489 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
32490
32491 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
32492
32493 * sysdeps/aarch64/fpu/math_private.h
32494 (define math_opt_barrier): Add AArch64 version.
32495 (math_force_eval): Likewise.
32496
32497 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
32498
32499 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
32500
32501 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
32502
32503 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
32504 %ld with %jd and cast to intmax_t.
32505 (do_test_length_zero): Likewise.
32506
32507 2015-07-10 Roland McGrath <roland@hack.frob.com>
32508
32509 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
32510
32511 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
32512
32513 * sysdeps/tile/libm-test-ulps: Regenerated.
32514
32515 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
32516 Comment out the whole function, not just its body.
32517
32518 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32519
32520 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
32521 locks.
32522
32523 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
32524
32525 2015-07-10 Torvald Riegel <triegel@redhat.com>
32526
32527 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
32528 (sem_assume_only_signals_cause_futex_EINTR): Remove.
32529
32530 2015-07-10 Torvald Riegel <triegel@redhat.com>
32531
32532 * sysdeps/nptl/futex-internal.h: New file.
32533 * sysdeps/nacl/futex-internal.h: New file.
32534 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
32535 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
32536 error checking.
32537 (setxid_unmark_thread): Likewise.
32538 (__nptl_setxid): Likewise.
32539 (__wait_lookup_done): Likewise.
32540 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
32541 * nptl/nptl-init.c (sighandler_setxid): Likewise.
32542 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
32543 * nptl/pthread_once.c (clear_once_control): Likewise.
32544 (__pthread_once_slow): Likewise.
32545 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
32546 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
32547 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
32548 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
32549 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
32550 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
32551 Likewise.
32552 (__pthread_rwlock_rdlock): Likewise.
32553 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32554 Likewise.
32555 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
32556 Likewise.
32557 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
32558 Likewise.
32559 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
32560 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
32561 Likewise.
32562 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
32563 __ASSUME_PRIVATE_FUTEX check.
32564 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
32565 Check that shared futexes are supported.
32566 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
32567 wrappers with error checking.
32568 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
32569 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
32570 * nptl/pthread_barrierattr_setpshared.c
32571 (pthread_barrierattr_setpshared): Check that shared futexes are
32572 supported.
32573 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
32574 Likewise.
32575 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
32576 Likewise.
32577 * nptl/sem_init.c (futex_private_if_supported): Remove.
32578 (__new_sem_init): Adapt and check that shared futexes are supported.
32579 * nptl/sem_open.c (sem_open): Likewise.
32580 * nptl/sem_post.c (futex_wake): Remove.
32581 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
32582 (do_futex_wait): Use futex wrappers with error checking.
32583 * nptl/sem_wait.c: Include lowlevellock.h.
32584 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
32585 Use futex_supports_pshared.
32586 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
32587 Use futex wrappers with error checking.
32588 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
32589 Likewise.
32590 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
32591 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
32592 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
32593 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
32594 (futex_wake): Likewise.
32595 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
32596 (do_futex_wait): Use futex wrappers with error checking.
32597 (__new_sem_wait_slow): Update EINTR handling.
32598 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
32599
32600 2015-07-09 Martin Sebor <msebor@redhat.com>
32601
32602 [BZ #18435]
32603 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
32604 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
32605 * nptl/Makefile (test-xfail-tst-once5): Define.
32606
32607 2015-07-09 Roland McGrath <roland@hack.frob.com>
32608
32609 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
32610 * elf/dl-minimal.c: For readability, reorder some definitions and
32611 introduce more page breaks. Include <stdio.h>.
32612 (__libc_fatal): New function.
32613
32614 * include/unistd.h: Add rtld_hidden_proto for _exit.
32615 * posix/_exit.c: Add rtld_hidden_def.
32616 * sysdeps/mach/hurd/_exit.c: Likewise.
32617 * sysdeps/nacl/_exit.c: Likewise.
32618 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
32619 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
32620
32621 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
32622
32623 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
32624 bndmov encoding with zero displacement.
32625
32626 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
32627 H.J. Lu <hongjiu.lu@intel.com>
32628
32629 [BZ #18134]
32630 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
32631 * sysdeps/i386/configure: Regenerated.
32632 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
32633 (_dl_runtime_profile): Save and restore Intel MPX return bound
32634 registers when calling _dl_call_pltexit. Add
32635 PRESERVE_BND_REGS_PREFIX before return.
32636 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
32637 (LRV_BND1_OFFSET): Likewise.
32638 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
32639 lrv_bnd1.
32640 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
32641 typo in bndmov encoding.
32642 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
32643 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
32644 branch instructions to preserve bounds.
32645
32646 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32647
32648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
32649 [GLIBC_2.22]: Add fmemopen.
32650
32651 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
32652
32653 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
32654 returns an error, also try to use host port from __mach_host_self for
32655 the __vm_wire call.
32656 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
32657
32658 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
32659
32660 [BZ #18400]
32661 [BZ #18648]
32662 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
32663 Fix pr_uid and pr_gid members.
32664 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
32665 definition to elf_greg_t.
32666
32667 2015-07-08 Roland McGrath <roland@hack.frob.com>
32668
32669 [BZ #18383]
32670 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
32671 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
32672 * sysdeps/arm/configure: Regenerated.
32673 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
32674 (test-xfail-tst-tlsalign-static): Variable removed.
32675
32676 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
32677 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
32678 rather than explicit 'ln -s'.
32679
32680 * resolv/rpc/netdb.h: New file.
32681 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
32682
32683 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32684
32685 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
32686 length buffers.
32687 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
32688 test-skeleton.c.
32689
32690 [BZ #6544]
32691 [BZ #11216]
32692 [BZ #12836]
32693 [BZ #13151]
32694 [BZ #13152]
32695 [BZ #14292]
32696 * include/stdio.h (fmemopen): Remove hidden prototype.
32697 (__fmemopen): Add new hidden prototype.
32698 * libio/Makefile: Add oldfmemopen object.
32699 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
32700 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
32701 compliance.
32702 * libio/oldfmemopen.c: New file: old fmemopen implementation for
32703 symbol compatibility.
32704 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
32705 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
32706 fmemopen.
32707 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
32708 on append and read mode.
32709 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
32710 fmemopen.
32711 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
32712 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
32713 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
32714 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
32715 Likewise.
32716 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
32717 [GLIBC_2.22]: Likewise.
32718 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
32719 Likewise.
32720 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
32721 Likewise.
32722 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
32723 [GLIBC_2.22]: Likewise.
32724 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
32725 [GLIBC_2.22]: Likewise.
32726 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
32727 [GLIBC_2.22]: Likewise.
32728 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
32729 [GLIBC_2.22]: Likewise.
32730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
32731 [GLIBC_2.22]: Likewise.
32732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
32733 [GLIBC_2.22]: Likewise.
32734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
32735 [GLIBC_2.22]: Likewise.
32736 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
32737 Likewise.
32738 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
32739 Likewise.
32740 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
32741 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
32742 [GLIBC_2.22]: Likewise.
32743 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
32744 [GLIBC_2.22]: Likewise.
32745 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
32746 [GLIBC_2.22]: Likewise.
32747 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
32748 [GLIBC_2.22]: Likewise.
32749 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
32750 Likewise.
32751 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
32752 Likewise.
32753 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
32754 Likewise.
32755 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
32756 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
32757
32758 2015-07-08 Carlos O'Donell <carlos@redhat.com>
32759
32760 [BZ #18643]
32761 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
32762 IPV6_PATHMTU, and IPV6_DONTFRAG.
32763
32764 2015-07-08 Feng Gao <gfree.wind@gmail.com>
32765
32766 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
32767 and _IO_UNBUFFERED.
32768 * libio/oldfileops.c: Likewise.
32769 * libio/wfileops.c: Likewise.
32770
32771 2015-07-08 Mike Frysinger <vapier@gentoo.org>
32772
32773 * nscd/selinux.c: Delete selinux/flask.h include.
32774
32775 2015-07-08 Mike Frysinger <vapier@gentoo.org>
32776
32777 [BZ #18641]
32778 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
32779 (putpwent): Likewise.
32780 (getpwnam): Likewise.
32781 (getpwent_r): Likewise.
32782 (getpwuid_r): Likewise.
32783 (getpwnam_r): Likewise.
32784 (fgetpwent_r): Likewise.
32785
32786 2015-07-08 Carlos O'Donell <carlos@redhat.com>
32787
32788 [BZ #18557]
32789 * inet/rcmd.c (__validuser2_sa): Check user first to
32790 short-circuit host check.
32791
32792 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
32793 Mikhail Ilin <m.ilin@samsung.com>
32794
32795 [BZ #17833]
32796 * elf/Makefile (tests): Add tst-nodelete.
32797 (modules-names): Add tst-nodelete-uniquemod.
32798 (tst-nodelete-uniquemod.so-no-z-defs): New.
32799 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
32800 (tst-nodelete-zmod.so-no-z-defs): Likewise.
32801 ($(objpfx)tst-nodelete): Likewise.
32802 ($(objpfx)tst-nodelete.out): Likewise.
32803 (LDFLAGS-tst-nodelete): Likewise.
32804 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
32805 * elf/dl-close.c (_dl_close_worker): Add a parameter to
32806 implement forced object deletion.
32807 (_dl_close): Pass false to _dl_close_worker.
32808 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
32809 * elf/tst-nodelete.cc: New file.
32810 * elf/tst-nodeletelib.cc: Likewise.
32811 * elf/tst-znodeletelib.cc: Likewise.
32812 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
32813
32814 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
32815
32816 [BZ #18508]
32817 * stdlib/Makefile ($(objpfx)tst-makecontext3):
32818 Depend on $(libdl).
32819 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
32820 is not called infinitely times.
32821 (backtrace_helper): New function.
32822 (trace_arg): New struct.
32823 (st1): Enlarge stack size.
32824 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32825 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
32826 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32827 Likewise.
32828
32829 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
32830
32831 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
32832
32833 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
32834
32835 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
32836 Include sys/types.h instead of bits/types.h.
32837 Remove inclusion of bits/wordsize.h.
32838
32839 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
32840
32841 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
32842 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
32843 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
32844 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
32845 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
32846 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
32847
32848 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
32849
32850 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
32851 link-defines.sym.
32852 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
32853 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
32854 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
32855 and LR_SIZE.
32856 * sysdeps/i386/link-defines.sym: New file.
32857
32858 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
32859
32860 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
32861 (modules-names): Add tst-auditmod3a tst-auditmod3b.
32862 ($(objpfx)tst-audit3): New rule.
32863 ($(objpfx)tst-audit3.out): Likewise.
32864 * sysdeps/i386/tst-audit3.c: New file.
32865 * sysdeps/i386/tst-audit3.h: Likewise.
32866 * sysdeps/i386/tst-auditmod3a.c: Likewise.
32867 * sysdeps/i386/tst-auditmod3b.c: Likewise.
32868
32869 2015-07-07 Torvald Riegel <triegel@redhat.com>
32870
32871 [BZ #18633]
32872 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
32873 pointer in C code.
32874 (__strcat_c): Likewise.
32875 (__strcat_g): Likewise.
32876
32877 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
32878
32879 [BZ #18592]
32880 * misc/sbrk.c: Set errno to ENOMEM on overflow.
32881
32882 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
32883
32884 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
32885 New function. (__ieee754_sqrtf): New function.
32886 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
32887 New function.
32888 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
32889 New function.
32890
32891 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
32892
32893 * sysdeps/ieee754/support.c: Remove unused file.
32894
32895 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
32896
32897 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
32898 registers instead of d ones so the layout is kernel abi compatible.
32899 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
32900 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
32901 Likewise.
32902
32903 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
32904
32905 * sysdeps/aarch64/libm-test-ulps: Regenerated.
32906
32907 2015-07-01 Joseph Myers <joseph@codesourcery.com>
32908
32909 [BZ #18619]
32910 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
32911 and return argument in case of subnormal argument.
32912
32913 2015-07-01 Martin Sebor <msebor@redhat.com>
32914
32915 [BZ #18435]
32916 * nptl/Makefile: Add tst-once5.cc.
32917 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
32918 Remove macro redefinitions.
32919 * nptl/tst-once5.cc: New test.
32920
32921 2015-07-01 Joseph Myers <joseph@codesourcery.com>
32922
32923 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32924
32925 * sysdeps/arm/libm-test-ulps: Regenerated.
32926
32927 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
32928 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32929
32930 2015-06-30 Torvald Riegel <triegel@redhat.com>
32931
32932 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
32933 lll_lock_wait_private and lll_futex_wake probes.
32934
32935 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
32936 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
32937 Likewise.
32938 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
32939 atomic_spin_nop.
32940 * sysdeps/x86_64/bits/atomic.h: Likewise.
32941 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
32942 to atomic_spin_nop and move ...
32943 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
32944 ... here and ...
32945 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
32946 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
32947 atomic_spin_nop instead of BUSY_WAIT_NOP.
32948 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
32949 Likewise.
32950 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
32951 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
32952 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
32953 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
32954 instead of atomic_delay.
32955
32956 2015-06-29 Joseph Myers <joseph@codesourcery.com>
32957
32958 [BZ #18613]
32959 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
32960 X_ADJ not X when adjusting exponent.
32961 (__ieee754_gamma_r): Do intermediate computations in
32962 round-to-nearest then adjust overflowing and underflowing results
32963 as needed.
32964 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
32965 of X_ADJ not X when adjusting exponent.
32966 (__ieee754_gammaf_r): Do intermediate computations in
32967 round-to-nearest then adjust overflowing and underflowing results
32968 as needed.
32969 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
32970 log of X_ADJ not X when adjusting exponent.
32971 (__ieee754_gammal_r): Do intermediate computations in
32972 round-to-nearest then adjust overflowing and underflowing results
32973 as needed. Use 1.0L not 1.0f as numerator of division.
32974 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
32975 log of X_ADJ not X when adjusting exponent.
32976 (__ieee754_gammal_r): Do intermediate computations in
32977 round-to-nearest then adjust overflowing and underflowing results
32978 as needed. Use 1.0L not 1.0f as numerator of division.
32979 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
32980 of X_ADJ not X when adjusting exponent.
32981 (__ieee754_gammal_r): Do intermediate computations in
32982 round-to-nearest then adjust overflowing and underflowing results
32983 as needed. Use 1.0L not 1.0f as numerator of division.
32984 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
32985 to auto-libm-test-in.
32986 (tgamma_test): Use ALL_RM_TEST.
32987 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
32988 tests of tgamma with spurious-overflow.
32989 * math/auto-libm-test-out: Regenerated.
32990 * math/gen-libm-have-vector-test.sh: Do not check for START.
32991 * sysdeps/i386/fpu/libm-test-ulps: Update.
32992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32993
32994 [BZ #18612]
32995 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
32996 arguments, just return 0.5 times the argument, with underflow
32997 forced as needed.
32998 * math/auto-libm-test-in: Add more tests of j1.
32999 * math/auto-libm-test-out: Regenerated.
33000
33001 [BZ #16559]
33002 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
33003 (__ieee754_j1): Force underflow exception for small results.
33004 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33005 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
33006 (__ieee754_j1f): Force underflow exception for small results.
33007 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
33008 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33009 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
33010 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
33011 (__ieee754_j1l): Force underflow exception for small results.
33012 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33013 * math/auto-libm-test-in: Add more tests of j1 and jn.
33014 * math/auto-libm-test-out: Regenerated.
33015
33016 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
33017 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
33018 (PF_MPLS): Likewise.
33019 (AF_IB): Likewise.
33020 (AF_MPLS): Likewise.
33021 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
33022 value and macro.
33023 (MS_RMT_MASK): Include MS_LAZYTIME.
33024
33025 2015-06-26 Mel Gorman <mgorman@suse.de>
33026
33027 [BZ #18502]
33028 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
33029 already minimal.
33030
33031 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
33032
33033 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
33034 (DT_MIPS_NUM): Update.
33035 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
33036 DT_MIPS_RLD_MAP_REL.
33037
33038 2015-06-25 Joseph Myers <joseph@codesourcery.com>
33039
33040 [BZ #16559]
33041 [BZ #18602]
33042 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
33043 round-to-nearest internally then recompute results that
33044 underflowed to zero in the original rounding mode.
33045 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
33046 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33047 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
33048 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33049 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
33050 * sysdeps/i386/fpu/libm-test-ulps: Update.
33051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33052
33053 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
33054
33055 * NEWS: Fixed description of link with vector math library.
33056
33057 2015-06-25 Andreas Schwab <schwab@suse.de>
33058
33059 [BZ #18549]
33060 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
33061 * libio/test-fmemopen.c (do_test): Add test for it.
33062
33063 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
33064
33065 [BZ #17841]
33066 * Makeconfig (no-pie-ldflag): New.
33067 (+link): Set to $(+link-pie) if default to PIE.
33068 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
33069 * config.make.in (build-pie-default): New.
33070 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
33071 is default. AC_SUBST.
33072 * configure: Regenerated.
33073 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
33074
33075 2015-06-24 Roland McGrath <roland@hack.frob.com>
33076
33077 * nptl/descr.h (struct pthread): Change type of field setxid_futex
33078 to 'unsigned int'.
33079
33080 * resolv/gai_misc.h (struct waitlist): Change type of field
33081 counterp to 'volatile unsigned int *'.
33082 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
33083 FUTEXADDR and OLDVAL.
33084 * resolv/getaddrinfo_a.c (getaddrinfo_a):
33085 Give local variable TOTAL type 'volatile unsigned int'.
33086 (struct async_waitlist): Change type of field counter to 'unsigned int'.
33087 * resolv/gai_suspend.c (gai_suspend):
33088 Give local variable CNTR type 'unsigned int'.
33089
33090 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
33091 counterp to 'volatile unsigned int *'.
33092 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
33093 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
33094 (aio_suspend): Give local variable CNTR type 'unsigned int'.
33095 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
33096 Give local variable TOTAL type 'volatile unsigned int'.
33097 (struct async_waitlist): Change type of field counter to 'unsigned int'.
33098
33099 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
33100
33101 [BZ #18383]
33102 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
33103 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
33104 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
33105 comment for i386/x86-64.
33106 (test-xfail-tst-tlsalign-extern-static): Removed.
33107
33108 2015-06-24 Joseph Myers <joseph@codesourcery.com>
33109
33110 * math/test-double.h: New file.
33111 * math/test-float.h: Likewise.
33112 * math/test-ldouble.h: Likewise.
33113 * math/test-math-inline.h: Likewise.
33114 * math/test-math-no-inline.h: Likewise.
33115 * math/test-math-scalar.h: Likewise.
33116 * math/test-math-vector.h: Likewise.
33117 * math/test-vec-loop.h: Remove file. Contents moved into
33118 test-math-vector.h.
33119 * math/libm-test.inc (MATHCONST): Do not document macro.
33120 * math/test-double.c: Include test-double.h, test-math-no-inline.h
33121 and test-math-scalar.h.
33122 (FUNC): Remove macro.
33123 (FUNC_TEST): Likewise.
33124 (FLOAT): Likewise.
33125 (MATHCONST): Likewise.
33126 (PRINTF_EXPR): Likewise.
33127 (PRINTF_XEXPR): Likewise.
33128 (PRINTF_NEXPR): Likewise.
33129 (TEST_DOUBLE): Likewise.
33130 (TEST_MATHVEC): Likewise.
33131 (__NO_MATH_INLINES): Likewise.
33132 * math/test-float.c: Include test-float.h, test-math-no-inline.h
33133 and test-math-scalar.h.
33134 (FUNC): Remove macro.
33135 (FUNC_TEST): Likewise.
33136 (FLOAT): Likewise.
33137 (MATHCONST): Likewise.
33138 (PRINTF_EXPR): Likewise.
33139 (PRINTF_XEXPR): Likewise.
33140 (PRINTF_NEXPR): Likewise.
33141 (TEST_FLOAT): Likewise.
33142 (TEST_MATHVEC): Likewise.
33143 (__NO_MATH_INLINES): Likewise.
33144 * math/test-idouble.c: Include test-double.h, test-math-inline.h
33145 and test-math-scalar.h.
33146 (FUNC): Remove macro.
33147 (FUNC_TEST): Likewise.
33148 (FLOAT): Likewise.
33149 (MATHCONST): Likewise.
33150 (PRINTF_EXPR): Likewise.
33151 (PRINTF_XEXPR): Likewise.
33152 (PRINTF_NEXPR): Likewise.
33153 (TEST_DOUBLE): Likewise.
33154 (TEST_MATHVEC): Likewise.
33155 (TEST_INLINE): Likewise.
33156 (__NO_MATH_INLINES): Likewise.
33157 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
33158 test-math-scalar.h.
33159 (FUNC): Remove macro.
33160 (FUNC_TEST): Likewise.
33161 (FLOAT): Likewise.
33162 (MATHCONST): Likewise.
33163 (PRINTF_EXPR): Likewise.
33164 (PRINTF_XEXPR): Likewise.
33165 (PRINTF_NEXPR): Likewise.
33166 (TEST_FLOAT): Likewise.
33167 (TEST_MATHVEC): Likewise.
33168 (TEST_INLINE): Likewise.
33169 (__NO_MATH_INLINES): Likewise.
33170 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
33171 and test-math-scalar.h.
33172 (FUNC): Remove macro.
33173 (FUNC_TEST): Likewise.
33174 (FLOAT): Likewise.
33175 (MATHCONST): Likewise.
33176 (PRINTF_EXPR): Likewise.
33177 (PRINTF_XEXPR): Likewise.
33178 (PRINTF_NEXPR): Likewise.
33179 (TEST_LDOUBLE): Likewise.
33180 (TEST_MATHVEC): Likewise.
33181 (TEST_INLINE): Likewise.
33182 (__NO_MATH_INLINES): Likewise.
33183 * math/test-ldouble.c: Include test-ldouble.h,
33184 test-math-no-inline.h and test-math-scalar.h.
33185 (FUNC): Remove macro.
33186 (FUNC_TEST): Likewise.
33187 (FLOAT): Likewise.
33188 (MATHCONST): Likewise.
33189 (PRINTF_EXPR): Likewise.
33190 (PRINTF_XEXPR): Likewise.
33191 (PRINTF_NEXPR): Likewise.
33192 (TEST_LDOUBLE): Likewise.
33193 (TEST_MATHVEC): Likewise.
33194 (__NO_MATH_INLINES): Likewise.
33195 * math/test-double-vlen2.h: Include test-double.h,
33196 test-math-no-inline.h and test-math-vector.h.
33197 (FLOAT): Remove macro.
33198 (FUNC): Likewise.
33199 (MATHCONST): Likewise.
33200 (PRINTF_EXPR): Likewise.
33201 (PRINTF_XEXPR): Likewise.
33202 (PRINTF_NEXPR): Likewise.
33203 (TEST_DOUBLE): Likewise.
33204 (TEST_MATHVEC): Likewise.
33205 (__NO_MATH_INLINES): Likewise.
33206 (CNCT): Likewise.
33207 (CONCAT): Likewise.
33208 (WRAPPER_NAME): Likewise.
33209 (WRAPPER_DECL): Likewise.
33210 (WRAPPER_DECL_ff): Likewise.
33211 (WRAPPER_DECL_fFF): Likewise.
33212 (VECTOR_WRAPPER): Likewise.
33213 (VECTOR_WRAPPER_ff): Likewise.
33214 (VECTOR_WRAPPER_fFF): Likewise.
33215 (VEC_LEN): New macro.
33216 * math/test-double-vlen4.h: Include test-double.h,
33217 test-math-no-inline.h and test-math-vector.h.
33218 (FLOAT): Remove macro.
33219 (FUNC): Likewise.
33220 (MATHCONST): Likewise.
33221 (PRINTF_EXPR): Likewise.
33222 (PRINTF_XEXPR): Likewise.
33223 (PRINTF_NEXPR): Likewise.
33224 (TEST_DOUBLE): Likewise.
33225 (TEST_MATHVEC): Likewise.
33226 (__NO_MATH_INLINES): Likewise.
33227 (CNCT): Likewise.
33228 (CONCAT): Likewise.
33229 (WRAPPER_NAME): Likewise.
33230 (WRAPPER_DECL): Likewise.
33231 (WRAPPER_DECL_ff): Likewise.
33232 (WRAPPER_DECL_fFF): Likewise.
33233 (VECTOR_WRAPPER): Likewise.
33234 (VECTOR_WRAPPER_ff): Likewise.
33235 (VECTOR_WRAPPER_fFF): Likewise.
33236 (VEC_LEN): New macro.
33237 * math/test-double-vlen8.h: Include test-double.h,
33238 test-math-no-inline.h and test-math-vector.h.
33239 (FLOAT): Remove macro.
33240 (FUNC): Likewise.
33241 (MATHCONST): Likewise.
33242 (PRINTF_EXPR): Likewise.
33243 (PRINTF_XEXPR): Likewise.
33244 (PRINTF_NEXPR): Likewise.
33245 (TEST_DOUBLE): Likewise.
33246 (TEST_MATHVEC): Likewise.
33247 (__NO_MATH_INLINES): Likewise.
33248 (CNCT): Likewise.
33249 (CONCAT): Likewise.
33250 (WRAPPER_NAME): Likewise.
33251 (WRAPPER_DECL): Likewise.
33252 (WRAPPER_DECL_ff): Likewise.
33253 (WRAPPER_DECL_fFF): Likewise.
33254 (VECTOR_WRAPPER): Likewise.
33255 (VECTOR_WRAPPER_ff): Likewise.
33256 (VECTOR_WRAPPER_fFF): Likewise.
33257 (VEC_LEN): New macro.
33258 * math/test-float-vlen4.h: Include test-float.h,
33259 test-math-no-inline.h and test-math-vector.h.
33260 (FLOAT): Remove macro.
33261 (FUNC): Likewise.
33262 (MATHCONST): Likewise.
33263 (PRINTF_EXPR): Likewise.
33264 (PRINTF_XEXPR): Likewise.
33265 (PRINTF_NEXPR): Likewise.
33266 (TEST_FLOAT): Likewise.
33267 (TEST_MATHVEC): Likewise.
33268 (__NO_MATH_INLINES): Likewise.
33269 (CNCT): Likewise.
33270 (CONCAT): Likewise.
33271 (WRAPPER_NAME): Likewise.
33272 (WRAPPER_DECL): Likewise.
33273 (WRAPPER_DECL_ff): Likewise.
33274 (WRAPPER_DECL_fFF): Likewise.
33275 (VECTOR_WRAPPER): Likewise.
33276 (VECTOR_WRAPPER_ff): Likewise.
33277 (VECTOR_WRAPPER_fFF): Likewise.
33278 (VEC_LEN): New macro.
33279 * math/test-float-vlen8.h: Include test-float.h,
33280 test-math-no-inline.h and test-math-vector.h.
33281 (FLOAT): Remove macro.
33282 (FUNC): Likewise.
33283 (MATHCONST): Likewise.
33284 (PRINTF_EXPR): Likewise.
33285 (PRINTF_XEXPR): Likewise.
33286 (PRINTF_NEXPR): Likewise.
33287 (TEST_FLOAT): Likewise.
33288 (TEST_MATHVEC): Likewise.
33289 (__NO_MATH_INLINES): Likewise.
33290 (CNCT): Likewise.
33291 (CONCAT): Likewise.
33292 (WRAPPER_NAME): Likewise.
33293 (WRAPPER_DECL): Likewise.
33294 (WRAPPER_DECL_ff): Likewise.
33295 (WRAPPER_DECL_fFF): Likewise.
33296 (VECTOR_WRAPPER): Likewise.
33297 (VECTOR_WRAPPER_ff): Likewise.
33298 (VECTOR_WRAPPER_fFF): Likewise.
33299 (VEC_LEN): New macro.
33300 * math/test-float-vlen16.h: Include test-float.h,
33301 test-math-no-inline.h and test-math-vector.h.
33302 (FLOAT): Remove macro.
33303 (FUNC): Likewise.
33304 (MATHCONST): Likewise.
33305 (PRINTF_EXPR): Likewise.
33306 (PRINTF_XEXPR): Likewise.
33307 (PRINTF_NEXPR): Likewise.
33308 (TEST_FLOAT): Likewise.
33309 (TEST_MATHVEC): Likewise.
33310 (__NO_MATH_INLINES): Likewise.
33311 (CNCT): Likewise.
33312 (CONCAT): Likewise.
33313 (WRAPPER_NAME): Likewise.
33314 (WRAPPER_DECL): Likewise.
33315 (WRAPPER_DECL_ff): Likewise.
33316 (WRAPPER_DECL_fFF): Likewise.
33317 (VECTOR_WRAPPER): Likewise.
33318 (VECTOR_WRAPPER_ff): Likewise.
33319 (VECTOR_WRAPPER_fFF): Likewise.
33320 (VEC_LEN): New macro.
33321 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
33322 test-vec-loop.h.
33323 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33324 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33325 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33326 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33327 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33328 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33329 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
33330
33331 2015-06-24 Roland McGrath <roland@hack.frob.com>
33332
33333 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
33334 (__getlogin_r): ... this.
33335
33336 2015-06-24 Joseph Myers <joseph@codesourcery.com>
33337
33338 [BZ #18594]
33339 * math/s_ccosh.c (__ccosh): Compare with least normal value
33340 instead of comparing class with FP_SUBNORMAL.
33341 * math/s_ccoshf.c (__ccoshf): Likewise.
33342 * math/s_ccoshl.c (__ccoshl): Likewise.
33343 * math/s_cexp.c (__cexp): Likewise.
33344 * math/s_cexpf.c (__cexpf): Likewise.
33345 * math/s_cexpl.c (__cexpl): Likewise.
33346 * math/s_csin.c (__csin): Likewise.
33347 * math/s_csinf.c (__csinf): Likewise.
33348 * math/s_csinh.c (__csinh): Likewise.
33349 * math/s_csinhf.c (__csinhf): Likewise.
33350 * math/s_csinhl.c (__csinhl): Likewise.
33351 * math/s_csinl.c (__csinl): Likewise.
33352 * math/s_ctan.c (__ctan): Likewise.
33353 * math/s_ctanf.c (__ctanf): Likewise.
33354 * math/s_ctanh.c (__ctanh): Likewise.
33355 * math/s_ctanhf.c (__ctanhf): Likewise.
33356 * math/s_ctanhl.c (__ctanhl): Likewise.
33357 * math/s_ctanl.c (__ctanl): Likewise.
33358 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
33359 csin, csinh, ctan and ctanh.
33360 * math/auto-libm-test-out: Regenerated.
33361 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
33362 * sysdeps/i386/fpu/libm-test-ulps: Update.
33363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33364
33365 2015-06-24 Roland McGrath <roland@hack.frob.com>
33366
33367 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
33368 return value is wrong, print the expected value too.
33369
33370 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
33371
33372 [BZ #18585]
33373 * elf/readlib.c (is_gdb_python_file): New.
33374 (process_file): Don't issue errors on filenames with -gdb.py
33375 suffix.
33376
33377 2015-06-24 Joseph Myers <joseph@codesourcery.com>
33378
33379 * math/auto-libm-test-in: Add more tests of csin and csinh.
33380 * math/auto-libm-test-out: Regenerated.
33381 * math/libm-test.inc (csin_test_data): Remove tests moved to
33382 auto-libm-test-in.
33383 (csinh_test_data): Likewise.
33384
33385 [BZ #18593]
33386 * math/s_csin.c (__csin): Negate before rather than after possibly
33387 overflowing multiplication.
33388 * math/s_csinf.c (__csinf): Likewise.
33389 * math/s_csinh.c (__csinh): Likewise.
33390 * math/s_csinhf.c (__csinhf): Likewise.
33391 * math/s_csinhl.c (__csinhl): Likewise.
33392 * math/s_csinl.c (__csinl): Likewise.
33393 * math/auto-libm-test-in: Add some tests of csin and csinh.
33394 * math/auto-libm-test-out: Regenerated.
33395 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
33396 (csinh_test_data): Likewise.
33397 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33398
33399 [BZ #18586]
33400 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
33401 underflow exception for small results.
33402
33403 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
33404
33405 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
33406 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
33407 variable and included header.
33408 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
33409 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
33410 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
33411 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
33412 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
33413 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
33414 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
33415 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
33416 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
33417 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
33418 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
33419 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
33420 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
33421 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
33422 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
33423 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
33424
33425 2015-06-23 Joseph Myers <joseph@codesourcery.com>
33426
33427 [BZ #16526]
33428 [BZ #16538]
33429 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
33430 (__sin): Force underflow exception for arguments with small
33431 absolute value.
33432 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
33433 (__kernel_sinf): Force underflow exception for arguments with
33434 small absolute value.
33435 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
33436 (__kernel_sincosl): Force underflow exception for arguments with
33437 small absolute value.
33438 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
33439 (__kernel_sinl): Force underflow exception for arguments with
33440 small absolute value.
33441 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
33442 (__kernel_sincosl): Force underflow exception for arguments with
33443 small absolute value.
33444 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
33445 (__kernel_sinl): Force underflow exception for arguments with
33446 small absolute value.
33447 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
33448 (__kernel_sinl): Force underflow exception for arguments with
33449 small absolute value.
33450 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
33451 (__kernel_sinf): Force underflow exception for arguments with
33452 small absolute value.
33453 * math/auto-libm-test-in: Add more tests of sin and sincos.
33454 * math/auto-libm-test-out: Regenerated.
33455
33456 [BZ #18245]
33457 [BZ #18583]
33458 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
33459 (__kernel_standard_l): Use feholdexcept and fesetenv around
33460 conversion to double instead of special-casing overflow and
33461 underflow.
33462 * math/libm-test.inc (fmod_test_data): Add more tests.
33463 (remainder_test_data): Likewise.
33464 (sqrt_test_data): Likewise.
33465
33466 2015-06-23 Torvald Riegel <triegel@redhat.com>
33467
33468 [BZ #17403]
33469 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
33470 atomic_read_barrier, atomic_write_barrier): Define.
33471 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
33472 atomic_read_barrier, atomic_write_barrier): Define.
33473
33474 2015-06-23 Joseph Myers <joseph@codesourcery.com>
33475
33476 * math/Makefile [$(PERL) != no]
33477 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
33478 dependency on libm-test.stmp below the inclusion of Rules.
33479
33480 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
33481
33482 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
33483 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
33484 and included header.
33485 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
33486 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
33487 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
33488 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
33489 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
33490 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
33491 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
33492 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
33493 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
33494 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
33495 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
33496 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
33497 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
33498 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
33499 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
33500 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
33501 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
33502 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
33503 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
33504
33505 2015-06-23 Joseph Myers <joseph@codesourcery.com>
33506
33507 [BZ #18371]
33508 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
33509 intermediate but not final result might underflow.
33510 * math/s_csqrtf.c (__csqrtf): Likewise.
33511 * math/s_csqrtl.c (__csqrtl): Likewise.
33512 * math/auto-libm-test-in: Add more tests of csqrt.
33513 * math/auto-libm-test-out: Regenerated.
33514 * sysdeps/i386/fpu/libm-test-ulps: Update.
33515
33516 [BZ #18219]
33517 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
33518 threshold on absolute value of exponent for which scaling is used.
33519 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
33520 * math/auto-libm-test-in: Add more tests of exp2.
33521 * math/auto-libm-test-out: Regenerated.
33522
33523 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
33524
33525 [BZ #17977]
33526 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
33527 when initializing interface list, based on the bug analysis
33528 and the patch proposed by Eric Newton.
33529 * resolv/tst-res_hconf_reorder.c: New test.
33530 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
33531 tst-res_hconf_reorder.
33532 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
33533 and $(shared-thread-library).
33534 (tst-res_hconf_reorder-ENV): New variable.
33535
33536 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
33537 in comment.
33538
33539 2015-06-22 Joseph Myers <joseph@codesourcery.com>
33540
33541 [BZ #16353]
33542 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
33543 (__expm1): Force underflow exception for arguments with small
33544 absolute value.
33545 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
33546 (__expm1f): Force underflow exception for arguments with small
33547 absolute value.
33548 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
33549 (__expm1): Force underflow exception for arguments with small
33550 absolute value.
33551 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
33552 (__expm1f): Force underflow exception for arguments with small
33553 absolute value.
33554 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33555 Check for small arguments before calling __expm1.
33556 * math/auto-libm-test-in: Do not mark underflow exceptions as
33557 possibly missing for bug 16353.
33558 * math/auto-libm-test-out: Regenerated.
33559
33560 2015-06-22 Andreas Schwab <schwab@suse.de>
33561
33562 [BZ #18513]
33563 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
33564 PTR queries.
33565
33566 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
33567
33568 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
33569
33570 * string/strcoll_l.c: Remove unused struct element idxnow.
33571
33572 2015-06-21 Joseph Myers <joseph@codesourcery.com>
33573
33574 [BZ #18569]
33575 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
33576 underflow and return argument in case of subnormal argument.
33577 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33578 Likewise.
33579 * math/auto-libm-test-in: Add more tests of expm1.
33580 * math/auto-libm-test-out: Regenerated.
33581
33582 [BZ #16361]
33583 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
33584 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
33585 tiny results.
33586 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
33587 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
33588 tiny results.
33589 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
33590 mark underflow exceptions as possibly missing for bug 16361.
33591 * math/auto-libm-test-out: Regenerated.
33592
33593 2015-06-19 Joseph Myers <joseph@codesourcery.com>
33594
33595 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
33596 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
33597 Remove variable.
33598 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
33599 (test-xfail-XOPEN2K8/utmpx.h/conform).
33600
33601 * conform/conformtest.pl ($xerrors): New variable.
33602 (note_error): New function.
33603 (compiletest): New argument $xfail. Use not_error.
33604 (runtest): Likewise.
33605 (top level): Handle xfail- lines. Update calls to compiletest and
33606 runtest. Handle xfail- and optional- in headers listed with
33607 allow-header.
33608 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
33609 (O_EXEC): Likewise.
33610 (O_SEARCH): Likewise.
33611 * conform/data/stropts.h-data (ioctl): Likewise.
33612 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
33613 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
33614 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
33615 (msghdr.msg_controllen): Likewise.
33616 (cmsghdr.cmsg_len): Likewise.
33617 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
33618 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
33619 variable.
33620 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
33621 (test-xfail-XPG4/stropts.h/conform): Likewise.
33622 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
33623 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
33624 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
33625 (test-xfail-UNIX98/stropts.h/conform): Likewise.
33626 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
33627 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
33628 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
33629 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
33630 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
33631 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
33632 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
33633 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
33634 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
33635 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
33636 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
33637 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
33638 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
33639 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
33640 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
33641
33642 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
33643
33644 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
33645 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
33646 definitions for proper unfolding of __MATHDECL_VEC.
33647
33648 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
33649
33650 * benchtests/bench-strcoll.c:
33651 Include string.h.
33652 (main): Remove unused variable res.
33653
33654 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
33655
33656 * timezone/Makefile (%/UTC %/Universal):
33657 Generate test-result files for UTC and Universal.
33658
33659 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
33660
33661 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
33662
33663 2015-06-18 Joseph Myers <joseph@codesourcery.com>
33664
33665 [BZ #16350]
33666 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
33667 for arguments with small absolute value.
33668 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
33669 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
33670 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
33671 (__asinh): Force underflow exception for arguments with small
33672 absolute value.
33673 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
33674 (__asinhf): Force underflow exception for arguments with small
33675 absolute value.
33676 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
33677 (__asinhl): Force underflow exception for arguments with small
33678 absolute value.
33679 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
33680 (__asinhl): Force underflow exception for arguments with small
33681 absolute value.
33682 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
33683 (__asinhl): Force underflow exception for arguments with small
33684 absolute value.
33685 * math/auto-libm-test-in: Do not mark underflow exceptions as
33686 possibly missing for bug 16350.
33687 * math/auto-libm-test-out: Regenerated.
33688
33689 * include/bits/ipc.h: Remove file.
33690 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
33691 variable.
33692 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
33693 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
33694 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
33695 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
33696 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
33697 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
33698 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
33699 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
33700 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
33701
33702 * math/auto-libm-test-in: Remove spurious underflow allowance for
33703 tests of cexp.
33704 * math/auto-libm-test-out: Regenerated.
33705
33706 [BZ #18558]
33707 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
33708 unconditional definition.
33709 (MCAST_BLOCK_SOURCE): Likewise.
33710 (MCAST_UNBLOCK_SOURCE): Likewise.
33711 (MCAST_LEAVE_GROUP): Likewise.
33712 (MCAST_JOIN_SOURCE_GROUP): Likewise.
33713 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
33714 (MCAST_MSFILTER): Likewise.
33715 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
33716 Remove variable.
33717 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
33718 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
33719 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
33720 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
33721 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
33722
33723 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
33724
33725 * NEWS: Mention addition of x86_64 vector sincosf.
33726 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
33727 * math/test-float-vlen4.h: Likewise.
33728 * math/test-float-vlen8.h: Likewise.
33729 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33730 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
33731 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33732 * sysdeps/x86_64/fpu/Versions: New versions added.
33733 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33734 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33735 Added build of SSE, AVX2 and AVX512 IFUNC versions.
33736 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
33737 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
33738 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
33739 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
33740 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
33741 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
33742 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
33743 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
33744 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
33745 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
33746 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
33747 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
33748 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
33749 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
33750 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
33751 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33752 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33753 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33754 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33755 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33756 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33757
33758 * NEWS: Mention addition of x86_64 vector sincos.
33759 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
33760 * math/math.h (__MATHDECL_VEC): New macro.
33761 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
33762 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
33763 declaration under condition.
33764 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
33765 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
33766 TEST_VEC_LOOP change.
33767 * math/test-double-vlen4.h: Likewise.
33768 * math/test-double-vlen8.h: Likewise.
33769 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
33770 * math/test-float-vlen4.h: Likewise.
33771 * math/test-float-vlen8.h: Likewise.
33772 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33773 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
33774 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33775 * sysdeps/x86_64/fpu/Versions: New versions added.
33776 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33777 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33778 Added build of SSE, AVX2 and AVX512 IFUNC versions.
33779 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
33780 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
33781 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
33782 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
33783 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
33784 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
33785 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
33786 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
33787 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
33788 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
33789 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
33790 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
33791 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
33792 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
33793 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33794 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33795 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33796 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33797 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33798 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33799 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33800
33801 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33802 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33803 redirections for powf.
33804 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33805 * sysdeps/x86_64/fpu/Versions: New versions added.
33806 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33807 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33808 Added build of SSE, AVX2 and AVX512 IFUNC versions.
33809 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
33810 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
33811 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
33812 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
33813 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
33814 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
33815 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
33816 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
33817 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
33818 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
33819 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
33820 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
33821 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
33822 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
33823 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
33824 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33825 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33826 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33827 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33828 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33829 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33830 * math/test-float-vlen16.h: Fixed 2 argument macro.
33831 * math/test-float-vlen4.h: Likewise.
33832 * math/test-float-vlen8.h: Likewise.
33833 * NEWS: Mention addition of x86_64 vector powf.
33834
33835 2015-06-17 Joseph Myers <joseph@codesourcery.com>
33836
33837 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33838 and redefine.
33839 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33840 and redefine.
33841 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
33842 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33843 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33844
33845 [BZ #18553]
33846 * resource/getpriority.c (getpriority): Rename to __getpriority
33847 and define as weak alias of __getpriority.
33848 * resource/setpriority.c (setpriority): Rename to __setpriority
33849 and define as weak alias of __setpriority.
33850 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
33851 __getpriority and define as weak alias of __getpriority.
33852 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
33853 __setpriority and define as weak alias of __setpriority.
33854 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
33855 strong name.
33856 (setpriority): Use __setpriority as strong name.
33857 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
33858 __getpriority and define as weak alias of __getpriority.
33859 * include/sys/resource.h (__getpriority): Declare. Use
33860 libc_hidden_proto.
33861 (__setpriority): Likewise.
33862 (getpriority): Don't use libc_hidden_proto.
33863 (setpriority): Likewise.
33864 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
33865 getpriority. Call __setpriority instead of setpriority.
33866 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
33867 Remove variable.
33868
33869 [BZ #18547]
33870 * misc/getttyent.c (getttynam): Rename to __getttynam and define
33871 as weak alias of __getttynam. Use prototype function definition.
33872 Call __setttyent, __getttyent and __endttyent instead of
33873 setttyent, getttyent and endttyent.
33874 (getttyent): Rename to __getttyent and define as weak alias of
33875 __getttyent. Call __setttyent instead of setttyent. Call
33876 __fgets_unlocked instead of fgets_unlocked.
33877 (setttyent): Rename to __setttyent and define as weak alias of
33878 __setttyent.
33879 (endttyent): Rename to __endttyent and define as weak alias of
33880 __endttyent.
33881 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
33882 (__setttyent): Likewise.
33883 (__endttyent): Likewise.
33884 (getttyent): Don't use libc_hidden_proto.
33885 (setttyent): Likewise.
33886 (endttyent): Likewise.
33887 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
33888 __endttyent instead of setttyent, getttyent and endttyent.
33889 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
33890 Remove variable.
33891
33892 [BZ #18546]
33893 * socket/recv.c (__recv): Use libc_hidden_def.
33894 * socket/socket.c (__socket): Likewise.
33895 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
33896 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
33897 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
33898 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
33899 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
33900 libc_hidden_def.
33901 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
33902 libc_hidden_weak.
33903 * include/sys/socket.h (__socket): Do not use attribute_hidden.
33904 Use libc_hidden_proto.
33905 (__recv): Likewise.
33906 * socket/Versions (libc): Export __recv and __socket at version
33907 GLIBC_PRIVATE.
33908 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
33909 instead of recv.
33910 (init_mq_netlink): Call __socket instead of socket.
33911 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
33912 Remove variable.
33913
33914 [BZ #18545]
33915 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
33916 __mq_timedreceive and define as alias of __mq_timedreceive. Use
33917 hidden_weak.
33918 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
33919 define as alias of __mq_timedsend. Use hidden_weak.
33920 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
33921 __mq_timedsend as strong name.
33922 (mq_timedreceive): Use __mq_timedreceive as strong name.
33923 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
33924 (__mq_timedreceive): Likewise.
33925 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
33926 __mq_timedreceive instead of mq_timedreceive.
33927 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
33928 instead of mq_timedsend.
33929 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
33930 Remove variable.
33931
33932 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
33933 hidden_def and hidden_weak instead of libc_hidden_def and
33934 libc_hidden_weak.
33935 (top level): Refer to hidden_def in comment.
33936 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
33937 macro. Use it instead of libc_hidden_def.
33938 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
33939 specify __GI_* name explicitly.
33940 (mq_timedreceive): Likewise.
33941 (mq_setattr): Likewise.
33942
33943 [BZ #18544]
33944 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
33945 __pthread_barrier_init and define as weak alias of
33946 __pthread_barrier_init.
33947 * sysdeps/sparc/nptl/pthread_barrier_init.c
33948 (pthread_barrier_init): Likewise.
33949 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
33950 __pthread_barrier_wait and define as weak alias of
33951 __pthread_barrier_wait.
33952 * sysdeps/sparc/nptl/pthread_barrier_wait.c
33953 (pthread_barrier_wait): Likewise.
33954 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
33955 (pthread_barrier_wait): Likewise.
33956 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
33957 (pthread_barrier_wait): Likewise.
33958 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
33959 (pthread_barrier_wait): Likewise.
33960 * nptl/Versions (libpthread): Export __pthread_barrier_init and
33961 __pthread_barrier_wait at version GLIBC_PRIVATE.
33962 * include/pthread.h (__pthread_barrier_init): Declare.
33963 (__pthread_barrier_wait): Likewise.
33964 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
33965 Call __pthread_barrier_wait instead of pthread_barrier_wait.
33966 (helper_thread): Likewise.
33967 (init_mq_netlink): Call __pthread_barrier_init instead of
33968 pthread_barrier_init.
33969
33970 [BZ #18542]
33971 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
33972 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
33973 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
33974 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
33975 vswscanf.
33976 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
33977 Remove variable.
33978
33979 [BZ #18540]
33980 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
33981 strong alias of _IO_fflush. Use libc_hidden_def.
33982 * libio/iofflush_u.c (fflush_unlocked): Rename to
33983 __fflush_unlocked and define as weak alias of __fflush_unlocked.
33984 Use libc_hidden_weak.
33985 * include/stdio.h (__fflush_unlocked): Declare. Use
33986 libc_hidden_proto.
33987 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
33988 fflush_unlocked.
33989 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
33990 Remove variable.
33991
33992 [BZ #18539]
33993 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
33994 define as weak alias of __addseverity.
33995 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
33996 Remove variable.
33997 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
33998 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
33999 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
34000
34001 [BZ #18536]
34002 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
34003 (__tfind): Likewise.
34004 (__tdelete): Likewise.
34005 (__twalk): Likewise.
34006 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
34007 __twalk to GLIBC_PRIVATE.
34008 * include/search.h (__tsearch): Use libc_hidden_proto.
34009 (__tfind): Likewise.
34010 (__tdelete): Likewise.
34011 (__twalk): Likewise.
34012 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
34013 Call __tdelete instead of tdelete.
34014 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
34015 tfind. Call __tsearch instead of tsearch.
34016 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
34017 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
34018 Remove variable.
34019 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
34020
34021 [BZ #18534]
34022 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
34023 (dprintf): Define as a weak alias of __dprintf, not a strong
34024 alias.
34025 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
34026 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
34027 dprintf.
34028 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
34029 Remove variable.
34030 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
34031 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
34032
34033 [BZ #18533]
34034 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
34035 not a strong alias.
34036 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
34037 Remove variable.
34038
34039 [BZ #18532]
34040 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
34041 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
34042 (in6addr_loopback): Rename to __in6addr_loopback and define as
34043 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
34044 * include/netinet/in.h (__in6addr_loopback): Declare. Use
34045 libc_hidden_proto.
34046 (__in6addr_any): Likewise.
34047 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
34048 in6addr_any.
34049 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
34050 variable.
34051 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
34052
34053 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
34054
34055 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
34056 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
34057 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34058 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34059 redirections for pow.
34060 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34061 * sysdeps/x86_64/fpu/Versions: New versions added.
34062 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34063 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34064 build of SSE, AVX2 and AVX512 IFUNC versions.
34065 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
34066 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
34067 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
34068 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
34069 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
34070 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
34071 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
34072 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
34073 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
34074 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
34075 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
34076 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
34077 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
34078 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
34079 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34080 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34081 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34082 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34083 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34084 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34085 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34086 * NEWS: Mention addition of x86_64 vector pow.
34087
34088 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34089 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34090 redirections for expf.
34091 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34092 * sysdeps/x86_64/fpu/Versions: New versions added.
34093 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34094 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34095 build of SSE, AVX2 and AVX512 IFUNC versions.
34096 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
34097 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
34098 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
34099 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
34100 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
34101 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
34102 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
34103 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
34104 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
34105 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
34106 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
34107 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
34108 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
34109 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34110 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34111 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34112 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34113 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34114 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34115 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34116 * NEWS: Mention addition of x86_64 vector expf.
34117
34118 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
34119 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
34120 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34121 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34122 redirections for exp.
34123 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34124 * sysdeps/x86_64/fpu/Versions: New versions added.
34125 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34126 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34127 build of SSE, AVX2 and AVX512 IFUNC versions.
34128 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
34129 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
34130 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
34131 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
34132 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
34133 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
34134 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
34135 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
34136 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
34137 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
34138 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
34139 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
34140 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
34141 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34142 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34143 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34144 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34145 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34146 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34147 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34148 * NEWS: Mention addition of x86_64 vector exp.
34149
34150 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34151 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34152 redirections for logf.
34153 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34154 * sysdeps/x86_64/fpu/Versions: New versions added.
34155 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34156 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34157 build of SSE, AVX2 and AVX512 IFUNC versions.
34158 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
34159 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
34160 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
34161 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
34162 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
34163 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
34164 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
34165 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
34166 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
34167 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
34168 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
34169 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
34170 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
34171 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34172 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34173 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34174 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34175 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34176 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34177 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34178 * NEWS: Mention addition of x86_64 vector logf.
34179
34180 * bits/libm-simd-decl-stubs.h: Added stubs for log.
34181 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
34182 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34183 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34184 redirections for log.
34185 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34186 * sysdeps/x86_64/fpu/Versions: New versions added.
34187 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34188 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34189 build of SSE, AVX2 and AVX512 IFUNC versions.
34190 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
34191 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
34192 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
34193 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
34194 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
34195 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
34196 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
34197 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
34198 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
34199 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
34200 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
34201 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
34202 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
34203 test.
34204 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34205 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34206 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34207 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34208 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34209 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34210 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34211 * NEWS: Mention addition of x86_64 vector log.
34212
34213 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
34214
34215 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
34216 cfi_adjust_cfa_offset argument.
34217 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
34218 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
34219
34220 [BZ #18034]
34221 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
34222 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
34223 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
34224 ordering using ldar.
34225 (_dl_tlsdesc_dynamic): Likewise.
34226 (_dl_tlsdesc_return_lazy): Likewise.
34227 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
34228 relaxed atomics instead of volatile and synchronize with release store.
34229 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
34230 volatile.
34231 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
34232
34233 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
34234
34235 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34236 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
34237 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34238 * sysdeps/x86_64/fpu/Versions: New versions added.
34239 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34240 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34241 build of SSE, AVX2 and AVX512 IFUNC versions.
34242 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
34243 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
34244 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
34245 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
34246 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
34247 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
34248 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
34249 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
34250 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
34251 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
34252 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
34253 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
34254 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
34255 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34256 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34257 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34258 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34259 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34260 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34261 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34262 * NEWS: Mention addition of x86_64 vector sinf.
34263
34264 2015-06-14 Joseph Myers <joseph@codesourcery.com>
34265
34266 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
34267 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
34268 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
34269 Remove variable.
34270 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
34271 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
34272
34273 2015-06-12 Joseph Myers <joseph@codesourcery.com>
34274
34275 [BZ #18530]
34276 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
34277 strong alias of _IO_fputs. Use libc_hidden_def.
34278 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
34279 and define as weak alias of __fputs_unlocked. Use
34280 libc_hidden_weak.
34281 * include/stdio.h (__fputs_unlocked): Declare. Use
34282 libc_hidden_proto.
34283 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
34284 fputs_unlocked.
34285
34286 [BZ #18529]
34287 * resolv/netdb.h [__USE_POSIX]: Change condition to
34288 [__USE_XOPEN2K].
34289 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
34290 not expect.
34291 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
34292 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
34293 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
34294 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
34295 [XPG4 || UNIX98] (AI_ALL): Likewise.
34296 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
34297 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
34298 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
34299 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
34300 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
34301 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
34302 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
34303 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
34304 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
34305 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
34306 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
34307 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
34308 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
34309 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
34310 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
34311 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
34312 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
34313 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
34314 [XPG4 || UNIX98] (gai_strerror): Likewise.
34315 [XPG4 || UNIX98] (getaddrinfo): Likewise.
34316 [XPG4 || UNIX98] (getnameinfo): Likewise.
34317
34318 [BZ #18528]
34319 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
34320 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
34321 __USE_XOPEN2K8].
34322 (getgrent): Likewise.
34323 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
34324 expect.
34325 [XPG3 || POSIX2008] (endgrent): Likewise.
34326 [XPG3] (setgrent): Likewise.
34327 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
34328 variable.
34329 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
34330
34331 [BZ #18527]
34332 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
34333 define as weak alias of __getlogin_r. Use libc_hidden_weak.
34334 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
34335 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
34336 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
34337 * include/unistd.h (__getlogin_r): Declare. Use
34338 libc_hidden_proto.
34339 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
34340 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
34341 variable.
34342 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
34343 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
34344 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
34345
34346 2015-06-12 Martin Sebor <msebor@redhat.com>
34347
34348 [BZ #18512]
34349 * Makerules (check-install-supported): New target.
34350 (install): Add check-install-supported as a dependency.
34351 * manual/install.texi (Installing the C Library): Document
34352 that overriding prefix and exec_prefix is not supported.
34353 Mention DESTDIR.
34354 * INSTALL: Regenerate from the above.
34355
34356 2015-06-12 Joseph Myers <joseph@codesourcery.com>
34357
34358 [BZ #18519]
34359 * posix/Versions (libc): Export __libc_pread at version
34360 GLIBC_PRIVATE.
34361 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
34362 instead of pread.
34363 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
34364 variable.
34365
34366 [BZ #18522]
34367 * misc/efgcvt_r.c
34368 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
34369 (cvt_symbol): Use weak_alias instead of strong_alias.
34370 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
34371 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
34372 Remove variable.
34373 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
34374 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
34375
34376 [BZ #18520]
34377 * inet/herrno.c (h_errno): Rename to __h_errno.
34378 (__libc_h_errno): Define as alias of __h_errno not h_errno.
34379 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
34380 to __h_errno instead of h_errno.
34381 * nptl/herrno.c (h_errno): Rename to __h_errno.
34382 (__h_errno_location): Refer to __h_errno not h_errno.
34383 * resolv/Versions (h_errno): Rename to __h_errno.
34384 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
34385 Remove variable.
34386 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
34387
34388 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
34389
34390 * configure.ac: More strict check for AVX512 assembler support.
34391 * configure: Regenerated.
34392
34393 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
34394 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
34395 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34396 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
34397 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34398 * sysdeps/x86_64/fpu/Versions: New versions added.
34399 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34400 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34401 Added build of SSE, AVX2 and AVX512 IFUNC versions.
34402 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
34403 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
34404 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
34405 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
34406 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
34407 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
34408 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
34409 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
34410 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
34411 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
34412 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
34413 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
34414 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
34415 test.
34416 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34417 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34418 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34419 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34420 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34421 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34422 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34423 * NEWS: Mention addition of x86_64 vector sin.
34424
34425 2015-06-11 Florian Weimer <fweimer@redhat.com>
34426
34427 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
34428 comment.
34429
34430 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
34431
34432 [BZ #18479]
34433 * nptl/pt-interp.c: New file.
34434 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
34435 Add pt-interp.
34436 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
34437 $(common-objpfx)runtime-linker.h.
34438
34439 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
34440
34441 * Makeconfig (+interp): Remove unused variable.
34442 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
34443 only. Depend on $(common-objpfx)runtime-linker.h instead of
34444 $(elf-objpfx)runtime-linker.h.
34445 ($(elf-objpfx)runtime-linker.h): Rename to
34446 $(common-objpfx)runtime-linker.h and move ...
34447 * Makerules [$(build-shared) = yes]: ... here.
34448 * elf/interp.c: Include <runtime-linker.h> instead of
34449 <elf/runtime-linker.h>.
34450
34451 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34452
34453 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
34454 (__gettimeofday_syscall): Remove vsyscall fallback.
34455 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
34456 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
34457 Add syscall fallback function.
34458 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
34459 if vDSO is not present.
34460 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
34461 fallback function.
34462 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
34463 present.
34464 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
34465 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34466
34467 2015-06-09 Joseph Myers <joseph@codesourcery.com>
34468
34469 [BZ #18497]
34470 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
34471 of wcscmp.
34472 (wcscmp): Define as weak alias of WCSCMP.
34473 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
34474 wcscoll.
34475 (USE_HIDDEN_DEF): Define.
34476 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
34477 __wcscoll. Don't use libc_hidden_weak.
34478 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
34479 wcscmp.
34480 * sysdeps/i386/i686/multiarch/wcscmp-c.c
34481 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
34482 __GI_wcscmp.
34483 (weak_alias): Undefine and redefine.
34484 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
34485 __wcscmp and define as weak alias of __wcscmp.
34486 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
34487 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
34488 (__wcscoll): Likewise.
34489 (wcscmp): Don't use libc_hidden_proto.
34490 (wcscoll): Likewise.
34491 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
34492 wcscoll.
34493 * posix/regexec.c (check_node_accept_bytes): Likewise.
34494 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
34495 variable.
34496 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
34497 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
34498
34499 [BZ #18507]
34500 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
34501 __fstatvfs and define as weak alias of __fstatvfs. Use
34502 libc_hidden_weak.
34503 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
34504 and define as weak alias of __statvfs. Use libc_hidden_weak.
34505 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
34506 Define as alias of __fstatvfs, not fstatvfs.
34507 (fstatvfs64): Likewise.
34508 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
34509 Define as alias of __statvfs, not statvfs.
34510 (statvfs64): Likewise.
34511 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
34512 Remove variable.
34513
34514 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34515
34516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34517 (HAVE_GETCPU_VSYSCALL): Define.
34518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34519 (HAVE_GETCPU_VSYSCALL): Likewise.
34520 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
34521 * sysdeps/unix/sysv/linux/sched_getcpu.c
34522 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
34523 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
34524 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
34525 prototype.
34526 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34527 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
34528 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
34529 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
34530 Define.
34531 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
34532 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34533 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
34534 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34535
34536 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
34537
34538 * sysdeps/x86_64/fpu/Makefile: New file.
34539 * sysdeps/x86_64/fpu/Versions: New file.
34540 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
34541 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
34542 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
34543 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
34544 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
34545 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
34546 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
34547 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
34548 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
34549 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
34550 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
34551 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
34552 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
34553 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34554 Added build of SSE, AVX2 and AVX512 IFUNC versions.
34555 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
34556 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
34557 * sysdeps/x86_64/configure.ac: Options for libmvec build.
34558 * sysdeps/x86_64/configure: Regenerated.
34559 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
34560 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
34561 * manual/install.texi (Configuring and compiling): Document
34562 --disable-mathvec.
34563 * INSTALL: Regenerated.
34564 * NEWS: Mention addition of libmvec and x86_64 vector cos.
34565
34566 * math/Makefile: Added rules for vector tests.
34567 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
34568 declaration under condition.
34569 * math/test-double-vlen2.h: New file.
34570 * math/test-double-vlen4.h: New file.
34571 * math/test-double-vlen8.h: New file.
34572 * math/test-vec-loop.h: Added initialization macro.
34573 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
34574 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
34575 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
34576 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
34577 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
34578 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
34579 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
34580 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
34581 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
34582 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
34583 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
34584
34585 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34586 * sysdeps/x86_64/fpu/Versions: New versions added.
34587 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
34588 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
34589 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
34590 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
34591 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
34592 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
34593 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
34594 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
34595 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
34596 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
34597 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
34598 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
34599 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
34600 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34601 Added build of SSE, AVX2 and AVX512 IFUNC versions.
34602 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34603 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
34604 * NEWS: Mention addition of x86_64 vector cosf.
34605
34606 * math/Makefile: Added CFLAGS for new tests.
34607 * math/test-float-vlen16.h: New file.
34608 * math/test-float-vlen4.h: New file.
34609 * math/test-float-vlen8.h: New file.
34610 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
34611 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
34612 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34613 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
34614 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
34615 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
34616 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
34617 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
34618 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
34619 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
34620 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
34621
34622 2015-06-09 Marko Myllynen <myllynen@redhat.com>
34623
34624 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
34625 * locale/programs/ld-ctype.c: Likewise.
34626
34627 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
34628
34629 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
34630 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
34631 bit_ZMM16_31_state): New macro.
34632 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34633 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
34634
34635 2015-06-08 Joseph Myers <joseph@codesourcery.com>
34636
34637 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
34638
34639 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
34640
34641 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
34642
34643 2015-06-05 Joseph Myers <joseph@codesourcery.com>
34644
34645 [BZ #18498]
34646 * libio/memstream.c (open_memstream): Rename to __open_memstream
34647 and define as weak alias of __open_memstream.
34648 * include/stdio.h (__open_memstream): Declare. Use
34649 libc_hidden_proto.
34650 (open_memstream): Don't use libc_hidden_proto.
34651 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
34652 open_memstream.
34653 * posix/getopt.c (_getopt_internal_r): Likewise.
34654 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
34655 variable.
34656 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
34657 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
34658 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
34659
34660 [BZ #18496]
34661 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
34662 instead of wcrtomb.
34663
34664 [BZ #18483]
34665 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
34666 [__USE_XOPEN2K8]. Remove redundant #endif.
34667 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
34668 Remove redundant #if.
34669 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
34670 Remove variable.
34671 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
34672 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
34673
34674 [BZ #18495]
34675 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
34676 (__iswlower): Likewise.
34677 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
34678 (__iswlower): Likewise.
34679 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
34680 instead of towlower.
34681 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
34682 instead of iswlower. Call __towupper instead of towupper.
34683 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
34684 instead of iswalnum.
34685
34686 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34687
34688 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
34689 errors to stderr.
34690
34691 2015-06-05 Florian Weimer <fweimer@redhat.com>
34692
34693 [BZ #15661]
34694 [BZ #17322]
34695 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
34696 Check for overflow properly. Check for O_APPEND. Ignore large
34697 file system block sizes. Add comments about problems.
34698 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
34699 * manual/filesys.texi (Storage Allocation): New node.
34700
34701 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34702
34703 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
34704 cancellable syscalls.
34705 (SYS_ify): Add guard to no redefine it.
34706 (INLINE_SYSCALL): Likewise.
34707 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
34708 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
34709 SYSCALL_CANCEL instead.
34710 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
34711 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
34712 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
34713 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
34714 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
34715 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
34716 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
34717 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
34718 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
34719 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
34720 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
34721 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
34722 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
34723 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
34724 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
34725 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
34726 Likewise.
34727 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
34728 (__libc_pread64): Likewise.
34729 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
34730 (__libc_preadv): Likewise.
34731 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
34732 (__libc_readv64): Likewise.
34733 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
34734 (__libc_pwrite): Likewise.
34735 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
34736 (__libc_pwrite64): Likewise.
34737 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
34738 (__libc_pwritev): Likewise.
34739 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
34740 (__libc_pwritev64): Likewise.
34741 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
34742 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
34743 (sync_file_range): Likewise.
34744 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
34745 Likewise.
34746 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
34747 Likewise.
34748 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
34749 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
34750 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
34751 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
34752 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
34753 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
34754 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
34755 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
34756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
34757 Likewise.
34758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34759 (__libc_read64): Likewise.
34760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
34761 Likewise.
34762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
34763 Likewise.
34764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
34765 Likewise.
34766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
34767 Likewise.
34768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34769 (__libc_pread64): Likewise.
34770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
34771 Likewise.
34772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34773 (__libc_pwrite64): Likewise.
34774 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
34775 (sync_file_range): Likewise.
34776 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
34777 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
34778 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
34779 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
34780 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
34781 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
34782 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
34783 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
34784 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
34785 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
34786 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34787 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
34788 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
34789 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
34790 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
34791 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
34792 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
34793 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
34794 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
34795 Likewise.
34796 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
34797 Likewise.
34798 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
34799 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
34800 Likewise.
34801 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
34802 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
34803 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
34804 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
34805 Likewise.
34806 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
34807 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
34808 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
34809 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
34810 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
34811
34812 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
34813
34814 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
34815 Include dl-vdso.
34816 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
34817 Use VDSO routines for gettimeofday, clock_gettime if
34818 available.
34819 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
34820 Declare VDSO symbols.
34821 * sysdeps/unix/sysv/linux/arm/sysdep.h:
34822 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
34823 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
34824 * sysdeps/unix/sysv/linux/arm/Versions: Add
34825 __vdso_clock_gettime.
34826
34827 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34828
34829 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
34830 be an inline implementation regardless of library is built within.
34831 (open_not_cancel_2): Likewise.
34832 (__read_nocancel): Likewise.
34833 (__write_nocancel): Likewise.
34834 (openat_not_cancel): Likewise.
34835 (openat_not_cancel_3): Likewise.
34836 (openat64_not_cancel): Likewise.
34837 (openat64_not_cancel_3): Likewise.
34838 (__close_nocancel): Likewise.
34839 (pause_not_cancel): Likewise.
34840 (nanosleep_not_cancel): Likewise.
34841 (sigsuspend_not_cancel): Likewise.
34842
34843 2015-06-04 Torvald Riegel <triegel@redhat.com>
34844
34845 [BZ #14958]
34846 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
34847 wake-up.
34848 (__pthread_rwlock_rdlock_slow): Likewise.
34849 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34850 Likewise.
34851 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
34852 Likewise.
34853 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
34854 * nptl/tst-rwlock16.c: New file.
34855 * nptl/Makefile (tests): Add new test.
34856
34857 2015-06-04 Torvald Riegel <triegel@redhat.com>
34858
34859 [BZ #18324]
34860 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
34861 missing wake-up of readers.
34862 * nptl/tst-rwlock15.c: New file.
34863 * nptl/Makefile (tests): Add new test.
34864
34865 2015-06-03 Roland McGrath <roland@hack.frob.com>
34866
34867 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
34868 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
34869 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
34870 and __nacl_supply_interface_rtld.
34871 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
34872 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
34873 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
34874 Add __nacl_supply_interface_rtld.
34875 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
34876
34877 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
34878
34879 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
34880 isfinite.
34881 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34882 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
34883
34884 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
34885
34886 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
34887 __signbit* with standard C99 macros.
34888 * math/e_exp10l.c: Likewise.
34889 * math/e_exp2l.c: Likewise.
34890 * math/e_scalb.c: Likewise.
34891 * math/e_scalbf.c: Likewise.
34892 * math/e_scalbl.c: Likewise.
34893 * math/s_ldexp.c: Likewise.
34894 * math/s_ldexpf.c: Likewise.
34895 * math/s_ldexpl.c: Likewise.
34896 * math/w_atan2.c: Likewise.
34897 * math/w_atan2f.c: Likewise.
34898 * math/w_atan2l.c: Likewise.
34899 * math/w_cosh.c: Likewise.
34900 * math/w_coshf.c: Likewise.
34901 * math/w_coshl.c: Likewise.
34902 * math/w_exp10.c: Likewise.
34903 * math/w_exp10f.c: Likewise.
34904 * math/w_exp10l.c: Likewise.
34905 * math/w_exp2.c: Likewise.
34906 * math/w_exp2f.c: Likewise.
34907 * math/w_exp2l.c: Likewise.
34908 * math/w_fmod.c: Likewise.
34909 * math/w_fmodf.c: Likewise.
34910 * math/w_fmodl.c: Likewise.
34911 * math/w_hypot.c: Likewise.
34912 * math/w_hypotf.c: Likewise.
34913 * math/w_hypotl.c: Likewise.
34914 * math/w_jnl.c: Likewise.
34915 * math/w_lgamma.c: Likewise.
34916 * math/w_lgamma_r.c: Likewise.
34917 * math/w_lgammaf.c: Likewise.
34918 * math/w_lgammaf_r.c: Likewise.
34919 * math/w_lgammal.c: Likewise.
34920 * math/w_lgammal_r.c: Likewise.
34921 * math/w_pow.c: Likewise.
34922 * math/w_powf.c: Likewise.
34923 * math/w_powl.c: Likewise.
34924 * math/w_remainder.c: Likewise.
34925 * math/w_remainderf.c: Likewise.
34926 * math/w_remainderl.c: Likewise.
34927 * math/w_scalb.c: Likewise.
34928 * math/w_scalbf.c: Likewise.
34929 * math/w_scalbl.c: Likewise.
34930 * math/w_scalbln.c: Likewise.
34931 * math/w_scalblnf.c: Likewise.
34932 * math/w_scalblnl.c: Likewise.
34933 * math/w_sinh.c: Likewise.
34934 * math/w_sinhf.c: Likewise.
34935 * math/w_sinhl.c: Likewise.
34936 * math/w_tgamma.c: Likewise.
34937 * math/w_tgammaf.c: Likewise.
34938 * math/w_tgammal.c: Likewise.
34939 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34940 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
34941 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34942 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34943 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34944 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34945 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34946 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34947 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34948 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34949 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34950 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34951 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34952 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34953 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34954 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34955 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34956 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34957 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34958 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34959 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34960 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34961 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34962 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34963 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34964 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34965 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
34966 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34967 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34968 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34969 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
34970 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
34971 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
34972 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
34973 * stdio-common/printf_fp.c: Likewise.
34974 * stdio-common/printf_fphex.c: Likewise.
34975 * stdio-common/printf_size.c: Likewise.
34976
34977 2015-06-03 Joseph Myers <joseph@codesourcery.com>
34978
34979 [BZ #18470]
34980 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
34981 strnlen.
34982 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
34983 Remove variable.
34984 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
34985 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
34986 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
34987 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
34988 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
34989 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
34990 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
34991 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
34992 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
34993 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
34994
34995 [BZ #18468]
34996 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
34997 weak alias of __wmemchr. Use libc_hidden_weak.
34998 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
34999 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
35000 instead of wmemchr.
35001
35002 2015-06-02 Roland McGrath <roland@hack.frob.com>
35003
35004 [BZ #18383]
35005 * elf/tst-tlsalign-extern.c: New file.
35006 * elf/tst-tlsalign-extern-static.c: New file.
35007 * elf/tst-tlsalign-vars.c: New file.
35008 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
35009 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
35010 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
35011 ($(objpfx)tst-tlsalign-extern-static): Likewise.
35012 (test-xfail-tst-tlsalign-extern-static): New variable.
35013
35014 2015-06-02 Joseph Myers <joseph@codesourcery.com>
35015
35016 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
35017 Use variable name _sc_err instead of err.
35018 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
35019 instead of ret.
35020 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
35021 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
35022 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
35023 (INLINE_SYSCALL): Likewise.
35024
35025 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
35026 * include/string.h (__strnlen): Use libc_hidden_proto.
35027 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
35028 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
35029 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
35030 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
35031 (libc_hidden_def): Undefine and redefine.
35032 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
35033 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
35034 __GI_strnlen.
35035 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
35036 libc_hidden_def.
35037 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
35038
35039 [BZ #18469]
35040 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
35041 weak alias of __towlower. Use libc_hidden_weak.
35042 (towupper): Rename to __towupper and define as weak alias of
35043 __towupper. Use libc_hidden_weak.
35044 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
35045 (__towupper): Likewise.
35046 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
35047 __towlower instead of towlower.
35048
35049 2015-06-02 Roland McGrath <roland@hack.frob.com>
35050
35051 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
35052 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
35053
35054 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
35055
35056 * sysdeps/aarch64/libm-test-ulps: Update.
35057
35058 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35059
35060 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
35061 Define.
35062 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35063 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
35064 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
35065 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35066 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
35067 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
35068 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
35069
35070 2015-06-01 Martin Sebor <msebor@redhat.com>
35071
35072 [BZ #18116]
35073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35074 (__setcontext): Use extended four-operand version of mtsf whenever
35075 possible.
35076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35077 (__novec_swapcontext): Likewise.
35078
35079 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
35080
35081 * benchtests/scripts/compare_bench.py: New file.
35082 * benchtests/scripts/import_bench.py (mean): New function.
35083 (split_list): Likewise.
35084 (do_for_all_timings): Likewise.
35085 (compress_timings): Likewise.
35086
35087 * benchtests/scripts/import_bench.py: New file.
35088 * benchtests/scripts/validate_benchout.py: Import import_bench
35089 instead of jsonschema.
35090 (validate_bench): Remove function.
35091 (main): Use import_bench.
35092
35093 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
35094
35095 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
35096 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
35097
35098 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35099
35100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35101
35102 2015-05-28 Roland McGrath <roland@hack.frob.com>
35103
35104 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
35105 set THREAD_SELF->tid to a magic value and futex-wake it.
35106 Pass its address to the thread_exit system call.
35107 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
35108 bit is clear.
35109 * sysdeps/nacl/lowlevellock.h: New file.
35110 * sysdeps/nacl/lll_timedwait_tid.c: New file.
35111
35112 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
35113 Add TIMEOUT to current time, don't subtract it.
35114
35115 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
35116
35117 [BZ #2981]
35118 [BZ #18422]
35119 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
35120 ($(objpfx)tst-audit2.out): Also depend on
35121 $(objpfx)tst-auditmod9b.so.
35122 * elf/tst-audit2.c: Include <dlfcn.h>.
35123 (calloc_called): New.
35124 (calloc): Allow to be called more than once.
35125 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
35126
35127 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
35128
35129 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
35130 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
35131
35132 2015-05-27 Marko Myllynen <myllynen@redhat.com>
35133
35134 * stdlib/monetary.h: Fix comment.
35135
35136 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
35137
35138 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
35139 Avoid using variables in #defines that might cause shadowing.
35140 (INTERNAL_VSYSCALL_CALL): Likewise.
35141
35142 2015-05-26 Roland McGrath <roland@hack.frob.com>
35143
35144 * sysdeps/nacl/lll_timedlock_wait.c: New file.
35145
35146 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
35147 * nptl/lll_timedlock_wait.c: ... to this new file.
35148 * nptl/Makefile (libpthread-routines): Add it.
35149 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
35150 * nptl/lll_timedwait_tid.c: ... to this new file.
35151 * nptl/Makefile (libpthread-routines): Add it.
35152 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
35153 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
35154 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
35155 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
35156 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
35157 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
35158 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
35159 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
35160 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
35161 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
35162
35163 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35164
35165 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
35166 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35167 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
35168 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
35169 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
35170 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35171 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35172 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35173 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35174 * sysdeps/unix/sysv/linux/tile/sysdep.h
35175 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35176 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
35177 using vDSO syscall macro.
35178
35179 2015-05-26 Andriy Rysin <arysin@gmail.com>
35180
35181 [BZ #17293]
35182 * uk_UA: Fix sorting order for Ukrainian locale
35183
35184 2015-05-26 Marko Myllynen <myllynen@redhat.com>
35185
35186 * stdlib/monetary.h: Fix comment.
35187
35188 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
35189
35190 [BZ #18234]
35191 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
35192 st_mtim and st_ctim members.
35193 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
35194 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
35195 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
35196 (struct stat64): Likewise.
35197 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
35198 (struct stat64): Likewise.
35199 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
35200 (struct stat64): Likewise.
35201
35202 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35203
35204 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
35205 Define and include sysdep-vdso.h.
35206 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
35207 Likewise.
35208 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
35209 Likewise.
35210 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
35211 Define with VDSO_SYMBOL and use PTR_MANGLE.
35212 (__vdso_clock_gettime): Likewise.
35213 (__vdso_clock_getres): Likewise.
35214 (_libc_vdso_platform_setup): Likewise.
35215 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
35216 Likewise.
35217 (_libc_vdso_platform_setup): Likewise.
35218 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
35219 Likewise.
35220 (__vdso_clock_gettime): Likewise.
35221 (__vdso_clock_getres): Likewise.
35222 (__vdso_get_tbfreq): Likewise.
35223 (__vdso_getcpu): Likewise.
35224 (__vdso_time): Likewise.
35225 (__vdso_sigtramp_rt64): Likewise.
35226 (__vdso_signtramp32): Likewise.
35227 (__vdso_sigtramp_rt32): Likewise.
35228 (_libc_vdso_platform_setup): Likewise.
35229 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
35230 Likewise.
35231 (__vdso_clock_gettime): Likewise.
35232 (__vdso_clock_getres): Likewise.
35233 (_libc_vdso_platform_setup): Likewise.
35234 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
35235 Likewise.
35236 (__vdso_clock_gettime): Likewise.
35237 (_libc_vdso_platform_setup): Likewise.
35238 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
35239 Likewise.
35240 (__vdso_getcpu): Likewise.
35241 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
35242 Use VDSO_SYMBOL macro to define.
35243 (__vdso_clock_gettime): Likewise.
35244 (__vdso_clock_getres): Likewise.
35245 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
35246 Likewise.
35247 (__vdso_clock_gettime): Likewise.
35248 (__vdso_clock_getres): Likewise.
35249 (__vdso_get_tbfreq): Likewise.
35250 (__vdso_getcpu): Likewise.
35251 (__vdso_time): Likewise.
35252 (__vdso_sigtramp_rt64): Likewise.
35253 (__vdso_signtramp32): Likewise.
35254 (__vdso_sigtramp_rt32): Likewise.
35255 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
35256 Likewise.
35257 (__vdso_clock_gettime): Likewise.
35258 (__vdso_clock_getres): Likewise.
35259 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
35260 Likewise.
35261 (__vdso_clock_gettime): Likewise.
35262 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
35263 Likewise.
35264 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
35265 macro.
35266 (INTERNAL_VSYSCALL): Likewise.
35267 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
35268 Remove macro.
35269 (INTERNAL_VSYSCALL): Likewise.
35270 (INTERNAL_VSYSCALL_NCS): Likewise.
35271 (INTERNAL_VSYSCALL_CALL): New macro.
35272 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
35273 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
35274 Likewise.
35275 (INTERNAL_VSYSCALL): Likewise.
35276 (INTERNAL_VSYSCALL_NCS): Likewise.
35277 (INTERNAL_VSYSCALL_CALL): New macro.
35278 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
35279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35280 (INLINE_VSYSCALL): Remove macro.
35281 (INTERNAL_VSYSCALL): Remove macro.
35282 (INTERNAL_VSYSCALL_NCS): Remove macro.
35283 (INTERNAL_VSYSCALL_CALL): New macro.
35284 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
35285 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
35286 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
35287 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
35288 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
35289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35290 (INLINE_VSYSCALL): Remove macro.
35291 (INTERNAL_VSYSCALL): Likewise.
35292 (INTERNAL_VSYSCALL_NCS): Likewise.
35293 (INTERNAL_VSYSCALL_CALL): New macro.
35294 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
35295 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
35296 PTR_DEMANGLE on vDSO pointer.
35297 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
35298 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
35299 macro.
35300 (INTERNAL_SYSCALL): Likewise.
35301 (INTERNAL_VSYSCALL_NCS): Remove macro.
35302 (INTERNAL_VSYSCALL_CALL): New macro.
35303 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
35304 Remove macro.
35305 (INTERNAL_VSYSCALL): Likewise.
35306 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
35307 sysdep-vdso.h instead of libc-vdso.h.
35308 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
35309 definition.
35310 (INLINE_VSYSCALL): Likewise.
35311 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
35312 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
35313 definition.
35314 (INLINE_VSYSCALL): Likewise.
35315 (INTERNAL_VSYSCALL): Likewise.
35316 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
35317 * sysdeps/unix/sysv/linux/timespec_get.c
35318 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
35319 (timespec_get): Use ANSI prototype.
35320 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
35321 and definition for Linux.
35322
35323 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
35324
35325 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
35326 * include/libc-symbols.h: libmvec_hidden_* macro series added.
35327
35328 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
35329
35330 [BZ #2981]
35331 [BZ #18410]
35332 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
35333 for missing DT_PLTRELSZ.
35334
35335 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
35336
35337 Remove obsolete aliases that broke 'locale -a'
35338 [BZ #18412]
35339 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
35340 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
35341 breaking some applications that use 'locale -a' output.
35342 Change the encoding of this file from Latin-1 to ASCII to avoid
35343 other potential problems with people grepping this file.
35344
35345 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35346
35347 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
35348 -fasynchronous-unwind-tables.
35349 (CFLAGS-sendto.c): Likewise.
35350 (CFLAGS-sendmsg.c): Likewise.
35351 (CFLAGS-connect.c): Likewise.
35352 (CFLAGS-recvmsg.c): Likewise.
35353 (CFLAGS-recvfrom.c): Likewise.
35354 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
35355 (SOCKETCALL): New macro: non-cancellable socketcall.
35356 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
35357 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
35358 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
35359 * sysdeps/unix/sysv/linux/accept.c: New file.
35360 * sysdeps/unix/sysv/linux/bind.c: Likewise.
35361 * sysdeps/unix/sysv/linux/connect.c: Likewise.
35362 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
35363 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
35364 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
35365 * sysdeps/unix/sysv/linux/listen.c: Likewise.
35366 * sysdeps/unix/sysv/linux/recv.c: Likewise.
35367 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
35368 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
35369 * sysdeps/unix/sysv/linux/send.c: Likewise.
35370 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
35371 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
35372 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
35373 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
35374 * sysdeps/unix/sysv/linux/socket.c: Likewise.
35375 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
35376 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
35377 prototype.
35378 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
35379 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
35380 instead of __internal_xxx function.
35381 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
35382 prototype.
35383 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
35384 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
35385 instead of __internal_xxx function.
35386 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
35387 prototype.
35388 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
35389 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
35390 instead of __internal_xxx function.
35391 * sysdeps/unix/sysv/linux/accept.S: Remove file.
35392 * sysdeps/unix/sysv/linux/bind.S: Likewise.
35393 * sysdeps/unix/sysv/linux/connect.S: Likewise.
35394 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
35395 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
35396 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
35397 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
35398 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
35399 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
35400 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
35401 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
35402 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35403 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
35404 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
35405 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
35406 * sysdeps/unix/sysv/linux/listen.S: Likewise.
35407 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
35408 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
35409 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
35410 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
35411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
35412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
35413 * sysdeps/unix/sysv/linux/recv.S: Likewise.
35414 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
35415 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
35416 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
35417 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
35418 * sysdeps/unix/sysv/linux/send.S: Likewise.
35419 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
35420 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
35421 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
35422 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
35423 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
35424 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
35425 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
35426 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
35427 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
35428 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
35429 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
35430 socketcall is implemented in GLIBC.
35431
35432 2015-05-22 Joseph Myers <joseph@codesourcery.com>
35433
35434 * soft-fp/fmadf4.c: Include <libc-internal.h>.
35435 (__fma): Ignore uninitialized warnings around packing.
35436 * soft-fp/fmasf4.c: Include <libc-internal.h>.
35437 (__fmaf): Ignore uninitialized warnings around packing.
35438 * soft-fp/fmatf4.c: Include <libc-internal.h>.
35439 (__fmal): Ignore uninitialized warnings around packing.
35440
35441 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
35442 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
35443 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
35444 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
35445
35446 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
35447 switch statement into default case.
35448 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
35449
35450 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
35451 a conditional in forcing "inexact".
35452 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
35453 Likewise.
35454
35455 2015-05-22 Roland McGrath <roland@hack.frob.com>
35456
35457 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
35458 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
35459 for each INTERNAL_SYSCALL use.
35460
35461 2015-05-22 Joseph Myers <joseph@codesourcery.com>
35462
35463 [BZ #438]
35464 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
35465 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
35466 variable.
35467
35468 [BZ #18444]
35469 * string/basename.c (basename): Rename to __basename and define as
35470 weak alias of __basename. Use libc_hidden_weak.
35471 * include/string.h (__basename): Declare. Use libc_hidden_proto.
35472 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
35473 __basename instead of basename.
35474 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
35475 Remove variable.
35476 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
35477
35478 2015-05-18 Florian Weimer <fweimer@redhat.com>
35479
35480 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
35481 (_IO_JUMPS_FILE_plus): New.
35482 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
35483 _IO_CAST_FIELD_ACCESS.
35484 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
35485 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
35486 * libio/freopen.c (freopen): Likewise.
35487 * libio/freopen64.c (freopen64): Likewise.
35488 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
35489 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
35490 * libio/iofwide.c (_IO_fwide): Likewise.
35491 * libio/memstream.c (open_memstream): Likewise.
35492 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35493 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
35494 * libio/oldiopopen.c (_IO_old_popen): Likewise.
35495
35496 2015-05-21 Joseph Myers <joseph@codesourcery.com>
35497
35498 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
35499 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
35500 NADJ.
35501 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
35502 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
35503 NADJ.
35504 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
35505 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
35506 NADJ.
35507
35508 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
35509 (p == 4) case.
35510
35511 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
35512 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
35513 Remove variable.
35514 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
35515 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
35516 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
35517
35518 2015-05-21 Florian Weimer <fweimer@redhat.com>
35519
35520 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
35521 Adjust jump table label generation macros.
35522
35523 2015-05-21 Florian Weimer <fweimer@redhat.com>
35524
35525 * stdio-common/vfprintf.c (vfprintf): Move local variables
35526 args_malloced, specs, specs_malloced, and the code after
35527 do_positional to the printf_positional function.
35528 (printf_positional): New function.
35529
35530 2015-05-21 Florian Weimer <fweimer@redhat.com>
35531
35532 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
35533 function.
35534 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
35535 STEP4_TABLE, process_arg): Move macro definitions
35536 out of the vfprintf function. (Cosmetic change only.)
35537
35538 2015-05-21 Carlos O'Donell <carlos@redhat.com>
35539
35540 * benchtests/Makefile (stdio-common-bench): Define.
35541 (benchset): Add stdio-common-bench.
35542 * sprintf-inputs: New file.
35543 * sprintf-source.c: New file.
35544
35545 2015-05-21 Andreas Schwab <schwab@suse.de>
35546
35547 [BZ #13028]
35548 [BZ #17053]
35549 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
35550 of struct __res_state.
35551 * resolv/res_send.c (__libc_res_nsend): Likewise.
35552 (get_nsaddr): New function.
35553 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
35554 statp directly.
35555
35556 2015-05-20 Joseph Myers <joseph@codesourcery.com>
35557
35558 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
35559 -D_POSIX_C_SOURCE=199506L.
35560
35561 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
35562
35563 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
35564 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
35565 Do not mention otherwise.
35566 [POSIX] (_XOPEN_VERSION): Do not expect.
35567 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
35568 [POSIX] (_POSIX2_C_BIND): Likewise.
35569 [POSIX] (_POSIX2_VERSION): Likewise.
35570 [POSIX] (_XOPEN_XPG2): Likewise.
35571 [POSIX] (_XOPEN_XPG3): Likewise.
35572 [POSIX] (_XOPEN_XPG4): Likewise.
35573 [POSIX] (_XOPEN_UNIX): Likewise.
35574 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
35575 [POSIX] (_POSIX_BARRIERS): Likewise.
35576 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
35577 [POSIX] (_POSIX_CPUTIME): Likewise.
35578 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
35579 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
35580 [POSIX] (_POSIX_SHELL): Likewise.
35581 [POSIX] (_POSIX_SPAWN): Likewise.
35582 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
35583 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
35584 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
35585 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
35586 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
35587 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
35588 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
35589 [POSIX] (_XBS5_LP64_OFF64): Likewise.
35590 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
35591 [POSIX] (_POSIX_TIMEOUTS): Likewise.
35592 [POSIX] (_POSIX2_PBS): Likewise.
35593 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
35594 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
35595 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
35596 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
35597 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
35598 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
35599 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
35600 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
35601 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
35602 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
35603 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
35604 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
35605 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
35606 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
35607 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
35608 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
35609 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
35610 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
35611 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
35612 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
35613 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
35614 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
35615 [POSIX] (_SC_2_C_BIND): Likewise.
35616 [POSIX] (_SC_2_C_VERSION): Likewise.
35617 [POSIX] (_SC_2_PBS): Likewise.
35618 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
35619 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
35620 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
35621 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
35622 [POSIX] (_SC_2_PBS_TRACK): Likewise.
35623 [POSIX] (_SC_ATEXIT_MAX): Likewise.
35624 [POSIX] (_SC_BARRIERS): Likewise.
35625 [POSIX] (_SC_BASE): Likewise.
35626 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
35627 [POSIX] (_SC_DEVICE_IO): Likewise.
35628 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
35629 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
35630 [POSIX] (_SC_FD_MGMT): Likewise.
35631 [POSIX] (_SC_FIFO): Likewise.
35632 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
35633 [POSIX] (_SC_FILE_LOCKING): Likewise.
35634 [POSIX] (_SC_FILE_SYSTEM): Likewise.
35635 [POSIX] (_SC_IOV_MAX): Likewise.
35636 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
35637 [POSIX] (_SC_NETWORKING): Likewise.
35638 [POSIX] (_SC_PAGE_SIZE): Likewise.
35639 [POSIX] (_SC_PASS_MAX): Likewise.
35640 [POSIX] (_SC_PIPE): Likewise.
35641 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
35642 [POSIX] (_SC_REGEXP): Likewise.
35643 [POSIX] (_SC_SHELL): Likewise.
35644 [POSIX] (_SC_SIGNALS): Likewise.
35645 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
35646 [POSIX] (_SC_SPIN_LOCKS): Likewise.
35647 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
35648 [POSIX] (_SC_USER_GROUPS): Likewise.
35649 [POSIX] (_SC_USER_GROUPS_R): Likewise.
35650 [POSIX] (_SC_STREAMS): Likewise.
35651 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
35652 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
35653 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
35654 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
35655 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
35656 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
35657 [POSIX] (_PC_FILESIZEBITS): Likewise.
35658 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
35659 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
35660 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
35661 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
35662 [POSIX] (uid_t): Likewise.
35663 [POSIX] (gid_t): Likewise.
35664 [POSIX] (off_t): Likewise.
35665 [POSIX] (pid_t): Likewise.
35666 [POSIX] (cuserid): Allow.
35667 (_SC_2_CHAR_TERM): Require constant.
35668 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
35669 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
35670 variable.
35671
35672 2015-05-20 Roland McGrath <roland@hack.frob.com>
35673
35674 * sysdeps/nacl/pthread-pids.h: New file.
35675 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
35676 (create_thread): Use __nacl_get_tid to initialize PD->tid.
35677
35678 * nptl/pthread-pids.h: New file.
35679 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
35680 * nptl/nptl-init.c: Include <pthread-pids.h>.
35681 (__pthread_initialize_minimal_internal):
35682 Call __pthread_initialize_pids instead of set_tid_address syscall.
35683
35684 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
35685 * sysdeps/posix/usleep.c: ... here.
35686
35687 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35688
35689 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
35690 call_pselect6 object.
35691 [$(subdir) = io]: Remove call_sync_file_range object.
35692 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
35693 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
35694 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
35695 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
35696
35697 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
35698
35699 * math/s_cproj.c: Add include "math_private.h".
35700 * math/s_cprojf.c: Likewise.
35701 * math/s_cprojl.c: Likewise.
35702
35703 2015-05-19 Joseph Myers <joseph@codesourcery.com>
35704
35705 [BZ #18244]
35706 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
35707 high mantissa bit when testing whether P is a NaN.
35708 * math/libm-test.inc (remainder_test_data): Add more tests.
35709 (remquo_test_data): Likewise.
35710
35711 [BZ #18049]
35712 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
35713 below -32, return the argument, with underflow if subnormal.
35714 * math/auto-libm-test-in: Add more tests of atanh.
35715 * math/auto-libm-test-out: Regenerated.
35716
35717 2015-05-19 Roland McGrath <roland@hack.frob.com>
35718
35719 [BZ #18434]
35720 * nptl/tst-sem15.c: New file.
35721 * nptl/Makefile (tests): Add it.
35722 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
35723 s/<</>>/ to fix typo in EOVERFLOW check.
35724 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
35725
35726 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35727
35728 * manual/strings.texi (envz_remove): Fix typo in safety
35729 annotations.
35730
35731 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
35732 Steve Ellcey <sellcey@imgtec.com>
35733
35734 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
35735 in order to avoid strict alias warnings.
35736 (iruserok_af): Ditto for ra.
35737
35738 2015-05-19 James Lemke <jwlemke@codesourcery.com>
35739
35740 [BZ #17581]
35741 * malloc/hooks.c
35742 (magicbyte): Convert to a function and avoid returning 0x01.
35743 (mem2mem_check): Avoid using a length byte equal to the magic byte.
35744 (mem2chunk_check): Fix unsigned comparisons to zero.
35745 Hoist defs of sz and magic.
35746
35747 2015-05-19 Richard Henderson <rth@redhat.com>
35748
35749 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
35750
35751 * sysdeps/alpha/fpu/libm-test-ulps: Update.
35752
35753 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35754
35755 [BZ #16159]
35756 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
35757 * malloc/arena.c (arena_lock): Check if arena is corrupt.
35758 (reused_arena): Find a non-corrupt arena.
35759 (heap_trim): Pass arena to unlink.
35760 * malloc/hooks.c (malloc_check_get_size): Pass arena to
35761 malloc_printerr.
35762 (top_check): Likewise.
35763 (free_check): Likewise.
35764 (realloc_check): Likewise.
35765 * malloc/malloc.c (malloc_printerr): Add arena argument.
35766 (unlink): Likewise.
35767 (munmap_chunk): Adjust.
35768 (ARENA_CORRUPTION_BIT): New macro.
35769 (arena_is_corrupt): Likewise.
35770 (set_arena_corrupt): Likewise.
35771 (sysmalloc): Use mmap if there are no usable arenas.
35772 (_int_malloc): Likewise.
35773 (__libc_malloc): Don't fail if arena_get returns NULL.
35774 (_mid_memalign): Likewise.
35775 (__libc_calloc): Likewise.
35776 (__libc_realloc): Adjust for additional argument to
35777 malloc_printerr.
35778 (_int_free): Likewise.
35779 (malloc_consolidate): Likewise.
35780 (_int_realloc): Likewise.
35781 (_int_memalign): Don't touch corrupt arenas.
35782 * malloc/tst-malloc-backtrace.c: New test case.
35783
35784 * Makefile (summarize-tests): Fix return value on success.
35785
35786 * manual/string.texi (Envz Functions): Add envz_remove.
35787
35788 2015-05-18 Roland McGrath <roland@hack.frob.com>
35789
35790 * sysdeps/posix/opendir.c: Include <stdbool.h>.
35791 (invalid_name): New function, broken out of ...
35792 (__opendirat): ... here. Call it.
35793 (need_isdir_precheck): New function, broken out of ...
35794 (__opendirat): ... here. Call it.
35795 Use __fxstatat64, not __xstatat64.
35796 (opendir_oflags): New function, broken out of ...
35797 (__opendirat): ... here. Call it.
35798 (opendir_tail): New function, broken out of ...
35799 (__opendirat): ... here. Call it.
35800 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
35801 opendir_tail, rather than punting to __opendirat.
35802 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
35803
35804 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35805
35806 * .gitignore: Ignore generated *.pyc.
35807
35808 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
35809
35810 * include/stdio.h: Define __need_wint_t.
35811 * test-skeleton.c: Avoid `for' loop initial declaration.
35812 * nptl/tst-initializers1.c: Use test-skeleton.c.
35813
35814 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35815
35816 [BZ #18418]
35817 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
35818
35819 2015-05-15 Joseph Myers <joseph@codesourcery.com>
35820
35821 [BZ #16352]
35822 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
35823 (__ieee754_atanh): Force underflow exception for results with
35824 small absolute value.
35825 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
35826 (__ieee754_atanhf): Force underflow exception for results with
35827 small absolute value.
35828 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
35829 (__ieee754_atanh): Force underflow exception for results with
35830 small absolute value.
35831 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
35832 (__ieee754_atanhf): Force underflow exception for results with
35833 small absolute value.
35834 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
35835 (__ieee754_atanhl): Force underflow exception for results with
35836 small absolute value.
35837 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
35838 (__ieee754_atanhl): Force underflow exception for results with
35839 small absolute value.
35840 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
35841 (__ieee754_atanhl): Force underflow exception for results with
35842 small absolute value.
35843 * math/auto-libm-test-in: Do not allow missing underflow
35844 exceptions from atanh.
35845 * math/auto-libm-test-out: Regenerated.
35846
35847 [BZ #18221]
35848 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
35849 2**-28 as threshold for returning x or +/- 1/x.
35850 * math/auto-libm-test-in: Add more tests of tan.
35851 * math/auto-libm-test-out: Regenerated.
35852
35853 [BZ #18220]
35854 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
35855 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
35856 * math/auto-libm-test-in: Add another test of lgamma.
35857 * math/auto-libm-test-out: Regenerated.
35858
35859 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
35860
35861 * stdio-common/printf_fp.c (___printf_fp): Use abs.
35862 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
35863 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
35864 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
35865 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
35866 (ADD2A): Use fabs. (SUB2A): Use fabs.
35867 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
35868 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
35869 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
35870 (log1): Use fabs. (my_log2): Use fabs.
35871 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
35872 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
35873 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
35874 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
35875 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
35876 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
35877 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
35878 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
35879 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
35880 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
35881 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
35882
35883 2015-05-15 Joseph Myers <joseph@codesourcery.com>
35884
35885 [BZ #18217]
35886 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
35887 as threshold for returning 1 - x.
35888 * math/auto-libm-test-in: Add more tests of erfc.
35889 * math/auto-libm-test-out: Regenerated.
35890
35891 2015-05-14 Joseph Myers <joseph@codesourcery.com>
35892
35893 [BZ #18196]
35894 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
35895 threshold for large arguments.
35896 * math/auto-libm-test-in: Add another test of atan.
35897 * math/auto-libm-test-out: Regenerated.
35898
35899 [BZ #16339]
35900 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
35901 (__log1p): Force underflow exception for results with small
35902 absolute value.
35903 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
35904 (__log1pf): Force underflow exception for results with small
35905 absolute value.
35906 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
35907 (__log1p): Force underflow exception for results with small
35908 absolute value.
35909 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
35910 (__log1pf): Force underflow exception for results with small
35911 absolute value.
35912 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
35913 (__log1pl): Force underflow exception for results with small
35914 absolute value.
35915 * math/auto-libm-test-in: Do not allow missing underflow
35916 exceptions from log1p.
35917 * math/auto-libm-test-out: Regenerated.
35918
35919 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
35920 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35921
35922 [BZ #16704]
35923 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
35924
35925 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
35926
35927 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
35928 (libmvec): New variable.
35929 * configure.ac: Added option for mathvec build.
35930 * configure: Regenerated.
35931 * mathvec/Depend: New file.
35932 * mathvec/Makefile: New file.
35933 * shlib-versions: Added libmvec.
35934 * math/Makefile: Added rule for libm.so installation.
35935
35936 * bits/math-vector.h: New file.
35937 * bits/libm-simd-decl-stubs.h: New header.
35938 * math/Makefile (headers): Added new header
35939 libm-simd-decl-stubs.h.
35940 * math/math.h (__MATHCALL_VEC): New macro.
35941
35942 * math/gen-libm-have-vector-test.sh: Script generates series of macros
35943 for conditions in testing functions.
35944 * math/Makefile: Added call of libm-have-vector-test.sh.
35945 * math/libm-test.inc (HAVE_VECTOR): New macros.
35946
35947 * math/libm-test.inc: START refactored.
35948 * math/test-double.c (TEST_MATHVEC): Add define.
35949 * math/test-float.c: Likewise.
35950 * math/test-idouble.c: Likewise.
35951 * math/test-ifloat.c: Likewise.
35952 * math/test-ildoubl.c: Likewise.
35953 * math/test-ldouble.c: Likewise.
35954 * sysdeps/generic/math-tests-arch.h
35955 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
35956 architecture check.
35957
35958 * math/test-double.c (FUNC_TEST): New macro.
35959 * math/test-float.c: Likewise.
35960 * math/test-idouble.c: Likewise.
35961 * math/test-ifloat.c: Likewise.
35962 * math/test-ildoubl.c: Likewise.
35963 * math/test-ldouble.c: Likewise.
35964 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
35965
35966 2015-05-13 Roland McGrath <roland@hack.frob.com>
35967
35968 * sysdeps/nacl/fdopendir.c: New file.
35969
35970 * dirent/scandir-tail.c: New file.
35971 * dirent/scandir64-tail.c: New file.
35972 * dirent/Makefile (routines): Add them.
35973 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
35974 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
35975 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
35976 [!SCANDIR] (SCANDIR_TAIL): New macro.
35977 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
35978 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
35979 (SCANDIRAT): Macro removed.
35980 (SCANDIR_TAIL): New macro.
35981 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
35982 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
35983 (SCANDIRAT): Just call __opendirat and __scandir_tail.
35984 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
35985 (READDIR): Macro removed.
35986 (SCANDIR_TAIL): New macro.
35987 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
35988 (SCANDIR_TAIL): New macro.
35989
35990 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
35991 * dirent/scandir-cancel.c: ... to this new file.
35992 * dirent/Makefile (routines): Add it.
35993 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
35994 * sysdeps/unix/sysv/linux/i386/scandir64.c
35995 (SKIP_SCANDIR_CANCEL): Macro removed.
35996 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
35997
35998 * dirent/tst-scandir.c: New file.
35999 * dirent/tst-scandir64.c: New file.
36000 * dirent/Makefile (tests): Add them.
36001
36002 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
36003
36004 [BZ #18409]
36005 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
36006
36007 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
36008
36009 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
36010 list.
36011
36012 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
36013
36014 * benchtests/bench-strcoll.c: New benchmark.
36015 * benchtests/Makefile: Generate locales and run benchmark.
36016 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
36017 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
36018 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
36019 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
36020 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
36021 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
36022 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
36023 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
36024 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
36025 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
36026 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
36027 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
36028 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
36029 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
36030 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
36031 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
36032 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
36033 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
36034 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
36035 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
36036 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
36037 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
36038 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
36039 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
36040
36041 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
36042
36043 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
36044 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36045
36046 2015-05-12 Roland McGrath <roland@hack.frob.com>
36047
36048 * posix/uname-values.h: New file.
36049 * posix/uname.c: Include that instead of <config-name.h>.
36050 * sysdeps/nacl/uname-values.h: New file.
36051 * sysdeps/arm/nacl/uname-values.h: New file.
36052
36053 2015-05-12 Joseph Myers <joseph@codesourcery.com>
36054
36055 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
36056 splitting into fields.
36057
36058 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
36059
36060 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
36061 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
36062 * locale/localeinfo.h: Add enum collation_encoding_type.
36063 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
36064 * programs/ld-collate.c (collate_output): Add encoding type info.
36065 * string/strcoll_l.c (STRDIFF): New function.
36066 * (STRCOLL): Use STRDIFF to skip over equal prefix.
36067 * wcsmbs/wcscoll_l.c: Define STRDIFF.
36068
36069 2015-05-11 Joseph Myers <joseph@codesourcery.com>
36070
36071 [BZ #18397]
36072 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
36073 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
36074 <fpu_control.h> instead of <math/fpu_control.c>.
36075 * sysdeps/mips/mips32/fpu/Makefile: New file.
36076
36077 2015-05-11 Andreas Schwab <schwab@suse.de>
36078
36079 [BZ #18007]
36080 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
36081 nss_endgrent.
36082 (_nss_compat_endgrent): Call nss_endgrent.
36083 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
36084 nss_endpwent.
36085 (_nss_compat_endpwent): Call nss_endpwent.
36086 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
36087 needent, call nss_setspent only if non-zero.
36088 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
36089 (internal_endspent): Don't call nss_endspent.
36090 (_nss_compat_endspent): Call nss_endspent.
36091 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
36092 Remove. All uses removed.
36093 (internal_setent): Remove parameter stayopen, add parameter
36094 stream. Use it instead of global variable.
36095 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
36096 (internal_endent, internal_getent): Add parameter stream. Use it
36097 instead of global variable.
36098 (CONCAT(_nss_files_end,ENTNAME))
36099 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
36100 (_nss_files_get##name##_r): Pass local stream. Remove locking.
36101 * nss/nss_files/files-alias.c (position, last_use): Remove. All
36102 uses removed.
36103 (internal_setent, internal_endent): Add parameter stream. Use it
36104 instead of global variable.
36105 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
36106 stream.
36107 (get_next_alias): Add parameter stream.
36108 (_nss_files_getaliasent_r): Pass global stream.
36109 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
36110 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
36111 (_nss_files_gethostbyname4_r): Pass local stream to
36112 internal_setent, internal_getent and internal_endent. Remove
36113 locking.
36114
36115 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
36116
36117 * tst-strfmon1.c (tests): Update expected currency symbol.
36118
36119 2015-05-08 Roland McGrath <roland@hack.frob.com>
36120
36121 * sysdeps/nacl/gethostname.c: New file.
36122
36123 2015-05-08 Joseph Myers <joseph@codesourcery.com>
36124
36125 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
36126 and sinh.
36127 * math/auto-libm-test-out: Regenerated.
36128 * sysdeps/i386/fpu/libm-test-ulps: Update.
36129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36130
36131 2015-05-08 Carlos O'Donell <carlos@redhat.com>
36132
36133 [BZ #18125]
36134 * stdlib/tst-setcontext3.c: New file.
36135 * stdlib/tst-setcontext3.sh: New file.
36136 * stdlib/Makefile (tests): Add tst-setcontext3.
36137 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
36138 to verify test program created output file.
36139 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
36140 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
36141 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
36142 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
36143
36144 2015-05-06 Roland McGrath <roland@hack.frob.com>
36145
36146 [BZ #18383]
36147 * elf/tst-tlsalign.c: New file.
36148 * elf/tst-tlsalign-static.c: New file.
36149 * elf/tst-tlsalign-lib.c: New file.
36150 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
36151 (tests-static): Add tst-tlsalign-static.
36152 (modules-names): Add tst-tlsalign-lib.
36153 (test-xfail-tst-tlsalign): New variable.
36154 (test-xfail-tst-tlsalign-static): New variable.
36155
36156 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
36157 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
36158
36159 2015-05-06 Joseph Myers <joseph@codesourcery.com>
36160
36161 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
36162 csqrt, erfc, sin and sincos.
36163 * math/auto-libm-test-out: Regenerated.
36164 * sysdeps/i386/fpu/libm-test-ulps: Update.
36165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36166
36167 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
36168
36169 * sysdeps/aarch64/libm-test-ulps: Update.
36170
36171 2015-05-05 Joseph Myers <joseph@codesourcery.com>
36172
36173 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
36174 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
36175 * math/auto-libm-test-out: Regenerated.
36176 * sysdeps/i386/fpu/libm-test-ulps: Update.
36177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36178
36179 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
36180
36181 [BZ #18265]
36182 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
36183 (wcsncpy): Likewise.
36184
36185 2015-05-05 Florian Weimer <fweimer@redhat.com>
36186
36187 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
36188 Assume __ASSUME_FALLOCATE is always true.
36189 * sysdeps/unix/sysv/linux/posix_fallocate64.c
36190 (__posix_fallocate64_l64): Likewise.
36191 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
36192 (posix_fallocate): Likewise.
36193 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
36194 (__posix_fallocate64_l64): Likewise.
36195 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36196 [!__ASSUME_FALLOCATE]: Add comment.
36197
36198 2015-05-05 Florian Weimer <fweimer@redhat.com>
36199
36200 * sysdeps/unix/sysv/linux/i386/Makefile
36201 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
36202 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
36203 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
36204 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36205 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36206 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
36207 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
36208
36209 2015-05-02 Joseph Myers <joseph@codesourcery.com>
36210
36211 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
36212 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
36213 tgamma.
36214 * math/auto-libm-test-out: Regenerated.
36215 * sysdeps/i386/fpu/libm-test-ulps: Update.
36216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36217
36218 2015-05-01 Joseph Myers <joseph@codesourcery.com>
36219
36220 * math/auto-libm-test-in: Add more tests of tgamma.
36221 * math/auto-libm-test-out: Regenerated.
36222 * sysdeps/i386/fpu/libm-test-ulps: Update.
36223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36224
36225 * math/auto-libm-test-in: Add more tests of tanh.
36226 * math/auto-libm-test-out: Regenerated.
36227 * sysdeps/i386/fpu/libm-test-ulps: Update.
36228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36229
36230 * math/auto-libm-test-in: Add more tests of tan.
36231 * math/auto-libm-test-out: Regenerated.
36232 * sysdeps/i386/fpu/libm-test-ulps: Update.
36233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36234
36235 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
36236 * math/auto-libm-test-out: Regenerated.
36237 * sysdeps/i386/fpu/libm-test-ulps: Update.
36238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36239
36240 * math/auto-libm-test-in: Add another test of pow.
36241 * math/auto-libm-test-out: Regenerated.
36242 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36243
36244 * math/auto-libm-test-in: Add more tests of lgamma.
36245 * math/auto-libm-test-out: Regenerated.
36246 * sysdeps/i386/fpu/libm-test-ulps: Update.
36247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36248
36249 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
36250 log1p.
36251 * math/auto-libm-test-out: Regenerated.
36252 * sysdeps/i386/fpu/libm-test-ulps: Update.
36253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36254
36255 2015-05-01 Mark Wielaard <mjw@redhat.com>
36256
36257 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
36258 Elf64_Chdr structs and ELFCOMPRESS constants.
36259
36260 2015-05-01 Joseph Myers <joseph@codesourcery.com>
36261
36262 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
36263 expm1.
36264 * math/auto-libm-test-out: Regenerated.
36265 * sysdeps/i386/fpu/libm-test-ulps: Update.
36266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36267
36268 * math/auto-libm-test-in: Add more tests of erf and erfc.
36269 * math/auto-libm-test-out: Regenerated.
36270 * sysdeps/i386/fpu/libm-test-ulps: Update.
36271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36272
36273 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
36274
36275 * config.h.in (HAVE_AARCH64_BE): Add.
36276
36277 2015-04-30 Joseph Myers <joseph@codesourcery.com>
36278
36279 * math/auto-libm-test-in: Add more tests of csqrt.
36280 * math/auto-libm-test-out: Regenerated.
36281 * sysdeps/i386/fpu/libm-test-ulps: Update.
36282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36283
36284 * math/auto-libm-test-in: Add more tests of cosh and sinh.
36285 * math/auto-libm-test-out: Regenerated.
36286 * sysdeps/i386/fpu/libm-test-ulps: Update.
36287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36288
36289 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
36290
36291 2015-04-29 Roland McGrath <roland@hack.frob.com>
36292
36293 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
36294 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
36295
36296 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
36297 (euidaccess, eaccess): Define as weak aliases.
36298
36299 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
36300 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
36301 but __suseconds_t is often 'long int' so some sources assume that
36302 type is being used (e.g. they use %ld to print tv_usec).
36303
36304 2015-04-29 Florian Weimer <fweimer@redhat.com>
36305
36306 [BZ #18007]
36307 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
36308 (CVE-2014-8121)
36309 * nss/tst-nss-getpwent.c: New file.
36310 * nss/Makefile (tests): Add new test.
36311
36312 2015-04-28 Joseph Myers <joseph@codesourcery.com>
36313
36314 [BZ #18346]
36315 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
36316 exponents less than 48 as cases where high part of mantissa needs
36317 examining to determine whether argument is integral.
36318 * math/libm-test.inc (round_test_data): Add more tests.
36319
36320 2015-04-28 Mark Wielaard <mjw@redhat.com>
36321
36322 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
36323
36324 2015-04-27 David S. Miller <davem@davemloft.net>
36325
36326 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
36327 __tls_get_addr.
36328 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
36329
36330 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
36331
36332 [BZ #18333]
36333 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
36334
36335 2015-04-27 Florian Weimer <fweimer@redhat.com>
36336
36337 [BZ #18333]
36338 * time/tzset.c (parse_tzname): Return error on memory allocation
36339 failure.
36340 * test-skeleton.c (struct temp_name_list): Change type of name
36341 member to non-const.
36342 (add_temp_file): Create a copy of the file name.
36343 (delete_temp_files): Deallocate memory.
36344 (create_temp_file): Add comment.
36345
36346 2015-04-24 Florian Weimer <fweimer@redhat.com>
36347
36348 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
36349 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
36350
36351 2015-04-24 Roland McGrath <roland@hack.frob.com>
36352
36353 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
36354 * sysdeps/arm/configure: Regenerated.
36355
36356 2015-04-24 Florian Weimer <fweimer@redhat.com>
36357
36358 [BZ #17715]
36359 * time/tzfile.c (__tzfile_read): Check for large values of
36360 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
36361 * time/tzset.c (__tzstring_len): New function, based on the old
36362 __tzstring function.
36363 (__tzstring): Call __tzstring_len.
36364 (parse_tzname): New helper function extracted from
36365 __tzset_parse_tz. Call __tzstring_len, without making a copy of
36366 the input string.
36367 (parse_offset): New helper function extracted from
36368 __tzset_parse_tz. Replace switch with fallthrough with
36369 initialization before sscanf.
36370 (parse_rule): Likewise.
36371 (__tzset_parse_tz): Rewrite using the new helper functions. Use
36372 new-style function definition.
36373 * timezone/Makefile (tests): Add tst-tzset.
36374 (tst-tzset.out): Dependencies on time zone files.
36375 (tst-tzset-ENV): Set TZDIR.
36376 (testdata/XT%): Copy crafted time zone files.
36377 * timezone/README: Mention crafted time zone files.
36378 * timezone/testdata/XT1, timezone/testdata/XT2,
36379 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
36380 files.
36381 * timezone/tst-tzset.c: New test.
36382
36383 2015-04-24 Florian Weimer <fweimer@redhat.com>
36384
36385 * Makeconfig (+gccwarn): Remove -Winline.
36386
36387 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
36388
36389 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
36390
36391 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
36392
36393 * NEWS: Mention sysconf() cache information support for s390.
36394 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
36395
36396 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
36397
36398 * math/k_casinh.c (__kernel_casinh): Use __copysign.
36399 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
36400 (__nearbyint): Likewise.
36401 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
36402 (copysignl): Likewise.
36403
36404 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
36405
36406 [BZ #18287]
36407 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
36408 based on padding. (CVE-2015-1781)
36409
36410 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36411
36412 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
36413 libc-vdso.h.
36414 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
36415 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
36416 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
36417 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
36418 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
36419 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
36420 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
36421 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36422 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36423 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
36424 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
36425 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36426 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
36427 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
36428 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
36429 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
36430 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
36431 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
36432 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
36433 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
36434 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
36435 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
36436 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
36437
36438 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
36439
36440 * stdlib/setenv.c (__add_to_environ):
36441 Dump core quickly if setenv (..., NULL, ...) is called.
36442 This time, do it the right way, and pacify GCC with a pragma.
36443
36444 2015-04-17 Roland McGrath <roland@hack.frob.com>
36445
36446 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
36447 IMAP->l_prev cannot be null, and #if out the code for the contrary
36448 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
36449 believe that NS (&_dl_ns[NSID]) could point outside the array.
36450
36451 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
36452 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
36453 before using NSID as an index.
36454
36455 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
36456
36457 [BZ #17825]
36458 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
36459 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
36460 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
36461
36462 2015-04-17 Roland McGrath <roland@hack.frob.com>
36463
36464 Add preliminary port to Google Native Client on ARM.
36465 * abi-tags (.*-.*-nacl.*): New entry.
36466 * sysdeps/arm/nacl: New directory.
36467 * sysdeps/nacl: New directory.
36468
36469 2015-04-16 David S. Miller <davem@davemloft.net>
36470
36471 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
36472 lowlevellock-futex.h
36473
36474 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
36475
36476 * sysdeps/tile/configure.ac: New file.
36477 * sysdeps/tile/configure: Regenerated.
36478
36479 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36480
36481 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
36482 conditionals for weak_alias and libc_hidden_weak.
36483 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
36484 libc_hidden_weak and weak_alias.
36485 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
36486 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
36487 and weak_alias for static one.
36488
36489 2015-04-15 David S. Miller <davem@davemloft.net>
36490
36491 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
36492
36493 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
36494
36495 [BZ #18206]
36496 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
36497 Use signed comparision instead of substraction to avoid
36498 overflow bug.
36499 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
36500 Take the sign of ret.
36501 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
36502 Do not expect precise return values. Only the sign matters.
36503 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
36504 * wcsmbs/test-wcsncmp.c: New File.
36505 * string/test-strncmp.c: Add wcsncmp support.
36506
36507 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
36508
36509 [BZ #6792]
36510 * math/w_log1p.c: New file.
36511 * math/w_log1pf.c: Likewise.
36512 * math/w_log1pl.c: Likewise.
36513 * math/Makefile (libm-calls): Add w_log1p.
36514 * math/s_log1pl.c (log1pl): Remove weak_alias.
36515 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
36516 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
36517 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
36518 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
36519 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
36520 [NO_LONG_DOUBLE] (log1pl): Likewise.
36521 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
36522 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
36523 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
36524 (log1p): Remove long_double_symbol.
36525 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
36526 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
36527 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
36528 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
36529 remove weak_alias for corresponding log1p function.
36530 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
36531 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
36532 * sysdeps/ia64/fpu/w_log1p.c: New file.
36533 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
36534 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
36535 * math/libm-test.inc (log1p_test_data): Add errno expectations.
36536
36537 2015-04-10 Joseph Myers <joseph@codesourcery.com>
36538
36539 [BZ #18247]
36540 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
36541 decimal exponent by 1.
36542 * stdlib/tst-strtod-round-data: Add more tests.
36543 * stdlib/tst-strtod-round.c (tests): Regenerated.
36544
36545 2015-04-09 Joseph Myers <joseph@codesourcery.com>
36546
36547 * math/auto-libm-test-in: Add more tests of clog and clog10.
36548 * math/auto-libm-test-out: Regenerated.
36549 * sysdeps/i386/fpu/libm-test-ulps: Update.
36550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36551
36552 2015-04-09 Roland McGrath <roland@hack.frob.com>
36553
36554 * Makeconfig (module-cppflags): Exclude all .v.i files.
36555 (skip-module-cppflags): Variable removed.
36556
36557 * configure.ac (libc_config_ok): Initialize before reading
36558 preconfigure scripts, not after.
36559 * configure: Regenerated.
36560
36561 * test-skeleton.c (TIMEOUT): Move #define to top level.
36562 (main): Grok environment variable TEST_DIRECT. If set, print
36563 test expectation details into that file and then behave as if
36564 given --direct.
36565
36566 2015-04-09 Florian Weimer <fweimer@redhat.com>
36567
36568 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
36569 warning on 32-bit.
36570
36571 2015-04-08 David S. Miller <davem@davemloft.net>
36572
36573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36574
36575 2015-04-08 Joseph Myers <joseph@codesourcery.com>
36576
36577 * math/auto-libm-test-in: Add more tests of atanh.
36578 * math/auto-libm-test-out: Regenerated.
36579 * sysdeps/i386/fpu/libm-test-ulps: Update.
36580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36581
36582 * math/auto-libm-test-in: Add more tests of atan.
36583 * math/auto-libm-test-out: Regenerated.
36584 * sysdeps/i386/fpu/libm-test-ulps: Update.
36585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36586
36587 2015-04-08 Florian Weimer <fweimer@redhat.com>
36588
36589 * elf/pldd.c (main): Rewrite to use struct
36590 scratch_buffer instead of extend_alloca.
36591 * elf/pldd-xx.c (find_maps): Likewise.
36592 * grp/initgroups.c: Include <scratch_buffer.h> instead of
36593 <alloca.h>.
36594 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
36595 scratch_buffer instead of extend_alloca.
36596 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
36597 grp/compat-initgroups.c.
36598 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
36599 Rewrite to use struct scratch_buffer instead of extend_alloca.
36600 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
36601 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36602
36603 2015-04-08 Joseph Myers <joseph@codesourcery.com>
36604
36605 * math/auto-libm-test-in: Add more tests of cbrt.
36606 * math/auto-libm-test-out: Regenerated.
36607 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36608
36609 * math/auto-libm-test-in: Add more tests of cabs.
36610 * math/auto-libm-test-out: Regenerated.
36611 * sysdeps/i386/fpu/libm-test-ulps: Update.
36612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36613
36614 [BZ #18210]
36615 [BZ #18211]
36616 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
36617 (__ieee754_atan2): Set FE_TONEAREST mode for internal
36618 computations.
36619 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
36620 clog10.
36621 * math/auto-libm-test-out: Regenerated.
36622 * sysdeps/i386/fpu/libm-test-ulps: Update.
36623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36624
36625 [BZ #18197]
36626 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
36627 (atan): Set FE_TONEAREST mode for internal computations.
36628 * math/auto-libm-test-in: Add more tests of atan.
36629 * math/auto-libm-test-out: Regenerated.
36630
36631 2015-04-07 James Cowgill <james410@cowgill.org.uk>
36632
36633 [BZ #17930]
36634 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
36635
36636 2015-04-07 Florian Weimer <fweimer@redhat.com>
36637
36638 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
36639
36640 2015-04-07 Florian Weimer <fweimer@redhat.com>
36641
36642 * include/scratch_buffer.h: New file.
36643 * malloc/scratch_buffer_grow.c: Likewise.
36644 * malloc/scratch_buffer_grow_preserve.c: Likewise.
36645 * malloc/scratch_buffer_set_array_size.c: Likewise.
36646 * malloc/tst-scratch_buffer.c: Likewise.
36647 * malloc/Makefile (routines): Add scratch_buffer_grow.
36648 (tests): Add test case.
36649 * malloc/Versions (GLIBC_PRIVATE): Export
36650 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
36651 __libc_scratch_buffer_set_array_size.
36652
36653 2015-04-06 Richard Henderson <rth@redhat.com>
36654
36655 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
36656 * sysdeps/alpha/fpu/libm-test-ulps: Update.
36657
36658 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
36659 unsigned int before printing.
36660
36661 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36662
36663 [BZ #17596]
36664 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
36665 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
36666
36667 2015-04-02 Florian Weimer <fweimer@redhat.com>
36668
36669 * include/libc-internal.h (libc_max_align_t): Define.
36670
36671 2015-04-02 Andreas Schwab <schwab@suse.de>
36672
36673 [BZ #16850]
36674 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
36675
36676 2015-04-02 Mel Gorman <mgorman@suse.de>
36677
36678 [BZ #17195]
36679 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
36680 as well as the main arena.
36681
36682 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
36683
36684 [BZ #18185]
36685 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
36686 sharing L2 cache to 2 for Silvermont/Knights Landing.
36687
36688 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
36689
36690 [BZ #17711]
36691 * config.make.in (have-protected-data): New.
36692 * configure.ac: Check linker support for protected data symbol.
36693 * configure: Regenerated.
36694 * elf/Makefile (modules-names): Add tst-protected1moda and
36695 tst-protected1modb if $(have-protected-data) is yes.
36696 (tests): Add tst-protected1a and tst-protected1b if
36697 $(have-protected-data) is yes.
36698 ($(objpfx)tst-protected1a): New.
36699 ($(objpfx)tst-protected1b): Likewise.
36700 (tst-protected1modb.so-no-z-defs): Likewise.
36701 * elf/tst-protected1a.c: New file.
36702 * elf/tst-protected1b.c: Likewise.
36703 * elf/tst-protected1mod.h: Likewise.
36704 * elf/tst-protected1moda.c: Likewise.
36705 * elf/tst-protected1modb.c: Likewise.
36706
36707 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
36708
36709 [BZ #17711]
36710 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
36711 indicates it is called from do_lookup_x on relocation against
36712 protected data, skip the data definion in the executable from
36713 copy reloc.
36714 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
36715 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
36716 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
36717 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
36718 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
36719 otherwise to 0.
36720 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
36721 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
36722 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
36723 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
36724 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
36725 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
36726
36727 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
36728
36729 * sysdeps/nptl/pthread.h: Remove duplicate definition of
36730 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
36731
36732 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
36733
36734 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
36735 THREAD_SETMEM_NC.
36736 * sysdeps/x86_64/nptl/tls.h: Ditto.
36737
36738 2015-03-27 Roland McGrath <roland@hack.frob.com>
36739
36740 * dlfcn/tststatic.c (main): Converted to ...
36741 (do_test): ... this.
36742 (TEST_FUNCTION): New macro.
36743 Include test-skeleton.c.
36744
36745 2015-03-26 Alan Modra <amodra@gmail.com>
36746
36747 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
36748 Don't segfault if ifunc resolver returns a NULL. Do set plt to
36749 zero for undefined weak.
36750 (elf_machine_plt_conflict): Similarly.
36751
36752 2015-03-25 Joseph Myers <joseph@codesourcery.com>
36753
36754 * math/auto-libm-test-in: Add more tests of acosh, asinh and
36755 atanh.
36756 * math/auto-libm-test-out: Regenerated.
36757 * sysdeps/i386/fpu/libm-test-ulps: Update.
36758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36759
36760 * math/auto-libm-test-in: Add another test of asin.
36761 * math/auto-libm-test-out: Regenerated.
36762 * sysdeps/i386/fpu/libm-test-ulps: Update.
36763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36764
36765 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
36766 Remove macro.
36767 (LLL_EBX_REG): Likewise.
36768 (LLL_ENTER_KERNEL): Likewise.
36769
36770 * math/auto-libm-test-in: Add more tests of asin.
36771 * math/auto-libm-test-out: Regenerated.
36772 * sysdeps/i386/fpu/libm-test-ulps: Update.
36773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36774
36775 [BZ #18138]
36776 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
36777 libc_do_syscall_args): New structure.
36778 (INTERNAL_SYSCALL_MAIN_0): New macro.
36779 (INTERNAL_SYSCALL_MAIN_1): Likewise.
36780 (INTERNAL_SYSCALL_MAIN_2): Likewise.
36781 (INTERNAL_SYSCALL_MAIN_3): Likewise.
36782 (INTERNAL_SYSCALL_MAIN_4): Likewise.
36783 (INTERNAL_SYSCALL_MAIN_5): Likewise.
36784 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
36785 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
36786 Replace conditional definitions by conditional definitions of ....
36787 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
36788 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
36789 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
36790 (libpthread-sysdep_routines): Add libc-do-syscall.
36791 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
36792 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
36793 to __NR_futex not 240.
36794
36795 2015-03-25 Alan Modra <amodra@gmail.com>
36796
36797 * NEWS: Advertise TLS optimization.
36798 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
36799 (DT_PPC_NUM): Increment.
36800 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
36801 (CHECK_STATIC_TLS): Use here.
36802 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
36803 TLS descriptors.
36804 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36805 * sysdeps/powerpc/dl-tls.c: New file.
36806 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
36807 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
36808 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
36809 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
36810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
36811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
36812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
36813
36814 2015-03-25 Alan Modra <amodra@gmail.com>
36815
36816 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
36817 for overlapping .opd entries" to "support...".
36818 * sysdeps/powerpc/powerpc64/configure: Regenerate
36819
36820 2015-03-25 Joseph Myers <joseph@codesourcery.com>
36821
36822 * math/auto-libm-test-in: Add more tests of acos.
36823 * math/auto-libm-test-out: Regenerated.
36824 * sysdeps/i386/fpu/libm-test-ulps: Update.
36825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36826
36827 * math/auto-libm-test-in: Add more tests of expm1.
36828 * math/auto-libm-test-out: Regenerated.
36829 * sysdeps/i386/fpu/libm-test-ulps: Update.
36830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36831
36832 2015-03-24 Joseph Myers <joseph@codesourcery.com>
36833
36834 * math/auto-libm-test-in: Add more tests of cosh and sinh.
36835 * math/auto-libm-test-out: Regenerated.
36836 * sysdeps/i386/fpu/libm-test-ulps: Update.
36837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36838
36839 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
36840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36841
36842 * math/auto-libm-test-in: Add more tests of log2.
36843 * math/auto-libm-test-out: Regenerated.
36844 * sysdeps/i386/fpu/libm-test-ulps: Update.
36845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36846
36847 2015-03-23 Roland McGrath <roland@hack.frob.com>
36848
36849 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
36850 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
36851 _IO_IS_APPENDING bit in READ_WRITE instead.
36852
36853 2015-03-23 Florian Weimer <fweimer@redhat.com>
36854
36855 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
36856 (__determine_cpumask_size): Replace extend_alloca with a
36857 variable-length array. Do not treat res == 0 as an error.
36858
36859 2015-03-23 Florian Weimer <fweimer@redhat.com>
36860
36861 [BZ #18100]
36862 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
36863 and integer overflow.
36864 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
36865 (main): Add integer overflow tests.
36866 * manual/pattern.texi (Calling Wordexp): Document additional use
36867 for WRDE_SYNTAX.
36868
36869 2015-03-23 Alan Modra <amodra@gmail.com>
36870
36871 * config.h.in: Remove HAVE_ASM_PPC_REL16.
36872 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
36873 and false branch of conditional.
36874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
36875 Likewise.
36876
36877 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
36878
36879 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
36880 libc-modules.h
36881 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
36882 unused declaration of _hurd_intr_rpc_msg_in_trap.
36883 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
36884 defined instead of whether it is non-zero.
36885 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
36886 input constraint instead of both input and output constraint. Use ecx
36887 clobber instead of %ecx.
36888 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
36889 mutex_unlock): Use a statement expression instead of an expression list.
36890 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
36891 type to vm_size_t instead of vm_address_t.
36892 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
36893 defined instead of whether it is non-zero.
36894 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
36895 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
36896 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
36897 comparisons with mapaddr.
36898 * nscd/nscd-client.h: Include <time.h>.
36899 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
36900 9th parameter to __vm_region instead of int.
36901 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
36902 * scripts/check-local-headers.sh (exclude): Add device/,
36903 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
36904 cthreads.h.
36905
36906 2015-03-19 Roland McGrath <roland@hack.frob.com>
36907
36908 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
36909 to account for alignment padding.
36910 * sysdeps/arm/memmove.S: Likewise.
36911
36912 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
36913
36914 * sysdeps/unix/sysv/linux/generic/README: New file.
36915
36916 2015-03-18 Joseph Myers <joseph@codesourcery.com>
36917
36918 [BZ #18138]
36919 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
36920 (futex_abstimed_wait)
36921 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
36922 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
36923 of lll_futex_timed_wait.
36924
36925 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
36926
36927 [BZ #17542]
36928 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
36929
36930 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
36931
36932 [BZ #17090]
36933 [BZ #17620]
36934 [BZ #17621]
36935 [BZ #17628]
36936 * NEWS: Update.
36937 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
36938 entries with Static TLS too. Skip entries past the end of the
36939 allocated DTV, from Alan Modra.
36940 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
36941 Static TLS DTV entry set up from...
36942 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
36943 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
36944 * nptl/allocatestack.c (init_one_static_tls): ... and here...
36945 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
36946 for Static TLS.
36947 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
36948 that the slot we find is associated with the given map before
36949 using its generation count.
36950 * nptl_db/db_info.c: Include ldsodefs.h.
36951 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
36952 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
36953 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
36954 (link_map::l_tls_offset): New struct field.
36955 (dtv_t::counter): Likewise.
36956 (rtld_global): New struct.
36957 (_rtld_global): New rtld variable.
36958 (dl_tls_dtv_slotinfo_list): New rtld global field.
36959 (dtv_slotinfo_list): New struct.
36960 (dtv_slotinfo): Likewise.
36961 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
36962 (td_lookup): Rename to...
36963 (td_mod_lookup): ... this. Use new mod parameter instead of
36964 LIBPTHREAD_SO.
36965 * nptl_db/td_thr_tlsbase.c: Include link.h.
36966 (dtv_slotinfo_list, dtv_slotinfo): New functions.
36967 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
36968 addresses even if the DTV is out of date or missing them.
36969 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
36970 index zero-length arrays.
36971 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
36972 (td_lookup): Make it a macro implemented in terms of...
36973 (td_mod_lookup): ... this declaration.
36974 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
36975 (DB_MAIN_VARIABLE): Likewise.
36976
36977 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
36978
36979 [BZ #18134]
36980 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
36981
36982 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
36983
36984 * stdlib/setenv.c (__add_to_environ): Revert previous change.
36985
36986 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
36987
36988 [BZ #18128]
36989 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
36990 (atomic_add, atomic_increment_and_test)
36991 (atomic_decrement_and_test): Fix 64-bit arithmetic.
36992
36993 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
36994
36995 * stdlib/setenv.c (__add_to_environ):
36996 Dump core quickly if setenv (..., NULL, ...) is called.
36997
36998 2015-03-13 Roland McGrath <roland@hack.frob.com>
36999
37000 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
37001 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
37002 all the necessary asm magic in one place.
37003 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
37004 using those.
37005
37006 2015-03-13 Carlos O'Donell <carlos@redhat.com>
37007
37008 [BZ #14906]
37009 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
37010 traced file mtime. Use consistent log message.
37011 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
37012 (register_traced_file): Call install_watches. Always set mtime.
37013 (invalidate_cache): Iterate over all trace files. Call install_watches.
37014 (inotify_check_files): Don't inline. Handle watching parent
37015 directories and configuration file movement in and out.
37016 (handle_inotify_events): New function.
37017 (main_loop_poll): Call handle_inotify_events.
37018 (main_loop_epoll): Likewise.
37019 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
37020 (struct traced_file): Use array of inotify fds. Add parent directory,
37021 and basename.
37022 (struct database_dyn): Remove unused file_mtime.
37023 (init_traced_file): New inline function.
37024 (define_traced_file): New macro.
37025 * nss/nss_db/db-init.c: Use define_traced_file.
37026 (_nss_db_init): Use init_traced_file.
37027 * nss/nss_files/files-init.c: Use define_traced_file.
37028 (_nss_files_init): Use init_traced_file.
37029
37030 2015-03-12 Joseph Myers <joseph@codesourcery.com>
37031
37032 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
37033 [_LIBC]: Do not include <stdlib.h>.
37034 [!_LIBC] (abort): Remove declaration.
37035 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
37036 _FP_STATIC_ASSERT instead of conditionally calling abort.
37037 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
37038 (_FP_EXTEND_CNAN): Likewise.
37039 (FP_TRUNC): Likewise.
37040 (__FP_CLZ): Likewise.
37041 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
37042
37043 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
37044
37045 * manual/string.texi (XPG basename): Fix prototype.
37046
37047 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
37048
37049 [BZ #18080]
37050 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
37051 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
37052 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
37053 (__setcontext): Likewise.
37054 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
37055 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
37056 Call rt_sigprocmask syscall one time to set new signal mask
37057 and retrieve the current signal mask instead of two calls.
37058 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
37059 (__swapcontext): Likewise.
37060 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
37061 * stdlib/tst-setcontext2.c: New file.
37062
37063 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
37064
37065 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37066
37067 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
37068
37069 [BZ #18093]
37070 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
37071 the wrong size.
37072
37073 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
37074
37075 [BZ #18043]
37076 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
37077
37078 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
37079
37080 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
37081 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
37082 Remove define.
37083 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
37084 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
37085 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
37086 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
37087 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
37088 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
37089 define.
37090 * nptl_db/td_symbol_list.c (td_lookup): Remove
37091 HAVE_ASM_GLOBAL_DOT_NAME code.
37092 * sysdeps/powerpc/powerpc64/configure.ac: Remove
37093 HAVE_ASM_GLOBAL_DOT_NAME check.
37094 * sysdeps/powerpc/powerpc64/configure: Regenerate.
37095 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
37096 (DOT_LABEL): Remove define.
37097 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
37098 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
37099 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
37100 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
37101 (__TLS_GET_ADDR): Likewise.
37102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
37103 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
37104
37105 2015-03-11 Carlos O'Donell <carlos@redhat.com>
37106
37107 [BZ #18111]
37108 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
37109 (_FPU_SETCW): Initialize cw from fpsr before storing.
37110 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
37111 (fesetexceptflag): Rewrite using fpu_control.h.
37112 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
37113
37114 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
37115
37116 [BZ #18110]
37117 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
37118 asms.
37119 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
37120
37121 2015-03-11 Joseph Myers <joseph@codesourcery.com>
37122
37123 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
37124 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
37125 abort.
37126 (_FP_FMA): Likewise.
37127 (_FP_DIV): Likewise.
37128
37129 2015-03-10 Roland McGrath <roland@hack.frob.com>
37130
37131 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
37132 with 0 in that case.
37133 * Makefile (summarize-tests): New canned sequence, factored out of
37134 commands for targets tests and xtests. Display summary lines that
37135 don't start with PASS: or XFAIL: rather than ones that do start with
37136 ERROR: or FAIL:. Make the commands fail if any summary lines fail
37137 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
37138 do start with ERROR: or FAIL:.
37139 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
37140 (except for [$(build-shared) = yes]).
37141 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
37142 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
37143 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
37144 * nptl/Makefile: Revert 2015-03-04 changes.
37145 [$(CXX) empty] (tests-unsupported): New variable.
37146 * debug/Makefile: Likewise.
37147
37148 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
37149 gnulib file. Replace __attribute with __attribute__ throughout.
37150
37151 2015-03-10 Carlos O'Donell <carlos@redhat.com>
37152
37153 * sysdeps/hppa/fpu/libm-test-ulps: Update.
37154
37155 2015-03-10 Joseph Myers <joseph@codesourcery.com>
37156
37157 [BZ #18104]
37158 * math/auto-libm-test-in: Add another test of pow.
37159 * math/auto-libm-test-out: Regenerated.
37160
37161 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37162
37163 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
37164 $(config-cflags-nofma).
37165
37166 2015-03-10 Joseph Myers <joseph@codesourcery.com>
37167
37168 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
37169 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
37170 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
37171 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
37172 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
37173 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
37174 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
37175 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
37176 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
37177 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
37178 Add comment on closing #endif.
37179
37180 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
37181
37182 * posix/wordexp.c (CHAR_IN_SET): New macro.
37183 (parse_param): Use it.
37184
37185 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37186
37187 * sysdeps/powerpc/fpu/libm-test-ulps: update.
37188
37189 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
37190
37191 [BZ #18043]
37192 * posix/wordexp.c (parse_param): Fix buffer overflow.
37193 * posix/wordexp-test.c (test_case): Add test case.
37194
37195 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
37196
37197 [BZ #18042]
37198 * posix/wordexp.c (parse_backtick): Fix off-by-one.
37199 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
37200
37201 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
37202
37203 [BZ #18043]
37204 * posix/wordexp-test.c (test_case): Add test for BZ #18043
37205 (do_bz18043): Delete.
37206 (at_page_end): New.
37207 (testit): Refactor to have words at the edge of unreadable page.
37208
37209 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
37210
37211 [BZ #16734]
37212 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
37213 Cleanup read-only streams as well.
37214 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
37215
37216 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
37217
37218 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
37219 <bits/libc-lockP.h>
37220
37221 2015-03-07 Joseph Myers <joseph@codesourcery.com>
37222
37223 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
37224 on [__KERNEL__].
37225 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
37226 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
37227 * soft-fp/op-common.h (_FP_DECL): Likewise.
37228
37229 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
37230
37231 * elf/ifuncdep2.c (global): Replace
37232 __attribute__((visibility("protected"))) with
37233 asm (".protected global").
37234 * elf/ifuncmod1.c (global): Likewise.
37235 * elf/ifuncmod5.c (global): Likewise.
37236
37237 2015-03-06 Joseph Myers <joseph@codesourcery.com>
37238
37239 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
37240 <asm/sfp-machine.h> instead of <sfp-machine.h>.
37241
37242 2015-03-06 Roland McGrath <roland@hack.frob.com>
37243
37244 * manual/install.texi (Configuring and compiling):
37245 Document test-wrapper-env-only.
37246 * INSTALL: Regenerated.
37247
37248 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37249
37250 [BZ #18043]
37251 * posix/wordexp.c (parse_param): Fix buffer overflow.
37252 * posix/wordexp-test.c (do_bz18043): Add test case.
37253
37254 2015-03-06 Vincent Bernat <vincent@bernat.im>
37255
37256 * time/tst-strptime2.c (do_test): Ensure failing tests are
37257 reported correctly.
37258 * time/tst-strptime3.c (do_test): Likewise.
37259
37260 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
37261
37262 Fix aio_error thread-safety.
37263 * sysdeps/pthread/aio_error.c: New file
37264 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
37265 synchronization.
37266
37267 2015-03-06 Florian Weimer <fweimer@redhat.com>
37268
37269 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
37270 (group_number, vfprintf): Use it.
37271 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
37272 (JUMP, REF): Use it.
37273 (WORK_BUFFER_SIZE): New enum constant.
37274 (process_arg, vfprintf): Use it.
37275
37276 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
37277
37278 * manual/errno.texi (Error Messages): Complete example function
37279 by adding missing #define.
37280 (program_invocation_name): Add statement indicating GNU
37281 extension and reference which header file declares the variable.
37282 (program_invocation_short_name): Likewise.
37283
37284 2015-03-06 Mike Frysinger <vapier@gentoo.org>
37285
37286 * manual/errno.texi (Error Messages): Delete strerror ISO C89
37287 compatibility note.
37288
37289 2015-03-05 Roland McGrath <roland@hack.frob.com>
37290
37291 * Makeconfig (test-wrapper-env-only): New variable.
37292 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
37293 then use that with $(test-wrapper-env-only) rather than using
37294 $(test-wrapper-env) $(run-program-env) $($*-ENV).
37295
37296 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
37297
37298 [BZ #18082]
37299 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
37300 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
37301 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
37302 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
37303 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
37304 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
37305 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
37306 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
37307 Likewise.
37308 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
37309 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
37310 Likewise.
37311 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
37312 Likewise.
37313 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
37314 Likewise.
37315 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
37316 Likewise.
37317 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
37318 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
37319 Likewise.
37320 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
37321 Likewise.
37322 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
37323 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
37324
37325 2015-03-04 Roland McGrath <roland@hack.frob.com>
37326
37327 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
37328 (ETH_ALEN): New macro.
37329 (struct ether_addr): Use it for length of ether_addr_octet.
37330
37331 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
37332 (setdb): Don't call __nss_configure_lookup for "rpc".
37333 (do_test): Don't call test_rpc.
37334 (output_rpcent, test_rpc): Functions moved ...
37335 * sunrpc/test-rpcent.c: ... to this new file.
37336 * sunrpc/Makefile (tests): Add it.
37337
37338 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
37339 __xpg_sigpause.
37340 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
37341 * nptl/tst-signal6.c: Likewise.
37342 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
37343 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
37344
37345 * configure.ac (libc_cv_cxx_link_ok): New check.
37346 Reset CXX to empty if it fails to link.
37347 * configure: Regenerated.
37348 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
37349 bug-atexit3-lib only if $(CXX) is nonempty.
37350 * nptl/Makefile (tests): Likewise for tst-cancel24.
37351 (tests, tests-static): Likewise for tst-cancel24-static.
37352 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
37353 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
37354 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
37355 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
37356
37357 2015-03-04 Andreas Schwab <schwab@suse.de>
37358
37359 [BZ #17631]
37360 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
37361 for non-GCC compilers.
37362 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
37363 Likewise.
37364
37365 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
37366
37367 [BZ #17776]
37368 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
37369 integer before bitwise and assembly operations.
37370 (feclearexcept): Likewise.
37371 * math/test-fenvinline.c: New file.
37372 * math/Makefile: Add test-fenvinline test.
37373
37374 2015-03-03 Alan Modra <amodra@gmail.com>
37375
37376 [BZ #16512]
37377 * scripts/localplt.awk: Strip off symbol version.
37378 * NEWS: Mention bug fix.
37379
37380 2015-03-02 Roland McGrath <roland@hack.frob.com>
37381
37382 * sysdeps/pthread/timer_routines.c
37383 (timer_free_list, thread_free_list, thread_active_list): Make static.
37384
37385 2015-03-02 Joseph Myers <joseph@codesourcery.com>
37386
37387 [BZ #17779]
37388 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37389 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
37390 Undefine.
37391 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37392 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
37393 Likewise.
37394 * sysdeps/unix/sysv/linux/sh/kernel-features.h
37395 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
37396 Likewise.
37397
37398 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
37399
37400 [BZ #18036]
37401 * posix/fnmatch_loop.c (END): Detect invalid pattern.
37402 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
37403
37404 2015-03-02 Andreas Schwab <schwab@suse.de>
37405
37406 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
37407 variable name.
37408
37409 2015-03-02 Florian Weimer <fweimer@redhat.com>
37410
37411 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
37412 Return error status.
37413
37414 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
37415
37416 [BZ #15969]
37417 * locale/findlocale.c (_nl_find_locale): Introduce const
37418 version of loc_name and drop unsafe type casts.
37419
37420 2015-02-27 Roland McGrath <roland@hack.frob.com>
37421
37422 * dlfcn/tststatic2.c (main): Converted to ...
37423 (do_test): ... this.
37424 (TEST_FUNCTION): New macro.
37425 Include test-skeleton.c.
37426
37427 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
37428
37429 [BZ #17711]
37430 * elf/Makefile (tests): Add vismain only if PIE is enabled.
37431 (tests-pie): Add vismain.
37432 (CFLAGS-vismain.c): New.
37433 * elf/vismain.c: Add comments for PIE requirement.
37434
37435 2015-02-27 Joseph Myers <joseph@codesourcery.com>
37436
37437 [BZ #18046]
37438 [BZ #18047]
37439 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
37440 0x1p-56L as threshold for just returning the argument.
37441 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
37442 0x1p-32L as threshold for just returning the argument.
37443 * math/auto-libm-test-in: Add more tests of atanh.
37444 * math/auto-libm-test-out: Regenerated.
37445 * sysdeps/i386/fpu/libm-test-ulps: Update.
37446 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
37447
37448 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
37449
37450 * string/bcopy.c (bcopy): Call memmove for performance.
37451
37452 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
37453
37454 * string/bzero.c (__bzero): Call memset for performance.
37455
37456 2015-02-27 John David Anglin <dave.anglin@bell.net>
37457
37458 [BZ #18068]
37459 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
37460 to 00100000.
37461
37462 2015-02-27 Joseph Myers <joseph@codesourcery.com>
37463
37464 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
37465
37466 2015-02-26 Joseph Myers <joseph@codesourcery.com>
37467
37468 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
37469 (__kernel_standard): Use CSTR macro when setting exc.name.
37470 * sysdeps/ieee754/Makefile [$(subdir) = math]
37471 (CFLAGS-k_standard.c): Remove variable.
37472
37473 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
37474 setting p and q from "else if" to "else".
37475 (qzero): Likewise.
37476 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
37477 (qone): Likewise.
37478 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
37479 (qzerof): Likewise.
37480 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
37481 (qonef): Likewise.
37482 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
37483 (qzero): Likewise.
37484 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
37485 (qone): Likewise.
37486
37487 [BZ #18038]
37488 [BZ #18039]
37489 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
37490 return pi/2 for arguments below 0x1p-113L.
37491 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
37492 return pi/2 for arguments below 0x1p-106L.
37493 * math/auto-libm-test-in: Add more tests of acos.
37494 * math/auto-libm-test-out: Regenerated.
37495
37496 [BZ #16351]
37497 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
37498 (MO): New macro.
37499 (__ieee754_asin): Force underflow exception for results with small
37500 absolute value.
37501 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
37502 (MO): New macro.
37503 (__ieee754_asinf): Force underflow exception for results with
37504 small absolute value.
37505 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
37506 (__ieee754_asin): Force underflow exception for results with small
37507 absolute value.
37508 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
37509 (__ieee754_asinf): Force underflow exception for results with
37510 small absolute value.
37511 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
37512 (__ieee754_asinl): Force underflow exception for results with
37513 small absolute value.
37514 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
37515 (__ieee754_asinl): Force underflow exception for results with
37516 small absolute value.
37517 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
37518 (__ieee754_asinl): Force underflow exception for results with
37519 small absolute value.
37520 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
37521 Include <math.h>.
37522 * math/auto-libm-test-in: Do not mark underflow exceptions as
37523 possibly missing for bug 16351.
37524 * math/auto-libm-test-out: Regenerated.
37525
37526 [BZ #18030]
37527 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
37528 of power of 2 down when low part has opposite sign.
37529 * math/libm-test.inc (logb_test_data): Add more tests.
37530
37531 2015-02-26 Andreas Schwab <schwab@suse.de>
37532
37533 [BZ #18032]
37534 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
37535 over collating symbol inside a bracket expression. Minor cleanup.
37536 * posix/tst-fnmatch3.c (do_test): Add test case.
37537
37538 2015-02-26 Joseph Myers <joseph@codesourcery.com>
37539
37540 [BZ #18029]
37541 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
37542 Adjust exponent of power of 2 down when low part has opposite
37543 sign.
37544 * math/libm-test.inc (ilogb_test_data): Add more tests.
37545
37546 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
37547
37548 [BZ #15969]
37549 * locale/findlocale.c (_nl_find_locale): Fix constness error in
37550 the previous change.
37551
37552 [BZ #15969]
37553 * locale/findlocale.c (_nl_find_locale): Retry archive search
37554 after alias expansion.
37555
37556 2015-02-25 Roland McGrath <roland@hack.frob.com>
37557
37558 * iconv/tst-iconv3.c (main): Converted to ...
37559 (do_test): ... this.
37560 (TEST_FUNCTION): New macro.
37561 Include test-skeleton.c.
37562
37563 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
37564 (convert): Make function static.
37565 (test_unalign): Likewise. Add const to argument pointee types.
37566 (main): Replace with static function do_test.
37567 Print "Succeeded." only if RET is zero.
37568 (TEST_FUNCTION): New macro.
37569 Include test-skeleton.c.
37570
37571 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
37572 returns a null pointer.
37573
37574 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37575
37576 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
37577 to __memcpy_ppc only for static builds.
37578
37579 2015-02-25 Joseph Myers <joseph@codesourcery.com>
37580
37581 [BZ #18020]
37582 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
37583 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
37584 * math/auto-libm-test-in: Add more tests of asinh.
37585 * math/auto-libm-test-out: Regenerated.
37586 * sysdeps/i386/fpu/libm-test-ulps: Update.
37587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37588
37589 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
37590
37591 [BZ #15850]
37592 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
37593 and ip6_mtuinfo definitions here.
37594 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
37595 in this define too. Update comment.
37596
37597 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
37598
37599 * elf/sprof.c (load_shobj): Tweak error message to match others.
37600
37601 2015-02-24 Kevin Easton <kevin@guarana.org>
37602
37603 [BZ #16145] (partial fix)
37604 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
37605 to reduce lock contention.
37606
37607 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
37608
37609 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
37610 (struct timex): Update time comment.
37611 (ADJ_SETOFFSET): Define.
37612
37613 2015-02-24 Joseph Myers <joseph@codesourcery.com>
37614
37615 [BZ #18019]
37616 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37617 2**56 not 2**28 as threshold for log (2x) formula.
37618 * math/auto-libm-test-in: Add more tests of acosh.
37619 * math/auto-libm-test-out: Regenerated.
37620 * sysdeps/i386/fpu/libm-test-ulps: Update.
37621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37622
37623 2015-02-24 Mike Frysinger <vapier@gentoo.org>
37624
37625 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
37626 parenthesis around the buf assignment.
37627 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
37628
37629 2015-02-24 Joseph Myers <joseph@codesourcery.com>
37630
37631 [BZ #16783]
37632 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
37633 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
37634 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
37635 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
37636 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
37637 * math/libm-test.inc (scalb_test_data): Add more tests.
37638
37639 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
37640
37641 [BZ #17916]
37642 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
37643 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
37644
37645 2015-02-24 Eric Rannaud <e@nanocritical.com>
37646
37647 [BZ #17523]
37648 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
37649 * io/bits/fcntl2.h (open): Use it.
37650 (openat): Likewise.
37651 * io/open.c (__libc_open): Likewise.
37652 * io/open64.c (__libc_open64): Likewise.
37653 * io/open64_2.c (__open64_2): Likewise.
37654 * io/open_2.c (__open_2): Likewise.
37655 * io/openat.c (__openat): Likewise.
37656 * io/openat64.c (__openat64): Likewise.
37657 * io/openat64_2.c (__openat64_2): Likewise.
37658 * io/openat_2.c (__openat_2): Likewise.
37659 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
37660 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
37661 * sysdeps/posix/open64.c (__libc_open64): Likewise.
37662 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
37663 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
37664 (__open_nocancel): Likewise.
37665 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
37666 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
37667 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
37668
37669 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
37670
37671 [BZ #14841]
37672 * resolv/gethnamaddr.c (getanswer): Skip logging if
37673 RES_USE_DNSSEC is set.
37674 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
37675
37676 2015-02-24 Mike Frysinger <vapier@gentoo.org>
37677
37678 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
37679
37680 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
37681
37682 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
37683 201304L, for Unicode 7.
37684
37685 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
37686
37687 [BZ #17836]
37688 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
37689 shared library. Add gmon-start.os otherwise.
37690 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
37691 $(objpfx)gmon-start.os if builing shared library.
37692 ($(objpfx)g$(static-start-installed-name)): Likewise.
37693
37694 2015-02-23 Andreas Schwab <schwab@suse.de>
37695
37696 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
37697
37698 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
37699
37700 [BZ #17269]
37701 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
37702 (enlarge_userbuf): Likewise.
37703
37704 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
37705
37706 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
37707 * math/atest-exp.c (TIMEOUT): Adjust to 200.
37708 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
37709 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
37710
37711 2015-02-20 Joseph Myers <joseph@codesourcery.com>
37712
37713 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
37714 expression inside statement expression.
37715
37716 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
37717
37718 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
37719 <sysdeps/nptl/lowlevellock.h> and remove macros and
37720 functions that are now defined there.
37721 (SYS_futex): Remove.
37722 (lll_compare_and_swap): Remove.
37723 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
37724
37725 2015-02-19 Joseph Myers <joseph@codesourcery.com>
37726
37727 [BZ #17999]
37728 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
37729 instead of scandirat.
37730 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
37731 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
37732 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
37733 __scandirat.
37734 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
37735 (__scandirat): Declare. Use libc_hidden_proto.
37736 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
37737 Remove variable.
37738 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
37739
37740 2015-02-18 Joseph Myers <joseph@codesourcery.com>
37741
37742 [BZ #15319]
37743 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
37744 (MO): New macro.
37745 (__ieee754_atan2): For results with small absolute value, force
37746 underflow exception and remove excess range and precision from
37747 return value.
37748 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
37749 (MO): New macro.
37750 (__ieee754_atan2f): For results with small absolute value, force
37751 underflow exception and remove excess range and precision from
37752 return value.
37753 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
37754 (MO): New macro.
37755 (__atan): For results with small absolute value, force underflow
37756 exception and remove excess range and precision from return value.
37757 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
37758 (MO): New macro.
37759 (__atanf): For results with small absolute value, force underflow
37760 exception and remove excess range and precision from return value.
37761 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
37762 <math.h>.
37763 (__ieee754_atan2): Force underflow exception for results with
37764 small absolute value.
37765 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
37766 <math_private.h>.
37767 (atan): Force underflow exception for results with small absolute
37768 value.
37769 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
37770 (__atanf): Force underflow exception for results with small
37771 absolute value.
37772 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
37773 <math.h>.
37774 (__atanl): Force underflow exception for results with small
37775 absolute value.
37776 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
37777 (__atanl): Force underflow exception for results with small
37778 absolute value.
37779 * sysdeps/x86/fpu/bits/mathinline.h
37780 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
37781 (__ieee754_atan2): Only define inline for long double.
37782 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
37783 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
37784 * math/auto-libm-test-in: Do not mark underflow exceptions as
37785 possibly missing for bug 15319. Add more tests of atan2.
37786 * math/auto-libm-test-out: Regenerated.
37787 * math/libm-test.inc (casin_test_data): Do not mark underflow
37788 exceptions as possibly missing for bug 15319.
37789 (casinh_test_data): Likewise.
37790 * sysdeps/i386/fpu/libm-test-ulps: Update.
37791
37792 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
37793
37794 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
37795 * sysdeps/mips/bits/endian.h: Fix comments.
37796
37797 2015-02-18 Joseph Myers <joseph@codesourcery.com>
37798
37799 [BZ #17996]
37800 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
37801 (hdestroy_r): Likewise.
37802 (hsearch_r): Likewise.
37803 (__hcreate_r): Declare and use libc_hidden_proto.
37804 (__hdestroy_r): Likewise.
37805 (__hsearch_r): Likewise.
37806 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
37807 (hcreate): Call __hcreate_r instead of hcreate_r.
37808 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
37809 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
37810 as weak alias of __hcreate_r.
37811 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
37812 __hdestroy_r.
37813 (hsearch_r): Rename to __hsearch_r and define as weak alias of
37814 __hsearch_r.
37815 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
37816 Remove variable.
37817 (test-xfail-XPG4/search.h/linknamespace): Likewise.
37818 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
37819 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
37820 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
37821
37822 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37823
37824 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
37825 arena_lock into a single arena_get.
37826
37827 2015-02-17 Carlos O'Donell <carlos@redhat.com>
37828
37829 * dl-reloc.c: Inlucde libc-internal.h.
37830 (_dl_try_allocate_static_tls): Call ALIGN_UP.
37831 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
37832 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
37833 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
37834 (grow_heap): Likewise.
37835 * malloc/malloc.c: Include libc-internal.h.
37836 (do_check_malloc): Call powerof2.
37837 (sysmalloc): Use pagesize. Call ALIGN_UP.
37838 (systrim): Use pagesize.
37839 (mremap_chunk): Use pagesize. Call ALIGN_UP.
37840 (__libc_valloc): Use pagesize.
37841 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
37842
37843 2015-02-17 Joseph Myers <joseph@codesourcery.com>
37844
37845 [BZ #17991]
37846 * include/sys/resource.h (__getrlimit64): Declare. Use
37847 libc_hidden_proto.
37848 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
37849 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
37850 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
37851 getrlimit64.
37852 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
37853 __getrlimit64.
37854 [!getrlimit64] (getrlimit64): Define as weak alias of
37855 __getrlimit64. Use libc_hidden_weak.
37856 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
37857 using __getrlimit64 not __new_getrlimit64.
37858 (__GI_getrlimit64): Likewise.
37859 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
37860 Likewise.
37861 (__GI_getrlimit64): Likewise.
37862 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
37863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
37864 (getrlimit): Add __getrlimit64 alias.
37865 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
37866 Likewise.
37867 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
37868 Remove variable.
37869 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
37870 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
37871
37872 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
37873
37874 * libio/fileops.c: Add missing sys/mman.h
37875 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
37876
37877 2015-02-17 Joseph Myers <joseph@codesourcery.com>
37878
37879 * manual/math.texi (Errors in Math Functions): Clarify goals
37880 regarding inexact and underflow exceptions.
37881
37882 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
37883
37884 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
37885 * sysdeps/mips/memset.S: Ditto.
37886
37887 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
37888
37889 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
37890
37891 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
37892
37893 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
37894 (__v1longjmp): Remove versioned symbol.
37895 (__v1siglongjmp): Remove alias and versioned symbol.
37896 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
37897 (__v2siglongjmp): Likewise.
37898
37899 2015-02-16 Torvald Riegel <triegel@redhat.com>
37900
37901 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
37902
37903 2015-02-16 Mike Frysinger <vapier@gentoo.org>
37904
37905 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
37906
37907 2015-02-16 Joseph Myers <joseph@codesourcery.com>
37908
37909 [BZ #17987]
37910 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
37911 zero result does not depend on the sign resulting from
37912 subtraction.
37913 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
37914 Likewise.
37915 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
37916 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
37917 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37918 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
37919 * math/libm-test.inc (remquo_test_data): Add more tests.
37920
37921 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
37922
37923 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
37924 Problem reported by J William Piggott.
37925
37926 2015-02-16 Joseph Myers <joseph@codesourcery.com>
37927
37928 [BZ #17978]
37929 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
37930 products 4 * y and 2 * y where those would overflow.
37931 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
37932 Likewise.
37933 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
37934 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
37935 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37936 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
37937 * math/libm-test.inc (remquo_test_data): Add more tests.
37938
37939 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
37940
37941 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
37942 [defined _COMPILING_NEWLIB].
37943 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
37944 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
37945
37946 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
37947 [!defined __mips_isa_rev || __mips_isa_rev < 6].
37948
37949 2015-02-16 Torvald Riegel <triegel@redhat.com>
37950
37951 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
37952 acquired.
37953
37954 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
37955
37956 [BZ #17792]
37957 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
37958 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
37959 HOST_STACK_END_ADDR): Likewise.
37960
37961 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
37962
37963 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
37964 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
37965 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
37966
37967 2015-02-13 Roland McGrath <roland@hack.frob.com>
37968
37969 * sysdeps/generic/c++-types.data: New file.
37970 * sysdeps/generic/ld.abilist: New file.
37971 * sysdeps/generic/libBrokenLocale.abilist: New file.
37972 * sysdeps/generic/libanl.abilist: New file.
37973 * sysdeps/generic/libc.abilist: New file.
37974 * sysdeps/generic/libcrypt.abilist: New file.
37975 * sysdeps/generic/libdl.abilist: New file.
37976 * sysdeps/generic/libm.abilist: New file.
37977 * sysdeps/generic/libpthread.abilist: New file.
37978 * sysdeps/generic/libresolv.abilist: New file.
37979 * sysdeps/generic/librt.abilist: New file.
37980
37981 2015-02-13 Joseph Myers <joseph@codesourcery.com>
37982
37983 [BZ #17569]
37984 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
37985 Compute absolute value of x as modified by fmod, not original
37986 value of x.
37987 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
37988 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
37989 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
37990 RUN_TEST_ffI_f1_mod8.
37991 (remquo_test_data): Add more tests.
37992
37993 2015-02-13 Roland McGrath <roland@hack.frob.com>
37994
37995 * sysdeps/init_array/pt-crti.S: New file.
37996
37997 2015-02-13 Joseph Myers <joseph@codesourcery.com>
37998
37999 [BZ #17967]
38000 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
38001 __builtin_fmaf instead of relying on contraction of a * b + c.
38002
38003 2015-02-12 J William Piggott <elseifthen@gmx.com>
38004
38005 [BZ #17969]
38006 * manual/time.texi: correct the zoneinfo path in the TZ Variable
38007 node.
38008
38009 2015-02-12 Joseph Myers <joseph@codesourcery.com>
38010
38011 [BZ #17964]
38012 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
38013 __builtin_fma instead of relying on contraction of a * b + c.
38014
38015 2015-02-12 Roland McGrath <roland@hack.frob.com>
38016
38017 * Makeconfig (ASFLAGS): Add -Werror=undef.
38018 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
38019 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
38020 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
38021
38022 * Makeconfig (after-link): New variable.
38023 (+link-pie, +link-pie-tests): Use it.
38024 (+link-static, +link-static-tests): Likewise.
38025 (+link, +link-tests): Likewise.
38026 * Makerules (build-module, build-module-asneeded): Likewise.
38027 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
38028 Likewise.
38029 * elf/Makefile ($(objpfx)ld.so): Likewise.
38030
38031 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
38032
38033 [BZ #17965]
38034 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
38035 both struct timeval and struct timespec.
38036
38037 2015-02-12 Joseph Myers <joseph@codesourcery.com>
38038
38039 [BZ #16560]
38040 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38041 and redefine.
38042 (__ieee754_exp2l): Do not multiply small fractional parts by
38043 M_LN2l.
38044 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
38045 small argument.
38046 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
38047 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
38048 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
38049 * math/auto-libm-test-in: Add more tests of exp2.
38050 * math/auto-libm-test-out: Regenerated.
38051
38052 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38053
38054 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
38055 unaligned path.
38056
38057 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38058
38059 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
38060 little endian.
38061
38062 2015-02-12 Andreas Schwab <schwab@suse.de>
38063
38064 [BZ #15790]
38065 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
38066 Filter out elision flags from value returned in kind.
38067 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
38068 * nptl/tst-pthread-mutexattr.c: New file.
38069
38070 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
38071
38072 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
38073 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
38074 into gnu-gnu, and update comment to refer to abi-tags.
38075
38076 2015-02-11 Joseph Myers <joseph@codesourcery.com>
38077
38078 [BZ #15467]
38079 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
38080 (__sincos): Set errno to EDOM for infinite argument.
38081 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
38082 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
38083 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
38084 (__sincosl): Set errno to EDOM for infinite argument.
38085 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
38086 (__sincosl): Set errno to EDOM for infinite argument.
38087 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
38088 (__sincosl): Set errno to EDOM for infinite argument.
38089 * math/libm-test.inc (sincos_test_data): Test errno setting.
38090
38091 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
38092
38093 * string/strxfrm_l.c: Remove #define STRCMP.
38094 * string/strcoll_l.c: Remove #define STRLEN.
38095 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
38096 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
38097
38098 2015-02-10 Joseph Myers <joseph@codesourcery.com>
38099
38100 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
38101 * sysdeps/mips/mips32/sfp-machine.h: ... here.
38102 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
38103 * sysdeps/mips/mips64/Makefile: ... here.
38104 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
38105 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
38106 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
38107 * sysdeps/mips/mips64/sfp-machine.h: ... here.
38108 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
38109 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
38110 * sysdeps/mips/mips64/n64/Implies: Likewise.
38111
38112 2015-02-10 Roland McGrath <roland@hack.frob.com>
38113
38114 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
38115 <sys/time.h>, <string.h>, and <errno.h>.
38116 (dest_offset, dest_address, value, zero): Remove unused variables.
38117 (ldouble): Remove typedef.
38118 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
38119 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
38120 1). Fix code style.
38121 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
38122 (check): Function removed.
38123 (CHECK): New macro.
38124 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
38125 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
38126 Don't call set_sigaction_FP and remove_sigaction_FP here.
38127 (ldouble_test): Just use 'long double' as macro argument, no need for
38128 the 'ldouble' typedef.
38129 (do_test): Set up SIGFPE handler at start, using plain signal rather
38130 than sigaction. Fix code style.
38131
38132 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
38133
38134 [BZ #17949]
38135 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
38136 jump label.
38137
38138 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
38139
38140 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
38141 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38142
38143 * sysdeps/powerpc/configure.ac: Remove file.
38144 * sysdeps/powerpc/configure: Likewise.
38145
38146 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
38147 [sysdep_routines]: Remove wordcopy-power6 object.
38148 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
38149 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
38150 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
38151 (__memmove_ppc32): Likewise.
38152 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
38153 file.
38154 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
38155 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
38156 Remove preprocessor.
38157
38158 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
38159 [sysdep_routines]: Remove wide chars objects.
38160 [wcsmbs]: New rule for wide char objects.
38161
38162 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38163 Remove wordcopy-power6 obejct.
38164 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
38165 Use local call for wordcopy and memcpy symbols.
38166 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
38167 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
38168 implementation for loader.
38169 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
38170
38171 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38172 Remove wordcopy-power7 object.
38173 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
38174 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
38175 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
38176 (_wordcopy_fwd_dest_aligned): Likewise.
38177 (_wordcopy_bwd_aligned): Likewise.
38178 (_wordcopy_bwd_dest_aligned): Likewise.
38179
38180 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
38181 Rewrite to call __memmove_ppc instead of include default
38182 implementation.
38183
38184 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38185 Remove wide chars objects.
38186 [wcsmbs]: New rule for wide char objects.
38187
38188 2015-02-09 Andreas Schwab <schwab@suse.de>
38189
38190 [BZ #17912]
38191 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
38192 in terms of __O_DIRECTORY.
38193
38194 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
38195
38196 * time/getdate.c: Include <stdbool.h>.
38197 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
38198 call PTR_MANGLE.
38199 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
38200 PTR_DEMANGLE.
38201
38202 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
38203
38204 Add ersatz _Static_assert on older C hosts
38205 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
38206 pre-C11 C platform that is not known to support _Static_assert.
38207
38208 2015-02-07 Richard Braun <rbraun@sceen.net>
38209
38210 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
38211 sigstate.
38212 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
38213
38214 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
38215
38216 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
38217 priority against unexistent AIO_PRIO_DELTA_MAX.
38218 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
38219 instead of int.
38220 * misc/fchflags.c (fchflags): Likewise.
38221 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
38222 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
38223 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
38224 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
38225 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
38226 Declare macros.
38227 [__USE_MISC] (chflags, fchflags): Declare functions.
38228 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
38229 EINVAL when nfds is greater than FD_SETSIZE.
38230 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
38231 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
38232 45.
38233 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
38234 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
38235 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
38236 MACH_RCV_TIMED_OUT.
38237 * hurd/hurd/signal.h (_hurd_self_sigstate,
38238 _hurd_critical_section_lock, _hurd_critical_section_unlock):
38239 Explicit casts from void *.
38240 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
38241 * abi-tags: Rename gnu-gnu os into gnu.
38242
38243 [BZ #4719]
38244 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
38245 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
38246 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
38247 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
38248 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
38249 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
38250
38251 [BZ #17944]
38252 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
38253 duplicates ADDR->sun_path with sockaddr LEN limitation.
38254 * sysdeps/mach/hurd/connect.c: Include <string.h>
38255 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
38256 * sysdeps/mach/hurd/sendmsg.c: Likewise.
38257 * sysdeps/mach/hurd/sendto.c: Likewise.
38258 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
38259 implementing it by hand.
38260
38261 2015-02-06 Roland McGrath <roland@hack.frob.com>
38262
38263 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
38264 Use sfi_breg on ldr.
38265 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
38266 Likewise.
38267
38268 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
38269 it's defined.
38270 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
38271 Test SIGSETXID only if it's defined.
38272
38273 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
38274
38275 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
38276 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
38277
38278 * nptl/tst-align2.c: Moved ...
38279 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
38280 * nptl/Makefile (tests): Remove tst-align2.
38281 * sysdeps/unix/sysv/linux/Makefile
38282 [$(subdir) = nptl] (tests): Add tst-align-clone.
38283 * nptl/tst-getpid1.c: Moved ...
38284 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
38285 * nptl/tst-getpid2.c: Moved ...
38286 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
38287 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
38288 * sysdeps/unix/sysv/linux/Makefile
38289 [$(subdir) = nptl] (tests): ... here.
38290 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
38291 * sysdeps/unix/sysv/linux/Makefile
38292 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
38293
38294 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
38295 Drop trailing \n from perror argument. Use return rather than exit.
38296
38297 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
38298 on [SA_SIGINFO].
38299 * nptl/tst-cancel21.c (do_test): Likewise.
38300 * debug/tst-backtrace6.c: Include <signal.h> first thing.
38301 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
38302 [!SA_SIGINFO]: Make it a stub test.
38303
38304 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
38305 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
38306
38307 * posix/tst-getlogin.c: Move to ...
38308 * login/tst-getlogin.c: ... here.
38309 * posix/Makefile (tests): Move tst-getlogin to ...
38310 * login/Makefile (tests): ... here.
38311
38312 * libio/tst-atime.c (do_test): Move local variables SV and E
38313 inside [ST_NOATIME] conditional.
38314
38315 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
38316
38317 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
38318
38319 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
38320 (wait_code): New function replaces macro.
38321 Call nanosleep rather than syscall.
38322
38323 * nptl/pt-system.c: Rewritten. Put everything under
38324 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
38325 Use IFUNC to redirect when possible.
38326
38327 * nptl/pt-longjmp.c: Rewritten. Put everything under
38328 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
38329 Use IFUNC to redirect when possible.
38330
38331 * nptl/pt-fork.c: Rewritten. Put everything under
38332 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
38333 Use IFUNC to redirect when possible.
38334 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
38335
38336 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
38337 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
38338 unconditionally nowadays. This included the only reference to
38339 __vdso_clock_gettime that appears outside libc proper.
38340 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
38341 Remove version set (containing only __vdso_clock_gettime).
38342 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
38343 Add attribute_hidden.
38344 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
38345 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
38346 libc_hidden_data_def.
38347 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38348 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38349
38350 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
38351 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
38352 setrpcent, and getrpcport to ...
38353 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
38354 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
38355 getrpcbynumber_r, and getrpcent_r to ...
38356 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
38357 * inet/getrpcbyname.c: Moved ...
38358 * sunrpc/getrpcbyname.c: ... here.
38359 * inet/getrpcbyname_r.c: Moved ...
38360 * sunrpc/getrpcbyname_r.c: ... here.
38361 * inet/getrpcbynumber.c: Moved ...
38362 * sunrpc/getrpcbynumber.c: ... here.
38363 * inet/getrpcbynumber_r.c: Moved ...
38364 * sunrpc/getrpcbynumber_r.c: ... here.
38365 * inet/getrpcent.c: Moved ...
38366 * sunrpc/getrpcent.c: ... here.
38367 * inet/getrpcent_r.c: Moved ...
38368 * sunrpc/getrpcent_r.c: ... here.
38369 * inet/Makefile (routines): Move those to ...
38370 * sunrpc/Makefile (routines): ... here.
38371 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
38372 the $(subdirs) list.
38373 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
38374 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
38375 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
38376 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
38377
38378 * elf/Makefile (routines): Include $(all-dl-routines), not just
38379 $(dl-routines).
38380 (rtld-routines): Likewise. Use = rather than :=.
38381 * sysdeps/aarch64/Makefile [$(subdir) = elf]
38382 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
38383 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
38384 * sysdeps/arm/Makefile: Likewise.
38385 * sysdeps/i386/Makefile: Likewise.
38386 * sysdeps/x86_64/Makefile: Likewise.
38387 * sysdeps/hppa/Makefile [$(subdir) = elf]
38388 (sysdep_routines, sysdep-rtld-routines): Don't add
38389 $(sysdep-dl-routines) to these.
38390 * sysdeps/ia64/Makefile: Likewise.
38391 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
38392 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
38393 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
38394 Don't add dl-static to these; sysdep-dl-routines alone is enough.
38395 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
38396 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
38397 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
38398 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
38399 * sysdeps/powerpc/Makefile [$(subdir) = elf]
38400 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
38401 these; sysdep-dl-routines alone is enough.
38402
38403 2015-02-06 Joseph Myers <joseph@codesourcery.com>
38404
38405 [BZ #17932]
38406 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
38407 where multiplication results in zero and third argument is finite
38408 and nonzero.
38409 * math/auto-libm-test-in: Add more tests of fma.
38410 * math/auto-libm-test-out: Regenerated.
38411
38412 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
38413 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
38414 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
38415 (_FP_CMP_EQ): Likewise.
38416 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
38417
38418 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
38419 extra argument CHECK_NAN. Redefine as wrapper around
38420 _FP_EXTEND_CNAN.
38421
38422 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
38423
38424 * version.h (RELEASE): Set to "stable".
38425 (VERSION): Set to "2.21"
38426 * include/features.h (__GLIBC_MINOR__): Set to 21.
38427
38428 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
38429
38430 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38431 Paul Eggert <eggert@cs.ucla.edu>
38432
38433 [BZ #16618]
38434 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
38435 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
38436 size in bytes. Store needed elements in wpmax. Use needed size
38437 in bytes for extend_alloca.
38438
38439 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
38440
38441 * manual/install.texi: Latest tested versions are GCC 4.9.2,
38442 binutls 2.25, and texinfo 5.2.
38443 * INSTALL: Regenerate.
38444 * sysdeps/nios2/configure: Regenerate.
38445 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
38446 * manual/contrib.texi: Update.
38447 * po/be.po: Update.
38448 * po/bg.po: Update.
38449 * po/ca.po: Update.
38450 * po/cs.po: Update.
38451 * po/da.po: Update.
38452 * po/de.po: Update.
38453 * po/el.po: Update.
38454 * po/eo.po: Update.
38455 * po/es.po: Update.
38456 * po/fi.po: Update.
38457 * po/fr.po: Update.
38458 * po/gl.po: Update.
38459 * po/hr.po: Update.
38460 * po/hu.po: Update.
38461 * po/ia.po: Update.
38462 * po/id.po: Update.
38463 * po/it.po: Update.
38464 * po/ja.po: Update.
38465 * po/ko.po: Update.
38466 * po/lt.po: Update.
38467 * po/nb.po: Update.
38468 * po/nl.po: Update.
38469 * po/pl.po: Update.
38470 * po/pt_BR.po: Update.
38471 * po/ru.po: Update.
38472 * po/rw.po: Update.
38473 * po/sk.po: Update.
38474 * po/sl.po: Update.
38475 * po/sv.po: Update.
38476 * po/tr.po: Update.
38477 * po/uk.po: Update.
38478 * po/vi.po: Update.
38479 * po/zh_CN.po: Update.
38480 * po/zh_TW.po: Update.
38481
38482 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
38483 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
38484 * sysdeps/hppa/dl-irel.h: Remove #warning.
38485 * sysdeps/hppa/entry.h: Provide prototype for
38486 __canonicalize_funcptr_for_compare and cast argument.
38487 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
38488 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
38489 * sysdeps/hppa/sotruss-lib.c: New file.
38490 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
38491 (atomic_compare_and_exchange_val_acq): Use __typeof__.
38492 (atomic_compare_and_exchange_bool_acq): Likewise.
38493 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
38494 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
38495
38496 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
38497 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
38498 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
38499
38500 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
38501
38502 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
38503 called function in non-PIC case.
38504
38505 2015-01-31 David S. Miller <davem@davemloft.net>
38506
38507 * sysdeps/sparc/sparc32/bits/atomic.h
38508 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
38509 unlock not after it.
38510 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
38511 volatile register usage warnings from the compiler.
38512
38513 * sysdeps/sparc/nptl/sem_init.c: Delete.
38514 * sysdeps/sparc/nptl/sem_post.c: Delete.
38515 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
38516 * sysdeps/sparc/nptl/sem_wait.c: Delete.
38517 * sysdeps/sparc/sparc32/sem_init.c: New file.
38518 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
38519 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
38520 padding explicitly initialized.
38521 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
38522 padding for in-semaphore spinlock.
38523 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
38524 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
38525 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
38526 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
38527 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
38528 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
38529 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
38530 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
38531 version.
38532 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
38533 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
38534
38535 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
38536
38537 [BZ #17801]
38538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38539 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
38540 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
38541 New.
38542 (index_AVX_Fast_Unaligned_Load): Likewise.
38543 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
38544 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
38545 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
38546 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
38547 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
38548 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
38549 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
38550 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
38551 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
38552
38553 2015-01-29 Andreas Schwab <schwab@suse.de>
38554
38555 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
38556
38557 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38558
38559 [BZ #17892]
38560 * nscd/nscd_stat.c (send_stats): Initialize DATA.
38561
38562 2015-01-28 Martin Sebor <msebor@redhat.com>
38563
38564 * math/README.libm-test: Clarify. Add "How to read the test output."
38565
38566 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
38567
38568 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
38569 Define to 0.
38570
38571 2015-01-28 Joseph Myers <joseph@codesourcery.com>
38572
38573 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
38574 (__HAVE_64B_ATOMICS): Define to 0.
38575
38576 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
38577
38578 [BZ #17885]
38579 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
38580 value to set as new flag.
38581
38582 [BZ #16576]
38583 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
38584 and use _ARCH_PPCSQ instead.
38585 (__ieee754_sqrt): Likewise.
38586 (__ieee754_sqrtf): Likewise.
38587 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
38588 _ARCH_PPCSQ is defined.
38589 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
38590 fsqrt instruction.
38591 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
38592 _ARCH_PPCSQ is defined.
38593 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
38594 fsqrts instruction.
38595 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
38596
38597 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38598
38599 * iconv/loop.c: Suppress array out of bound warning caused by GCC
38600 bug (GCC BZ #64739).
38601
38602 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
38603
38604 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
38605 Mark _retval as used.
38606 (lll_futex_wake_unlock): Likewise.
38607 (lll_futex_timed_wait_requeue_pi): Likewise.
38608
38609 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
38610 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
38611 register variables.
38612
38613 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
38614 libm_hidden_def.
38615
38616 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
38617 (__bswap_64): Mark as __always_inline.
38618
38619 2015-01-25 Bram <bug_rh@spam.wizbit.be>
38620
38621 [BZ #15378]
38622 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
38623 when none of the search directories exist.
38624
38625 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
38626
38627 [BZ #17869]
38628 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
38629 power8 in .machine directive.
38630
38631 [BZ #17868]
38632 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
38633 set dependency from opd value.
38634
38635 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
38636
38637 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38638 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
38639 architecture.
38640
38641 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
38642
38643 [BZ #17870]
38644 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
38645 with uint64_t.
38646 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
38647 (uint64_t) 1.
38648 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
38649 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
38650 Replace 1UL with (uint64_t) 1.
38651 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
38652 int with uint64_t.
38653
38654 2015-01-23 Roland McGrath <roland@hack.frob.com>
38655
38656 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
38657 (if_freenameindex): Likewise.
38658
38659 * resource/getrlimit64.c: Add missing libc_hidden_def.
38660
38661 2015-01-22 Joseph Myers <joseph@codesourcery.com>
38662
38663 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
38664 __label__.
38665 (_FP_FMA): Likewise.
38666 (_FP_TO_INT_ROUND): Likewise.
38667 (_FP_FROM_INT): Likewise.
38668
38669 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38670
38671 [BZ #16418]
38672 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
38673 Make code racy and cancel safe.
38674
38675 2015-01-21 Carlos O'Donell <carlos@redhat.com>
38676
38677 * sysdeps/arm/unwind-resume.h: Fix copyright year.
38678 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
38679 attribution.
38680
38681 * pwd/tst-getpw.c: Rewrite.
38682
38683 [BZ #17702]
38684 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
38685 (modules-names): Add moddummy1 and moddummy2.
38686 ($(objpfx)tst-rec-dlopen): Define.
38687 * dlfcn/moddummy1.c: New file.
38688 * dlfcn/moddummy2.c: New file.
38689 * dlfcn/tst-rec-dlopen.c: New file.
38690 * elf/dl-cache.c (_dl_load_cache_lookup):
38691 Return char*. Copy result with alloca/strcpy/strdup.
38692 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
38693 returns char*. Free cached. If not saving realname
38694 free cached.
38695 * elf/dl-open.c (dl_open_worker): Do not assert that
38696 _r_debug->r_state is RT_CONSISTENT.
38697 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
38698 returns char*.
38699
38700 2015-01-21 Torvald Riegel <triegel@redhat.com>
38701 Carlos O'Donell <carlos@redhat.com>
38702
38703 [BZ #12674]
38704 * nptl/sem_waitcommon.c: New file.
38705 * nptl/sem_wait.c: Include sem_waitcommon.c.
38706 (__sem_wait_cleanup, do_futex_wait): Remove.
38707 (__new_sem_wait): Adapt.
38708 (__new_sem_trywait): New function.
38709 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
38710 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
38711 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
38712 (sem_timedwait): Adapt.
38713 * nptl/sem_post.c (__new_sem_post): Adapt.
38714 (futex_wake): New function.
38715 (__old_sem_post): Add release MO fence.
38716 * nptl/sem_open.c (sem_open): Adapt.
38717 * nptl/sem_init.c (__new_sem_init): Adapt.
38718 (futex_private_if_supported): New function.
38719 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
38720 (__old_sem_getvalue): Add using previous code.
38721 * sysdeps/nptl/internaltypes.h: Adapt.
38722 * nptl/tst-sem13.c (do_test): Adapt.
38723 * nptl/tst-sem11.c (main): Adapt.
38724 * nptl/sem_trywait.c: Remove.
38725 * nptl/DESIGN-sem.txt: Remove.
38726 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
38727 (gen-as-const-headers): Remove structsem.sym.
38728 * nptl/structsem.sym: Remove.
38729 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
38730 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
38731 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
38732 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
38733 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
38734 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
38735 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
38736 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
38737 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
38738 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
38739 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
38740 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
38741 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
38742 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
38743 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
38744 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
38745 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
38746 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
38747 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
38748 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
38749 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
38750 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
38751
38752 2015-01-20 Carlos O'Donell <carlos@redhat.com>
38753
38754 * INSTALL: Regenerated.
38755
38756 * po/libc.pot: Regenerated.
38757
38758 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
38759 Sandra Loosemore <sandra@codesourcery.com>
38760 Andrew Jenner <andrew@codesourcery.com>
38761 Joseph Myers <joseph@codesourcery.com>
38762 Nathan Sidwell <nathan@codesourcery.com>
38763
38764 * NEWS: Mention new Nios II port.
38765 * sysdeps/nios2/Implies: New file.
38766 * sysdeps/nios2/Makefile: New file.
38767 * sysdeps/nios2/Subdirs: New file.
38768 * sysdeps/nios2/Versions: New file.
38769 * sysdeps/nios2/__longjmp.S: New file.
38770 * sysdeps/nios2/abort-instr.h: New file.
38771 * sysdeps/nios2/backtrace.c: New file.
38772 * sysdeps/nios2/bits/endian.h: New file.
38773 * sysdeps/nios2/bits/fenv.h: New file.
38774 * sysdeps/nios2/bits/link.h: New file.
38775 * sysdeps/nios2/bits/setjmp.h: New file.
38776 * sysdeps/nios2/bsd-_setjmp.S: New file.
38777 * sysdeps/nios2/bsd-setjmp.S: New file.
38778 * sysdeps/nios2/configure: New generated file.
38779 * sysdeps/nios2/configure.ac: New file.
38780 * sysdeps/nios2/crti.S: New file.
38781 * sysdeps/nios2/crtn.S: New file.
38782 * sysdeps/nios2/dl-init.c: New file.
38783 * sysdeps/nios2/dl-machine.h: New file.
38784 * sysdeps/nios2/dl-sysdep.h: New file.
38785 * sysdeps/nios2/dl-tls.h: New file.
38786 * sysdeps/nios2/dl-trampoline.S: New file.
38787 * sysdeps/nios2/gccframe.h: New file.
38788 * sysdeps/nios2/gmp-mparam.h: New file.
38789 * sysdeps/nios2/jmpbuf-offsets.h: New file.
38790 * sysdeps/nios2/jmpbuf-unwind.h: New file.
38791 * sysdeps/nios2/ldsodefs.h: New file.
38792 * sysdeps/nios2/libc-tls.c: New file.
38793 * sysdeps/nios2/libm-test-ulps: New file.
38794 * sysdeps/nios2/machine-gmon.h: New file.
38795 * sysdeps/nios2/math-tests.h: New file.
38796 * sysdeps/nios2/math_private.h: New file.
38797 * sysdeps/nios2/memusage.h: New file.
38798 * sysdeps/nios2/nptl/Makefile: New file.
38799 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
38800 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
38801 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
38802 * sysdeps/nios2/nptl/pthreaddef.h: New file.
38803 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
38804 * sysdeps/nios2/nptl/tls.h: New file.
38805 * sysdeps/nios2/preconfigure: New file.
38806 * sysdeps/nios2/s_fma.c: New file.
38807 * sysdeps/nios2/s_fmaf.c: New file.
38808 * sysdeps/nios2/setjmp.S: New file.
38809 * sysdeps/nios2/sfp-machine.h: New file.
38810 * sysdeps/nios2/sotruss-lib.c: New file.
38811 * sysdeps/nios2/stackguard-macros.h: New file.
38812 * sysdeps/nios2/stackinfo.h: New file.
38813 * sysdeps/nios2/start.S: New file.
38814 * sysdeps/nios2/sysdep.h: New file.
38815 * sysdeps/nios2/tls-macros.h: New file.
38816 * sysdeps/nios2/tst-audit.h: New file.
38817 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
38818 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
38819 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
38820 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
38821 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
38822 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
38823 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
38824 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
38825 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
38826 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
38827 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
38828 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
38829 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
38830 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
38831 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
38832 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
38833 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
38834 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
38835 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
38836 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
38837 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
38838 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
38839 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
38840 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
38841 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
38842 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
38843 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
38844 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
38845 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
38846 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
38847 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
38848 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
38849 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
38850 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
38851 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
38852 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
38853 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
38854 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
38855 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
38856 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
38857 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
38858 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
38859 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
38860 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
38861
38862 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
38863
38864 [BZ #17844]
38865 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
38866 (getutent): Use weak_alias in non SHARED case
38867 and default_symbol_version in SHARED case.
38868 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
38869 (getutent_r, pututline): Likewise.
38870 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
38871 (getutid): Likewise.
38872 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
38873 (getutid_r): Likewise.
38874 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
38875 (getutline): Likewise.
38876 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
38877 (getutline_r): Likewise.
38878 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
38879 (updwtmp): Likewise.
38880
38881 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
38882
38883 [BZ #17848]
38884 * sysdeps/s390/s390-32/memcmp.S
38885 (memcmp_g5): Rename to __memcmp_g5.
38886 * sysdeps/s390/s390-32/memcpy.S
38887 (memcpy_g5): Rename to __memcpy_g5.
38888 Jump to __memcpy_mvcle instead of memcpy_mvcle.
38889 (memcpy_mvcle) Rename to __memcpy_mvcle.
38890 * sysdeps/s390/s390-32/memset.S
38891 (memset_g5): Rename to __memset_g5.
38892 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38893 (IFUNC_RESOLVE): Prefix ifunc-resolve function
38894 and use prefixed functions.
38895 * sysdeps/s390/s390-32/multiarch/memcmp.S
38896 (memcmp_z196): Rename to __memcmp_z196.
38897 (memcmp_z10): Rename to __memcmp_z10.
38898 (memcmp): Set alias to __memcmp_g5.
38899 (bcmp): Set alias to __memcmp_g5.
38900 * sysdeps/s390/s390-32/multiarch/memcpy.S
38901 (memcpy_z196): Rename to __memcpy_z196.
38902 Jump to __memcpy_mvcle instead of memcpy_mvcle.
38903 (memcpy_z10): Rename to __memcpy_z10.
38904 Jump to __memcpy_mvcle instead of memcpy_mvcle.
38905 (memcpy): Set alias to __memcpy_g5.
38906 * sysdeps/s390/s390-32/multiarch/memset.S
38907 (memset_z196): Rename to __memset_z196.
38908 Jump to __memset_mvcle instead of memset_mvcle.
38909 (memset_z10): Rename to __memset_z10.
38910 Jump to __memset_mvcle instead of memset_mvcle.
38911 (memset_mvcle) Rename to __memset_mvcle.
38912 (memset): Set alias to __memset_g5.
38913 * sysdeps/s390/s390-64/memcmp.S
38914 (memcmp_z900): Rename to __memcmp_z900.
38915 * sysdeps/s390/s390-64/memcpy.S
38916 (memcpy_z900): Rename to __memcpy_z900.
38917 Jump to __memcpy_mvcle instead of memcpy_mvcle.
38918 (memcpy_mvcle) Rename to __memcpy_mvcle.
38919 * sysdeps/s390/s390-64/memset.S
38920 (memset_z900): Rename to __memset_z900.
38921 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
38922 (IFUNC_RESOLVE): Prefix ifunc-resolve function
38923 and use prefixed functions.
38924 * sysdeps/s390/s390-64/multiarch/memcmp.S
38925 (memcmp_z196): Rename to __memcmp_z196.
38926 (memcmp_z10): Rename to __memcmp_z10.
38927 (memcmp): Set alias to __memcmp_z900.
38928 (bcmp): Set alias to __memcmp_z900.
38929 * sysdeps/s390/s390-64/multiarch/memcpy.S
38930 (memcpy_z196): Rename to __memcpy_z196.
38931 Jump to __memcpy_mvcle instead of memcpy_mvcle.
38932 (memcpy_z10): Rename to __memcpy_z10.
38933 Jump to __memcpy_mvcle instead of memcpy_mvcle.
38934 (memcpy): Set alias to __memcpy_z900.
38935 * sysdeps/s390/s390-64/multiarch/memset.S
38936 (memset_z196): Rename to __memset_z196.
38937 Jump to __memset_mvcle instead of memset_mvcle.
38938 (memset_z10): Rename to __memset_z10.
38939 Jump to __memset_mvcle instead of memset_mvcle.
38940 (memset_mvcle) Rename to __memset_mvcle.
38941 (memset): Set alias to __memset_z900.
38942
38943 2015-01-14 Joseph Myers <joseph@codesourcery.com>
38944
38945 [BZ #17748]
38946 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
38947 __fesetenv instead of fesetenv.
38948
38949 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38950
38951 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
38952 macro.
38953
38954 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38955
38956 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
38957 regression on LE.
38958
38959 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
38960 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
38961 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
38962 strncmp-power8 object.
38963 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38964 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
38965 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
38966 * NEWS: Update.
38967
38968 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38969 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38970
38971 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
38972 trailing byte check.
38973
38974 2015-01-13 David S. Miller <davem@davemloft.net>
38975
38976 * include/signal.h (__sigreturn): Guard with __USE_MISC.
38977
38978 2015-01-13 Roland McGrath <roland@hack.frob.com>
38979
38980 * login/logout.c (logout): Use memset rather than bzero.
38981 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
38982 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
38983 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
38984 (_gethtbyaddr): Likewise.
38985 * locale/programs/simple-hash.c (bcopy): Macro removed.
38986
38987 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38988
38989 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38990 Add strcmp-power8 object.
38991 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38992 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
38993 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
38994 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
38995 __strcmp_power8 implementation.
38996 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
38997 * NEWS: Update.
38998
38999 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39000 Add strncpy-power8 and stpncpy-power8 objects.
39001 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39002 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
39003 implementations.
39004 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
39005 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
39006 __stpncpy_power8 implementation.
39007 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
39008 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
39009 __strncpy_power8 implementation.
39010 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
39011 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
39012 * NEWS: Update.
39013
39014 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
39015 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
39016 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
39017
39018 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
39019 strncat-power8 object.
39020 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
39021 __strcat_power8 implementation.
39022 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39023 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
39024 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
39025 optimized strcat for power8.
39026
39027 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
39028 strcpy-power8 and stpcpy-power8 objects.
39029 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39030 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
39031 implementations.
39032 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
39033 multiarch stpcpy implementation for POWER8.
39034 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
39035 multiarch strcpy implementation for POWER8.
39036 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
39037 __strcpy_power8 function.
39038 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
39039 stpcpy for POWER8.
39040 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
39041 strcpy for POWER8.
39042 * NEWS: Update.
39043
39044 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
39045
39046 [BZ #16009]
39047 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
39048 weights and rules. Use do_xfrm_cached if data fits in cache,
39049 do_xfrm otherwise. Moved former main loop to...
39050 * (do_xfrm_cached): New function.
39051 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
39052 find_idx, find_position and stack_push.
39053 * (find_idx): New function.
39054 * (find_position): Likewise.
39055 * localedata/sort-test.sh: Added test run for do_xfrm.
39056 * localedata/xfrm-test.c (main): Added command line option
39057 -nocache to run the test with strings that are too large for
39058 the STRXFRM cache.
39059
39060 2015-01-13 Torvald Riegel <triegel@redhat.com>
39061
39062 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
39063 variable to lll_futex_wake call, not the value itself.
39064
39065 2015-01-12 Joseph Myers <joseph@codesourcery.com>
39066
39067 [BZ #17803]
39068 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
39069 twom64. Adjust value to 0x1p-64L.
39070 (__scalblnl): Only return standard underflowing result for K <=
39071 -64 not K <= -63; adjust exponent for underflowing result by 64
39072 not 63.
39073 * math/libm-test.inc (scalbn_test_data): Add more tests.
39074 (scalbln_test_data): Likewise.
39075
39076 [BZ #17834]
39077 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
39078 0x1p63L.
39079 (__scalblnl): Get new exponent of adjusted subnormal value from ES
39080 not HX.
39081 * math/libm-test.inc (scalbn_test_data): Add more tests.
39082 (scalbln_test_data): Likewise.
39083
39084 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39085 Stefani Seibold <stefani@seibold.net>
39086
39087 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
39088 (sysdep_routines): Add dl-vdso here, ...
39089 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
39090 (sysdep_routines): ... not here.
39091 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
39092 fallback when vDSO is not presented.
39093 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
39094 Define with libc_hidden_proto/libc_hidden_data_def definitions.
39095 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
39096 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
39097 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
39098 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
39099 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
39100 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
39101 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
39102 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
39103 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
39104 fallback configurable symbol when vDSO is not available.
39105 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
39106 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
39107 be able to redefine fallback symbol when vDSO is not available.
39108 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
39109 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
39110
39111 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39112
39113 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
39114 (TLS_INIT_TP): Add tm_capable initialization.
39115 (TLS_DEFINE_INIT_TP): Likewise.
39116 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
39117 TCB.
39118 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
39119 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
39120 calculation.
39121 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
39122 transactoion is lock elision is built and TCB tm_capable is set.
39123 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
39124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39125 (INTERNAL_SYSCALL_NCS): Likewise.
39126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39127 (INTERNAL_SYSCALL_NCS): Likewise.
39128 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
39129
39130 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
39131 for powerpc.
39132 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39133 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
39134 and remove it for 32 bits case.
39135 [pthread_rwlock_t] (__rwelision): New field for lock elision.
39136 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
39137 initialization.
39138 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
39139 Disable lock elision with rdlocks if elision is not available.
39140
39141 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
39142 (sysdep_routines): Add lock elision objects.
39143 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39144 [pthread_mutex_t] (__spins): Rework to add lock elision field.
39145 [pthread_mutex_t] (__elision): Add field.
39146 [__PTHREAD_SPINS]: Adjust to init lock elision field.
39147 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
39148 elision definitions for powerpc.
39149 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
39150 implementation of lock elision for powerpc.
39151 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
39152 implementation of timed lock elision for powerpc.
39153 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
39154 implementation of trylock with lock elision for powerpc.
39155 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
39156 implementaion of unlock for lock elision for powerpc.
39157 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
39158 automatic enable lock elision for mutexes.
39159 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
39160 transaction execution definitions for powerpc.
39161 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
39162 definitions.
39163 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
39164 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
39165 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
39166 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
39167 * NEWS: Update.
39168
39169 2015-01-09 Roland McGrath <roland@hack.frob.com>
39170
39171 * sysdeps/posix/shm-directory.c: Use <> rather than ""
39172 for #include of <shm-directory.h>.
39173
39174 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
39175
39176 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
39177 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
39178
39179 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
39180
39181 [BZ #17791]
39182 * NEWS: Mention bug fix.
39183 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
39184 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
39185 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
39186
39187 2015-01-09 Torvald Riegel <triegel@redhat.com>
39188
39189 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
39190
39191 2015-01-09 Torvald Riegel <triegel@redhat.com>
39192
39193 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
39194
39195 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
39196
39197 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
39198 pointer and cast to uintptr_t.
39199
39200 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
39201
39202 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
39203 removed.
39204 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
39205
39206 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
39207
39208 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
39209 of 0.
39210
39211 2015-01-08 Roland McGrath <roland@hack.frob.com>
39212
39213 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
39214 <nptl/pthreadP.h> instead.
39215 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
39216
39217 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
39218 already defined.
39219 [__SIGRTMIN] (init): Function removed.
39220 [__SIGRTMIN] (initialized): Variable removed.
39221 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
39222 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
39223 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
39224 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
39225 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
39226 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
39227 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
39228 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
39229 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
39230 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
39231 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
39232 * sysdeps/nptl/allocrtsig.c: New file.
39233 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
39234 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
39235 * sysdeps/generic/testrtsig.h: File removed.
39236
39237 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
39238 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
39239
39240 * nptl/nptl-init.c (pthread_functions): Conditionalize
39241 .ptr__nptl_setxid initialization on [SIGSETXID].
39242
39243 * sysdeps/nptl/sys/procfs.h: New file.
39244 * nptl_db/Makefile (headers): Add it.
39245 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
39246
39247 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
39248 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
39249 * nptl/pthread_attr_setaffinity.c: Include it.
39250 * nptl/pthread_setattr_default_np.c: Likewise.
39251 * nptl/check-cpuset.h: New file.
39252
39253 2015-01-08 Richard Henderson <rth@redhat.com>
39254
39255 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
39256 (CFLAGS-tst-execstack-prog.c): Likewise.
39257 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
39258
39259 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
39260 Sandra Loosemore <sandra@codesourcery.com>
39261 Andrew Jenner <andrew@codesourcery.com>
39262 Joseph Myers <joseph@codesourcery.com>
39263 Nathan Sidwell <nathan@codesourcery.com>
39264
39265 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
39266 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
39267 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
39268 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
39269 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
39270 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
39271 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
39272 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
39273 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
39274 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
39275 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
39276 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
39277 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
39278 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
39279 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
39280 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
39281 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
39282
39283 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39284
39285 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
39286 timespec struct member in syscall macro.
39287 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
39288 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
39289 first timeval struct member in syscall macro.
39290 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
39291
39292 2015-01-07 Joseph Myers <joseph@codesourcery.com>
39293
39294 [BZ #17748]
39295 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
39296 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
39297 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
39298 __feupdateenv and define as weak alias of __feupdateenv. Use
39299 libm_hidden_weak.
39300 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
39301 libm_hidden_def.
39302 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
39303 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
39304 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
39305 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
39306 libm_hidden_def.
39307 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
39308 __feupdateenv and define as weak alias of __feupdateenv. Use
39309 libm_hidden_weak.
39310 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
39311 libm_hidden_def.
39312 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
39313 __feupdateenv and define as weak alias of __feupdateenv. Use
39314 libm_hidden_weak.
39315 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
39316 libm_hidden_def.
39317 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39318 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
39319 (__feupdateenv): Likewise.
39320 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
39321 __feupdateenv and define as weak alias of __feupdateenv. Use
39322 libm_hidden_weak.
39323 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39324 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
39325 libm_hidden_def.
39326 * sysdeps/tile/math_private.h (__feupdateenv): New inline
39327 function.
39328 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
39329 libm_hidden_def.
39330 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
39331 __feupdateenv instead of feupdateenv.
39332 (default_libc_feupdateenv_test): Likewise.
39333 (libc_feresetround_ctx): Likewise.
39334
39335 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39336
39337 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
39338 prototype.
39339
39340 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
39341
39342 * posix/regcomp.c (parse_bracket_exp): Initialize type to
39343 COLL_SYM in a couple of places to avoid uninitialized variable
39344 wanings on tilegx gcc 4.8.2.
39345
39346 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
39347
39348 * sysdeps/aarch64/strcpy.S: New file.
39349 * sysdeps/aarch64/stpcpy.S: New file.
39350 * NEWS: Updated.
39351
39352 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
39353
39354 * sysdeps/aarch64/strrchr.S: New file.
39355 * NEWS: Updated.
39356
39357 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
39358
39359 [BZ #17658]
39360 * stdlib/setenv.c: Fix memory leak when setting large,
39361 duplicate string.
39362
39363 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
39364
39365 [BZ #17273]
39366 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
39367 and tabs from buffer before parsing fstab entry.
39368 * misc/tst-mntent.c (main): Add test for mount entry with
39369 trailing spaces and tabs.
39370
39371 2015-01-06 Joseph Myers <joseph@codesourcery.com>
39372
39373 [BZ #17748]
39374 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
39375 * math/fesetround.c (fesetround): Rename to __fesetround and
39376 define as weak alias of __fesetround. Use libm_hidden_weak.
39377 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
39378 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
39379 * sysdeps/arm/fesetround.c (fesetround): Likewise.
39380 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
39381 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
39382 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
39383 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
39384 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
39385 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
39386 __fesetround_inline.
39387 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
39388 __fesetround_inline instead of __fesetround.
39389 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
39390 __fesetround and define as weak alias of __fesetround. Use
39391 libm_hidden_weak. Call __fesetround_inline instead of
39392 __fesetround.
39393 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
39394 __fesetround and define as weak alias of __fesetround. Use
39395 libm_hidden_weak.
39396 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
39397 Likewise.
39398 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
39399 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39400 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
39401 * sysdeps/tile/math_private.h (__fesetround): New inline function.
39402 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
39403 __fesetround and define as weak alias of __fesetround. Use
39404 libm_hidden_weak.
39405 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
39406 __fesetround instead of fesetround.
39407 (default_libc_feholdexcept_setround): Likewise.
39408 (libc_feholdsetround_ctx): Likewise.
39409 (libc_feholdsetround_noex_ctx): Likewise.
39410
39411 [BZ #17748]
39412 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
39413 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
39414 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
39415 and define as weak alias of __fesetenv. Use libm_hidden_weak.
39416 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39417 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
39418 define as weak alias of __fesetenv. Use libm_hidden_weak.
39419 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
39420 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39421 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39422 define as weak alias of __fesetenv. Use libm_hidden_weak.
39423 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39424 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39425 define as weak alias of __fesetenv. Use libm_hidden_weak.
39426 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
39427 libm_hidden_def.
39428 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
39429 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
39430 Likewise.
39431 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39432 define as weak alias of __fesetenv. Use libm_hidden_weak.
39433 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39434 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39435 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
39436 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
39437 and define as weak alias of __fesetenv. Use libm_hidden_weak.
39438 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
39439 __fesetenv instead of fesetenv.
39440 (libc_feresetround_noex_ctx): Likewise.
39441 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
39442 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
39443 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
39444 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
39445 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
39446 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
39447 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39448 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
39449 (__feupdateenv): Likewise.
39450 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39451 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39452 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
39453 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
39454
39455 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
39456
39457 [BZ #17806]
39458 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
39459 addresses have been freed.
39460
39461 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
39462
39463 * resolv/res_init.c (__res_vinit): Improve comments about nserv
39464 and nservall.
39465
39466 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
39467
39468 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
39469 Clean up check_pf allocation pattern. addresses
39470
39471 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39472
39473 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
39474 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
39475 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
39476 * nptl/pthread_exit.c (__pthread_exit): Likewise.
39477 * nptl/pthread_join.c (pthread_join): Likewise.
39478 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
39479 * sysdeps/posix/waitid.c (__waitid): Likewise.
39480 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
39481 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
39482 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
39483 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
39484 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
39485 Likewise.
39486 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
39487 (__libc_pread64): Likewise.
39488 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
39489 (__libc_pwrite): Likewise.
39490 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
39491 (__libc_pwrite64): Likewsie.
39492 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
39493 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
39494 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
39495 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
39496 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
39497 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
39498 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
39499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
39500 Likewise.
39501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39502 (__libc_pread64): Likewise.
39503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
39504 Likewise.
39505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39506 (__libc_pwrite64): Likewise.
39507 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
39508 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
39509 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
39510 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
39511 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
39512 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
39513 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
39514 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
39515 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
39516 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
39517 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
39518 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
39519 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
39520 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
39521 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
39522 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
39523 Likewise.
39524
39525 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
39526
39527 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
39528 (CFLAGS-test-double.c): Likewise.
39529 (CFLAGS-test-ldouble.c): Likewise.
39530 (CPPFLAGS-test-ifloat.c): Likewise.
39531 (CPPFLAGS-test-idouble.c): Likewise.
39532 (CPPFLAGS-test-ildoubl.c): Likewise.
39533 (CFLAGS-test-test-fenv.c): Remove variable.
39534 (CFLAGS-test-misc.c): Likewise.
39535
39536 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
39537
39538 [BZ #17797]
39539 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
39540 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
39541 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
39542 CLOCKS_PER_SEC == 1000000.
39543 * time/clocktest.c (main): Replace %ld with %jd and cast to
39544 intmax_t.
39545
39546 2015-01-05 Roland McGrath <roland@hack.frob.com>
39547
39548 * sysdeps/generic/unwind-resume.h: New file.
39549 * sysdeps/gnu/unwind-resume.c: Include it.
39550 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
39551 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
39552 argument list.
39553 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
39554 global rather than static.
39555 (_Unwind_Resume): Update user.
39556 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
39557 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
39558 rather than static. Add __attribute__ ((cold)).
39559 (_Unwind_Resume, __gcc_personality_v0): Update callers.
39560 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
39561 * sysdeps/arm/arm-unwind-resume.S: New file.
39562 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
39563 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
39564 * sysdeps/arm/Makefile [$(subdir) = csu]
39565 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
39566 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
39567 Add rt-arm-unwind-resume.
39568 [$(subdir) = nptl]
39569 (libpthread-sysdep_routines, libpthread-shared-only-routines):
39570 Add pt-arm-unwind-resume.
39571 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
39572 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
39573
39574 2015-01-05 Joseph Myers <joseph@codesourcery.com>
39575
39576 [BZ #17748]
39577 * include/fenv.h (__feholdexcept): Declare. Use
39578 libm_hidden_proto.
39579 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
39580 define as weak alias of __feholdexcept. Use libm_hidden_weak.
39581 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39582 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
39583 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
39584 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
39585 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
39586 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39587 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
39588 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
39589 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39590 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
39591 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
39592 (feholdexcept): Likewise.
39593 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
39594 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39595 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39596 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39597 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
39598 __feholdexcept instead of feholdexcept.
39599 (default_libc_feholdexcept_setround): Likewise.
39600
39601 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
39602
39603 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
39604 to avoid using stl/str to align destination.
39605
39606 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
39607
39608 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
39609
39610 2015-01-05 Joseph Myers <joseph@codesourcery.com>
39611
39612 [BZ #17796]
39613 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
39614 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
39615 Define as weak alias not strong alias.
39616
39617 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
39618
39619 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
39620 bltzal with addiupc.
39621 (RTLD_START): Ditto.
39622
39623 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
39624
39625 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
39626 for __vdso_* functions in declarations.
39627 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
39628 definitions.
39629 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
39630 INTERNAL_VSYSCALL): Use struct return types to check for error.
39631
39632 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
39633 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
39634 function with cast from llround().
39635 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
39636 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
39637 Define.
39638
39639 2015-01-05 Joseph Myers <joseph@codesourcery.com>
39640
39641 [BZ #17793]
39642 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
39643 Define as weak alias not strong alias.
39644
39645 [BZ #17635]
39646 * ctype/ctype-c99.c: New file. isblank implementation moved from
39647 ...
39648 * ctype/ctype-extn.c: ... here.
39649 (__isblank_l): Move to ...
39650 * ctype/ctype-c99_l.c: ... here. New file.
39651 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
39652 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
39653 Remove variable.
39654 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
39655 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
39656 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
39657 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
39658 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
39659
39660 [BZ #17777]
39661 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
39662 (posix_fadvise64): Define as weak alias not strong alias.
39663 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39664 (posix_fallocate64): Likewise.
39665 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
39666 Remove variable.
39667 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
39668 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
39669 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
39670 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
39671 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
39672
39673 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
39674
39675 [BZ #16191]
39676 * NEWS: Mention bug fix.
39677 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
39678 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
39679 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
39680 (HOST_STACK_END_ADDR): Likewise.
39681
39682 2015-01-02 Joseph Myers <joseph@codesourcery.com>
39683
39684 [BZ #17748]
39685 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
39686 * math/fegetround.c (fegetround): Rename to __fegetround and
39687 define as weak alias of __fegetround. Use libm_hidden_weak.
39688 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
39689 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
39690 * sysdeps/arm/fegetround.c (fegetround): Likewise.
39691 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
39692 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
39693 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
39694 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
39695 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
39696 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
39697 Undefine after rather than before function definition; use
39698 parentheses around function name in definition.
39699 (__fegetround): Also undefine macro after function definition.
39700 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
39701 __fegetround and define as weak alias of __fegetround. Use
39702 libm_hidden_weak. Do not undefine as macro.
39703 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
39704 Likewise.
39705 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
39706 __fegetround and define as weak alias of __fegetround. Use
39707 libm_hidden_weak.
39708 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39709 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
39710 * sysdeps/tile/math_private.h (__fegetround): New inline function.
39711 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
39712 __fegetround and define as weak alias of __fegetround. Use
39713 libm_hidden_weak.
39714 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
39715 __fegetround instead of fegetround.
39716
39717 [BZ #17782]
39718 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
39719 Condition macro definition on [__USE_MISC].
39720
39721 [BZ #17781]
39722 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
39723 (struct sigaction): Change type of sa_flags field to int.
39724
39725 [BZ #17780]
39726 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
39727 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
39728 __glibc_reserved0.
39729
39730 * nptl/version.c (banner): Use single year in copyright notice.
39731
39732 * NEWS: Update copyright dates.
39733 * catgets/gencat.c (print_version): Likewise.
39734 * csu/version.c (banner): Likewise.
39735 * debug/catchsegv.sh: Likewise.
39736 * debug/pcprofiledump.c (print_version): Likewise.
39737 * debug/xtrace.sh (do_version): Likewise.
39738 * elf/ldconfig.c (print_version): Likewise.
39739 * elf/ldd.bash.in: Likewise.
39740 * elf/pldd.c (print_version): Likewise.
39741 * elf/sotruss.sh: Likewise.
39742 * elf/sprof.c (print_version): Likewise.
39743 * iconv/iconv_prog.c (print_version): Likewise.
39744 * iconv/iconvconfig.c (print_version): Likewise.
39745 * locale/programs/locale.c (print_version): Likewise.
39746 * locale/programs/localedef.c (print_version): Likewise.
39747 * login/programs/pt_chown.c (print_version): Likewise.
39748 * malloc/memusage.sh (do_version): Likewise.
39749 * malloc/memusagestat.c (print_version): Likewise.
39750 * malloc/mtrace.pl: Likewise.
39751 * manual/libc.texinfo: Likewise.
39752 * nptl/version.c (banner): Likewise.
39753 * nscd/nscd.c (print_version): Likewise.
39754 * nss/getent.c (print_version): Likewise.
39755 * nss/makedb.c (print_version): Likewise.
39756 * posix/getconf.c (main): Likewise.
39757 * scripts/test-installation.pl: Likewise.
39758 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
39759
39760 2015-01-02 Will Newton <will.newton@linaro.org>
39761
39762 * sysdeps/arm/armv7/configure: Removed.
39763 * sysdeps/arm/armv7/configure.ac: Likewise.
39764
39765 2015-01-02 Joseph Myers <joseph@codesourcery.com>
39766
39767 * All files with FSF copyright notices: Update copyright dates
39768 using scripts/update-copyrights.
39769 * intl/plural.c: Regenerated.
39770 * locale/programs/charmap-kw.h: Likewise.
39771 * locale/programs/locfile-kw.h: Likewise.
39772
39773 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
39774
39775 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
39776
39777 2014-12-31 Joseph Myers <joseph@codesourcery.com>
39778
39779 [BZ #17748]
39780 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
39781 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
39782 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
39783 and define as weak alias of __fegetenv. Use libm_hidden_weak.
39784 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39785 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
39786 define as weak alias of __fegetenv. Use libm_hidden_weak.
39787 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
39788 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39789 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
39790 define as weak alias of __fegetenv. Use libm_hidden_weak.
39791 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39792 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
39793 define as weak alias of __fegetenv. Use libm_hidden_weak.
39794 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
39795 libm_hidden_def.
39796 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
39797 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
39798 Likewise.
39799 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
39800 define as weak alias of __fegetenv. Use libm_hidden_weak.
39801 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39802 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39803 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
39804 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
39805 and define as weak alias of __fegetenv. Use libm_hidden_weak.
39806 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
39807 __fegetenv instead of fegetenv.
39808 (libc_feholdsetround_noex_ctx): Likewise.
39809
39810 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
39811
39812 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
39813 (Elf_MIPS_ABIFlags_v0): New structure.
39814 (EF_MIPS_FP64): Define.
39815 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
39816 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
39817 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
39818 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
39819 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
39820 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
39821 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
39822 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
39823 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
39824 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
39825 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
39826 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
39827 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
39828 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
39829 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
39830 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
39831 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
39832 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
39833 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
39834 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
39835 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
39836 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
39837 field.
39838 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
39839 EF_MIPS_FP64.
39840 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
39841 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
39842 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
39843 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
39844 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
39845 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
39846 * sysdeps/mips/tst-abi-interlink.c: Likewise.
39847 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
39848 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
39849 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
39850 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
39851 record the current FP ABI extension.
39852 (mips-mode-switch): Define to show if kernel headers support mode
39853 switching.
39854 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
39855 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
39856 supported SYSV ABI version to 3.
39857 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
39858 feature.
39859
39860 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39861 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39862
39863 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
39864 path.
39865 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
39866
39867 2014-12-31 Joseph Myers <joseph@codesourcery.com>
39868
39869 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
39870 __fegetround and redefine to call __fegetround. Remove condition
39871 on [!__NO_MATH_INLINES].
39872 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
39873 function.
39874 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
39875 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
39876 Remove macro.
39877 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
39878 instead of <fenv_libc.h>.
39879 (__llrintl): Call fegetround instead of __fegetround.
39880 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
39881 instead of <fenv_libc.h>.
39882 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39883 (__lrintl): Call fegetround instead of __fegetround.
39884 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
39885 instead of <fenv_libc.h>.
39886 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39887 (__rintl): Call fegetround instead of __fegetround.
39888
39889 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39890
39891 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
39892 arrays.
39893
39894 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
39895
39896 [BZ #17775]
39897 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
39898 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
39899 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
39900
39901 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
39902
39903 * sysdeps/i386/tls-macros.h: Include <features.h>.
39904 (TLS_LE): Use non-PIC version for GCC >= 5.0.
39905 (TLS_IE): Likewise.
39906 (TLS_LD): Likewise.
39907 (TLS_GD): Likewise.
39908 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
39909 define for GCC >= 5.0.
39910
39911 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
39912
39913 * math/test-fenv.c (test_single_exception, set_single_exc,
39914 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
39915 feexcp_mask_test, feenable_test, fe_single_test): Add
39916 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
39917 case where they are not used.
39918 * math/libm-test.inc: Likewise.
39919 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
39920 unused in the absence of FP rounding/exception support.
39921 * stdio-common/tst-printf-round.c: Likewise.
39922 * stdlib/tst-strtod-round.c: Likewise.
39923 * stdlib/tst-strtod-underflow.c: Likewise.
39924
39925 2014-12-30 Joseph Myers <joseph@codesourcery.com>
39926
39927 [BZ #17723]
39928 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
39929 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
39930 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
39931 __feraiseexcept and define as weak alias of __feraiseexcept. Use
39932 libm_hidden_weak.
39933 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
39934 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
39935 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
39936 libm_hidden_def.
39937 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
39938 __feraiseexcept and define as weak alias of __feraiseexcept. Use
39939 libm_hidden_weak.
39940 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
39941 Likewise.
39942 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
39943 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
39944 __feraiseexcept and define as weak alias of __feraiseexcept. Use
39945 libm_hidden_weak.
39946 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
39947 libm_hidden_def.
39948 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
39949 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
39950 (__feraiseexcept): Likewise.
39951 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
39952 __feraiseexcept and define as weak alias of __feraiseexcept. Use
39953 libm_hidden_weak.
39954 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
39955 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
39956 libm_hidden_def.
39957 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
39958 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
39959 Use libm_hidden_def.
39960 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
39961 libm_hidden_def.
39962 (feraiseexcept): Define as weak not strong alias. Use
39963 libm_hidden_weak.
39964 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
39965 New inline function. Factored out of ...
39966 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
39967 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
39968 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
39969 feraiseexcept.
39970 * math/w_acos.c (__acos): Likewise.
39971 * math/w_asin.c (__asin): Likewise.
39972 * math/w_ilogb.c (__ilogb): Likewise.
39973 * math/w_j0.c (y0): Likewise.
39974 * math/w_j1.c (y1): Likewise.
39975 * math/w_jn.c (yn): Likewise.
39976 * math/w_log.c (__log): Likewise.
39977 * math/w_log10.c (__log10): Likewise.
39978 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
39979 * sysdeps/aarch64/fpu/math_private.h
39980 (libc_feupdateenv_test_aarch64): Likewise.
39981 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
39982 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
39983 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
39984 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
39985 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
39986 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
39987 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
39988 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39989 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39990 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
39991
39992 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
39993
39994 [BZ #17732]
39995 * io/test-utime.c (main): Replace %ld with %jd and cast to
39996 intmax_t.
39997 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
39998 * nptl/tst-mutex5.c: Include <stdint.h>.
39999 (do_test): Replace %ld with %jd and cast to intmax_t.
40000 * posix/tst-regex.c (run_test): Likewise.
40001 (run_test_backwards): Likewise.
40002 * rt/tst-clock.c: Include <stdint.h>.
40003 (clock_test): Replace %ld with %jd and cast to intmax_t.
40004 * rt/tst-cpuclock1.c: Include <stdint.h>.
40005 (do_test): Replace %lu with %ju and cast to uintmax_t.
40006 * rt/tst-cpuclock2.c: Include <stdint.h>.
40007 (do_test): Replace %lu with %ju and cast to uintmax_t.
40008 * rt/tst-mqueue1.c: Include <stdint.h>.
40009 (check_attrs): Replace %ld with %jd and cast to intmax_t.
40010 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
40011 intmax_t.
40012 * rt/tst-mqueue4.c (do_test): Likewise.
40013 * rt/tst-timer4.c: Include <stdint.h>.
40014 (check_ts): Replace %ld with %jd and cast to intmax_t.
40015 (do_test): Likewise.
40016 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
40017 and cast to intmax_t.
40018 * sysdeps/pthread/tst-timer.c (main): Likewise.
40019 * time/clocktest.c (main): Likewise.
40020 * time/tst-posixtz.c (do_test): Likewise.
40021 * timezone/tst-timezone.c (main): Likewise.
40022
40023 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
40024 H.J. Lu <hongjiu.lu@intel.com>
40025
40026 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
40027 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
40028 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
40029 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
40030 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
40031 version if bit_Fast_Unaligned_Load is set.
40032 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40033 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40034 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40035 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40036 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40037 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40038 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40039 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
40040 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
40041 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
40042 to 4.
40043 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
40044 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
40045 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
40046 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
40047
40048 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
40049
40050 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
40051 instead of #if to avoid a Wundef warning.
40052 * stdlib/tst-limits.c (do_test): Likewise.
40053
40054 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
40055 parallel other exception macros.
40056 (fegetenv): Convert from macro to extern inline so that it applies
40057 retroactively to inline functions already seen by the compiler.
40058 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
40059
40060 * posix/Makefile (before-compile): Use $(objpfx) for
40061 posix-conf-vars-def.h.
40062
40063 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
40064
40065 * posix/getconf.c (main): Use size_t for type of I.
40066 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
40067 NSPEC.
40068
40069 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
40070 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
40071 * posix/posix-envs.def: Likewise.
40072 * sysdeps/posix/sysconf.c: Likewise.
40073 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
40074 (specs): Remove array.
40075 * scripts/gen-posix-conf-vars.awk: Support generation of specs
40076 array.
40077
40078 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
40079 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
40080 (__sysconf): Use CONF_IS_* macros.
40081
40082 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
40083 ($(objpfx)posix-conf-vars-def.h): New target.
40084 * posix/posix-conf-vars.list: New file.
40085 * posix/posix-conf-vars.h: New file.
40086 * posix/confstr.c: Include posix-conf-vars.h.
40087 (confstr): Use CONF_IS_* macros.
40088 * posix/posix-envs.def: Include posix-conf-vars.h. Use
40089 CONF_IS_* macros.
40090 * scripts/gen-posix-conf-vars.awk: New file.
40091
40092 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
40093
40094 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
40095 fegetround): Add no-op macros to avoid linknamespace issues.
40096
40097 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
40098 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
40099
40100 * sysdeps/unix/sysv/linux/tile/sysdep.h
40101 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
40102 assembly-specific section to avoid a redefinition warning.
40103
40104 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
40105 long before casting to pointer to avoid a cast warning.
40106
40107 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
40108
40109 * sysdeps/tile/tilegx/Implies: New file.
40110
40111 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
40112
40113 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
40114
40115 2014-12-23 Florian Weimer <fweimer@redhat.com>
40116
40117 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
40118
40119 2014-12-22 Joseph Myers <joseph@codesourcery.com>
40120
40121 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
40122 not define.
40123 * sysdeps/unix/sysv/linux/utimes.c: Do not include
40124 <kernel-features.h>.
40125 (__utimes) [__NR_utimes]: Make code unconditional.
40126 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
40127 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40128 (__ASSUME_UTIMES): Do not undefine.
40129 * sysdeps/unix/sysv/linux/tile/kernel-features.h
40130 (__ASSUME_UTIMES): Likewise.
40131 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
40132 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
40133 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
40134 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
40135
40136 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
40137
40138 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
40139
40140 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
40141
40142 [BZ #17747]
40143 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
40144 alias to weak alias for j0l, y0l.
40145 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
40146 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
40147
40148 [BZ #17746]
40149 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
40150 conversion.
40151
40152 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
40153
40154 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
40155 to zero if not already defined.
40156
40157 2014-12-22 Joseph Myers <joseph@codesourcery.com>
40158
40159 [BZ #17724]
40160 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
40161 (__kernel_standard_f): Remove. Moved to k_standardf.c.
40162 (__kernel_standard_l): Remove. Moved to k_standardl.c with
40163 (char *) casts added.
40164 * sysdeps/ieee754/k_standardf.c: New file.
40165 * sysdeps/ieee754/k_standardl.c: Likewise.
40166 * math/Makefile (libm-support): Remove k_standard.
40167 (libm-calls): Add k_standard.
40168
40169 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
40170
40171 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
40172 Optimize to avoid an unnecessary FPCR read.
40173
40174 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
40175
40176 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
40177 Optimize to reduce FPCR/FPSR accesses.
40178
40179 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
40180
40181 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
40182 Call libc_fetestexcept_aarch64.
40183
40184 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
40185
40186 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
40187 Call libc_fesetround_aarch64.
40188
40189 2014-12-22 Joseph Myers <joseph@codesourcery.com>
40190
40191 [BZ #17733]
40192 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
40193 (__bind): Do not define as weak alias.
40194 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
40195 define.
40196 (__getsockname): Do not define as weak alias.
40197
40198 2014-12-22 Will Newton <will.newton@linaro.org>
40199
40200 * manual/install.texi: Document that we require bison 2.7
40201 or above.
40202 * INSTALL: Regenerate.
40203 * configure.ac: Use AC_CHECK_PROG_VER instead of
40204 AC_PATH_PROG when checking for bison and check for
40205 version 2.7 or above.
40206 * configure: Regenerate.
40207
40208 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
40209
40210 [BZ #17745]
40211 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
40212 * sysdeps/tile/ffsll.c (ffsll): To here.
40213
40214 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
40215
40216 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
40217
40218 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
40219 if not defined.
40220 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
40221 definition.
40222 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
40223 hidden ___tls_get_addr.
40224 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
40225 hidden __tls_get_addr.
40226 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
40227 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
40228 Likewise.
40229
40230 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
40231
40232 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
40233 _dl_init call.
40234
40235 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
40236
40237 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
40238 from "call _dl_init@PLT".
40239 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
40240
40241 2014-12-21 Anders Kaseorg <andersk@mit.edu>
40242
40243 * manual/search.texi: (Array Sort Function): Clarify stable sorting
40244 guarantees.
40245
40246 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
40247
40248 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
40249
40250 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
40251
40252 [BZ #17744]
40253 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
40254 strnlen.
40255
40256 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
40257
40258 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
40259 of multu on MIPSr6.
40260 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
40261 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
40262 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
40263 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
40264 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
40265
40266 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
40267
40268 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
40269 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
40270 (PTR_SUBU): Use subu for mips32r6/mips64r6.
40271 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
40272 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
40273 mips32r6/mips64r6.
40274 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
40275
40276 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
40277
40278 * string/strncat.c (STRNCAT): Simplify implementation.
40279
40280 2014-12-19 David S. Miller <davem@davemloft.net>
40281
40282 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
40283 access the quad as both a long double and as a series of 4 words.
40284
40285 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
40286 link_map->l_info array access.
40287
40288 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
40289
40290 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
40291
40292 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
40293 * math/atest-exp2.c (TIMEOUT): Likewise.
40294 * math/atest-sincos.c (TIMEOUT): Likewise.
40295
40296 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
40297
40298 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
40299 -Wno-error with -fno-builtin-lround.
40300
40301 2014-12-19 Torvald Riegel <triegel@redhat.com>
40302
40303 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
40304 Contains futex constants and functions moved over from ...
40305 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
40306 <lowlevellock-futex.h>.
40307 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
40308 (lll_timedwait_tid): Add comments and parentheses around macro
40309 arguments.
40310
40311 2014-12-19 Torvald Riegel <triegel@redhat.com>
40312
40313 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
40314 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
40315 (__lll_private_flag): Remove.
40316 (lll_futex_wait): Likewise.
40317 (lll_futex_timed_wait): Likewise.
40318 (lll_futex_wake): Likewise.
40319 (lll_futex_requeue): Likewise.
40320 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
40321 (__lll_timedwait_tid): Spell out argument names.
40322 (lll_timedwait_tid): Add comments and parentheses around macro
40323 arguments.
40324 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
40325 LLL_SHARED and LLL_PRIVATE usable from assembly code.
40326
40327 2014-12-19 Torvald Riegel <triegel@redhat.com>
40328
40329 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
40330 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
40331 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40332 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
40333 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
40334 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
40335 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
40336 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
40337 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
40338 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
40339 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
40340 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
40341 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
40342 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
40343 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
40344 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
40345 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
40346 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
40347 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
40348
40349 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
40350
40351 * sysdeps/x86_64/x32/Makefile: New file.
40352
40353 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
40354
40355 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
40356 1L with (mp_limb_t) 1.
40357
40358 2014-12-17 Roland McGrath <roland@hack.frob.com>
40359
40360 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
40361 * nptl/libc_pthread_init.c: ... here.
40362 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
40363 * nptl/register-atfork.c: ... here.
40364
40365 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
40366 Use pthread_sigmask rather than INTERNAL_SYSCALL.
40367 Use assert_perror to check its return value.
40368 (__gai_create_helper_thread): Likewise.
40369
40370 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
40371
40372 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
40373
40374 2014-12-17 Joseph Myers <joseph@codesourcery.com>
40375
40376 [BZ #17725]
40377 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
40378 __profil_counter.
40379 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
40380 Likewise.
40381 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
40382 Likewise.
40383 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
40384 Likewise.
40385 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
40386 (profil_counter): Likewise.
40387 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
40388 (profil_counter): Likewise.
40389 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
40390 Likewise.
40391 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
40392 Likewise.
40393 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
40394 (profil_counter): Likewise.
40395 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
40396 Likewise.
40397 [!__profil_counter] (profil_counter): Define as weak alias of
40398 __profil_counter.
40399 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
40400 (profil_counter): Rename to __profil_counter.
40401 [!__profil_counter] (profil_counter): Define as weak alias of
40402 __profil_counter.
40403 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
40404 (profil_counter): Rename to __profil_counter.
40405 [!__profil_counter] (profil_counter): Define as weak alias of
40406 __profil_counter.
40407 * sysdeps/posix/profil.c: Update comment referring to
40408 profil_counter.
40409 (__profil): Use __profil_counter instead of profil_counter.
40410 * sysdeps/posix/sprofil.c (profil_counter): Rename to
40411 __profil_counter. Use __profil_counter_ushort and
40412 __profil_counter_uint in definitions.
40413 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
40414 instead of profil_counter_uint and profil_counter_ushort.
40415
40416 [BZ #17722]
40417 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
40418 define as weak alias of __inet_makeaddr.
40419 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
40420 as weak alias of __inet_addr.
40421 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
40422 as weak alias of __inet_pton. Use libc_hidden_weak.
40423 * include/arpa/inet.h (__inet_pton): Declare. Use
40424 libc_hidden_proto.
40425 (inet_makeaddr): Don't use libc_hidden_proto.
40426 (__inet_makeaddr): Declare. Use libc_hidden_proto.
40427 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
40428 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
40429 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
40430 Remove variable.
40431 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
40432 (test-xfail-POSIX/time.h/linknamespace): Likewise.
40433
40434 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
40435
40436 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
40437
40438 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
40439
40440 * stdio-common/bug-vfprintf-nargs.c (do_test):
40441 Cast value to intptr_t to avoid format warning
40442 for usage with PRIdPTR printing macro.
40443
40444 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
40445
40446 * libio/tst-widetext.c (do_test):
40447 Use format type %td instead of %Zd for ptrdiff_t
40448 in order to avoid format warning.
40449
40450 2014-12-17 Andreas Schwab <schwab@suse.de>
40451
40452 * nscd/mem.c (gc): Add size_t cast to match printf format.
40453
40454 2014-12-16 Roland McGrath <roland@hack.frob.com>
40455
40456 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
40457 (init): Apply PTR_MANGLE to pointers before storing them.
40458 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
40459 before using them.
40460
40461 2014-12-16 Joseph Myers <joseph@codesourcery.com>
40462
40463 [BZ #17719]
40464 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
40465 define as weak alias of __memrchr.
40466 (__memrchr): Do not define as strong alias of memrchr.
40467 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
40468 Remove variable.
40469 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
40470 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
40471 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
40472
40473 [BZ #17717]
40474 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
40475 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
40476 (if_indextoname): Rename to __if_indextoname and define as weak
40477 alias of __if_indextoname. Use libc_hidden_weak.
40478 (if_freenameindex): Rename to __if_freenameindex and define as
40479 weak alias of __if_freenameindex.
40480 (if_nameindex): Rename to __if_nameindex and define as weak alias
40481 of __if_nameindex.
40482 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
40483 __if_nametoindex and define as weak alias of __if_nametoindex.
40484 Use libc_hidden_weak.
40485 (if_freenameindex): Rename to __if_freenameindex and define as
40486 weak alias of __if_freenameindex.
40487 (if_nameindex): Rename to __if_nameindex and define as weak alias
40488 of __if_nameindex.
40489 (if_indextoname): Rename to __if_indextoname and define as weak
40490 alias of __if_indextoname. Use libc_hidden_weak.
40491 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
40492 __if_nametoindex and define as weak alias of __if_nametoindex.
40493 Use libc_hidden_weak.
40494 (if_freenameindex): Rename to __if_freenameindex and define as
40495 weak alias of __if_freenameindex. Use libc_hidden_weak.
40496 (if_nameindex_netlink): Use __if_freenameindex instead of
40497 if_freenameindex.
40498 (if_nameindex): Rename to __if_nameindex and define as weak alias
40499 of __if_nameindex. Use libc_hidden_weak.
40500 (if_indextoname): Rename to __if_indextoname and define as weak
40501 alias of __if_indextoname. Use libc_hidden_weak.
40502 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
40503 libc_hidden_proto.
40504 [!_ISOMAC] (__if_freenameindex): Likewise.
40505 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
40506 if_nametoindex.
40507 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
40508 variable.
40509 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
40510 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
40511 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
40512 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
40513 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
40514 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
40515 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
40516
40517 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
40518 Remove variable.
40519 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
40520 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
40521
40522 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40523
40524 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
40525 subscript above bounds'
40526
40527 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
40528 bounds.
40529
40530 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
40531
40532 * libio/tst-fopenloc.c: Use test-skeleton.c.
40533
40534 * stdlib/tst-bsearch.c: Use test-skeleton.c.
40535 (entry): Rename to ITEM.
40536 (do_test, comp): Adjust.
40537
40538 * stdio-common/tst-fseek.c: Use test-skeleton.c.
40539
40540 2014-12-16 Torvald Riegel <triegel@redhat.com>
40541
40542 * string/tester.c: Include <libc-internal.h>.
40543 (test_memset): Ignore -Wmemset-transposed-args.
40544
40545 2014-12-16 Torvald Riegel <triegel@redhat.com>
40546
40547 * misc/tst-mntent2.c (do_test): Fix warning.
40548
40549 2014-12-16 Torvald Riegel <triegel@redhat.com>
40550
40551 * elf/tst-unique4lib.cc(a): Mark as used.
40552
40553 2014-12-16 Florian Weimer <fweimer@redhat.com>
40554
40555 [BZ #17630]
40556 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
40557 names.
40558
40559 2014-12-16 Allan McRae <allan@archlinux.org>
40560
40561 * stdio-common/Makefile (tests): Re-add bug26.
40562
40563 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
40564
40565 [BZ #17657]
40566 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
40567 static array.
40568
40569 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
40570
40571 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
40572 (__lll_lock_wait): Likewise.
40573 (__lll_timedlock_wait): Likewise.
40574 (__lll_timedwait_tid): Likewise.
40575 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
40576 (__lll_robust_timedlock_wait): Likewise.
40577 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
40578 (lll_cond_trylock): Likewise.
40579 (__lll_lock): Likewise.
40580 (__lll_robust_lock): Likewise.
40581 (__lll_cond_lock): Likewise.
40582 (lll_robust_cond_lock): Likewise.
40583 (__lll_timedlock): Likewise.
40584 (__lll_robust_timedlock): Likewise.
40585 (__lll_unlock): Likewise.
40586 (__lll_robust_unlock): Likewise.
40587 (lll_wait_tid): Likewise.
40588 (lll_timedwait_tid): Likewise.
40589
40590 2014-12-15 Torvald Riegel <triegel@redhat.com>
40591
40592 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
40593
40594 2014-12-15 Torvald Riegel <triegel@redhat.com>
40595
40596 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
40597
40598 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
40599
40600 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
40601 * stdio-common/tst-sprintf.c: Likewise.
40602
40603 2014-12-15 Torvald Riegel <triegel@redhat.com>
40604
40605 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
40606
40607 2014-12-15 Jeff Law <law@redhat.com>
40608
40609 [BZ #16617]
40610 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
40611 on the heap. (CVE-2012-3406)
40612 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
40613 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
40614 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
40615
40616 2014-12-15 Will Newton <will.newton@linaro.org>
40617
40618 * manual/install.texi: Bump required version of texinfo
40619 to 4.7 from 4.5.
40620 * INSTALL: Regenerated.
40621 * configure.ac: Check for makeinfo version 4.7 and above.
40622 * configure: Regenerated.
40623
40624 2014-12-12 Roland McGrath <roland@hack.frob.com>
40625
40626 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
40627 PREFIX, string constant to insert between directory and name.
40628 * sysdeps/posix/shm_open.c: Update caller.
40629 * sysdeps/posix/shm_unlink.c: Likewise.
40630 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
40631 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
40632 (SEM_SHM_PREFIX): New macro.
40633 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
40634 [$(have-thread-library) = no].
40635 * nptl/Makefile (libpthread-routines): Add shm-directory.
40636 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
40637 * sysdeps/nptl/shm-directory.h: New file.
40638 * sysdeps/posix/shm-directory.c
40639 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
40640 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
40641 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
40642 INTERNAL_SYSCALL.
40643 (__where_is_shmfs): Function removed.
40644 (mountpoint, defaultmount, defaultdir, __namedsem_once):
40645 Variables removed.
40646 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
40647 Use SHM_GET_NAME.
40648 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
40649
40650 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
40651 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
40652 unconditional for use inside libpthread.
40653 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
40654
40655 2014-12-12 Roland McGrath <roland@hack.frob.com>
40656
40657 * nptl/pthread_getaffinity.c: New file.
40658 * nptl/pthread_setaffinity.c: New file.
40659 * nptl/pthread_getname.c: New file.
40660 * nptl/pthread_setname.c: New file.
40661
40662 * nptl/pthread_create.c (START_THREAD_DEFN)
40663 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
40664
40665 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
40666 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40667
40668 * resolv/res_send.c (send_vc): Disable warning resplen may
40669 be used uninitialized.
40670
40671 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
40672
40673 * nptl/tst-mutex6.c
40674 (ATTR_NULL): New define checks ATTR against NULL.
40675 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
40676 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
40677
40678 2014-12-11 James Lemke <jwlemke@codesourcery.com>
40679
40680 [BZ #17581]
40681 * malloc/hooks.c
40682 (mem2mem_check): Revert my previous change.
40683 (malloc_check_get_size): Revert my previous change.
40684 (mem2chunk_check): Revert my previous change.
40685
40686 2014-12-11 Roland McGrath <roland@hack.frob.com>
40687
40688 * sysdeps/posix/shm-directory.c: New file.
40689 * sysdeps/posix/shm-directory.h: New file.
40690 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
40691 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
40692 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
40693 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
40694 Transmute EPERM to EACCES.
40695 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
40696 from ...
40697 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
40698 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
40699
40700 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40701
40702 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
40703 pointer and cast to uintptr_t.
40704 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
40705 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
40706 Add cast to avoid warning.
40707 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
40708
40709 2014-12-11 Joseph Myers <joseph@codesourcery.com>
40710
40711 * nptl/semaphore.h: Move to ...
40712 * sysdeps/pthread/semaphore.h: ... here.
40713 * Makefile (installed-headers): Change nptl/semaphore.h to
40714 sysdeps/pthread/semaphore.h.
40715
40716 2014-12-11 Roland McGrath <roland@hack.frob.com>
40717
40718 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
40719 generated error format strings.
40720
40721 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
40722 -Wformat-extra-args warnings for scanf formats.
40723 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
40724 test of zero-length format (duh).
40725 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
40726 corner-case scanf format test.
40727 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
40728 generated fprintf format string.
40729 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
40730 corner-case sprintf format tests.
40731 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
40732 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
40733 -Wformat-extra-args warnings throughout.
40734 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
40735 (CFLAGS-scanf4.c): Likewise.
40736 (CFLAGS-scanf7.c): Likewise.
40737 (CFLAGS-tst-sprintf.c): Likewise.
40738 (CFLAGS-tst-printf.c): Likewise.
40739 (CFLAGS-tst-printfsz.c): Likewise.
40740
40741 2014-12-11 Joseph Myers <joseph@codesourcery.com>
40742
40743 * include/cpio.h: New file.
40744 * include/fmtmsg.h: Likewise.
40745
40746 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
40747 corresponding format argument to size_t.
40748 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
40749 arguments.
40750 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
40751 corresponding format argument to size_t.
40752 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
40753 arguments.
40754 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
40755 corresponding format argument to size_t.
40756 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
40757 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
40758 (CFLAGS-tst-mbswcs2.c): Likewise.
40759 (CFLAGS-tst-mbswcs3.c): Likewise.
40760 (CFLAGS-tst-mbswcs4.c): Likewise.
40761 (CFLAGS-tst-mbswcs5.c): Likewise.
40762 (CFLAGS-tst-trans.c): Likewise.
40763
40764 2014-12-11 Roland McGrath <roland@hack.frob.com>
40765
40766 * posix/regexbug1.c (main): Use "%s" format with regerror results,
40767 rather than assuming they won't contain any '%'s.
40768
40769 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
40770
40771 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
40772 inhibit_loop_to_libcall to avoid recursive calls.
40773 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
40774 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
40775
40776 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
40777
40778 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
40779 prototype.
40780
40781 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
40782
40783 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
40784 integer value instead of boolean.
40785
40786 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
40787
40788 * malloc/malloc.c: Fix powerof2 check.
40789
40790 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
40791
40792 * locale/programs/locfile.h (maybe_swap_uint32):
40793 Remove inline and add unused attribute.
40794
40795 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
40796
40797 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
40798 Truncating assembler expression to a .long expression.
40799
40800 2014-12-11 Andreas Schwab <schwab@suse.de>
40801
40802 * elf/rtld.c (struct map_args): Constify str member.
40803 (do_preload): Constify fname argument.
40804
40805 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40806
40807 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
40808 constants definition.
40809
40810 2014-12-11 Andreas Schwab <schwab@suse.de>
40811
40812 [BZ #16657]
40813 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
40814 FORCE_ELISION instead of DO_ELISION.
40815 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
40816 Remove.
40817 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
40818 Likewise.
40819
40820 * iconvdata/gconv-modules: Remove duplicate entry.
40821
40822 2014-12-11 Will Newton <will.newton@linaro.org>
40823
40824 Merge gettext 0.19.3 into intl/.
40825
40826 This involves a number of cosmetic changes to comments
40827 and ANSI function definitions and prototypes throughout
40828 all the files. The gettext copyright header is used but
40829 with the date ranges taken from the glibc copy.
40830
40831 * NEWS: Add gettext merge to 2.21.
40832 * intl/bindtextdom.c: Switch to gettext copyright.
40833 Use ANSI definitions and prototypes.
40834 Use gl_* locking primitives rather than __libc_* ones.
40835 Use __builtin_expect rather than __glibc_likely/unlikely.
40836 * intl/dcgettext.c: Switch to gettext copyright.
40837 Use ANSI definitions and prototypes.
40838 * intl/dcigettext.c: Switch to gettext copyright.
40839 Use ANSI definitions and prototypes.
40840 (INTDIV0_RAISES_SIGFPE): New define.
40841 Use gl_* locking primitives rather than __libc_* ones.
40842 Include eval-plural.h instead of plural-eval.c.
40843 Use __builtin_expect rather than __glibc_likely/unlikely.
40844 * intl/dcngettext.c: Switch to gettext copyright.
40845 Use ANSI definitions and prototypes.
40846 * intl/dgettext.c: Likewise.
40847 * intl/dngettext.c: Likewise.
40848 * intl/plural-eval.c: Renamed to...
40849 * intl/eval-plural.h: ...this.
40850 * intl/explodename.c: Switch to gettext copyright.
40851 Use ANSI definitions and prototypes.
40852 (_nl_explode_name): Use strchr instead of __rawmemchr.
40853 * intl/finddomain.c: Switch to gettext copyright.
40854 Use ANSI definitions and prototypes.
40855 Use gl_* locking primitives rather than __libc_* ones.
40856 (_nl_find_domain): Use malloc rather than alloca for
40857 allocation of temporary locale name.
40858 * intl/gettext.c: Switch to gettext copyright.
40859 Use ANSI definitions and prototypes.
40860 * intl/gettextP.h: Switch to gettext copyright.
40861 Use ANSI definitions and prototypes.
40862 Use gl_* locking primitives rather than __libc_* ones.
40863 * intl/gmo.h: Switch to gettext copyright.
40864 (struct sysdep_string): Move struct segment_pair outside of
40865 struct definition.
40866 * intl/hash-string.c: Use ANSI definitions and prototypes.
40867 * intl/hash-string.h: Switch to gettext copyright.
40868 Use ANSI definitions and prototypes.
40869 * intl/l10nflist.c: Switch to gettext copyright.
40870 Use ANSI definitions and prototypes.
40871 (_nl_normalize_codeset): Avoid integer overflow.
40872 * intl/loadinfo.h: Switch to gettext copyright.
40873 Use ANSI definitions and prototypes.
40874 (LIBINTL_DLL_EXPORTED): New define.
40875 (PATH_SEPARATOR): New define.
40876 * intl/loadmsgcat.c: Switch to gettext copyright.
40877 * intl/localealias.c: Switch to gettext copyright.
40878 Use ANSI definitions and prototypes.
40879 (_nl_expand_alias): Use PATH_SEPARATOR.
40880 * intl/ngettext.c: Switch to gettext copyright.
40881 Use ANSI definitions and prototypes.
40882 * intl/plural-exp.c: Likewise.
40883 * intl/plural-exp.h: Switch to gettext copyright.
40884 Use ANSI definitions and prototypes.
40885 (struct expression): Move definition of enum operator outside
40886 of struct definition.
40887 * intl/plural.c: Regenerate.
40888 * intl/plural.y: Switch to gettext copyright.
40889 Use ANSI definitions and prototypes.
40890 Port to bison 3.0.
40891 * intl/textdomain.c: Switch to gettext copyright.
40892 Use ANSI definitions and prototypes.
40893 Use gl_* locking primitives rather than __libc_* ones.
40894
40895 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
40896
40897 * debug/warning-nop.c: Add used atrribute.
40898
40899 2014-12-10 Joseph Myers <joseph@codesourcery.com>
40900
40901 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
40902
40903 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
40904 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
40905 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
40906
40907 2014-12-10 Joseph Myers <joseph@codesourcery.com>
40908 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40909
40910 [BZ #17634]
40911 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
40912 Undefine after defining function. Define as weak alias of
40913 __wcschr. Use libc_hidden_weak.
40914 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
40915 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
40916 (libc_hidden_def): Also define __GI___wcschr alias.
40917 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
40918 __wcschr and define as weak alias of __wcschr.
40919 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
40920 __wcschr.
40921 [!WCSCHR] (DEFAULT_WCSCHR): Define.
40922 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
40923 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
40924 libc_hidden_weak. Do not use libc_hidden_def.
40925 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
40926 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
40927 __GI___wcschr alias.
40928 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
40929 [IS_IN (libc)] (wcschr): Define as macro expanding to
40930 __redirect_wcschr.
40931 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
40932 [IS_IN (libc)] (__wcschr_power6): Likewise.
40933 [IS_IN (libc)] (__wcschr_power7): Likewise.
40934 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
40935 instead of wcschr.
40936 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
40937 __libc_wcschr.
40938 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
40939 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
40940 __wcschr and define as weak alias of __wcschr. Use
40941 libc_hidden_builtin_def.
40942 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
40943 as weak alias of __wcschr. Use libc_hidden_weak.
40944 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
40945 wcschr.
40946 * time/era.c (_nl_init_era_entries): Likewise.
40947 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
40948 variable.
40949 (test-xfail-XPG3/time.h/linknamespace): Likewise.
40950 (test-xfail-XPG4/time.h/linknamespace): Likewise.
40951
40952 2014-12-10 Joseph Myers <joseph@codesourcery.com>
40953
40954 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
40955 format for long int variable.
40956
40957 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
40958
40959 [BZ #10672]
40960 * manual/search.texi: (Array Sort Function): Remove claim how to make
40961 qsort stable.
40962
40963 2014-12-10 Andreas Schwab <schwab@suse.de>
40964
40965 [BZ #12847]
40966 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
40967 user-controlled locks.
40968
40969 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
40970
40971 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
40972 register.
40973
40974 2014-12-10 Joseph Myers <joseph@codesourcery.com>
40975
40976 * configure.ac (--disable-werror): New configure option.
40977 (enable_werror): New AC_SUBST.
40978 * configure: Regenerated.
40979 * config.make.in (enable-werror): New variable.
40980 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
40981 -Wno-error=undef.
40982 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
40983 * manual/install.texi (Configuring and compiling): Document
40984 --disable-werror.
40985 * INSTALL: Regenerated.
40986 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
40987 (CFLAGS-tst-chk2.c): Likewise.
40988 (CFLAGS-tst-chk3.c): Likewise.
40989 (CFLAGS-tst-chk4.cc): Likewise.
40990 (CFLAGS-tst-chk5.cc): Likewise.
40991 (CFLAGS-tst-chk6.cc): Likewise.
40992 (CFLAGS-tst-lfschk1.c): Likewise.
40993 (CFLAGS-tst-lfschk2.c): Likewise.
40994 (CFLAGS-tst-lfschk3.c): Likewise.
40995 (CFLAGS-tst-lfschk4.cc): Likewise.
40996 (CFLAGS-tst-lfschk5.cc): Likewise.
40997 (CFLAGS-tst-lfschk6.cc): Likewise.
40998
40999 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
41000 (main): Disable -Wdeprecated-declarations around calls to
41001 register_printf_function.
41002
41003 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
41004 (do_test): Disable -Wdiv-by-zero around some calls to
41005 fwrite_unlocked and fread_unlocked.
41006
41007 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
41008 (DIAG_POP_NEEDS_COMMENT): Likewise.
41009 (_DIAG_STR1): Likewise.
41010 (_DIAG_STR): Likewise.
41011 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
41012 * stdio-common/bug21.c: Include <libc-internal.h>.
41013 (do_test): Disable -Wformat around call to sscanf.
41014 * stdio-common/scanf14.c: Include <libc-internal.h>.
41015 (main): Disable -Wformat around some calls to scanf functions.
41016
41017 2014-12-09 Torvald Riegel <triegel@redhat.com>
41018
41019 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
41020
41021 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41022
41023 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
41024 stack variable alignment.
41025
41026 2014-12-06 Joseph Myers <joseph@codesourcery.com>
41027
41028 [BZ #17682]
41029 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
41030 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
41031 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
41032 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
41033 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
41034 __getrlimit instead of getrlimit.
41035 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
41036 __gettimeofday instead of gettimeofday.
41037 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
41038 Likewise.
41039 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
41040 Likewise.
41041 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41042 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
41043 Remove variable.
41044 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
41045 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
41046
41047 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41048
41049 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
41050 for wide-character tests.
41051
41052 2014-12-04 Roland McGrath <roland@hack.frob.com>
41053
41054 * io/openat64.c: #include <libc-internal.h>
41055 (__openat64): Prototypify. Use ignore_value on MODE.
41056 * io/openat.c: Likewise.
41057 * misc/reboot.c: #include <libc-internal.h>
41058 (reboot): Prototypify. Use ignore_value on HOWTO.
41059 * misc/ptrace.c: #include <libc-internal.h>
41060 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
41061
41062 2014-12-04 Joseph Myers <joseph@codesourcery.com>
41063
41064 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
41065 XPG4, UNIX98 and XOPEN2K.
41066 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
41067 Remove variable.
41068 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
41069
41070 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41071
41072 * libio/fileops.c: Use ISO C style for function definitions.
41073 * libio/iofopen.c: Likewise.
41074 * libio/wfileops.c: Likewise.
41075
41076 [BZ #17653]
41077 * libio/fileops.c (_IO_new_file_underflow): Unset cached
41078 offset on EOF.
41079 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
41080 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
41081 (fgets_func): Function pointer to fgets and fgetws.
41082 (do_ftell_test): Add test to verify ftell value after read
41083 EOF.
41084 (do_test): Set fgets_func.
41085
41086 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
41087 O_TRUNC flag for w and w+ modes.
41088 (do_rewind_test): Likewise.
41089 (do_ftell_test): Likewise.
41090 (do_write_test): Likewise.
41091
41092 [BZ #17647]
41093 * libio/fileops.c (do_ftell): Seek only when there are
41094 unflushed writes.
41095 * libio/wfileops.c (do_ftell_wide): Likewise.
41096 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
41097 test case.
41098 (do_one_test): Call it.
41099
41100 2014-12-03 Joseph Myers <joseph@codesourcery.com>
41101
41102 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
41103 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
41104 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
41105 Remove variable.
41106 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
41107 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
41108 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
41109
41110 2014-12-02 Joseph Myers <joseph@codesourcery.com>
41111
41112 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
41113 Remove variable.
41114 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
41115
41116 [BZ #17668]
41117 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
41118 as weak alias of __getifaddrs. Use libc_hidden_weak.
41119 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
41120 __freeifaddrs. Use libc_hidden_weak.
41121 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
41122 define as weak alias of __getifaddrs. Use libc_hidden_weak.
41123 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
41124 __freeifaddrs. Use libc_hidden_weak.
41125 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
41126 __getifaddrs and define as weak alias of __getifaddrs. Use
41127 libc_hidden_weak.
41128 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
41129 __freeifaddrs. Use libc_hidden_weak.
41130 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
41131 Remove variable.
41132 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
41133 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
41134
41135 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
41136
41137 [BZ #17601]
41138 * sysdeps/mips/start.S (__start): Use indirect jump to call
41139 __libc_start_main.
41140
41141 2014-12-02 Joseph Myers <joseph@codesourcery.com>
41142
41143 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
41144
41145 * nptl/tst-mutex1.c: Include <stdbool.h>.
41146 [!ATTR] (ATTR_NULL): New macro.
41147 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
41148 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
41149 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
41150
41151 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
41152 to char *.
41153
41154 [BZ #17665]
41155 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
41156 Change conditional to [__USE_MISC].
41157
41158 [BZ #17664]
41159 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
41160 fgets_unlocked.
41161 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
41162 __fgets_unlocked.
41163 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
41164 fgets_unlocked.
41165 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
41166 Remove variable.
41167 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
41168 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
41169 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
41170 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
41171 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
41172 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
41173 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
41174 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
41175 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
41176
41177 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
41178
41179 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41180
41181 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41182 Remove strpbrk objects.
41183 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41184 (__libc_ifunc_impl_list): Remove strpbrk implementation.
41185 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
41186 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
41187 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
41188 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
41189
41190 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41191 Remove strcspn objects.
41192 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41193 (__libc_ifunc_impl_list): Remove strcspn implementation.
41194 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
41195 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
41196 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
41197 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
41198
41199 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41200 Remove strspn objetcs.
41201 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41202 (__libc_ifunc_impl_list): Remove strspn implementation.
41203 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
41204 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
41205 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
41206 * sysdeps/powerpc/powerpc64/strspn.S: New file.
41207
41208 2014-12-01 James Lemke <jwlemke@codesourcery.com>
41209
41210 [BZ #17581]
41211 * malloc/hooks.c
41212 (mem2mem_check): Add a terminator to the chain of checking blocks.
41213 (malloc_check_get_size): Use it here.
41214 (mem2chunk_check): Ditto.
41215
41216 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41217
41218 * sysdeps/powerpc/powerpc64/strtok.S: New file.
41219 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
41220
41221 2014-11-29 Carlos O'Donell <carlos@redhat.com>
41222
41223 * bits/ioctl-types.h: Indent preprocessor directives correctly.
41224
41225 * nptl/nptl-init.c: Include libc-internal.h.
41226 (__pthread_initialize_minimal_internal): Use ROUND_UP.
41227
41228 * elf/ldconfig.c (search_dir): Expand comment.
41229
41230 2014-11-29 Joseph Myers <joseph@codesourcery.com>
41231
41232 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
41233 variable.
41234 (linknamespace-symlist-stdlibs-tests): Likewise.
41235 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
41236 instead of $(objpfx)symlist-stdlibs.
41237 (linknamespace-libs-isoc): New variable.
41238 (linknamespace-libs): Use $(linknamespace-libs-isoc).
41239 (linknamespace-libs-ISO): New variable.
41240 (linknamespace-libs-ISO99): Likewise.
41241 (linknamespace-libs-ISO11): Likewise.
41242 (linknamespace-libs-XPG3): Likewise.
41243 (linknamespace-libs-XPG4): Likewise.
41244 (linknamespace-libs-POSIX): Likewise.
41245 (linknamespace-libs-UNIX98): Likewise.
41246 (linknamespace-libs-XOPEN2K): Likewise.
41247 (linknamespace-libs-POSIX2008): Likewise.
41248 (linknamespace-libs-XOPEN2K8): Likewise.
41249 ($(objpfx)symlist-stdlibs): Replace by
41250 $(linknamespace-symlist-stdlibs-tests). Use
41251 $(linknamespace-libs-$*) as set of libraries.
41252 ($(linknamespace-header-tests)): Update dependencies. Use
41253 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
41254 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
41255 * conform/linknamespace.pl: Remove comment about considering
41256 definitions of symbols from irrelevant libraries.
41257
41258 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
41259
41260 [BZ #13862]
41261 * elf/dl-tls.c: Include <atomic.h>.
41262 (oom): Remove #ifdef SHARED/#endif.
41263 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
41264 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
41265 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
41266 big enough.
41267 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
41268 * nptl/Makefile (tests): Add tst-stack4.
41269 (modules-names): Add tst-stack4mod.
41270 ($(objpfx)tst-stack4): New.
41271 (tst-stack4mod.sos): Likewise.
41272 ($(objpfx)tst-stack4.out): Likewise.
41273 ($(tst-stack4mod.sos)): Likewise.
41274 (clean): Likewise.
41275 * nptl/tst-stack4.c: New file.
41276 * nptl/tst-stack4mod.c: Likewise.
41277
41278 2014-11-27 J. Brown <jb999@gmx.de>
41279
41280 * sysdeps/x86/bits/string.h: Add recent CPUs.
41281
41282 2014-11-27 Joseph Myers <joseph@codesourcery.com>
41283
41284 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
41285 sigblock.
41286
41287 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
41288 feof.
41289
41290 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
41291 variable.
41292
41293 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
41294
41295 * nscd/connections.c: Include libc-internal.h because of macro
41296 usage ignore_value.
41297
41298 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
41299
41300 * string/bits/string3.h (__warn_memset_zero_len): Don't
41301 declare for gcc newer than 5.0.
41302 (memset): Don't test for zero-length __LEN for gcc newer than
41303 5.0.
41304
41305 2014-11-27 Joseph Myers <joseph@codesourcery.com>
41306
41307 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
41308 size_t for %zu format.
41309
41310 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
41311 difference, not %ju.
41312
41313 2014-11-26 Joseph Myers <joseph@codesourcery.com>
41314
41315 * include/libc-internal.h (ignore_value): New macro.
41316 * nscd/connections.c (restart): Wrap calls to setuid and setgid
41317 with ignore_value.
41318
41319 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
41320 definition.
41321
41322 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
41323 pthread_cleanup_push to void *.
41324
41325 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
41326 Undefine.
41327
41328 [BZ #16619]
41329 [BZ #16740]
41330 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
41331 instead of 1L << 52.
41332
41333 * libio/bug-rewind.c (do_test): Check fwscanf return values.
41334 * libio/bug-rewind2.c (do_test): Likewise.
41335
41336 * debug/test-stpcpy_chk-ifunc.c: Remove file.
41337 * debug/test-strcpy_chk-ifunc.c: Likewise.
41338 * wcsmbs/test-wcschr-ifunc.c: Likewise.
41339 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41340 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41341 * wcsmbs/test-wcslen-ifunc.c: Likewise.
41342 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41343 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41344 * Rules [$(multi-arch) = no] (tests): Do not filter out
41345 $(tests-ifunc).
41346 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
41347 * debug/Makefile (tests-ifunc): Remove variable.
41348 (tests): Do not add $(tests-ifunc).
41349 * wcsmbs/Makefile (tests-ifunc): Remove variable.
41350 (tests): Do not add $(tests-ifunc).
41351 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
41352 [TEST_IFUNC]: Remove conditionals.
41353 * string/test-string.h (TEST_IFUNC): Remove macro.
41354 [TEST_IFUNC]: Remove conditionals.
41355
41356 * string/test-strchr.c [!WIDE] (L): New macro.
41357 [WIDE] (L): Likewise.
41358 (check1): Use CHAR instead of char. Use L on string and character
41359 constants.
41360
41361 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
41362
41363 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
41364 tests.
41365 * sysdeps/powerpc/bits/atomic.h
41366 (__arch_atomic_exchange_and_add_32_acq): Add definition.
41367 (__arch_atomic_exchange_and_add_32_rel): Likewise.
41368 (atomic_exchange_and_add_acq): Likewise.
41369 (atomic_exchange_and_add_rel): Likewise.
41370 * sysdeps/powerpc/powerpc32/bits/atomic.h
41371 (__arch_atomic_exchange_and_add_64_acq): Add definition.
41372 (__arch_atomic_exchange_and_add_64_rel): Likewise.
41373 * sysdeps/powerpc/powerpc64/bits/atomic.h
41374 (__arch_atomic_exchange_and_add_64_acq): Add definition.
41375 (__arch_atomic_exchange_and_add_64_rel): Likewise.
41376
41377 2014-11-26 Torvald Riegel <triegel@redhat.com>
41378
41379 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
41380 Change synchronization of __sched_fifo_min_prio and
41381 __sched_fifo_max_prio.
41382 * nptl/pthread_mutexattr_getprioceiling.c
41383 (pthread_mutexattr_getprioceiling): Likewise.
41384 * nptl/pthread_mutexattr_setprioceiling.c
41385 (pthread_mutexattr_setprioceiling): Likewise.
41386 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
41387 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
41388 Likewise.
41389
41390 2014-11-26 Joseph Myers <joseph@codesourcery.com>
41391
41392 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
41393 void.
41394
41395 2014-11-25 Joseph Myers <joseph@codesourcery.com>
41396
41397 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
41398 third argument const.
41399
41400 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
41401
41402 fnmatch: work around GCC compiler warning bug with uninit var
41403 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
41404 This works around a bug with x86-64 GCC 4.9.2 and earlier
41405 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
41406 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
41407 used uninitialized in this function [-Wmaybe-uninitialized]".
41408
41409 2014-11-25 Joseph Myers <joseph@codesourcery.com>
41410
41411 * posix/bug-regex31.c (main): Return RES not 0.
41412
41413 2014-11-25 Anton Blanchard <anton@samba.org>
41414
41415 * sysdeps/powerpc/bits/atomic.h
41416 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
41417
41418 2014-11-24 Sterling Augustine <saugustine@google.com>
41419
41420 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
41421
41422 2014-11-24 Ryan Cumming <etaoins@gmail.com>
41423
41424 [BZ #17608]
41425 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
41426
41427 2014-11-24 Joseph Myers <joseph@codesourcery.com>
41428
41429 [BZ #17633]
41430 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
41431 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
41432 variable.
41433 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
41434 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
41435
41436 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
41437
41438 * string/strncpy.c (strncpy): Improve performance by using memset.
41439
41440 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
41441
41442 * string/strcpy.c (strcpy):
41443 Improve performance by using strlen and memcpy.
41444
41445 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
41446
41447 * string/strcoll_l.c (get_next_seq): __always_inline.
41448 * string/strcoll_l.c (do_compare): __always_inline.
41449
41450 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
41451
41452 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
41453 defined.
41454 * include/mqueue.h: Likewise.
41455 * include/stdlib.h: Likewise.
41456
41457 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
41458 (get_null_defines): Adjust.
41459 * sunrpc/Makefile: Adjust comment.
41460 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
41461 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
41462 (CFLAGS-interp.c): Likewise.
41463 (CFLAGS-ldconfig.c): Likewise.
41464 (CPPFLAGS-.os): Likewise.
41465 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41466 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
41467 * extra-modules.mk (extra-modules.mk): Likewise.
41468 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
41469 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
41470 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
41471 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
41472 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
41473 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
41474 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
41475 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
41476 * iconvdata/Makefile (CPPFLAGS): Likewise.
41477 (cpp-srcs-left): Add libof for all iconvdata routines.
41478 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
41479 * include/assert.h: Likewise.
41480 * include/ctype.h: Likewise.
41481 * include/errno.h: Likewise.
41482 * include/libc-symbols.h: Likewise.
41483 * include/math.h: Likewise.
41484 * include/netdb.h: Likewise.
41485 * include/resolv.h: Likewise.
41486 * include/stdio.h: Likewise.
41487 * include/stdlib.h: Likewise.
41488 * include/string.h: Likewise.
41489 * include/sys/stat.h: Likewise.
41490 * include/wctype.h: Likewise.
41491 * intl/l10nflist.c: Likewise.
41492 * libidn/idn-stub.c: Likewise.
41493 * libio/libioP.h: Likewise.
41494 * nptl/libc_multiple_threads.c: Likewise.
41495 * nptl/pthreadP.h: Likewise.
41496 * posix/regex_internal.h: Likewise.
41497 * resolv/res_hconf.c: Likewise.
41498 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
41499 * sysdeps/arm/memmove.S: Likewise.
41500 * sysdeps/arm/sysdep.h: Likewise.
41501 * sysdeps/generic/_itoa.h: Likewise.
41502 * sysdeps/generic/symbol-hacks.h: Likewise.
41503 * sysdeps/gnu/errlist.awk: Likewise.
41504 * sysdeps/gnu/errlist.c: Likewise.
41505 * sysdeps/i386/i586/memcpy.S: Likewise.
41506 * sysdeps/i386/i586/memset.S: Likewise.
41507 * sysdeps/i386/i686/memcpy.S: Likewise.
41508 * sysdeps/i386/i686/memmove.S: Likewise.
41509 * sysdeps/i386/i686/mempcpy.S: Likewise.
41510 * sysdeps/i386/i686/memset.S: Likewise.
41511 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41512 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41513 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
41514 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
41515 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41516 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41517 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
41518 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41519 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41520 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41521 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41522 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41523 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41524 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41525 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41526 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41527 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
41528 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
41529 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
41530 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41531 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41532 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41533 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41534 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41535 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41536 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41537 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
41538 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41539 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
41540 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41541 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41542 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41543 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41544 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41545 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41546 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41547 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41548 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41549 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41550 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41551 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41552 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41553 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41554 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41555 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41556 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41557 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
41558 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
41559 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41560 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41561 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41562 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
41563 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
41564 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41565 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41566 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
41567 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41568 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
41569 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
41570 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41571 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41572 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41573 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
41574 * sysdeps/nptl/bits/libc-lock.h: Likewise.
41575 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
41576 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
41577 * sysdeps/posix/closedir.c: Likewise.
41578 * sysdeps/posix/opendir.c: Likewise.
41579 * sysdeps/posix/readdir.c: Likewise.
41580 * sysdeps/posix/rewinddir.c: Likewise.
41581 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
41582 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
41583 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
41584 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41585 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41586 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
41587 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
41588 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
41589 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
41590 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
41591 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
41592 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
41593 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
41594 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
41595 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
41596 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
41597 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
41598 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
41599 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
41600 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
41601 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
41602 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
41603 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
41604 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
41605 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
41606 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
41607 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
41608 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
41609 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
41610 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
41611 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
41612 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
41613 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
41614 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
41615 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
41616 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
41617 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41618 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41619 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
41620 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
41621 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
41622 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
41623 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
41624 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
41625 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
41626 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
41627 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
41628 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
41629 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
41630 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
41631 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
41632 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
41633 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
41634 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
41635 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
41636 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
41637 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
41638 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
41639 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
41640 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
41641 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
41642 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
41643 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
41644 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
41645 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
41646 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
41647 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
41648 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
41649 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
41650 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
41651 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
41652 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
41653 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
41654 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
41655 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
41656 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
41657 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
41658 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
41659 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
41660 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
41661 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
41662 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
41663 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
41664 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
41665 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
41666 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
41667 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
41668 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
41669 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
41670 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41671 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
41672 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
41673 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
41674 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41675 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41676 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
41677 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41678 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41679 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
41680 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
41681 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41682 * sysdeps/unix/alpha/sysdep.S: Likewise.
41683 * sysdeps/unix/alpha/sysdep.h: Likewise.
41684 * sysdeps/unix/make-syscalls.sh: Likewise.
41685 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
41686 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41687 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
41688 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
41689 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
41690 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
41691 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
41692 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41693 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
41694 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
41695 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41696 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
41697 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41698 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
41699 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
41700 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41701 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41702 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
41703 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
41704 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
41705 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
41706 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41707 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
41708 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
41709 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
41710 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
41711 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
41713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
41714 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
41715 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41716 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
41717 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41718 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41719 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
41720 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
41721 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41722 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41723 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
41724 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
41725 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41726 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
41727 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41728 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
41729 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41730 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
41731 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41732 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41733 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
41734 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41735 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41736 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
41737 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41738 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
41739 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
41740 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41741 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
41742 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41743 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
41744 * sysdeps/x86_64/memcpy.S: Likewise.
41745 * sysdeps/x86_64/memmove.c: Likewise.
41746 * sysdeps/x86_64/memset.S: Likewise.
41747 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
41748 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41749 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
41750 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
41751 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
41752 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41753 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41754 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41755 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41756 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41757 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41758 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41759 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
41760 * sysdeps/x86_64/multiarch/memset.S: Likewise.
41761 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41762 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
41763 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
41764 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41765 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41766 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41767 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
41768 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41769 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41770 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41771 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41772 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41773 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41774 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
41775 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41776 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41777 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
41778 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41779 * sysdeps/x86_64/strcmp.S: Likewise.
41780
41781 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
41782
41783 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
41784 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
41785 * elf/rtld-Rules: Likewise.
41786 * elf/setup-vdso.h: Likewise.
41787 * include/assert.h: Likewise.
41788 * include/bits/stdlib-float.h: Likewise.
41789 * include/errno.h: Likewise.
41790 * include/sys/stat.h: Likewise.
41791 * include/unistd.h: Likewise.
41792 * sysdeps/aarch64/setjmp.S: Likewise.
41793 * sysdeps/alpha/setjmp.S: Likewise.
41794 * sysdeps/arm/__longjmp.S: Likewise.
41795 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
41796 * sysdeps/arm/setjmp.S: Likewise.
41797 * sysdeps/arm/sysdep.h: Likewise.
41798 * sysdeps/generic/_itoa.h: Likewise.
41799 * sysdeps/generic/dl-sysdep.h: Likewise.
41800 * sysdeps/generic/ldsodefs.h: Likewise.
41801 * sysdeps/i386/dl-tls.h: Likewise.
41802 * sysdeps/i386/setjmp.S: Likewise.
41803 * sysdeps/m68k/setjmp.c: Likewise.
41804 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
41805 * sysdeps/mach/hurd/opendir.c: Likewise.
41806 * sysdeps/posix/getcwd.c: Likewise.
41807 * sysdeps/posix/opendir.c: Likewise.
41808 * sysdeps/posix/profil.c: Likewise.
41809 * sysdeps/powerpc/dl-procinfo.h: Likewise.
41810 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41811 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41812 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
41813 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41814 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
41815 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
41816 * sysdeps/s390/dl-tls.h: Likewise.
41817 * sysdeps/s390/s390-32/setjmp.S: Likewise.
41818 * sysdeps/s390/s390-64/setjmp.S: Likewise.
41819 * sysdeps/sh/sh3/setjmp.S: Likewise.
41820 * sysdeps/sh/sh4/setjmp.S: Likewise.
41821 * sysdeps/unix/alpha/sysdep.h: Likewise.
41822 * sysdeps/unix/arm/sysdep.S: Likewise.
41823 * sysdeps/unix/i386/sysdep.S: Likewise.
41824 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41825 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
41826 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41827 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41828 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41829 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
41830 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
41831 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41832 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
41833 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
41834 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
41835 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41836 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41839 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41840 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41841 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41842 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41843 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41844 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41845 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41846 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41847 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41848 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41849 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41850 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41851 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41852 * sysdeps/x86_64/setjmp.S: Likewise.
41853
41854 * include/math.h: Use IS_IN instead of IS_IN_libm.
41855 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
41856 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41857 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41858 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
41859 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41860 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41861 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41862 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41863 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41864 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41865 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
41866 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
41867 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
41868 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
41869 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
41870 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
41871 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
41872 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
41873 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
41874 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
41875 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
41876 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
41877 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
41878 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
41879 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
41880 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
41881 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
41882 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
41883 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
41884 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
41885 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
41886 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
41887 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
41888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
41889 Likewise.
41890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
41891 Likewise.
41892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
41893 Likewise.
41894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
41895 Likewise.
41896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
41897 Likewise.
41898 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
41899 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
41900 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
41901 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41902 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41903 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
41905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
41906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
41907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
41908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
41909 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
41910 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
41911 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
41912 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
41913 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41914 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
41915 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
41916 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41917 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
41918 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
41919 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
41920 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
41921 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
41922 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
41923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
41924 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
41925
41926 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
41927 * nptl/pthreadP.h: Likewise.
41928 * nptl_db/structs.def: Likewise.
41929 * sysdeps/arm/sysdep.h: Likewise.
41930 * sysdeps/nptl/bits/libc-lock.h: Likewise.
41931 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
41932 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
41933 * sysdeps/unix/alpha/sysdep.h: Likewise.
41934 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
41935 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41936 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
41937 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
41938 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
41939 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
41940 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41941 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
41942 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41943 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
41944 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
41945 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
41946 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
41947 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
41948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
41949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
41950 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
41951 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
41952 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
41953 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
41954 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
41955 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
41956 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41957 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
41958 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
41959 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
41960
41961 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
41962 * nptl/pthreadP.h: Likewise.
41963 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
41964 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
41965 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
41966 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
41967 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
41968 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
41969 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41970 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
41971 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
41972 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
41973 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
41974 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
41975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
41976 Likewise.
41977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
41978 Likewise.
41979 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
41980 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
41981 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
41982 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
41983 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
41984 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
41985 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
41986 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
41987
41988 * dlfcn/dladdr.c: Use IS_IN.
41989 * dlfcn/dladdr1.c: Likewise.
41990 * dlfcn/dlclose.c: Likewise.
41991 * dlfcn/dlerror.c: Likewise.
41992 * dlfcn/dlinfo.c: Likewise.
41993 * dlfcn/dlmopen.c: Likewise.
41994 * dlfcn/dlopen.c: Likewise.
41995 * dlfcn/dlsym.c: Likewise.
41996 * dlfcn/dlvsym.c: Likewise.
41997
41998 * include/ifaddrs.h: Use IS_IN.
41999 * inet/check_pf.c: Likewise.
42000 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42001 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
42002
42003 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
42004 IS_IN_ldconfig.
42005 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
42006 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
42007
42008 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
42009 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
42010 IS_IN (libc).
42011
42012 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
42013
42014 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
42015 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42016 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
42017 * include/libc-symbols.h (IS_IN_LIB): New macro.
42018 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
42019 * include/netdb.h: Likewise.
42020 * include/stap-probe.h: Remove all uses of IN_LIB.
42021
42022 * Makeconfig (module-cppflags-real): Define MODULE_NAME
42023 instead of IN_MODULE.
42024 * include/libc-symbols.h (IN_MODULE): Define using
42025 MODULE_NAME.
42026 (PASTE_NAME, PASTE_NAME1): New macros.
42027 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
42028 of IN_LIB.
42029 (STAP_PROBE_ASM): Likewise.
42030
42031 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
42032
42033 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
42034 __mach_init in dlopened libc.
42035
42036 2014-11-22 Mike Frysinger <vapier@gentoo.org>
42037
42038 * sysdeps/arm/preconfigure.ac: Delete EABI check.
42039 * sysdeps/arm/preconfigure: Regenerate.
42040
42041 2014-11-21 Roland McGrath <roland@hack.frob.com>
42042
42043 * nptl/pthread_create.c (__pthread_create_2_1): Set
42044 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
42045 when copying values from IATTR into PD.
42046
42047 2014-11-21 Will Newton <will.newton@linaro.org>
42048 Andrew Pinski <andrew.pinski@caviumnetworks.com>
42049
42050 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
42051 Refactor inline-asm. Also add comment.
42052
42053 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
42054 ElfW macro instead of hardcoded Elf64 types.
42055 (la_aarch64_gnu_pltenter): Likewise.
42056 * sysdeps/aarch64/dl-machine.h
42057 (elf_machine_runtime_setup): Use ElfW(Addr).
42058
42059 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
42060 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
42061 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
42062 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
42063 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
42064 (R_AARCH64_TLS_DTPMOD64): Rename to ..
42065 (R_AARCH64_TLS_DTPMOD): This.
42066 (R_AARCH64_TLS_DTPREL64): Rename to ...
42067 (R_AARCH64_TLS_DTPREL): This.
42068 (R_AARCH64_TLS_TPREL64): Rename to ...
42069 (R_AARCH64_TLS_TPREL): This.
42070 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
42071 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
42072 R_AARCH64_TLS_TPREL64.
42073 (elf_machine_rela): Likewise.
42074
42075 2014-11-21 Torvald Riegel <triegel@redhat.com>
42076
42077 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
42078 by setting it to 0. 64b atomics are not supported currently.
42079
42080 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
42081
42082 [BZ #16469]
42083 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
42084 search domain names.
42085
42086 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
42087
42088 [BZ #16469]
42089 * NEWS: Update.
42090 * resolv/res_query.c (__libc_res_nquerydomain): Retain
42091 trailing dot.
42092 * posix/tst-getaddrinfo5.c: New.
42093 * posix/Makefile (tests): Add it.
42094
42095 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
42096
42097 [BZ #14498]
42098 * NEWS: Fixed.
42099 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
42100 after parsing line but before break_if_match.
42101 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
42102 if there is a protocol mismatch.
42103
42104 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
42105
42106 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
42107 because the potential race is on the user-supplied stream.
42108
42109 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
42110
42111 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
42112 string literal if not passed a buffer.
42113 * manual/job.texi (ctermid): Update reasoning, note deviation
42114 from posix, suggest mtasurace when not passed a buffer, for
42115 future non-preliminary safety notes.
42116
42117 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
42118
42119 * manual/users.texi (cuserid): Fix MT-Safety note for the case
42120 of not passing it a buffer.
42121 Reported by Peng Haitao.
42122
42123 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
42124
42125 * manual/Makefile ($(objpfx)stamp-summary): Require
42126 check-safety.sh to pass.
42127 * manual/check-safety.sh: Wish for verification that every
42128 @deftypefn and @deftypefun is followed by a @safety remark.
42129
42130 2014-11-20 Roland McGrath <roland@hack.frob.com>
42131
42132 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
42133
42134 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
42135 PTHREAD_CANCEL_ASYNCHRONOUS.
42136 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
42137 send SIGCANCEL.
42138
42139 * nptl/default-sched.h: New file.
42140 * sysdeps/unix/sysv/linux/default-sched.h: New file.
42141 * nptl/pthread_create.c: Include it.
42142 (__pthread_create_2_1): Use collect_default_sched instead of making
42143 Linux syscalls here directly.
42144
42145 2014-11-20 Torvald Riegel <triegel@redhat.com>
42146
42147 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
42148 __pthread_once): Use C11 atomics.
42149
42150 2014-11-20 Torvald Riegel <triegel@redhat.com>
42151
42152 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
42153
42154 2014-11-20 Torvald Riegel <triegel@redhat.com>
42155
42156 * include/atomic.h (__atomic_link_error, __atomic_check_size,
42157 atomic_thread_fence_acquire, atomic_thread_fence_release,
42158 atomic_thread_fence_seq_cst, atomic_load_relaxed,
42159 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
42160 atomic_compare_exchange_weak_relaxed,
42161 atomic_compare_exchange_weak_acquire,
42162 atomic_compare_exchange_weak_release,
42163 atomic_exchange_acquire, atomic_exchange_release,
42164 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
42165 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
42166 atomic_fetch_and_acquire,
42167 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
42168
42169 2014-11-20 Torvald Riegel <triegel@redhat.com>
42170
42171 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
42172 USE_ATOMIC_COMPILER_BUILTINS): Define.
42173 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
42174 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42175 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
42176 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42177 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
42178 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42179 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
42180 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42181 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
42182 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42183 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
42184 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42185 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
42186 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42187 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
42188 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42189 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
42190 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42191 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
42192 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42193 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
42194 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42195 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
42196 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42197 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
42198 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42199 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
42200 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42201 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
42202 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42203 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
42204 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42205 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
42206 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42207 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
42208 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42209 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
42210 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42211 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
42212 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42213
42214 2014-11-19 Roland McGrath <roland@hack.frob.com>
42215
42216 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
42217 the sched_priority value here. It was already checked when the user
42218 called pthread_attr_setschedparam.
42219
42220 * nptl/tst-bad-schedattr.c: New file.
42221 * nptl/Makefile (tests): Add it.
42222
42223 2014-11-19 Carlos O'Donell <carlos@redhat.com>
42224 Florian Weimer <fweimer@redhat.com>
42225 Joseph Myers <joseph@codesourcery.com>
42226 Adam Conrad <adconrad@0c3.net>
42227 Andreas Schwab <schwab@suse.de>
42228 Brooks <bmoses@google.com>
42229
42230 [BZ #17625]
42231 * wordexp-test.c (__dso_handle): Add prototype.
42232 (__register_atfork): Likewise.
42233 (__app_register_atfork): New function.
42234 (registered_forks): New global.
42235 (register_fork): New function.
42236 (test_case): Add 3 new tests for WRDE_CMDSUB.
42237 (main): Call __app_register_atfork.
42238 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
42239 fork count is non-zero fail the test.
42240 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
42241 is set.
42242 (parse_dollars): Remove check for WRDE_NOCMD.
42243 (parse_dquote): Likewise.
42244
42245 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
42246
42247 * Makeconfig (built-modules): List non-library modules to be
42248 built.
42249 (module-cppflags): Include libc-modules.h for
42250 everything except shlib-versions.v.i.
42251 (CPPFLAGS): Use it.
42252 (before-compile): Add libc-modules.h.
42253 ($(common-objpfx)libc-modules.h,
42254 $(common-objpfx)libc-modules.stmp): New targets.
42255 (common-generated): Add libc-modules.h and libc-modules.stmp.
42256 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
42257 * include/libc-symbols.h: Don't include libc-modules.h.
42258 * include/libc-modules.h: Remove file.
42259 * scripts/gen-libc-modules.awk: New script to generate
42260 libc-modules.h.
42261 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
42262 Depend on libc-modules.stmp.
42263
42264 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
42265
42266 * Makeconfig (in-module): Get value of libof set for the
42267 translation unit.
42268 (CPPFLAGS): Use $(in-module).
42269 * Makerules: Don't suffix routine names for nonlib.
42270 * include/libc-modules.h: New file.
42271 * include/libc-symbols.h: Include libc-modules.h
42272 (IS_IN): New macro to replace IS_IN_* macros.
42273 * elf/Makefile: Set libof-* for each routine.
42274 * elf/rtld-Rules: Likewise.
42275 * extra-modules.mk: Likewise.
42276 * iconv/Makefile: Likewise.
42277 * iconvdata/Makefile: Likewise.
42278 * locale/Makefile: Likewise.
42279 * malloc/Makefile: Likewise.
42280 * nss/Makefile: Likewise.
42281 * sysdeps/gnu/Makefile: Likewise.
42282 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
42283 * sysdeps/unix/sysv/linux/Makefile: Likewise.
42284 * sysdeps/s390/s390-64/Makefile: Likewise.
42285 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
42286 CPPFLAGS for nscd instead of nonlib.
42287
42288 2014-11-18 Roland McGrath <roland@hack.frob.com>
42289
42290 * nptl/createthread.c: New file.
42291
42292 * nptl/createthread.c: Moved ...
42293 * sysdeps/unix/sysv/linux/createthread.c: ... here.
42294
42295 * nptl/createthread.c: Add proper top-line comment.
42296 (do_clone): Folded into ...
42297 (create_thread): ... here. Take new arguments STOPPED_START and
42298 THREAD_RAN. Always set PD->stopped_start to something here. Don't
42299 increment __nptl_threads, do event-reporting logic, do
42300 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
42301 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
42302 resource cleanup if sched_setaffinity or sched_setscheduler fails,
42303 just send SIGCANCEL.
42304 * nptl/pthread_create.c: Forward-declare create_thread before
42305 including createthread.c.
42306 (start_thread): Use new macro START_THREAD_DEFN to replace defining
42307 declaration, and new macro START_THREAD_SELF to replace argument.
42308 Remove return statement.
42309 (report_thread_creation): New function.
42310 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
42311 synchronization logic, and __nptl_nthreads increment here, around
42312 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
42313 PD->parent_cancelhandling here, before create_thread. When
42314 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
42315 __deallocate_stack, and ENOMEM translation here.
42316
42317 2014-11-18 Joseph Myers <joseph@codesourcery.com>
42318
42319 [BZ #17616]
42320 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
42321 (mptwo): Rename to __mptwo.
42322 (__inv): Use __mptwo instead of mptwo.
42323 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
42324 (mptwo): Rename to __mptwo.
42325 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
42326 of mpone and __mptwo instead of mptwo.
42327 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
42328 instead of mpone.
42329 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42330 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
42331 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
42332 of mpone and __mptwo instead of mptwo.
42333 (__mpranred): Use __mpone instead of mpone.
42334 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
42335 variable.
42336 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
42337 (test-xfail-ISO99/math.h/linknamespace): Likewise.
42338 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
42339 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
42340 (test-xfail-ISO11/math.h/linknamespace): Likewise.
42341 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
42342 (test-xfail-XPG3/math.h/linknamespace): Likewise.
42343 (test-xfail-XPG4/math.h/linknamespace): Likewise.
42344 (test-xfail-POSIX/math.h/linknamespace): Likewise.
42345 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
42346 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
42347 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
42348 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
42349 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
42350 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
42351 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
42352 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
42353 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
42354 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
42355
42356 2014-11-18 Tom de Vries <tom@codesoucery.com>
42357
42358 * manual/signal.texi (Primitives Interrupted by Signals): In section,
42359 replace BSD Handler xref with BSD Signal Handling.
42360
42361 2014-11-17 Richard Henderson <rth@redhat.com>
42362
42363 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
42364 (_FP_PACK_RAW_2): Remove.
42365 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
42366 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
42367 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
42368 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
42369 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
42370 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
42371 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
42372 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
42373 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
42374 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
42375 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
42376 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
42377 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
42378 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
42379 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
42380 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
42381
42382 2014-11-14 Roland McGrath <roland@hack.frob.com>
42383
42384 * signal/signal.h [__USE_MISC]
42385 (struct sigvec): Remove type.
42386 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
42387 (sigvec): Remove declaration.
42388 * sysdeps/posix/sigvec.c: Moved ...
42389 * signal/sigvec.c: ... here, replacing old file.
42390 (struct sigvec): New type, copied from old signal.h definition.
42391 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
42392 (__sigvec): Convert definition to prototype.
42393 (sigvec): Replace weak_alias with compat_symbol.
42394 * signal/Versions (libc: GLIBC_2.21): New version set.
42395 * include/signal.h: Remove __sigvec declaration.
42396 * sysdeps/unix/bsd/sigvec.c: Remove file.
42397 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
42398 * manual/signal.texi (BSD Handler): Remove subsection.
42399 Move siginterrupt up to ...
42400 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
42401 (Blocking in BSD): Fold subsection into its parent.
42402 * NEWS: Mention sigvec removal.
42403
42404 2014-11-14 Joseph Myers <joseph@codesourcery.com>
42405
42406 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
42407 (DLA_FMS): Make definition conditional only on [__FMA4__].
42408 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
42409 definition.
42410
42411 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
42412 Make definition conditional only on [PROF].
42413 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
42414 definition.
42415 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
42416 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
42417
42418 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
42419 !__GNUC__].
42420 * include/signal.h (__sigpause): Move declaration above call to
42421 libc_hidden_proto.
42422 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
42423 variable.
42424 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
42425 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
42426
42427 2014-11-14 David S. Miller <davem@davemloft.net>
42428
42429 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
42430 Define before including <string/memcpy.c> and <string/mempcpy.c>.
42431
42432 2014-11-14 Joseph Myers <joseph@codesourcery.com>
42433
42434 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
42435 * configure: Regenerated.
42436 * manual/install.texi (Tools for Compilation): Document a
42437 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
42438 compiler verified to work.
42439 * INSTALL: Regenerated.
42440
42441 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
42442 redeclare with asm name.
42443 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
42444 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
42445 including <string.h>.
42446 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42447 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
42448 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42449 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
42450 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42451 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
42452 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42453
42454 2014-11-13 Joseph Myers <joseph@codesourcery.com>
42455
42456 * stdlib/strtol.c (__strtol): Use prototype definition.
42457
42458 [BZ #17594]
42459 * stdlib/strtol.c (SYM__): New macro.
42460 (SYM__1): Likewise.
42461 (__strtol): Likewise.
42462 (strtol): Rename to __strtol and define as weak alias of
42463 __strtol. Use libc_hidden_weak.
42464
42465 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
42466
42467 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
42468 Use numbered labels in inline assembly.
42469
42470 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
42471
42472 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
42473 Add setjmp LIBC_PROBE.
42474 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
42475 Likewise.
42476 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
42477 Add longjmp, longjmp_target LIBC_PROBE.
42478 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
42479 Likewise.
42480
42481 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
42482
42483 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
42484 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
42485 to get rid of unused variable warning.
42486
42487 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
42488
42489 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
42490 Check for unwind_backtrace == NULL only in SHARED case.
42491 (__backchain_backtrace): Compile only in SHARED case.
42492 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
42493 Likewise.
42494 (__backchain_backtrace): Declare as static.
42495
42496 2014-11-12 Roland McGrath <roland@hack.frob.com>
42497
42498 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
42499 (__libc_multiple_threads_ptr): Variable moved ...
42500 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
42501
42502 2014-11-12 Joseph Myers <joseph@codesourcery.com>
42503
42504 * conform/GlibcConform.pm: New file.
42505 * conform/conformtest.pl: Use GlibcConform module.
42506 * conform/linknamespace.pl: New file.
42507 * conform/list-header-symbols.pl: Likewise.
42508 * conform/Makefile (linknamespace-symlists-base): New variable.
42509 (linknamespace-symlists-tests): Likewise.
42510 (linknamespace-header-base): Likewise.
42511 (linknamespace-header-tests): Likewise.
42512 (tests-special): Add new tests.
42513 ($(linknamespace-symlists-tests)): New rule.
42514 (linknamespace-libs): New variable.
42515 ($(objpfx)symlist-stdlibs): New rule.
42516 ($(linknamespace-header-tests)): Likewise.
42517 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
42518 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
42519 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
42520 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
42521 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
42522 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
42523 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
42524 (test-xfail-ISO/math.h/linknamespace): Likewise.
42525 (test-xfail-ISO/signal.h/linknamespace): Likewise.
42526 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
42527 (test-xfail-ISO/time.h/linknamespace): Likewise.
42528 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
42529 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
42530 (test-xfail-ISO99/math.h/linknamespace): Likewise.
42531 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
42532 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
42533 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
42534 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
42535 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
42536 (test-xfail-ISO11/math.h/linknamespace): Likewise.
42537 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
42538 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
42539 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
42540 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
42541 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
42542 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
42543 (test-xfail-XPG3/math.h/linknamespace): Likewise.
42544 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
42545 (test-xfail-XPG3/search.h/linknamespace): Likewise.
42546 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
42547 (test-xfail-XPG3/time.h/linknamespace): Likewise.
42548 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
42549 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
42550 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
42551 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
42552 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
42553 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
42554 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
42555 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
42556 (test-xfail-XPG4/math.h/linknamespace): Likewise.
42557 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
42558 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
42559 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
42560 (test-xfail-XPG4/search.h/linknamespace): Likewise.
42561 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
42562 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
42563 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
42564 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
42565 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
42566 (test-xfail-XPG4/time.h/linknamespace): Likewise.
42567 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
42568 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
42569 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
42570 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
42571 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
42572 (test-xfail-POSIX/math.h/linknamespace): Likewise.
42573 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
42574 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
42575 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
42576 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
42577 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
42578 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
42579 (test-xfail-POSIX/time.h/linknamespace): Likewise.
42580 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
42581 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
42582 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
42583 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
42584 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
42585 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
42586 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
42587 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
42588 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
42589 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
42590 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
42591 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
42592 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
42593 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
42594 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
42595 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
42596 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
42597 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
42598 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
42599 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
42600 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
42601 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
42602 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
42603 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
42604 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
42605 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
42606 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
42607 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
42608 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
42609 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
42610 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
42611 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
42612 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
42613 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
42614 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
42615 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
42616 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
42617 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
42618 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
42619 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
42620 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
42621 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
42622 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
42623 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42624 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
42625 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
42626 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
42627 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
42628 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
42629 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
42630 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
42631 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
42632 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
42633 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
42634 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
42635 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
42636 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
42637 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
42638 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
42639 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
42640 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
42641 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
42642 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
42643 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
42644 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
42645 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
42646 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
42647 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
42648 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
42649 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
42650 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
42651 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
42652 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
42653 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42654 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
42655 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
42656 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
42657 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
42658 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
42659 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
42660 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
42661 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
42662 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
42663 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
42664 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
42665 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
42666 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
42667 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
42668 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
42669 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
42670 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
42671 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
42672 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
42673 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
42674 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
42675 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
42676 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
42677 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
42678
42679 [BZ #17589]
42680 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
42681 of fgets_unlocked.
42682
42683 [BZ #17585]
42684 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
42685 (memmem): Rename to __memmem and define as weak alias of
42686 __memmem. Use libc_hidden_weak.
42687 (__memmem): Use libc_hidden_def.
42688 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
42689 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
42690 memmem.
42691
42692 [BZ #17582]
42693 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
42694 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
42695 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
42696 and define as weak alias of __fgets_unlocked. Use
42697 libc_hidden_weak.
42698 (__fgets_unlocked): Use libc_hidden_def.
42699 * include/stdio.h (__fgets_unlocked): Declare. Use
42700 libc_hidden_proto.
42701 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
42702 __fgets_unlocked instead of fgets_unlocked.
42703 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
42704 (GET_NPROCS_CONF_PARSER): Likewise.
42705 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
42706 (GET_NPROCS_CONF_PARSER): Likewise.
42707
42708 [BZ #17574]
42709 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
42710 weak alias of __wmemset. Use libc_hidden_weak.
42711 (__wmemset): Use libc_hidden_def.
42712 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
42713 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
42714 of wmemset.
42715
42716 [BZ #17573]
42717 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
42718 with asm name __mempcpy.
42719 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
42720
42721 [BZ #17572]
42722 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
42723 and define as weak alias of __rawmemchr.
42724 (__rawmemchr): Do not define as strong alias of rawmemchr.
42725
42726 [BZ #17571]
42727 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
42728 alias of __qsort_r.
42729 (qsort): Call __qsort_r instead of qsort_r.
42730 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
42731 (__qsort_r): Declare. Call libc_hidden_proto.
42732 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
42733 instead of qsort_r.
42734 * nscd/gai.c (__qsort_r): Define to qsort_r.
42735 * posix/tst-rfc3484.c (__qsort_r): Likewise.
42736 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
42737 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
42738
42739 [BZ #17570]
42740 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
42741 define as weak alias of __malloc_info.
42742
42743 [BZ #17584]
42744 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
42745 as weak alias of __rewinddir. Don't use libc_hidden_def.
42746 (__rewinddir): Use libc_hidden_def.
42747 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
42748 as weak alias of __rewinddir. Don't use libc_hidden_def.
42749 (__rewinddir): Use libc_hidden_def.
42750 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
42751 weak alias of __rewinddir. Don't use libc_hidden_def.
42752 (__rewinddir): Use libc_hidden_def.
42753 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
42754 (__rewinddir): Use libc_hidden_proto.
42755 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
42756 rewinddir.
42757 (__getcwd): Use __rewinddir instead of rewinddir.
42758
42759 [BZ #17583]
42760 * libio/fileno.c (fileno): Rename to __fileno and define as weak
42761 alias of __fileno. Use libc_hidden_weak.
42762 (__fileno): Use libc_hidden_def.
42763 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
42764 * libio/ftello.c (ftello): Rename to __ftello and define as weak
42765 alias of __ftello.
42766 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
42767 __ftello.
42768 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
42769 (__fread_unlocked): Define as strong alias of _IO_fread. Use
42770 libc_hidden_def.
42771 (fread_unlocked): Don't use libc_hidden_ver.
42772 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
42773 and define as weak alias of __fread_unlocked. Don't use
42774 libc_hidden_def.
42775 (__fread_unlocked): Use libc_hidden_def.
42776 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
42777 (ftello): Don't use libc_hidden_proto.
42778 (__ftello): Declare. Use libc_hidden_proto.
42779 (fread_unlocked): Don't use libc_hidden_proto.
42780 (__fread_unlocked): Declare. Use libc_hidden_proto.
42781 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
42782 and __ftello instead of fileno, fread_unlocked and ftello.
42783
42784 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
42785
42786 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
42787 GOT12.
42788 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
42789 Likewise.
42790 (_dl_start_user): Likewise.
42791 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
42792
42793 2014-11-12 Carlos O'Donell <carlos@redhat.com>
42794 Siddhesh Poyarekar <siddhesh@redhat.com>
42795
42796 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
42797 Move argv and envp down instead of moving argc up.
42798 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
42799
42800 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
42801
42802 [BZ #17506]
42803 * test-skeleton.c (main): Return successful if one of
42804 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
42805 * string/tst-strcoll-overflow.c: Define expected status.
42806
42807 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
42808
42809 [BZ #17475]
42810 * locale/iso-639.def: Define Bhili and Tulu language codes.
42811
42812 2014-11-11 Alan Hayward <alan.hayward@arm.com>
42813
42814 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
42815
42816 2014-11-10 Renlin Li <Renlin.Li@arm.com>
42817
42818 [BZ #17555]
42819 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
42820
42821 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
42822
42823 * configure.ac: Updated check of minimal required version to
42824 2.22.
42825 * manual/install.texi (Tools for Compilation): Updated version
42826 number.
42827 * configure: Regenerated.
42828 * INSTALL: Likewise.
42829
42830 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
42831
42832 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
42833 __tls_get_addr.
42834
42835 2014-11-07 Joseph Myers <joseph@codesourcery.com>
42836
42837 * include/sys/wait.h (__libc_waitpid): Remove declaration.
42838 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
42839 (__waitpid): Don't define as alias. Use libc_hidden_def not
42840 libc_hidden_weak.
42841 (waitpid): Define as alias of __waitpid.
42842 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
42843 __waitpid.
42844 (__waitpid): Don't define as alias. Use libc_hidden_def not
42845 libc_hidden_weak.
42846 (waitpid): Define as alias of __waitpid.
42847 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
42848 __libc_waitpid alias.
42849 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
42850 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
42851 Likewise.
42852 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
42853 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
42854 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
42855 alias.
42856 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
42857 __waitpid.
42858 (__waitpid): Don't define as alias. Use libc_hidden_def not
42859 libc_hidden_weak.
42860 (waitpid): Define as alias of __waitpid.
42861
42862 2014-11-06 Carlos O'Donell <carlos@redhat.com>
42863
42864 * manual/llio.texi: Add comment that write safety has been
42865 fixed in Linux.
42866
42867 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
42868 (localplt-build-dso): Add elf/ld.so.
42869 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
42870 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
42871 and free for ld.so.
42872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
42873 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
42874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
42875 Likewise.
42876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
42877 Likewise.
42878 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
42879 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
42880 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
42881 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
42882 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
42883 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
42884 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
42885 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
42886 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
42887 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
42888 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
42889
42890 2014-11-05 Joseph Myers <joseph@codesourcery.com>
42891
42892 [BZ #14132]
42893 * include/libc-symbols.h (INTUSE): Remove macro.
42894 (INTDEF): Likewise.
42895 (INTVARDEF): Likewise.
42896 (_INTVARDEF): Likewise.
42897 (INTDEF2): Likewise.
42898 (INTVARDEF2): Likewise.
42899 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
42900 rtld_hidden_def instead of INTVARDEF.
42901 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
42902 (_dl_starting_up_internal): Remove declaration.
42903 (_dl_starting_up): Use rtld_hidden_proto.
42904 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
42905 declaration.
42906 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
42907 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
42908 _dl_starting_up.
42909 * elf/dl-writev.h (_dl_writev): Likewise.
42910 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
42911 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
42912 _dl_starting_up_internal.
42913
42914 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42915
42916 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
42917 test-skeleton.c.
42918
42919 2014-11-05 Will Newton <will.newton@linaro.org>
42920
42921 * benchtests/Makefile: (bench-malloc): Add malloc thread
42922 scalability benchmark.
42923 * benchtests/bench-malloc-threads.c: New file.
42924
42925 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
42926
42927 * sysdeps/aarch64/strchrnul.S: New file.
42928
42929 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42930
42931 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
42932 definition.
42933 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
42934 Likewise.
42935 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
42936 Likewise.
42937 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
42938 Likewise.
42939 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
42940 Likewise.
42941 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
42942 Likewise.
42943
42944 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
42945
42946 * catgets/test-gencat.c: Use test-skeleton.c.
42947 * catgets/tst-catgets.c: Likewise.
42948 * csu/tst-empty.c: Likewise.
42949 * elf/tst-audit2.c: Likewise.
42950 * elf/tst-global1.c: Likewise.
42951 * elf/tst-pathopt.c: Likewise.
42952 * elf/tst-piemod1.c: Likewise.
42953 * elf/tst-tls10.c: Likewise.
42954 * elf/tst-tls11.c: Likewise.
42955 * elf/tst-tls12.c: Likewise.
42956 * gnulib/tst-gcc.c: Likewise.
42957 * iconvdata/tst-e2big.c: Likewise.
42958 * iconvdata/tst-loading.c: Likewise.
42959 * iconv/tst-iconv1.c: Likewise.
42960 * iconv/tst-iconv2.c: Likewise.
42961 * inet/test-inet6_opt.c: Likewise.
42962 * inet/tst-gethnm.c: Likewise.
42963 * inet/tst-network.c: Likewise.
42964 * inet/tst-ntoa.c: Likewise.
42965 * intl/tst-codeset.c: Likewise.
42966 * intl/tst-gettext2.c: Likewise.
42967 * intl/tst-gettext3.c: Likewise.
42968 * intl/tst-ngettext.c: Likewise.
42969 * intl/tst-translit.c: Likewise.
42970 * io/test-stat.c: Likewise.
42971 * libio/test-fmemopen.c: Likewise.
42972 * libio/tst-freopen.c: Likewise.
42973 * libio/tst-sscanf.c: Likewise.
42974 * libio/tst-ungetwc1.c: Likewise.
42975 * libio/tst-ungetwc2.c: Likewise.
42976 * libio/tst-widetext.c: Likewise.
42977 * localedata/tst-ctype.c: Likewise.
42978 * localedata/tst-digits.c: Likewise.
42979 * localedata/tst-leaks.c: Likewise.
42980 * localedata/tst-mbswcs1.c: Likewise.
42981 * localedata/tst-mbswcs2.c: Likewise.
42982 * localedata/tst-mbswcs3.c: Likewise.
42983 * localedata/tst-mbswcs4.c: Likewise.
42984 * localedata/tst-mbswcs5.c: Likewise.
42985 * localedata/tst-setlocale.c: Likewise.
42986 * localedata/tst-trans.c: Likewise.
42987 * localedata/tst-wctype.c: Likewise.
42988 * localedata/tst-xlocale1.c: Likewise.
42989 * login/tst-grantpt.c: Likewise.
42990 * malloc/tst-calloc.c: Likewise.
42991 * malloc/tst-malloc.c: Likewise.
42992 * malloc/tst-mallocstate.c: Likewise.
42993 * malloc/tst-mcheck.c: Likewise.
42994 * malloc/tst-mtrace.c: Likewise.
42995 * malloc/tst-obstack.c: Likewise.
42996 * math/atest-exp2.c: Likewise.
42997 * math/atest-exp.c: Likewise.
42998 * math/atest-sincos.c: Likewise.
42999 * math/test-matherr.c: Likewise.
43000 * math/test-misc.c: Likewise.
43001 * math/test-powl.c: Likewise.
43002 * math/tst-definitions.c: Likewise.
43003 * misc/tst-dirname.c: Likewise.
43004 * misc/tst-efgcvt.c: Likewise.
43005 * misc/tst-fdset.c: Likewise.
43006 * misc/tst-hsearch.c: Likewise.
43007 * misc/tst-mntent2.c: Likewise.
43008 * nptl/tst-sem7.c: Likewise.
43009 * nptl/tst-sem8.c: Likewise.
43010 * nptl/tst-sem9.c: Likewise.
43011 * nss/test-netdb.c: Likewise.
43012 * posix/tst-fnmatch.c: Likewise.
43013 * posix/tst-getlogin.c: Likewise.
43014 * posix/tst-gnuglob.c: Likewise.
43015 * posix/tst-mmap.c: Likewise.
43016 * pwd/tst-getpw.c: Likewise.
43017 * resolv/tst-inet_ntop.c: Likewise.
43018 * rt/tst-timer.c: Likewise.
43019 * stdio-common/test-fseek.c: Likewise.
43020 * stdio-common/test-popen.c: Likewise.
43021 * stdio-common/test-vfprintf.c: Likewise.
43022 * stdio-common/tst-cookie.c: Likewise.
43023 * stdio-common/tst-fileno.c: Likewise.
43024 * stdio-common/tst-gets.c: Likewise.
43025 * stdio-common/tst-obprintf.c: Likewise.
43026 * stdio-common/tst-perror.c: Likewise.
43027 * stdio-common/tst-sprintf2.c: Likewise.
43028 * stdio-common/tst-sprintf3.c: Likewise.
43029 * stdio-common/tst-sprintf.c: Likewise.
43030 * stdio-common/tst-swprintf.c: Likewise.
43031 * stdio-common/tst-tmpnam.c: Likewise.
43032 * stdio-common/tst-unbputc.c: Likewise.
43033 * stdio-common/tst-wc-printf.c: Likewise.
43034 * stdlib/tst-environ.c: Likewise.
43035 * stdlib/tst-fmtmsg.c: Likewise.
43036 * stdlib/tst-limits.c: Likewise.
43037 * stdlib/tst-rand48-2.c: Likewise.
43038 * stdlib/tst-rand48.c: Likewise.
43039 * stdlib/tst-random2.c: Likewise.
43040 * stdlib/tst-random.c: Likewise.
43041 * stdlib/tst-strtol.c: Likewise.
43042 * stdlib/tst-strtoll.c: Likewise.
43043 * stdlib/tst-tls-atexit.c: Likewise.
43044 * stdlib/tst-xpg-basename.c: Likewise.
43045 * string/test-ffs.c: Likewise.
43046 * string/tst-bswap.c: Likewise.
43047 * string/tst-inlcall.c: Likewise.
43048 * string/tst-strtok.c: Likewise.
43049 * string/tst-strxfrm.c: Likewise.
43050 * sysdeps/x86_64/tst-audit10.c: Likewise.
43051 * sysdeps/x86_64/tst-audit3.c: Likewise.
43052 * sysdeps/x86_64/tst-audit4.c: Likewise.
43053 * sysdeps/x86_64/tst-audit5.c: Likewise.
43054 * time/tst-ftime_l.c: Likewise.
43055 * time/tst-getdate.c: Likewise.
43056 * time/tst-mktime3.c: Likewise.
43057 * time/tst-mktime.c: Likewise.
43058 * time/tst-posixtz.c: Likewise.
43059 * time/tst-strptime2.c: Likewise.
43060 * time/tst-strptime3.c: Likewise.
43061 * wcsmbs/tst-btowc.c: Likewise.
43062 * wcsmbs/tst-mbrtowc.c: Likewise.
43063 * wcsmbs/tst-mbsrtowcs.c: Likewise.
43064 * wcsmbs/tst-wchar-h.c: Likewise.
43065 * wcsmbs/tst-wcpncpy.c: Likewise.
43066 * wcsmbs/tst-wcrtomb.c: Likewise.
43067 * wcsmbs/tst-wcsnlen.c: Likewise.
43068 * wcsmbs/tst-wcstof.c: Likewise.
43069
43070 2014-11-04 Joseph Myers <joseph@codesourcery.com>
43071
43072 [BZ #14132]
43073 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
43074 INTDEF.
43075 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
43076 declaration.
43077 (_dl_mcount): Use rtld_hidden_proto.
43078 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
43079 _dl_mcount.
43080 * elf/rtld.c (_rtld_global_ro): Likewise.
43081
43082 [BZ #14132]
43083 * elf/dl-init.c (_dl_init): Don't use INTDEF.
43084 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
43085 of _dl_init_internal.
43086 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
43087 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
43088 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
43089 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
43090 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
43091 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
43092 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
43093 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
43094 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
43095 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
43096 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
43097 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
43098 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43099 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43100 * sysdeps/tile/dl-start.S (_start): Likewise.
43101 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
43102 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
43103
43104 [BZ #14132]
43105 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
43106 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
43107 (rtld_progname): Make macro definition unconditional.
43108 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
43109 INTDEF.
43110 (dlmopen_doit): Do not use INTUSE with _dl_argv.
43111 (dl_main): Likewise.
43112 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
43113 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
43114 instead of _dl_argv_internal.
43115 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43116 __GI__dl_argv instead of INTUSE(_dl_argv).
43117 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
43118 __GI__dl_argv instead of _dl_argv_internal.
43119
43120 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
43121 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
43122 macro.
43123 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
43124 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
43125 New macro.
43126 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
43127 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
43128 macro.
43129 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
43130 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
43131
43132 2014-11-04 Andreas Schwab <schwab@suse.de>
43133
43134 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
43135
43136 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43137
43138 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
43139 mtvsrd instruction in binary form.
43140
43141 2014-11-03 Andreas Schwab <schwab@suse.de>
43142
43143 [BZ #17522]
43144 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
43145 for less than MB_LEN_MAX use a local buffer of that size.
43146 * libio/tst-fputws.c: New file.
43147 * libio/Makefile (tests): Add tst-fputws.
43148
43149 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
43150
43151 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
43152 the size of the fpu_fr.fpu_dregs[] array.
43153
43154 2014-11-01 Joseph Myers <joseph@codesourcery.com>
43155
43156 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
43157 (__nanosleep): Do not define as alias.
43158 (nanosleep): Define as alias of __nanosleep.
43159 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
43160 __libc_nanosleep name.
43161
43162 2014-10-31 Joseph Myers <joseph@codesourcery.com>
43163
43164 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
43165 install.texi in comment.
43166
43167 2014-10-31 Torvald Riegel <triegel@redhat.com>
43168
43169 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
43170 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
43171 ... add here and use lwsync or sync ...
43172 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
43173 ... and add here using lwsync.
43174
43175 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
43176
43177 * elf/dl-machine-reject-phdr.h: New file.
43178 * elf/dl-load.c: #include that.
43179 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
43180 if that returned true.
43181
43182 2014-10-31 Roland McGrath <roland@hack.frob.com>
43183
43184 [BZ #17496]
43185 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
43186 gen-as-const-headers chunk. Add a big scare comment after the last
43187 safe place to touch before-compile.
43188
43189 2014-10-31 Joseph Myers <joseph@codesourcery.com>
43190
43191 * manual/install.texi (Tools for Compilation): Update autoconf
43192 version requirements.
43193 * INSTALL: Regenerated.
43194
43195 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
43196 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
43197 (__libc_pselect): Likewise.
43198
43199 [BZ #14138]
43200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
43201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43204
43205 2014-10-31 Torvald Riegel <triegel@redhat.com>
43206
43207 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
43208 correct barrier instruction.
43209 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
43210 Likewise.
43211 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
43212 Likewise.
43213
43214 2014-10-30 Roland McGrath <roland@hack.frob.com>
43215
43216 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
43217 after defining inlines. Instead, just use parens to defeat macro
43218 expansion of __isctype in its declaration.
43219
43220 2014-10-30 Joseph Myers <joseph@codesourcery.com>
43221
43222 * include/sys/uio.h (__libc_readv): Remove declaration.
43223 (__libc_writev): Likewise.
43224 * misc/readv.c (__libc_readv): Rename to __readv.
43225 (__readv): Do not define as alias.
43226 (readv): Define as alias of __readv.
43227 * misc/writev.c (__libc_writev): Rename to __writev.
43228 (__writev): Do not define as alias.
43229 (writev): Define as alias of __writev.
43230 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
43231 (__readv): Do not define as alias.
43232 (readv): Define unconditionally as alias of __readv.
43233 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
43234 (__writev): Do not define as alias.
43235 (writev): Define unconditionally as alias of __writev.
43236 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
43237 name.
43238 (writev): Do not define __libc_writev name.
43239
43240 2014-10-30 Roland McGrath <roland@hack.frob.com>
43241
43242 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
43243 (convert_charseq): New function, broken out of ...
43244 (use_from_charmap): ... here. Call it.
43245 (use_to_charmap): Use convert_charseq and free instead of duplicating
43246 its code with a variable-length stack struct.
43247
43248 2014-10-30 Joseph Myers <joseph@codesourcery.com>
43249
43250 * include/fcntl.h (__libc_creat): Remove declaration.
43251 * io/creat.c (__libc_creat): Rename to creat.
43252 (creat): Do not define as alias.
43253 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
43254 of creat instead of __libc_creat.
43255 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
43256 to creat.
43257 (creat): Do not define as alias.
43258 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
43259 __libc_creat.
43260 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
43261 __libc_creat name.
43262 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
43263 Likewise.
43264
43265 2014-10-29 Carlos O'Donell <carlos@redhat.com>
43266
43267 * manual/llio.texi: Add comments discussing why write() may be
43268 considered MT-unsafe on Linux.
43269
43270 2014-10-28 Carlos O'Donell <carlos@redhat.com>
43271
43272 * dl-load.c (local_strdup): Remove.
43273 (expand_dynamic_string_token): Use __strdup.
43274 (decompose_rpath): Likewise.
43275 (_dl_map_object): Likewise.
43276
43277 2014-10-28 Joseph Myers <joseph@codesourcery.com>
43278
43279 [BZ #14132]
43280 * sysdeps/generic/unwind-dw2-fde.c
43281 (__register_frame_info_bases_internal): Do not declare.
43282 (__register_frame_info_table_bases_internal): Likewise.
43283 (__deregister_frame_info_bases_internal): Likewise.
43284 (__register_frame_info_bases): Declare and use hidden_proto before
43285 definition. Use hidden_def instead of INTDEF.
43286 (__register_frame_info_table_bases): Likewise.
43287 (__deregister_frame_info_bases): Likewise.
43288 (__register_frame_info): Do not use INTUSE.
43289 (__register_frame): Likewise.
43290 (__register_frame_info_table): Likewise.
43291 (__register_frame_table): Likewise.
43292 (__deregister_frame_info): Likewise.
43293 (__deregister_frame): Likewise.
43294
43295 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
43296
43297 * sysdeps/unix/sysv/linux/arm/kernel-features.h
43298 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
43299 not undefine.
43300 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
43301 Likewise.
43302 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
43303 Likewise.
43304
43305 2014-10-27 Joseph Myers <joseph@codesourcery.com>
43306
43307 [BZ #14138]
43308 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
43309 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
43310 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
43311 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
43312 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
43313 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
43314 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
43315 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
43316 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
43317 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
43318 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
43319 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
43320 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
43321 syscall.
43322 (setfsuid): Likewise.
43323 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
43324 (setfsuid): Likewise.
43325 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
43326 (setfsuid): Likewise.
43327 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
43328 Likewise.
43329 (setfsuid): Likewise.
43330 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
43331 (setfsuid): Likewise.
43332 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
43333 Likewise.
43334 (setfsuid): Likewise.
43335
43336 2014-10-27 Andreas Schwab <schwab@suse.de>
43337
43338 [BZ #17501]
43339 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
43340 check for Slow_SSE4_2 feature bit.
43341 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
43342 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
43343 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
43344 Likewise. Fix check for Fast_Unaligned_Load feature bit.
43345
43346 2014-10-24 Roland McGrath <roland@hack.frob.com>
43347
43348 * configure.ac: Validate compiler version with a empirical test of
43349 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
43350 $CC -v output.
43351 * configure: Regenerated.
43352
43353 * inet/htons.c (htons): Prototypify.
43354 * inet/htonl.c (htonl): Likewise.
43355
43356 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
43357
43358 * string/strncat.c (strncat): Improve performance by using strlen.
43359
43360 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
43361
43362 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
43363
43364 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
43365
43366 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
43367 Call libc_fetestexcept_aarch64.
43368
43369 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
43370
43371 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
43372 Call libc_feholdexcept_aarch64.
43373
43374 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
43375
43376 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
43377 Call get_rounding_mode.
43378
43379 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
43380
43381 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
43382 Simplify logic.
43383
43384 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
43385
43386 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
43387 Simplify logic.
43388
43389 2014-10-24 Joseph Myers <joseph@codesourcery.com>
43390
43391 [BZ #14138]
43392 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
43393 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
43394 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
43395 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
43396 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
43397 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
43398 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
43399 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
43400 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
43401 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
43402 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
43403 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
43404 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
43405 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
43406 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
43407 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
43408 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
43409 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
43410 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
43411 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
43412 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
43413 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
43414 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
43415 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
43416 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
43417 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
43418 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
43419 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
43420 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
43421 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
43422 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
43423 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
43424 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
43425 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
43426 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
43427 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
43428 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
43429 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
43430 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
43431 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
43432 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
43433 syscall.
43434 (geteuid): Likewise.
43435 (getgid): Likewise.
43436 (getuid): Likewise.
43437 (getresgid): Likewise.
43438 (getresuid): Likewise.
43439 (getgroups): Likewise.
43440 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
43441 (geteuid): Likewise.
43442 (getgid): Likewise.
43443 (getuid): Likewise.
43444 (getresgid): Likewise.
43445 (getresuid): Likewise.
43446 (getgroups): Likewise.
43447 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
43448 (geteuid): Likewise.
43449 (getgid): Likewise.
43450 (getuid): Likewise.
43451 (getresgid): Likewise.
43452 (getresuid): Likewise.
43453 (getgroups): Likewise.
43454 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
43455 Likewise.
43456 (geteuid): Likewise.
43457 (getgid): Likewise.
43458 (getuid): Likewise.
43459 (getresgid): Likewise.
43460 (getresuid): Likewise.
43461 (getgroups): Likewise.
43462 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
43463 (geteuid): Likewise.
43464 (getgid): Likewise.
43465 (getuid): Likewise.
43466 (getresgid): Likewise.
43467 (getresuid): Likewise.
43468 (getgroups): Likewise.
43469 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
43470 Likewise.
43471 (geteuid): Likewise.
43472 (getgid): Likewise.
43473 (getuid): Likewise.
43474 (getgroups): Likewise.
43475
43476 [BZ #14138]
43477 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
43478 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
43479 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
43480 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
43481 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
43482 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
43483 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
43484 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
43485 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
43486 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
43487 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
43488 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
43489 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
43490 __chown.
43491 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
43492 (lchown): Likewise.
43493 (fchown): Likewise.
43494 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
43495 Likewise.
43496 (lchown): Likewise.
43497 (fchown): Likewise.
43498 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
43499 (lchown): Likewise.
43500 (fchown): Likewise.
43501 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
43502 Likewise.
43503 (lchown): Likewise.
43504 (fchown): Likewise.
43505
43506 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
43507
43508 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
43509 Simplify logic.
43510
43511 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
43512
43513 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
43514 Cleanup logic.
43515
43516 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
43517
43518 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
43519 Remove unused include.
43520
43521 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
43522
43523 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
43524 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
43525 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
43526 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
43527
43528 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
43529 Helge Deller <deller@gmx.de>
43530
43531 [BZ #17508]
43532 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
43533 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
43534 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
43535
43536 2014-10-23 Joseph Myers <joseph@codesourcery.com>
43537
43538 [BZ #14132]
43539 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
43540 Remove macro definition.
43541 (__ashrdi3_v_glibc20): Likewise.
43542 (__lshrdi3_v_glibc20): Likewise.
43543 (__cmpdi2_v_glibc20): Likewise.
43544 (__ucmpdi2_v_glibc20): Likewise.
43545 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
43546 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
43547 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
43548 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
43549 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
43550 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
43551
43552 2014-10-22 Roland McGrath <roland@hack.frob.com>
43553
43554 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
43555 old GNU extension [0] syntax.
43556 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
43557 alloca rather than an array member with variable length.
43558 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
43559 * nscd/nscd.c (invalidate_db): New function, broken out of ...
43560 (parse_opt): ... here. Likewise use alloca there.
43561 Validate the -i argument before checking for rootness.
43562 (send_shutdown): New function, broken out of ...
43563 (parse_opt): ... here.
43564
43565 2014-10-22 Roland McGrath <roland@hack.frob.com>
43566
43567 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
43568 macro to get at the _rt_local_ro field.
43569 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
43570 ([PIC] case) or _dl_hwcap ([!PIC] case).
43571 * sysdeps/arm/setjmp.S: Likewise.
43572
43573 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
43574 * sysdeps/arm/configure.ac: New check to define it.
43575 * sysdeps/arm/configure: Regenerated.
43576 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
43577 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
43578 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
43579 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
43580 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
43581 Use move/movt pair instead of a load.
43582 (LDST_GLOBAL): Macro removed.
43583 (LDR_GLOBAL): New macro replaces it.
43584 (LDR_HIDDEN): New macro.
43585 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
43586 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
43587
43588 * setjmp/tst-setjmp-static.c: New file.
43589 * setjmp/Makefile (tests): Add it.
43590 (tests-static): New variable.
43591
43592 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
43593
43594 [BZ #17485]
43595 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
43596
43597 2014-10-21 Joseph Myers <joseph@codesourcery.com>
43598
43599 [BZ #14132]
43600 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
43601
43602 2014-10-21 Roland McGrath <roland@hack.frob.com>
43603
43604 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
43605
43606 2014-10-20 Roland McGrath <roland@hack.frob.com>
43607
43608 * io/fts.c (dirent_not_directory): New function.
43609 (fts_build): Call it.
43610
43611 2014-10-20 Roland McGrath <roland@hack.frob.com>
43612
43613 * nptl/version.c (__nptl_main): Use normal __write rather than
43614 INTERNAL_SYSCALL.
43615 (banner): Update copyright years.
43616
43617 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
43618 gettimeofday.
43619 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
43620 * nptl/pthread_cond_timedwait.c: Likewise.
43621 * nptl/pthread_mutex_timedlock.c: Likewise.
43622 * nptl/sem_timedwait.c: Likewise.
43623
43624 * sysdeps/nptl/bits/libc-lock.h
43625 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
43626 (__libc_lock_init_recursive): Return void, not 0.
43627 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
43628 (__libc_rwlock_init): Likewise.
43629 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
43630
43631 2014-10-20 Torvald Riegel <triegel@redhat.com>
43632
43633 [BZ #15215]
43634 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
43635 (__pthread_once_slow): ... here.
43636 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
43637 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
43638
43639 2014-10-20 Torvald Riegel <triegel@redhat.com>
43640
43641 [BZ #15215]
43642 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
43643 __PTHREAD_ONCE_FORK_GEN_INCR): New.
43644 * sysdeps/nptl/fork.c (__libc_fork): Use them.
43645 * nptl/pthread_once.c (__pthread_once): Likewise.
43646 Update comments.
43647
43648 2014-10-20 Joseph Myers <joseph@codesourcery.com>
43649
43650 [BZ #14138]
43651 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
43652 name.
43653 (writev): Use __libc_writev as strong name.
43654 * sysdeps/unix/sysv/linux/readv.c: Remove file.
43655 * sysdeps/unix/sysv/linux/writev.c: Likewise.
43656
43657 2014-10-17 Roland McGrath <roland@hack.frob.com>
43658
43659 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
43660
43661 * sysdeps/i386/nptl/tls.h
43662 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
43663 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
43664 New macros.
43665 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
43666 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
43667 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
43668 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
43669 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
43670 Call CHECK_THREAD_SYSINFO instead of doing an assert.
43671
43672 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
43673 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
43674 on [__NR_futex].
43675 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
43676 broken out of ...
43677 (__pthread_mutex_init): ... here. Call it.
43678 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
43679 Conditionalize PI cases on [__NR_futex].
43680 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
43681 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
43682 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
43683
43684 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
43685 conditional on [SIGSETXID].
43686 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
43687 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
43688 is defined. Likewise for SIGSETXID.
43689 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
43690 Conditionalize definitions on [SIGSETXID].
43691 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
43692 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
43693 unblocking on [SIGCANCEL].
43694
43695 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
43696 [__NR_set_robust_list].
43697
43698 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
43699
43700 * string/strcoll_l.c (get_next_seq): Fix up formatting.
43701 (do_compare): Likewise.
43702
43703 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
43704
43705 [BZ #15884]
43706 * string/strcoll_l.c: Don't include stdio.h.
43707 (coll_seq): Remove members idxarr and rulearr.
43708 (get_next_seq_cached): Remove function.
43709 (get_next_seq): Likewise.
43710 (get_next_seq_nocache): Rename to get_next_seq.
43711 (do_compare): Remove function.
43712 (do_compare_nocache): Rename to do_compare.
43713 (STRCOLL): Remove weight and rules cache.
43714
43715 2014-10-16 Roland McGrath <roland@hack.frob.com>
43716
43717 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
43718 * sysdeps/arm/sfp-machine.h: ... to here.
43719 * sysdeps/arm/Implies: Remove arm/soft-fp.
43720
43721 2014-10-14 Joseph Myers <joseph@codesourcery.com>
43722
43723 * conform/data/sys/utsname.h-data (*_t): Allow.
43724 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
43725 [POSIX] (WEXITED): Do not expect constant.
43726 [POSIX] (WSTOPPED): Likewise.
43727 [POSIX] (WNOHANG): Likewise.
43728 [POSIX] (WNOWAIT): Likewise.
43729 [POSIX] (siginfo_t): Do not expect type or elements.
43730 [POSIX] (pid_t): Do not expect type.
43731 [POSIX] (signal.h): Do not allow header.
43732 [POSIX] (sys/resource.h): Likewise.
43733 [POSIX] (si_*): Do not allow pattern.
43734 [POSIX] (W*): Likewise.
43735 [POSIX] (P_*): Likewise.
43736 [POSIX] (BUS_*): Likewise.
43737 [POSIX] (CLD_*): Likewise.
43738 [POSIX] (FPE_*): Likewise.
43739 [POSIX] (ILL_*): Likewise.
43740 [POSIX] (POLL_*): Likewise.
43741 [POSIX] (SEGV_*): Likewise.
43742 [POSIX] (SI_*): Likewise.
43743 [POSIX] (TRAP_*): Likewise.
43744 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
43745 variable.
43746
43747 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
43748
43749 [BZ #12926]
43750 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
43751 infinite loop when __recvmsg returns 0.
43752
43753 2014-10-10 Joseph Myers <joseph@codesourcery.com>
43754
43755 * CANCEL-FCT-WAIVE: Remove file.
43756 * CANCEL-FILE-WAIVE: Likewise.
43757
43758 [BZ #14132]
43759 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
43760 instead of INTVARDEF.
43761 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
43762 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
43763 rtld_hidden_data_def instead of INTVARDEF.
43764 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
43765 * elf/dl-deps.c (expand_dst): Likewise.
43766 * elf/dl-load.c (_dl_dst_count): Likewise.
43767 (_dl_dst_substitute): Likewise.
43768 (decompose_rpath): Likewise.
43769 (_dl_init_paths): Likewise.
43770 (open_path): Likewise.
43771 (_dl_map_object): Likewise.
43772 * elf/rtld.c (dl_main): Likewise.
43773 (process_dl_audit): Likewise.
43774 (process_envvars): Likewise.
43775 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
43776 Remove declaration.
43777 (__libc_enable_secure): Use rtld_hidden_proto.
43778
43779 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
43780
43781 * elf/dl-load.c
43782 (add_path): New function broken out of _dl_rtld_di_serinfo.
43783 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
43784
43785 2014-10-09 Joseph Myers <joseph@codesourcery.com>
43786
43787 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
43788 parentheses around macro arguments.
43789 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
43790 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
43791 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
43792 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
43793 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
43794 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
43795 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
43796 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
43797 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
43798 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
43799 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
43800 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
43801 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
43802 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
43803 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
43804 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
43805 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
43806 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
43807 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
43808 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
43809 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
43810 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
43811 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
43812 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
43813 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
43814 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
43815 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
43816 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
43817 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
43818 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
43819 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
43820 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
43821 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
43822 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
43823 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
43824 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
43825 Likewise.
43826 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
43827 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
43828 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
43829 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
43830 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
43831 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
43832 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
43833 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
43834 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
43835 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
43836 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
43837 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
43838 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
43839 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
43840 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
43841 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
43842 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
43843 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
43844 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
43845 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
43846 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
43847 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
43848 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
43849 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
43850 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
43851 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
43852 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
43853 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
43854 (_FP_FRAC_SRS_1): Likewise.
43855 (_FP_FRAC_CLZ_1): Likewise.
43856 (_FP_MUL_MEAT_1_imm): Likewise.
43857 (_FP_MUL_MEAT_1_wide): Likewise.
43858 (_FP_MUL_MEAT_1_hard): Likewise.
43859 (_FP_SQRT_MEAT_1): Likewise.
43860 (_FP_FRAC_ASSEMBLE_1): Likewise.
43861 (_FP_FRAC_DISASSEMBLE_1): Likewise.
43862 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
43863 (__FP_CLZ_2): Likewise.
43864 (_FP_MUL_MEAT_2_wide): Likewise.
43865 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
43866 (_FP_MUL_MEAT_2_gmp): Likewise.
43867 (_FP_MUL_MEAT_2_120_240_double): Likewise.
43868 (_FP_SQRT_MEAT_2): Likewise.
43869 (_FP_FRAC_ASSEMBLE_2): Likewise.
43870 (_FP_FRAC_DISASSEMBLE_2): Likewise.
43871 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
43872 (_FP_FRAC_CLZ_4): Likewise.
43873 (_FP_MUL_MEAT_4_wide): Likewise.
43874 (_FP_MUL_MEAT_4_gmp): Likewise.
43875 (_FP_SQRT_MEAT_4): Likewise.
43876 (_FP_FRAC_ASSEMBLE_4): Likewise.
43877 (_FP_FRAC_DISASSEMBLE_4): Likewise.
43878 * soft-fp/op-common.h (_FP_CMP): Likewise.
43879 (_FP_CMP_EQ): Likewise.
43880 (_FP_CMP_UNORD): Likewise.
43881 (_FP_TO_INT): Likewise.
43882 (_FP_FROM_INT): Likewise.
43883 [!__FP_CLZ] (__FP_CLZ): Likewise.
43884 (_FP_DIV_HELP_imm): Likewise.
43885 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
43886 Likewise.
43887 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
43888 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
43889 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
43890 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
43891 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
43892 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
43893 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
43894 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
43895 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
43896 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
43897 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
43898 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
43899 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
43900 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
43901 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
43902 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
43903 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
43904 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
43905 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
43906 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
43907 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
43908 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
43909 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
43910 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
43911 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
43912 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
43913 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
43914 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
43915 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
43916 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
43917 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
43918 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
43919 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
43920 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
43921 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
43922 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
43923 (FP_UNPACK_RAW_SP): Likewise.
43924 (FP_PACK_RAW_S): Likewise.
43925 (FP_PACK_RAW_SP): Likewise.
43926 (FP_UNPACK_S): Likewise.
43927 (FP_UNPACK_SP): Likewise.
43928 (FP_UNPACK_SEMIRAW_S): Likewise.
43929 (FP_UNPACK_SEMIRAW_SP): Likewise.
43930 (FP_PACK_S): Likewise.
43931 (FP_PACK_SP): Likewise.
43932 (FP_PACK_SEMIRAW_S): Likewise.
43933 (FP_PACK_SEMIRAW_SP): Likewise.
43934 (_FP_SQRT_MEAT_S): Likewise.
43935 (FP_CMP_S): Likewise.
43936 (FP_CMP_EQ_S): Likewise.
43937 (FP_CMP_UNORD_S): Likewise.
43938 (FP_TO_INT_S): Likewise.
43939 (FP_FROM_INT_S): Likewise.
43940
43941 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
43942
43943 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
43944 (FP_EX_INVALID_IMZ): Likewise.
43945 (FP_EX_INVALID_IMZ_FMA): Likewise.
43946 (FP_EX_INVALID_ISI): Likewise.
43947 (FP_EX_INVALID_ZDZ): Likewise.
43948 (FP_EX_INVALID_IDI): Likewise.
43949 (FP_EX_INVALID_SQRT): Likewise.
43950 (FP_EX_INVALID_CVI): Likewise.
43951 (FP_EX_INVALID_VC): Likewise.
43952 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
43953 "invalid" exceptions.
43954 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
43955 (_FP_ADD_INTERNAL): Likewise.
43956 (_FP_MUL): Likewise.
43957 (_FP_FMA): Likewise.
43958 (_FP_DIV): Likewise.
43959 (_FP_CMP_CHECK_NAN): Likewise.
43960 (_FP_SQRT): Likewise.
43961 (_FP_TO_INT): Likewise.
43962 (FP_EXTEND): Likewise.
43963
43964 2014-10-09 Allan McRae <allan@archlinux.org>
43965
43966 * po/fr.po: Update French translation from translation project.
43967
43968 2014-10-09 Joseph Myers <joseph@codesourcery.com>
43969
43970 [BZ #14132]
43971 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
43972 of INTDEF.
43973 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
43974 (__cxa_atexit): Use libc_hidden_proto.
43975 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
43976
43977 [BZ #14132]
43978 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
43979 declaration.
43980 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
43981 [!_ISOMAC] (__iswspace_l_internal): Likewise.
43982 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
43983 [!_ISOMAC] (__iswctype_internal): Likewise.
43984 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
43985 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
43986 alias.
43987 (fcntl): Remove __fcntl_internal alias.
43988 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
43989 __connect_internal alias.
43990 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
43991 Likewise.
43992
43993 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
43994 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
43995 FP_DENORM_ZERO.
43996 (_FP_CHECK_FLUSH_ZERO): New macro.
43997 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
43998 (_FP_CMP): Likewise.
43999 (_FP_CMP_EQ): Likewise.
44000 (_FP_TO_INT): Do not set inexact for subnormal arguments if
44001 FP_DENORM_ZERO.
44002 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
44003 (FP_TRUNC): Likewise.
44004
44005 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
44006 treated as invalid conversion, not as normal exponent.
44007
44008 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
44009 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
44010 (_FP_CMP_EQ): Likewise.
44011 (_FP_CMP_UNORD): Likewise.
44012 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
44013 (FP_CMP_EQ_D): Likewise.
44014 (FP_CMP_UNORD_D): Likewise.
44015 * soft-fp/extended.h (FP_CMP_E): Likewise.
44016 (FP_CMP_EQ_E): Likewise.
44017 (FP_CMP_UNORD_E): Likewise.
44018 * soft-fp/quad.h (FP_CMP_Q): Likewise.
44019 (FP_CMP_EQ_Q): Likewise.
44020 (FP_CMP_UNORD_Q): Likewise.
44021 * soft-fp/single.h (FP_CMP_S): Likewise.
44022 (FP_CMP_EQ_S): Likewise.
44023 (FP_CMP_UNORD_S): Likewise.
44024 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
44025 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
44026 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
44027 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
44028 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
44029 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
44030 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
44031 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
44032 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
44033 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
44034 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
44035 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
44036 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
44037 to FP_CMP_Q.
44038 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
44039 FP_CMP_Q.
44040 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
44041 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
44042 FP_CMP_EQ_Q.
44043 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
44044 FP_CMP_Q.
44045 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
44046 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
44047 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
44048 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
44049 FP_CMP_EQ_Q.
44050 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
44051 FP_CMP_Q.
44052 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
44053 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
44054 FP_CMP_EQ_Q.
44055 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
44056 FP_CMP_Q.
44057 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
44058 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
44059 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
44060 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
44061 FP_CMP_EQ_Q.
44062
44063 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
44064 a subnormal result, set the underflow exception if trapping on
44065 underflow is enabled.
44066 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
44067 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
44068 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
44069 redefine to 0.
44070 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
44071 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
44072 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
44073 * soft-fp/extendxftf2.c (__extendxftf2): Use
44074 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
44075
44076 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
44077 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
44078 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44079 FP_HANDLE_EXCEPTIONS.
44080 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
44081 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44082 FP_HANDLE_EXCEPTIONS.
44083 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
44084 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44085 FP_HANDLE_EXCEPTIONS.
44086 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
44087 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44088 FP_HANDLE_EXCEPTIONS.
44089
44090 2014-10-08 Joseph Myers <joseph@codesourcery.com>
44091
44092 [BZ #14132]
44093 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
44094 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
44095 use INTUSE.
44096 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
44097 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
44098 Remove alias.
44099 (__adjtimex): Define using libc_hidden_ver.
44100 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
44101 Remove declaration.
44102 (ntp_gettime): Call __adjtimex directly.
44103 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
44104 Remove declaration.
44105 (ntp_gettimex): Call __adjtimex directly.
44106 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
44107 __adjtimex_internal alias.
44108
44109 2014-10-08 Roland McGrath <roland@hack.frob.com>
44110
44111 [BZ #17460]
44112 * nscd/nscd.c (more_help): Rewrite list of tables collection
44113 using xstrdup and asprintf.
44114
44115 * nscd/nscd_conf.c: Remove local xstrdup declaration.
44116
44117 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
44118 Roland McGrath <roland@hack.frob.com>
44119
44120 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
44121 (do_lookup_unique): ... local function 'enter' here; update callers.
44122
44123 2014-10-06 Joseph Myers <joseph@codesourcery.com>
44124
44125 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
44126 compat_symbol calls on [SHARED].
44127 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
44128 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
44129 Remove.
44130 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44131 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
44132 (oldsetrlimit): Remove.
44133 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
44135 (lchown): New syscall entry.
44136 (oldsetrlimit): Remove.
44137 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44138 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
44139 (oldsetrlimit): Remove.
44140 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44141
44142 [BZ #14138]
44143 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
44144 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
44145 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
44146 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
44147 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
44148 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
44149 (fchown): Likewise.
44150 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
44151 (fchown): Likewise.
44152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
44153 Likewise.
44154
44155 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44156
44157 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
44158 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
44159 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
44160 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
44161 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
44162 Likewise.
44163 (__old_sem_post): Likewise.
44164
44165 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
44166
44167 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
44168 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
44169 HAVE_CLOCK_GETTIME_VSYSCALL macros.
44170 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
44171 Use INLINE_VSYSCALL macro.
44172 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
44173 __vdso_clock_gettime.
44174 * sysdeps/unix/sysv/linux/tile/init-first.c
44175 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
44176 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
44177 __vdso_clock_gettime.
44178
44179 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
44180 to set up frame more cleanly.
44181
44182 * sysdeps/tile/memcmp.c: New file.
44183
44184 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
44185
44186 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
44187 * sysdeps/tile/tilegx/strcasestr.c: New file.
44188 * sysdeps/tile/tilegx/strnlen.c: New file.
44189 * sysdeps/tile/tilegx/strstr.c: New file.
44190
44191 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
44192
44193 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
44194
44195 * nptl/tst-setuid3.c: Write errors to stdout.
44196
44197 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
44198
44199 * elf/dl-deps.c
44200 (preload): New functions broken out of _dl_map_object_deps.
44201 (_dl_map_object_deps): Remove a nested function. Update call sites.
44202
44203 2014-10-01 Joseph Myers <joseph@codesourcery.com>
44204
44205 [BZ #14138]
44206 * sysdeps/unix/sysv/linux/execve.c: Remove file.
44207 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
44208
44209 2014-10-01 Steve Ellcey <sellcey@mips.com>
44210
44211 * sysdeps/mips/strcmp.S: New.
44212
44213 2014-09-30 Joseph Myers <joseph@codesourcery.com>
44214
44215 [BZ #14138]
44216 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
44217 (linkat): Likewise.
44218 (mkdirat): Likewise.
44219 (readlinkat): Likewise.
44220 (renameat): Likewise.
44221 (symlinkat): Likewise.
44222 (unlinkat): Likewise.
44223 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
44224 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
44225 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
44226 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
44227 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
44228 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
44229 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
44230
44231 2014-09-30 Will Newton <will.newton@linaro.org>
44232
44233 * math/math.h: Define long double math functions if
44234 _LIBC_TEST is defined.
44235 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
44236
44237 * localedata/Makefile: Move assignment to tests-special
44238 into an ifdef testing run-built-tests.
44239 * timezone/Makefile: Likewise.
44240
44241 2014-09-29 Joseph Myers <joseph@codesourcery.com>
44242
44243 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
44244 with $(BASH) not $(SHELL).
44245
44246 2014-09-29 Carlos O'Donell <carlos@redhat.com>
44247 Matthew LeGendre <legendre1@llnl.gov>
44248
44249 [BZ #17411]
44250 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
44251 l_reloc_result.
44252
44253 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
44254
44255 * stdio-common/printf_fp.c
44256 (hack_digit): New function, broken out of ...
44257 (__printf_fp): ... local function here. Update call sites.
44258 hack_digit now takes an additional parameter that is a pointer
44259 to a struct of the referenced locals. Those locals moved inside
44260 the struct and references updated.
44261
44262 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
44263
44264 * aclocal.m4: Require autoconf 2.69.
44265 * configure: Regenerated.
44266 * sysdeps/aarch64/configure: Likewise.
44267 * sysdeps/alpha/configure: Likewise.
44268 * sysdeps/arm/armv7/configure: Likewise.
44269 * sysdeps/arm/configure: Likewise.
44270 * sysdeps/ia64/configure: Likewise.
44271 * sysdeps/mach/configure: Likewise.
44272 * sysdeps/mips/configure: Likewise.
44273 * sysdeps/s390/configure: Likewise.
44274 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
44275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
44276
44277 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
44278 file.
44279 * sysdeps/ia64/configure.ac: Likewise.
44280
44281 2014-09-26 Joseph Myers <joseph@codesourcery.com>
44282
44283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
44284 specify symbol version for ld.so. Do not include entry for
44285 libpthread.
44286 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44287 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
44288 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44289
44290 [BZ #14171]
44291 * Makeconfig [$(build-shared) = yes]
44292 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
44293 makefiles.
44294 [$(build-shared) = yes && $(soversions.mk-done) = t]
44295 ($(common-objpfx)gnu/lib-names.h): Remove rule.
44296 [$(build-shared) = yes && $(soversions.mk-done) = t]
44297 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
44298 to Makerules.
44299 [$(build-shared) = yes && $(soversions.mk-done) = t]
44300 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
44301 here.
44302 [$(build-shared) = yes && $(soversions.mk-done) = t]
44303 (common-generated): Don't append gnu/lib-names.h and
44304 gnu/lib-names.stmp here.
44305 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
44306 (lib-names-h-abi): New variable.
44307 [$(build-shared) = yes && $(soversions.mk-done) = t]
44308 (lib-names-stmp-abi): Likewise.
44309 [$(build-shared) = yes && $(soversions.mk-done) = t &&
44310 abi-variants] (before-compile): Append
44311 $(common-objpfx)$(lib-names-h-abi).
44312 [$(build-shared) = yes && $(soversions.mk-done) = t &&
44313 abi-variants] (common-generated): Append gnu/lib-names.h.
44314 [$(build-shared) = yes && $(soversions.mk-done) = t &&
44315 abi-variants] (install-others-nosubdir): Depend on
44316 $(inst_includedir)/$(lib-names-h-abi).
44317 [$(build-shared) = yes && $(soversions.mk-done) = t &&
44318 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
44319 [$(build-shared) = yes && $(soversions.mk-done) = t]
44320 ($(common-objpfx)$(lib-names-h-abi)): New rule.
44321 [$(build-shared) = yes && $(soversions.mk-done) = t]
44322 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
44323 [$(build-shared) = yes && $(soversions.mk-done) = t]
44324 (common-generated): Append $(lib-names-h-abi) and
44325 $(lib-names-stmp-abi).
44326 * scripts/lib-names.awk: Do not handle multi being set.
44327 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
44328 Remove variable.
44329 (abi-lp64_be-ld-soname): Likewise.
44330 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
44331 Likewise.
44332 (abi-hard-ld-soname): Likewise.
44333 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
44334 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
44335 Remove variable.
44336 (abi-o32_hard-ld-soname): Likewise.
44337 (abi-o32_soft_2008-ld-soname): Likewise.
44338 (abi-o32_hard_2008-ld-soname): Likewise.
44339 (abi-n32_soft-ld-soname): Likewise.
44340 (abi-n32_hard-ld-soname): Likewise.
44341 (abi-n32_soft_2008-ld-soname): Likewise.
44342 (abi-n32_hard_2008-ld-soname): Likewise.
44343 (abi-n64_soft-ld-soname): Likewise.
44344 (abi-n64_hard-ld-soname): Likewise.
44345 (abi-n64_soft_2008-ld-soname): Likewise.
44346 (abi-n64_hard_2008-ld-soname): Likewise.
44347 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
44348 Likewise.
44349 (abi-64-v2-ld-soname): Likewise.
44350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
44351 ld.so entries.
44352 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
44353 variable.
44354 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
44355 entry.
44356 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
44357 variable.
44358 (abi-64-ld-soname): Likewise.
44359 (abi-x32-ld-soname): Likewise.
44360 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
44361 entry.
44362 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44363
44364 2014-09-23 Joseph Myers <joseph@codesourcery.com>
44365
44366 [BZ #14138]
44367 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
44368 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
44369 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
44370 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
44371 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
44372 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
44373 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
44374 syscall entry for GLIBC_2.2 symbol version.
44375 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
44376 Likewise.
44377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
44378 (setrlimit): Likewise.
44379 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
44380 Likewise.
44381
44382 2014-09-23 Will Newton <will.newton@linaro.org>
44383
44384 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
44385 _LINUX_ARM_SYSDEP_H include guard too.
44386 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
44387 define.
44388
44389 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
44390
44391 * sysdeps/unix/sysv/linux/eventfd.c:
44392 Make first argument unsigned.
44393 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
44394 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
44395
44396 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
44397
44398 [BZ #16852]
44399 * socket/recvmmsg.c (recvmmsg): Drop const argument.
44400 * socket/sys/socket.h: Likewise.
44401 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
44402
44403 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44404
44405 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
44406
44407 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
44408
44409 * time/tst-ftime.c: New test.
44410 * time/Makefile (tests): Add tst-ftime.
44411
44412 2014-09-17 Joseph Myers <joseph@codesourcery.com>
44413
44414 * soft-fp/extended.h: Fix comment formatting.
44415 * soft-fp/op-1.h: Likewise.
44416 * soft-fp/op-2.h: Likewise.
44417 * soft-fp/op-4.h: Likewise.
44418 * soft-fp/op-8.h: Likewise.
44419 * soft-fp/op-common.h: Likewise.
44420 * soft-fp/soft-fp.h: Likewise.
44421
44422 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
44423
44424 2014-09-16 Joseph Myers <joseph@codesourcery.com>
44425
44426 [BZ #6652]
44427 * Makeconfig (soversions-default-setname): Remove variable.
44428 ($(common-objpfx)soversions.i): Don't pass default_setname to
44429 soversions.awk.
44430 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
44431 oldest_abi to abi-versions.awk.
44432 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
44433 * config.make.in (oldest-abi): Remove variable.
44434 * configure.ac (--enable-oldest-abi): Remove configure option.
44435 * configure: Regenerated.
44436 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
44437 text.
44438 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
44439 * scripts/soversions.awk: Do not handle default_setname variable.
44440 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
44441 variable.
44442 * sysdeps/mach/hurd/configure: Regenerated.
44443 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
44444 variable.
44445 * sysdeps/unix/sysv/linux/configure: Regenerated.
44446
44447 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
44448
44449 * elf/Makefile (CFLAGS-interp.c): Remove.
44450 ($(elf-objpfx)runtime-linker.h): Generate header with linker
44451 path string.
44452 * elf/interp.c: Include generated runtime-linker.h
44453
44454 * Makerules (lib%.so): Don't include $(+interp) in
44455 prerequisites.
44456 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
44457 * dlfcn/eval.c: Remove file.
44458
44459 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
44460 macros.
44461
44462 [BZ #17266]
44463 * misc/sys/cdefs.h: Define __extern_always_inline for clang
44464 4.2 and newer.
44465
44466 [BZ #17370]
44467 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
44468
44469 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
44470 Jakub Jelinek <jakub@redhat.com>
44471
44472 [BZ #17266]
44473 * libio/stdio.h: Check definition of __fortify_function
44474 instead of __extern_always_inline to include bits/stdio2.h.
44475 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
44476 check if __extern_always_inline is defined.
44477 [__USE_MISC || __USE_XOPEN]: Likewise.
44478 [__USE_ISOC99] Likewise.
44479 * misc/sys/cdefs.h (__fortify_function): Define only if
44480 __extern_always_inline is defined.
44481 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
44482 __extern_always_inline and __extern_inline only for g++-4.3
44483 and newer or a compatible gcc.
44484
44485 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
44486
44487 [BZ #17371]
44488 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
44489 last change to handle zero prefix length.
44490
44491 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
44492
44493 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
44494 _SC_REGEX_VERSION.
44495
44496 * posix/getconf.c (vars): Add _POSIX_IPV6 and
44497 _POSIX_RAW_SOCKETS.
44498
44499 2014-09-13 Allan McRae <allan@archlinux.org>
44500
44501 * po/ru.po: Update Russian translation from translation project.
44502
44503 2014-09-12 Roland McGrath <roland@hack.frob.com>
44504
44505 * locale/programs/locale.c (show_locale_vars): Inline local function
44506 into its sole call site. Clean up some style nits.
44507 (print_item): New function, broken out of ...
44508 (show_info): ... local function here. Clean up style nits.
44509
44510 * locale/programs/ld-ctype.c (set_one_default): New function, broken
44511 out of ...
44512 (set_class_defaults): ... local function set_default here.
44513 Define set_default as a macro locally to pass constant parameters.
44514 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
44515 rather than a shared local.
44516
44517 * stdlib/rpmatch.c (try): New function, broken out of ...
44518 (rpmatch): ... local function here. Also, prototypify definition.
44519
44520 2014-09-12 Joseph Myers <joseph@codesourcery.com>
44521
44522 * scripts/soversions.awk: Do not handle configuration names.
44523 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
44524 vendor and os variables to soversions.awk.
44525 * configure.ac: Do not modify gnu-* host_os.
44526 * configure: Regenerated
44527 * shlib-versions: Remove first column with configuration names.
44528 * nptl/shlib-versions: Likewise.
44529 * nptl_db/shlib-versions: Likewise.
44530 * sysdeps/hppa/shlib-versions: Likewise.
44531 * sysdeps/m68k/shlib-versions: Likewise.
44532 * sysdeps/mach/hurd/shlib-versions: Likewise.
44533 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
44534 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
44535 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
44536 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
44537 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
44538 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
44539 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
44540 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
44541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
44542 Likewise.
44543 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44544 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
44545 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
44546 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
44547 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
44548 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
44549 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
44550 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44551
44552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
44553 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
44554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
44555 Regenerated.
44556 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
44557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
44558 Condition symbol version definitions on [HAVE_ELFV2_ABI].
44559
44560 * shlib-versions: Remove OS-specific entries. Moved to files in
44561 sysdeps.
44562 * sysdeps/mach/hurd/shlib-versions: New file.
44563 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
44564
44565 * nptl/shlib-versions: Remove architecture-specific entries.
44566 Moved to files in sysdeps.
44567 * shlib-versions: Likewise.
44568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
44569 file.
44570 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44571 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
44572 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
44573 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
44574
44575 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
44576 (UDP_NO_CHECK6_RX): Likewise.
44577
44578 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
44579
44580 * sysdeps/posix/sysconf.c (__sysconf): Spell
44581 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
44582
44583 2014-08-12 Florian Weimer <fweimer@redhat.com>
44584
44585 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
44586 loading.
44587 * iconv/Versions (__gconv_transliterate): Export for use from
44588 gconv modules.
44589 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
44590 (struct __gconv_trans_data, __gconv_trans_fct,
44591 __gconv_trans_context_fct, __gconv_trans_query_fct,
44592 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
44593 definitions.
44594 (struct __gconv_step_data): Remove __trans member.
44595 (__gconv_transliterate): Declaration moved from gconv_int.h. No
44596 longer hidden. Remove unused trans_data argument.
44597 * iconv/gconv_int.h (struct trans_struct): Remove definition.
44598 (__gconv_translit_find): Remove declaration.
44599 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
44600 prototype.
44601 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
44602 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
44603 trans_data argument. Add hidden definition.
44604 (__gconv_translit_find): Remove.
44605 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
44606 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
44607 * iconv/skeleton.c: Remove transliteration initialization.
44608 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
44609 __gconv_step_data initialization.
44610 * libio/iofwide.c (__libio_translit_): Remove.
44611 (_IO_fwide): Adjust struct __gconv_step_data initialization.
44612 * wcsmbs/btowc.c (__btowc): Likewise.
44613 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
44614 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
44615 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
44616 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
44617 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
44618 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
44619 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
44620 * wcsmbs/wctob.c (wctob): Likewise.
44621
44622 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
44623
44624 [BZ #16194]
44625 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
44626 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
44627 register usage.
44628 * sysdeps/x86/Makefile: Adjust.
44629
44630 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
44631 Roland McGrath <roland@hack.frob.com>
44632
44633 * locale/weight.h: Add include guard.
44634 (findidx): Make static rather than auto; take new parameters
44635 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
44636 * locale/weightwc.h: Likewise.
44637 * posix/fnmatch_loop.c
44638 (FCT): Change type of EXTRA from int32_t to wint_t.
44639 Don't include either header inside the function.
44640 Call FINDIDX rather than findidx, and pass new arguments.
44641 #undef FINDIDX at the end of the file.
44642 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
44643 FINDIDX before including fnmatch_loop.c for the non-wide version.
44644 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
44645 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
44646 for the wide version.
44647 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
44648 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
44649 Pass new arguments to findidx.
44650 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
44651 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
44652 Don't #include it inside the function. Pass new arguments to findidx.
44653 * posix/regex_internal.h
44654 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
44655 (re_string_elem_size_at): Don't #include it inside the function.
44656 Pass new arguments to findidx.
44657 * string/strcoll_l.c: #include WEIGHT_H at top level.
44658 (get_next_seq): Don't #include it inside the function.
44659 Pass new arguments to findidx.
44660 (get_next_seq_nocache): Likewise.
44661 * string/strxfrm_l.c: #include WEIGHT_H at top level.
44662 (STRXFRM): Don't #include it inside the function.
44663 Pass new arguments to findidx.
44664
44665 2014-09-11 Florian Weimer <fweimer@redhat.com>
44666
44667 [BZ #17344]
44668 * malloc/malloc.c (unlink): Turn asserts into a call to
44669 malloc_printerr.
44670
44671 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
44672
44673 [BZ #17370]
44674 * libio/wfileops (do_ftell_wide): Free OUT.
44675
44676 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
44677
44678 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
44679
44680 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44681
44682 [BZ #17363]
44683 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
44684 group if the current group is empty.
44685
44686 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44687
44688 * benchtests/bench-memset.c (test_main): Add more test from size
44689 from 32 to 512 bytes.
44690 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
44691 Add POWER8 memset object.
44692 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44693 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
44694 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
44695 implementation.
44696 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
44697 Likewise.
44698 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
44699 multiarch POWER8 memset optimization.
44700 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
44701 POWER8 memset optimization.
44702
44703 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
44704 Remove bzero multiarch objects.
44705 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
44706 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
44707 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
44708 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
44709 Remove define.
44710 [__bzero]: Redefine to specific name.
44711 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
44712 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
44713 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
44714 define.
44715 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44716 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
44717
44718 2014-09-10 Florian Weimer <fweimer@redhat.com>
44719
44720 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
44721 warnings into errors.
44722
44723 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
44724 __cxa_thread_atexit_impl prototype.
44725
44726 2014-09-09 Steve Ellcey <sellcey@mips.com>
44727
44728 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
44729 Fix capitalization of error message.
44730
44731 2014-09-09 Steve Ellcey <sellcey@mips.com>
44732
44733 * sysdeps/mips/preconfigure: Modify ABI tests.
44734
44735 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
44736
44737 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
44738
44739 2014-09-07 Roland McGrath <roland@hack.frob.com>
44740 Carlos O'Donell <carlos@systemhalted.org>
44741
44742 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
44743 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
44744 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
44745 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
44746 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
44747 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
44748 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
44749 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
44750 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
44751 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
44752 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
44753 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
44754 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
44755 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
44756 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
44757 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
44758 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
44759 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
44760 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
44761 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
44762 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
44763 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
44764 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
44765 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
44766 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
44767 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
44768 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
44769 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
44770 Deconditionalize the code that was previously under [RESET_PID].
44771 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
44772 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
44773 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
44774 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
44775 include sysdep.h.
44776
44777 2014-09-08 Allan McRae <allan@archlinux.org>
44778
44779 * version.h (RELEASE): Set to "development".
44780 (VERSION): Set to "2.20.90"
44781
44782 2014-09-07 Allan McRae <allan@archlinux.org
44783
44784 * version.h (RELEASE): Set to "stable".
44785 (VERSION): Set to "2.20"
44786 * include/features.h (__GLIBC_MINOR__): Set to 20.
44787
44788 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
44789 Liebler.
44790
44791 * po/ko.po: Update Korean translation from translation project.
44792
44793 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
44794
44795 [BZ #17354]
44796 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
44797 macro for handling signed relocations.
44798
44799 2014-09-03 Florian Weimer <fweimer@redhat.com>
44800
44801 [BZ #17325]
44802 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
44803 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
44804 assert.
44805 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
44806 * iconvdata/ibm935.c (BODY): Likewise.
44807 * iconvdata/ibm937.c (BODY): Likewise.
44808 * iconvdata/ibm939.c (BODY): Likewise.
44809 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
44810 assert.
44811 * iconvdata/Makefile (iconv-test.out): Pass module list to test
44812 script.
44813 * iconvdata/run-iconv-test.sh: New test loop for checking for
44814 decoder crashers.
44815
44816 2014-09-02 Khem Raj <raj.khem@gmail.com>
44817
44818 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
44819 libm_hidden_ver.
44820
44821 2014-09-01 Allan McRae <allan@archlinux.org>
44822
44823 * po/eo.po: Update Esperanto translation from translation project.
44824
44825 * po/ca.po: Update Catalan translation from translation project.
44826
44827 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
44828
44829 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
44830 __proc_dostop call.
44831
44832 2014-08-27 Mark Wielaard <mjw@redhat.com>
44833
44834 [BZ #17319]
44835 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
44836 to call set_thread_area instead of hand written asm.
44837 (__NR_set_thread_area): Removed define.
44838 (TLS_FLAG_WRITABLE): Likewise.
44839 (__ASSUME_SET_THREAD_AREA): Remove check.
44840 (TLS_EBX_ARG): Remove define.
44841 (TLS_LOAD_EBX): Likewise.
44842
44843 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
44844
44845 Simplify atomicity of socket creation in bind.
44846
44847 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
44848 looking up the name after linking the file.
44849
44850 2014-08-27 Allan McRae <allan@archlinux.org>
44851
44852 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44853
44854 2014-08-26 Florian Weimer <fweimer@redhat.com>
44855
44856 [BZ #17187]
44857 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
44858 trans_compare, open_translit, __gconv_translit_find):
44859 Remove module loading code.
44860
44861 2014-08-26 Allan McRae <allan@archlinux.org>
44862
44863 * po/vi.po: Update Vietnamese translation from translation project.
44864
44865 * po/uk.po: Update Ukrainian translation from translation project.
44866
44867 * po/fr.po: Update French translation from translation project.
44868
44869 * po/ru.po: Update Russian translation from translation project.
44870
44871 * po/pl.po: Update Polish translation from translation project.
44872
44873 * po/cs.po: Update Czech translation from translation project.
44874
44875 * po/de.po: Update German translation from translation project.
44876
44877 * po/bg.po: Update Bulgarian translation from translation project.
44878
44879 * po/sv.po: Update Sweedish translation from translation project.
44880
44881 * po/nl.po: Update Dutch translation from translation project.
44882
44883 * po/es.po: Update Spanish translation from translation project.
44884
44885 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
44886
44887 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
44888
44889 * catgets/Makefile (CPPFLAGS-gencat): Remove.
44890 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
44891 (CPPFLAGS-iconvconfig): Likewise.
44892 * timezone/Makefile (CPPFLAGS-zic): Likewise.
44893
44894 * include/libc-symbols.h: Remove unnecessary check for
44895 NOT_IN_libc.
44896 * nptl/pthreadP.h: Likewise.
44897 * sysdeps/aarch64/setjmp.S: Likewise.
44898 * sysdeps/alpha/setjmp.S: Likewise.
44899 * sysdeps/arm/sysdep.h: Likewise.
44900 * sysdeps/i386/setjmp.S: Likewise.
44901 * sysdeps/m68k/setjmp.c: Likewise.
44902 * sysdeps/posix/getcwd.c: Likewise.
44903 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
44904 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
44905 * sysdeps/s390/s390-32/setjmp.S: Likewise.
44906 * sysdeps/s390/s390-64/setjmp.S: Likewise.
44907 * sysdeps/sh/sh3/setjmp.S: Likewise.
44908 * sysdeps/sh/sh4/setjmp.S: Likewise.
44909 * sysdeps/unix/alpha/sysdep.h: Likewise.
44910 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
44911 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44912 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
44913 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
44914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44916 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44917 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44918 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44919 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44920 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44921 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
44922 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44923 * sysdeps/x86_64/setjmp.S: Likewise.
44924
44925 2014-08-13 Joseph Myers <joseph@codesourcery.com>
44926
44927 [BZ #17263]
44928 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
44929 <stdint.h>.
44930 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
44931 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
44932
44933 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
44934
44935 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
44936
44937 [BZ #17262]
44938 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
44939 and __x86_64__ when disabling x87 inline functions.
44940
44941 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
44942
44943 [BZ #17259]
44944 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
44945 asm statement with __cpuid_count.
44946
44947 2014-08-12 Mike Frysinger <vapier@gentoo.org>
44948
44949 * configure.ac: Change __ehdr_start code to dereference the struct.
44950 Run readelf on the output to look for relocations.
44951 * configure: Regenerated.
44952
44953 2014-08-12 Joseph Myers <joseph@codesourcery.com>
44954
44955 [BZ #17261]
44956 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
44957 value to 0.
44958 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
44959
44960 2014-08-12 Roland McGrath <roland@hack.frob.com>
44961
44962 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
44963
44964 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
44965
44966 [BZ #16892]
44967 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
44968 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
44969
44970 2014-08-12 Sean Anderson <seanga2@gmail.com>
44971
44972 * malloc/malloc.c: Fix typo in comment.
44973
44974 2014-08-09 Allan McRae <allan@archlinux.org>
44975
44976 * Regenerate libc.po.
44977
44978 2014-08-08 Mike Frysinger <vapier@gentoo.org>
44979
44980 * intl/tst-gettext2.sh: Check every lang file for creation.
44981
44982 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
44983
44984 * sysdeps/aarch64/fpu/math_private.h
44985 (libc_feholdsetround_noex_aarch64_ctx): New function.
44986
44987 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
44988
44989 * sysdeps/arm/armv6/strcpy.S (strcpy):
44990 Fix performance issue in misaligned cases.
44991
44992 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44993
44994 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
44995 Move definition from termios.h.
44996 (struct termio): Likewise.
44997 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
44998 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
44999 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
45000 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
45001 Likewise.
45002 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
45003 Move definition to ioctl-types.h
45004 (struct termio): Likewise.
45005 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
45006 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
45007 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
45008 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
45009 Likewise.
45010
45011 2014-08-05 Richard Henderson <rth@redhat.com>
45012
45013 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
45014 exceptions.
45015 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
45016 Add fraiseexcpt.
45017 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
45018 Use __feraiseexcept.
45019 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
45020 Protect libm symbols with IS_IN_libm.
45021
45022 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
45023
45024 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
45025
45026 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
45027
45028 2014-08-04 Will Newton <will.newton@linaro.org>
45029
45030 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
45031 file.
45032
45033 2014-08-04 Mike Frysinger <vapier@gentoo.org>
45034
45035 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
45036 variants for each function.
45037
45038 2014-08-04 Roland McGrath <roland@hack.frob.com>
45039
45040 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
45041 appended ...
45042 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
45043 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
45044 appended ...
45045 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
45046 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
45047 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
45048 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
45049 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
45050 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
45051 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
45052 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
45053 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
45054 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
45055 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
45056 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
45057 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
45058 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
45059 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
45060 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
45061 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
45062 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
45063 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
45064 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
45065 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
45066 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
45067 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
45068 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
45069 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
45070 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
45071 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
45072 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
45073 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
45074 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
45075 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
45076 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
45077 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
45078 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
45079 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
45080 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
45081 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
45082 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
45083 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
45084 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
45085 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
45086 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
45087 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
45088 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
45089 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
45090 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
45091 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
45092 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
45093 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
45094 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
45095 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
45096 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
45097 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
45098 Update #include.
45099 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
45100 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
45101
45102 2014-08-04 Roland McGrath <roland@hack.frob.com>
45103
45104 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
45105 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
45106 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
45107 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
45108 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
45109 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
45110
45111 2014-08-04 Roland McGrath <roland@hack.frob.com>
45112
45113 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
45114 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
45115 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45116 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
45117
45118 2014-08-04 Roland McGrath <roland@hack.frob.com>
45119
45120 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
45121 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
45122 (__libc_vfork): Define function under this name.
45123 (__vfork): Define as an alias.
45124 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
45125 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
45126
45127 2014-08-04 Roland McGrath <roland@hack.frob.com>
45128
45129 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
45130 that was previously under [RESET_PID].
45131 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
45132
45133 2014-08-04 Andreas Schwab <schwab@suse.de>
45134
45135 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
45136
45137 2014-08-03 Mike Frysinger <vapier@gentoo.org>
45138
45139 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
45140 (main): Likewise.
45141
45142 2014-08-01 Roland McGrath <roland@hack.frob.com>
45143
45144 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
45145
45146 2014-08-01 Richard Henderon <rth@redhat.com>
45147
45148 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
45149 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
45150 typo in exact zero test.
45151 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45152 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45153 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45154
45155 2014-08-01 Roland McGrath <roland@hack.frob.com>
45156
45157 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
45158 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
45159 * sysdeps/arm/sysdep.h: ... here.
45160 [!__ASSEMBLER__]: Include <stdint.h>.
45161
45162 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
45163
45164 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
45165 (HAVE_WCTYPE_H): Likewise.
45166 (HAVE_ISWCTYPE): Likewise.
45167 (ENABLE_NLS): Likewise.
45168 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
45169 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
45170
45171 * posix/regex_internal.c: Check if DEBUG is defined and is
45172 set.
45173
45174 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
45175 (HAVE_MBSRTOWCS): Likewise.
45176 * posix/fnmatch.c: Include string.h unconditionally.
45177
45178 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
45179
45180 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
45181 reversal.
45182
45183 2014-07-31 Roland McGrath <roland@hack.frob.com>
45184
45185 * sysdeps/generic/safe-fatal.h: New file.
45186 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
45187 * nptl/forward.c: Include it.
45188 (__pthread_unwind): Use __safe_fatal as default action, rather
45189 than a bogus use of INTERNAL_SYSCALL that could never work.
45190
45191 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
45192 * configure.ac (libc_cv_builtin_trap): New test.
45193 * configure: Regenerated.
45194 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
45195 (ABORT_INSTRUCTION): Define using __builtin_trap.
45196
45197 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
45198 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
45199 * sysdeps/nptl/nptl-signals.h: New file.
45200 * nptl/pthreadP.h: Include <nptl-signals.h>.
45201
45202 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
45203
45204 * sysdeps/s390/s390-64/utf16-utf32-z9.c
45205 (ONE_DIRECTION): Define.
45206 * sysdeps/s390/s390-64/utf8-utf16-z9.c
45207 (ONE_DIRECTION): Define.
45208 * sysdeps/s390/s390-64/utf8-utf32-z9.c
45209 (ONE_DIRECTION): Define.
45210
45211 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
45212
45213 * sysdeps/s390/Makefile: Delete file.
45214 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
45215 * sysdeps/s390/__longjmp.c: Delete file.
45216 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
45217 Remove fields __flags and __reserved.
45218 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
45219 and add versioning.
45220 * sysdeps/s390/rtld-__longjmp.c: Delete file.
45221 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
45222 * sysdeps/s390/rtld-setjmp.S: Likewise.
45223 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
45224 * sysdeps/s390/s390-32/__longjmp.c: ... here.
45225 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
45226 * sysdeps/s390/s390-32/setjmp.S: ... here.
45227 Add versioning.
45228 (__sigsetjmp): Remove setting __flags field.
45229 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
45230 * sysdeps/s390/s390-64/__longjmp.c: ... here.
45231 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
45232 * sysdeps/s390/s390-64/setjmp.S: ... here.
45233 Add versioning.
45234 (__sigsetjmp): Remove setting __flags field.
45235 * sysdeps/s390/setjmp.S: Delete file.
45236 * sysdeps/s390/sigjmp.c: Likewise.
45237 * sysdeps/s390/v1-longjmp.c: Likewise.
45238 * sysdeps/s390/v1-setjmp.h: Likewise.
45239 * sysdeps/s390/v1-sigjmp.c: Likewise.
45240 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
45241 Remove v1-longjmp_chk.
45242 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
45243 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
45244 Include debug/longjmp_chk.c and add versioning.
45245 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
45246 Include nptl/pt-longjmp.c and add versioning.
45247 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
45248 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
45249 Include __longjmp.c.
45250 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
45251 Move to ...
45252 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
45253 (__getcontext): Remove setting __flags field.
45254 Add versioning.
45255 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
45256 Don't restore upper high grps.
45257 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
45258 Likewise.
45259 (__swapcontext): Remove setting uc_flags field.
45260 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
45261 Delete file.
45262 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
45263 Include __longjmp.c.
45264 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
45265 Move to ...
45266 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
45267 (__getcontext): Remove setting __flags field.
45268 Add versioning.
45269 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
45270 (__swapcontext): Remove setting uc_flags field.
45271 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
45272 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
45273 Remove fields uc_high_gprs and __reserved.
45274 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
45275 New file with reverted content.
45276 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
45277 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
45278 Regenerated.
45279 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
45280 Regenerated.
45281
45282 2014-07-31 Andreas Schwab <schwab@suse.de>
45283
45284 * config.h.in (HAVE_IFUNC): Define to 0.
45285 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
45286 definedness.
45287
45288 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
45289
45290 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45291 memmove-avx-unaligned, memcpy-avx-unaligned and
45292 mempcpy-avx-unaligned.
45293 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45294 Add tests for AVX memcpy functions.
45295 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
45296 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
45297 memcpy_chk.
45298 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
45299 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
45300 memmove_chk.
45301 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
45302 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
45303 mempcpy_chk.
45304 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
45305 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
45306 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
45307
45308 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45309
45310 [BZ #17213]
45311 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
45312 powerpc64le.
45313
45314 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
45315
45316 [BZ #16839]
45317 * manual/llio.texi: Add section about open file description locks.
45318 * manual/examples/ofdlocks.c: Example of open file description
45319 lock usage.
45320 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
45321 F_OFD_SETLK, and F_OFD_SETLKW.
45322
45323 2014-07-23 Allan McRae <allan@archlinux.org>
45324
45325 * po/es.po: Update Spanish translation from translation project.
45326
45327 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
45328
45329 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
45330
45331 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
45332
45333 [BZ #17078]
45334 * sysdeps/arm/dl-machine.h (elf_machine_rela)
45335 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
45336 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
45337
45338 2014-07-17 Joseph Myers <joseph@codesourcery.com>
45339
45340 [BZ #17088]
45341 * math/fesetenv.c (__fesetenv)
45342 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
45343 * math/feupdateenv.c (__feupdateenv)
45344 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
45345
45346 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
45347 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
45348 (__ASSUME_SOCKETCALL): Do not define.
45349
45350 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
45351 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
45352 (__ASSUME_SOCKETCALL): Do not define.
45353 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
45354 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
45355 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45356 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
45357 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45358 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
45359 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45360 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45361
45362 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
45363 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
45364 (__ASSUME_SOCKETCALL): Do not define.
45365 (__ASSUME_IPC64): Define unconditionally.
45366 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
45367 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45368 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
45369 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45370 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
45371 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45372 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
45373 Likewise.
45374
45375 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
45376 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
45377 (__ASSUME_SOCKETCALL): Do not define.
45378 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
45379 (__ASSUME_FUTEX_LOCK_PI): Likewise.
45380 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45381 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
45382 (__ASSUME_REQUEUE_PI): Define unconditionally.
45383 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
45384 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
45385 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45386 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
45387 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45388 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45389
45390 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
45391 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
45392 (__ASSUME_SOCKETCALL): Do not define.
45393 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
45394 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45395 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45396 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
45397 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45398 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45399
45400 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
45401 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
45402 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45403 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
45404 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45405 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
45406 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45407 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
45408 (__ASSUME_GETCPU_SYSCALL): Likewise.
45409
45410 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
45411 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
45412 cases for individual architectures.
45413 * sysdeps/gnu/configure: Regenerated.
45414 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
45415 LIBC_SLIBDIR_RTLDDIR.
45416 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
45417 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
45418 LIBC_SLIBDIR_RTLDDIR.
45419 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
45420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
45421 LIBC_SLIBDIR_RTLDDIR.
45422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
45423 Regenerated.
45424 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
45425 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
45426 file.
45427 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
45428 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
45429 file.
45430 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
45431 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
45432 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
45433 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
45434
45435 * sysdeps/aarch64/shlib-versions: Move to ...
45436 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
45437 * sysdeps/alpha/shlib-versions: Move to ...
45438 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
45439 * sysdeps/arm/shlib-versions: Move to ...
45440 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
45441 * sysdeps/hppa/shlib-versions: Move all contents except for
45442 libgcc_s entry to ...
45443 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
45444 entry from ...
45445 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
45446 * sysdeps/ia64/shlib-versions: Move to ...
45447 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
45448 entry from ...
45449 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
45450 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
45451 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
45452 * sysdeps/microblaze/shlib-versions: Move to ...
45453 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
45454 * sysdeps/mips/shlib-versions: Move to ...
45455 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
45456 entry from ...
45457 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
45458 * sysdeps/tile/shlib-versions: Move to ...
45459 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
45460 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
45461 from ...
45462 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
45463 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
45464 entry from ...
45465 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
45466
45467 2014-07-17 Will Newton <will.newton@linaro.org>
45468
45469 * sysdeps/arm/bits/atomic.h
45470 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
45471 (__arch_compare_and_exchange_bool_16_int): Likewise.
45472 (__arch_compare_and_exchange_bool_64_int): Likewise.
45473
45474 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
45475 into an #else block.
45476
45477 2014-07-16 Roland McGrath <roland@hack.frob.com>
45478
45479 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
45480 just Linux configurations. Test empirically that the compiler sets
45481 __ARM_EABI__, rather than using the tuple to decide.
45482 * sysdeps/arm/preconfigure: Regenerated.
45483 * sysdeps/unix/sysv/linux/arm/configure: File removed.
45484 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
45485 contents appended ...
45486 * sysdeps/arm/configure.ac: ... here.
45487 * sysdeps/arm/configure: Regenerated.
45488
45489 2014-07-15 Roland McGrath <roland@hack.frob.com>
45490
45491 * nptl/pthread_kill.c: New file.
45492 * nptl/pthread_sigmask.c: New file.
45493 * nptl/pthread_sigqueue.c: New file.
45494
45495 * sysdeps/nptl/lowlevellock.h: New file.
45496 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
45497 * sysdeps/nptl/lowlevellock-futex.h: New file.
45498
45499 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
45500 Remove dead declarations.
45501
45502 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
45503
45504 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
45505 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
45506 config-cflags-avx2.
45507 * sysdeps/x86_64/configure.ac: Likewise.
45508 * sysdeps/i386/configure: Regenerated.
45509 * sysdeps/x86_64/configure: Likewise.
45510 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45511 memset-avx2 only if config-cflags-avx2 is yes.
45512 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45513 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
45514 defined.
45515 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
45516 only if HAVE_AVX2_SUPPORT is defined.
45517 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45518
45519 2014-07-14 Alan Modra <amodra@gmail.com>
45520
45521 [BZ #17153]
45522 * elf/elf.h (DT_PPC64_NUM): Correct value.
45523 * NEWS: Add to fixed bug list.
45524
45525 2014-07-13 Jim Meyering <meyering@fb.com>
45526
45527 [BZ 17150]
45528 regex: don't deref NULL upon heap allocation failure
45529 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
45530 failure in one more place.
45531 To trigger the segfault, configure grep -with-included-regex,
45532 build it, and run these commands:
45533 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
45534
45535 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
45536
45537 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
45538
45539 2014-07-11 Richard Henderson <rth@redhat.com>
45540
45541 * sysdeps/aarch64/libm-test-ulps: Update.
45542
45543 2014-07-10 Florian Weimer <fweimer@redhat.com>
45544
45545 [BZ #17135]
45546 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
45547 * nptl/allocatestack.c (__nptl_setxid_error): New function.
45548 (__nptl_setxid): Initialize error member. Call
45549 __nptl_setxid_error.
45550 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
45551 * nptl/descr.h (struct xid_command): Add error member.
45552 * nptl/tst-setuid3.c: New file.
45553 * nptl/Makefile (tests): Add it.
45554
45555 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45556
45557 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
45558 New define.
45559 (__lll_trylock): Use __lll_base_trylock.
45560 (__lll_cond_trylock): Likewise.
45561
45562 2014-07-10 Roland McGrath <roland@hack.frob.com>
45563
45564 * nptl/pthread_create.c (start_thread): Use atomic_or and
45565 lll_futex_wake directly rather than lll_robust_dead.
45566 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
45567 (lll_robust_dead): Macro removed.
45568 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
45569 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
45570 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
45571 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
45572 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
45573 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
45574 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
45575 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
45576 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
45577 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
45578 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
45579 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
45580 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
45581 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
45582 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
45583
45584 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
45585 Use atomic_compare_and_exchange_val_acq directly rather than
45586 lll_robust_trylock.
45587 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
45588 (__lll_robust_trylock, lll_robust_trylock): Removed.
45589 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
45590 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
45591 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
45592 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
45593 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
45594 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
45595 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
45596 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
45597 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
45598 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
45599 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
45600 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
45601 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
45602 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
45603
45604 2014-07-02 Florian Weimer <fweimer@redhat.com>
45605
45606 * manual/locale.texi (Locale Names): New section documenting
45607 locale name syntax. Adjust menu and node chaining accordingly.
45608 (Choosing Locale): Reference Locale Names, Locale Categories.
45609 Mention setting LC_ALL=C. Reflect that name syntax is now
45610 documented.
45611 (Locale Categories): New section title. Reference Locale Names.
45612 LC_ALL is an environment variable, but not a category.
45613 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
45614 description, now in Locale Name. Reference that section. Locale
45615 name syntax is now documented.
45616
45617 2014-07-02 Florian Weimer <fweimer@redhat.com>
45618
45619 [BZ #17137]
45620 * locale/findlocale.c (name_present, valid_locale_name): New
45621 functions.
45622 (_nl_find_locale): Use the loc_name variable to store name
45623 candidates. Call name_present and valid_locale_name to check and
45624 validate locale names. Return an error if the locale is invalid.
45625
45626 2014-07-02 Florian Weimer <fweimer@redhat.com>
45627
45628 * locale/setlocale.c (setlocale): Use strdup for allocating
45629 composite name copy.
45630
45631 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45632
45633 Sync up with gnulib.
45634 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
45635 [!_LIBC && ENABLE_NLS]: Include gettext.h.
45636 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
45637 and _GL_ARG_NONNULL.
45638 [USE_UNLOCKED_IO]: Include unlocked-io.h.
45639 [!_LIBC]: Include code for Windows and Cygwin.
45640 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
45641 Include prototype for int strerror_r.
45642 [!_LIBC] (is_open): New function.
45643 (flush_stdout): New function.
45644 (print_errno_message): Use it.
45645 (error): Likewise.
45646 (error_at_line): Likewise.
45647 (error_tail) Add function attribute macros. Use
45648 __builtin_expect.
45649
45650 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
45651
45652 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
45653
45654 * io/ftw.c: Include sys/param.h unconditionally.
45655
45656 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
45657
45658 [BZ #17125]
45659 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
45660 libc_freeres_ptr.
45661 (freecache): New function to free CACHE on exit.
45662
45663 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
45664 initialization.
45665
45666 2014-07-09 David S. Miller <davem@davemloft.net>
45667
45668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45669
45670 * sysdeps/sparc/nptl/internaltypes.h: Delete.
45671 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
45672 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
45673 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
45674 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
45675 * sysdeps/sparc/nptl/sem_init.c: Likewise.
45676 * sysdeps/sparc/nptl/sem_post.c: Likewise.
45677 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
45678 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
45679 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
45680 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
45681 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
45682 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
45683
45684 2014-07-09 Andreas Schwab <schwab@suse.de>
45685
45686 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
45687 output.
45688 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
45689 (do_test): Likewise.
45690
45691 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45692
45693 2014-07-09 Will Newton <will.newton@linaro.org>
45694
45695 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
45696 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
45697 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
45698 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
45699 * sysdeps/hppa/start.S (_start): Likewise.
45700
45701 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
45702
45703 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
45704
45705 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
45706 defined.
45707
45708 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
45709
45710 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
45711 after checking that it is non-NULL.
45712
45713 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
45714
45715 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45716
45717 * sysdeps/powerpc/memmove.c: Remove file.
45718 * sysdeps/powerpc/powerpc32/power4/memcopy.h
45719 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
45720 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
45721 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
45722 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
45723 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
45724 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
45725 string memmove instead of removed powerpc one.
45726
45727 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
45728 [weak_alias]: Fix compiler warning due trailing data.
45729 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
45730 [weak_alias]: Likewise.
45731 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
45732 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
45733
45734 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45735 (__libc_ifunc_impl_list): Add memmove functions.
45736
45737 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
45738
45739 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
45740 Remove code.
45741 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
45742 Likewise.
45743 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
45744 Likewise.
45745 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
45746 Likewise.
45747 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
45748 Likewise.
45749 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
45750 Likewise.
45751 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
45752 Likewise.
45753 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
45754 Likewise.
45755 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
45756 Likewise.
45757 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
45758 Likewise.
45759 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
45760 Likewise.
45761 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
45762 Likewise.
45763 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
45764 Likewise.
45765 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
45766 Likewise.
45767 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
45768 Likewise.
45769 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
45770 Likewise.
45771 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
45772 Likewise.
45773
45774 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45775
45776 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
45777 to avoid alignment traps in non-cacheable memory.
45778 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
45779
45780 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
45781 multiarch objects.
45782 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
45783 file: multiarch power7 memmove.
45784 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
45785 multiarch default memmove.
45786 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
45787 multiarch memove for powerpc32/power4.
45788
45789 * string/bcopy.c: Use full path to include memmove.c.
45790 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
45791 multiarch objects.
45792 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
45793 bcopy for powerpc64.
45794 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
45795 bcopy for powerpc64.
45796 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
45797 and memmove implementations.
45798 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
45799 optimized multiarch memmove for POWER7/powerpc64.
45800 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
45801 default multiarch memmove for powerpc64.
45802 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
45803 multiarch for powerpc64.
45804 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
45805 for POWER7/powerpc64.
45806 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
45807 memmove for POWER7/powerpc64.
45808
45809 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
45810 glibc default one.
45811
45812 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
45813 __ELF_NATIVE_CLASS equal to 64.
45814
45815 2014-07-07 Roland McGrath <roland@hack.frob.com>
45816
45817 * sysdeps/nptl/lowlevellock.h: File removed.
45818
45819 * NEWS: NPTL is no longer an add-on!
45820 * nptl/internaltypes.h: Moved ...
45821 * sysdeps/nptl/internaltypes.h: ... here.
45822 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
45823 * sysdeps/nptl/fork.c: Likewise.
45824 * sysdeps/nptl/gai_misc.h: Likewise.
45825 * sysdeps/nptl/librt-cancellation.c: Likewise.
45826 * sysdeps/nptl/jmp-unwind.c: Likewise.
45827 * sysdeps/nptl/setxid.h: Likewise.
45828 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
45829 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
45830 * sysdeps/unix/sysv/linux/arm/Implies: New file.
45831 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
45832 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
45833 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
45834 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
45835 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
45836 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
45837 * sysdeps/unix/sysv/linux/mips/Implies: New file.
45838 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
45839 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
45840 * sysdeps/unix/sysv/linux/sh/Implies: New file.
45841 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
45842 * sysdeps/unix/sysv/linux/tile/Implies: New file.
45843 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
45844 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
45845 * nptl/Makeconfig: Moved ...
45846 * sysdeps/nptl/Makeconfig: ... here.
45847 * nptl/configure: File removed.
45848 * nptl/ANNOUNCE: File removed.
45849 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
45850 * sysdeps/unix/sysv/linux/configure: Regenerated.
45851
45852 * nptl/Makefile (routines): Add libc_pthread_init,
45853 libc_multiple_threads, register-atfork and unregister-atfork.
45854 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
45855 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
45856 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
45857 pthread-pi-defines.sym, structsem.sym.
45858 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
45859 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
45860 [$(subdir) = nptl] (tests): Add tst-setgetname.
45861 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
45862 * sysdeps/unix/sysv/linux/sigaction.c: Just include
45863 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
45864 [!LIBC_SIGACTION]: Remove aliases.
45865 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
45866 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
45867 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
45868 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
45869 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
45870 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
45871 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45872 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45873 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
45874 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
45875 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
45876 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
45877 __libc_allocate_rtsig_private.
45878 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
45879 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
45880 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
45881 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
45882 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
45883 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
45884 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
45885 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
45886 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
45887 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
45888 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
45889 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
45890 * nptl/internaltypes.h: ... here.
45891 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
45892 * sysdeps/nptl/jmp-unwind.c: ... here.
45893 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
45894 * nptl/libc-lowlevellock.c: ... here.
45895 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
45896 * nptl/libc_multiple_threads.c: ... here.
45897 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
45898 * nptl/libc_pthread_init.c: ... here.
45899 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
45900 * nptl/lowlevelbarrier.sym: ... here.
45901 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
45902 * nptl/lowlevelcond.sym: ... here.
45903 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
45904 * nptl/lowlevellock.c: ... here.
45905 * nptl/lowlevellock.h: Moved ...
45906 * sysdeps/nptl/lowlevellock.h: ... here.
45907 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
45908 * nptl/lowlevelrobustlock.c: ... here.
45909 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
45910 * nptl/lowlevelrobustlock.sym: ... here.
45911 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
45912 * nptl/lowlevelrwlock.sym: ... here.
45913 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
45914 * nptl/pt-fork.c: ... here.
45915 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
45916 * nptl/pthread-pi-defines.sym: ... here.
45917 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
45918 * nptl/pthread_attr_getaffinity.c: ... here.
45919 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
45920 * nptl/pthread_attr_setaffinity.c: ... here.
45921 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
45922 * nptl/pthread_mutex_cond_lock.c: ... here.
45923 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
45924 Update #include.
45925 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
45926 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
45927 * nptl/pthread_once.c: ... here, replacing old file.
45928 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
45929 * nptl/pthread_yield.c: ... here.
45930 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
45931 * nptl/register-atfork.c: ... here.
45932 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
45933 * nptl/sem_post.c: ... here.
45934 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
45935 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
45936 * nptl/sem_timedwait.c: ... here.
45937 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
45938 * nptl/sem_trywait.c: ... here.
45939 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
45940 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
45941 * nptl/sem_wait.c: ... here.
45942 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
45943 * nptl/structsem.sym: ... here.
45944 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
45945 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
45946 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
45947 * nptl/unregister-atfork.c: ... here.
45948 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
45949 * nptl/unwindbuf.sym: ... here.
45950 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
45951 * sysdeps/nptl/fork.c: ... here.
45952 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
45953 * sysdeps/nptl/fork.h: ... here.
45954 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
45955 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
45956 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
45957 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
45958 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
45959 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
45960 * sysdeps/unix/sysv/linux/getpid.c: ... here.
45961 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
45962 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
45963 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
45964 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
45965 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
45966 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
45967 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
45968 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
45969 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
45970 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
45971 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
45972 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
45973 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
45974 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
45975 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
45976 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
45977 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
45978 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
45979 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
45980 * sysdeps/unix/sysv/linux/raise.c: ... here.
45981 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
45982 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
45983 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
45984 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
45985 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
45986 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
45987 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
45988 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
45989 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
45990 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
45991 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
45992 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
45993 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
45994 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
45995 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
45996
45997 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45998
45999 * sysdeps/generic/memcopy.h: Add comment for
46000 MEMCPY_OK_FOR_FWD_MEMMOVE.
46001
46002 2014-07-04 Will Newton <will.newton@linaro.org>
46003
46004 * string/memchr.c: Merge from gnulib.
46005 [_LIBC]: Remove conditionals.
46006 (__ptr_t): Remove define.
46007 (LONG_MAX_32_BITS): Likewise.
46008 (LONG_MAX): Likewise.
46009 (MEMCHR): Use ANSI prototype and optimize algorithm.
46010
46011 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
46012
46013 2014-07-03 Roland McGrath <roland@hack.frob.com>
46014
46015 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
46016 (lll_futex_timed_wait_bitset): Fix syscall argument count.
46017
46018 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
46019 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
46020 in a bare environment with no <stdlib.h> installed.
46021 * sysdeps/nptl/configure: Regenerated.
46022
46023 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
46024
46025 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
46026 AC_EGREP_CPP for kernel header checks, so they only succeed if
46027 including <linux/version.h> actually works right.
46028 * sysdeps/unix/sysv/linux/configure: Regenerated.
46029
46030 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
46031 value so it's not diagnosed as unused.
46032
46033 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
46034 thing) with "ifeq ($(subdir),rt)".
46035
46036 2014-07-03 Richard Henderson <rth@redhat.com>
46037
46038 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
46039 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
46040 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
46041
46042 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
46043 (math_force_eval): New.
46044
46045 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
46046 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
46047
46048 * sysdeps/alpha/fpu/s_round.c: Remove file.
46049 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
46050
46051 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
46052 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
46053 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
46054 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
46055 (_dl_start, print_statistics): Likewise.
46056 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
46057 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
46058
46059 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46060 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46061 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46062 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46063 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
46064 (HP_SMALL_TIMING_AVAIL): Define.
46065 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46066 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
46067 (HP_SMALL_TIMING_AVAIL): Define.
46068 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46069 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46070
46071 * sysdeps/aarch64/hp-timing.h: New file.
46072
46073 * sysdeps/generic/hp-timing.h: Remove dead comment.
46074 * sysdeps/generic/hp-timing-common.h: New file.
46075 * sysdeps/alpha/hp-timing.h: Include it.
46076 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
46077 * sysdeps/i386/i686/hp-timing.h: Likewise.
46078 * sysdeps/ia64/hp-timing.h: Likewise.
46079 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46080 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46081 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46082 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46083 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
46084 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
46085 (hp_timing_t): New.
46086
46087 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
46088 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
46089 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
46090 * elf/rtld.c (_dl_start_final): Likewise.
46091 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
46092 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46093 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46094 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46095 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46096 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
46097 (HP_TIMING_DIFF_INIT): Remove.
46098 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46099 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
46100 (HP_TIMING_DIFF_INIT): Remove.
46101 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46102 * sysdeps/i386/i686/hp-timing.c: Remove file.
46103 * sysdeps/x86_64/hp-timing.c: Remove file.
46104 * sysdeps/ia64/hp-timing.c: Remove file.
46105 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
46106 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
46107 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
46108 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
46109
46110 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
46111 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
46112 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
46113 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
46114 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
46115 (HP_TIMING_ACCUM): Remove.
46116 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
46117 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
46118 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
46119
46120 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
46121 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
46122 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
46123 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
46124 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
46125 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
46126 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
46127 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
46128
46129 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
46130
46131 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
46132
46133 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
46134
46135 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
46136
46137 Sync up with gettext.
46138 * intl/loadmsgcat.c: Define O_BINARY if not defined.
46139 [_MSC_VER]: Include malloc.h
46140 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
46141 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
46142 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
46143 TEMP_FAILURE_RETRY. Cast return of alloca.
46144 [!_LIBC] Call gl_rwlock_init.
46145 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
46146
46147 2014-07-02 Roland McGrath <roland@hack.frob.com>
46148
46149 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
46150 before checking its value.
46151
46152 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
46153
46154 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
46155
46156 * debug/memcpy_chk.c: Don't include pagecopy.h.
46157 * debug/mempcpy_chk.c: Likewise.
46158 * string/memcpy.c: Likewise.
46159 * string/memmove.c: Likewise.
46160 * sysdeps/powerpc/memmove.c: Likewise.
46161 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
46162 definition of PAGE_COPY_FWD_MAYBE here...
46163 * sysdeps/generic/pagecopy.h: ... from here.
46164 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
46165
46166 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
46167 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46168
46169 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
46170 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
46171 optimizations.
46172 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46173 (__libc_ifunc_impl_list): Likewise.
46174 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
46175 multiarch strcat for PPC64.
46176 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
46177 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
46178
46179 2014-07-02 Roland McGrath <roland@hack.frob.com>
46180
46181 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
46182
46183 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
46184
46185 * intl/loadmsgcat.c: Remove declaration of
46186 get_sysdep_segment_value.
46187 (get_sysdep_segment_value): Use ISO C style.
46188 (_nl_load_domain): Use ISO C style. Get rid of redundant
46189 semicolon. Fix typo and formatting in comment.
46190 (_nl_unload_domain): Use ISO C style.
46191
46192 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
46193
46194 2014-07-02 Will Newton <will.newton@linaro.org>
46195
46196 * malloc/obstack.c: Merge from gnulib master.
46197 [HAVE_CONFIG_H]: Remove conditional code.
46198 [!_LIBC]: Include config.h.
46199 [!ELIDE_CODE]: Don't include inttypes.h, include
46200 stdint.h unconditionally.
46201 (print_and_abort): Mark as _Noreturn.
46202 (_obstack_allocated_p): Mark as __attribute_pure__.
46203 (obstack_free): Rename to __obstack_free.
46204 [!__attribute__]: Remove conditional code.
46205 * malloc/obstack.h: Merge from gnulib master.
46206 [__cplusplus]: Move conditional down.
46207 [!__attribute_pure__]: Define __attribute_pure__ here
46208 if it is not already defined.
46209 (_obstack_memory_used): Mark as __attribute_pure__.
46210 [!__obstack_free]: Define as obstack_free.
46211 [__GNUC__]: Remove check for ancient NeXT gcc.
46212
46213 2014-07-02 Will Newton <will.newton@linaro.org>
46214 Paul Eggert <eggert@cs.ucla.edu>
46215
46216 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
46217
46218 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
46219
46220 * resolv/gethnamaddr.c: Add comment warning that the file is
46221 not maintained.
46222
46223 2014-07-01 Carlos O'Donell <carlos@redhat.com>
46224
46225 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
46226 entries.
46227
46228 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
46229 entry for aio_cancel and aio_cancel64.
46230 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
46231 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
46232 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
46233 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
46234 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
46235 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
46236 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
46237 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
46238 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
46239 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
46240 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
46241 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
46242 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
46243
46244 2014-07-01 Roland McGrath <roland@hack.frob.com>
46245
46246 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
46247 * nptl/pthread_mutex_lock.c: Likewise.
46248 * nptl/pthread_mutex_timedlock.c: Likewise.
46249 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
46250
46251 2014-07-01 Richard henderson <rth@redhat.com>
46252
46253 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
46254 (__isnan, __isnanl): Remove.
46255 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
46256
46257 * sysdeps/alpha/fpu/libm-test-ulps: Update.
46258
46259 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
46260
46261 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46262
46263 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
46264
46265 * resolv/nss_dns/dns-host.c (getanswer_r)
46266 [MULTI_PTRS_ARE_ALIASES]: Remove code.
46267
46268 2014-07-01 Joseph Myers <joseph@codesourcery.com>
46269
46270 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46271 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
46272 undefine.
46273 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
46274 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
46275
46276 2014-07-01 Roland McGrath <roland@hack.frob.com>
46277
46278 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
46279 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
46280
46281 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
46282 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
46283
46284 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
46285 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
46286 ... here.
46287 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
46288 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
46289
46290 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
46291 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
46292 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
46293 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
46294
46295 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
46296 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
46297 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
46298 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
46299 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
46300 Moved ...
46301 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
46302 ... here.
46303 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
46304 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
46305 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
46306 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
46307 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
46308 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
46309 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
46310 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
46311 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
46312 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
46313 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
46314 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
46315 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
46316 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
46317 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
46318 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
46319 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
46320 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
46321 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
46322 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
46323 ... here.
46324 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
46325 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
46326 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
46327 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
46328 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
46329 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
46330 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
46331 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
46332
46333 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
46334
46335 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
46336 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
46337 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
46338 Add sysdep.
46339
46340 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46341
46342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46343
46344 2014-06-30 Joseph Myers <joseph@codesourcery.com>
46345
46346 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
46347 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
46348
46349 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
46350
46351 * sysdeps/arm/libm-test-ulps: Regenerated.
46352
46353 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
46354 Roland McGrath <roland@hack.frob.com>
46355
46356 * test-skeleton.c (signal_handler): Kill the whole process group
46357 before killing the child individually.
46358 (main): Report any failure on `setpgid'.
46359
46360 2014-06-30 Roland McGrath <roland@hack.frob.com>
46361
46362 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
46363 from _TLS_H to _ARM_NPTL_TLS_H.
46364 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
46365 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
46366
46367 2014-06-30 Joseph Myers <joseph@codesourcery.com>
46368
46369 [BZ #16539]
46370 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
46371 (__expm1l): Return argument unchanged when small but not
46372 subnormal.
46373
46374 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
46375 include macro name.
46376 (_FP_UNPACK_RAW_1_P): Likewise.
46377 (_FP_PACK_RAW_1): Likewise.
46378 (_FP_PACK_RAW_1_P): Likewise.
46379 (_FP_MUL_MEAT_1_wide): Likewise.
46380 (_FP_MUL_MEAT_DW_1_hard): Likewise.
46381 (_FP_MUL_MEAT_1_hard): Likewise.
46382 (_FP_DIV_MEAT_1_imm): Likewise.
46383 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
46384 (_FP_DIV_MEAT_1_udiv): Likewise.
46385 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
46386 (_FP_UNPACK_RAW_2): Likewise.
46387 (_FP_UNPACK_RAW_2_P): Likewise.
46388 (_FP_PACK_RAW_2): Likewise.
46389 (_FP_PACK_RAW_2_P): Likewise.
46390 (_FP_MUL_MEAT_DW_2_wide): Likewise.
46391 (_FP_MUL_MEAT_2_wide): Likewise.
46392 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
46393 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
46394 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
46395 (_FP_MUL_MEAT_2_gmp): Likewise.
46396 (_FP_DIV_MEAT_2_udiv): Likewise.
46397 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
46398 (_FP_FRAC_SRL_4): Likewise.
46399 (_FP_FRAC_SRST_4): Likewise.
46400 (_FP_FRAC_SRS_4): Likewise.
46401 (_FP_UNPACK_RAW_4): Likewise.
46402 (_FP_UNPACK_RAW_4_P): Likewise.
46403 (_FP_PACK_RAW_4): Likewise.
46404 (_FP_PACK_RAW_4_P): Likewise.
46405 (_FP_MUL_MEAT_DW_4_wide): Likewise.
46406 (_FP_MUL_MEAT_4_wide): Likewise.
46407 (_FP_MUL_MEAT_4_gmp): Likewise.
46408 (umul_ppppmnnn): Likewise.
46409 (_FP_DIV_MEAT_4_udiv): Likewise.
46410 (__FP_FRAC_ADD_4): Likewise.
46411 (__FP_FRAC_SUB_3): Likewise.
46412 (__FP_FRAC_SUB_4): Likewise.
46413 (__FP_FRAC_DEC_3): Likewise.
46414 (__FP_FRAC_DEC_4): Likewise.
46415 (__FP_FRAC_ADDI_4): Likewise.
46416 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
46417 (_FP_FRAC_SRL_8): Likewise.
46418 (_FP_FRAC_SRS_8): Likewise.
46419
46420 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
46421 include macro name.
46422 (FP_UNPACK_RAW_EP): Likewise.
46423 (FP_PACK_RAW_E): Likewise.
46424 (FP_PACK_RAW_EP): Likewise.
46425 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
46426 (_FP_ISSIGNAN): Likewise.
46427 (_FP_ADD_INTERNAL): Likewise.
46428 (_FP_FMA): Likewise.
46429 (_FP_CMP): Likewise.
46430 (_FP_SQRT): Likewise.
46431 (_FP_TO_INT): Likewise.
46432 (_FP_FROM_INT): Likewise.
46433 (FP_EXTEND): Likewise.
46434 (_FP_DIV_MEAT_N_loop): Likewise.
46435
46436 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
46437
46438 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
46439 throughout.
46440
46441 2014-06-29 Joseph Myers <joseph@codesourcery.com>
46442
46443 [BZ #17097]
46444 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
46445 result with correct sign in case of exponents that produce
46446 overflow except for X very close to 1.
46447
46448 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
46449
46450 mktime: merge #if/#ifdef usage from glibc
46451 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
46452 as that works with both Glibc's and Gnulib's style.
46453 See thread starting at Siddhesh Poyarekar's bug report at:
46454 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
46455
46456 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46457
46458 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
46459 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
46460 * sysdeps/tile/tilegx/memmove.c: Remove file.
46461
46462 2014-06-27 Joseph Myers <joseph@codesourcery.com>
46463
46464 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
46465 abi-name definition.
46466 * scripts/soversions.awk: Do not handle or generate ABI lines.
46467 * shlib-versions: Remove ABI entries.
46468 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
46469 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
46470
46471 2014-06-27 Roland McGrath <roland@hack.frob.com>
46472
46473 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
46474 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
46475 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
46476 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
46477 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
46478 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
46479 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
46480 Moved ...
46481 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
46482 ... here.
46483 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
46484 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
46485 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
46486 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
46487 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
46488 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
46489 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
46490 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
46491 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
46492 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
46493 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
46494 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
46495 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
46496 Moved ...
46497 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
46498 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
46499 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
46500 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
46501 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
46502 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
46503 Moved ...
46504 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
46505 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
46506 Moved ...
46507 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
46508 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
46509 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
46510 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
46511 Moved ...
46512 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
46513 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
46514 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
46515 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
46516 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
46517 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
46518 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
46519 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
46520 Moved ...
46521 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
46522 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
46523 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
46524 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
46525 Moved ...
46526 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
46527 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
46528 Moved ...
46529 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
46530 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
46531 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
46532 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
46533 Moved ...
46534 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
46535 ... here.
46536 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
46537 Identical file removed.
46538 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
46539 Moved ...
46540 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
46541 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
46542 Identical file removed.
46543 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
46544 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
46545 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
46546 Moved ...
46547 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
46548 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
46549 Identical file removed.
46550 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
46551 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
46552 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
46553 Identical file removed.
46554 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
46555 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
46556 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
46557 Identical file removed.
46558 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
46559 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
46560 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
46561 Identical file removed.
46562 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
46563 Moved ...
46564 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
46565 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
46566 Identical file removed.
46567 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
46568 Moved ...
46569 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
46570 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
46571 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
46572 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
46573 Identical file removed.
46574 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
46575 Moved ...
46576 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
46577 ... here.
46578 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
46579 Identical file removed.
46580 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
46581 Moved ...
46582 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
46583 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
46584 Identical file removed.
46585 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
46586 Moved ...
46587 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
46588 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
46589 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
46590 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
46591 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
46592 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
46593 Moved ...
46594 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
46595 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
46596 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
46597
46598 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
46599 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
46600 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
46601 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
46602 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
46603
46604 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
46605
46606 [BZ #17092]
46607 * nscd/nscd.c (monitor_child): Return exit status of child
46608 instead of return value from wait syscall.
46609
46610 2014-06-27 Joseph Myers <joseph@codesourcery.com>
46611
46612 * configure.ac (libc_commonpagesize): Remove variable.
46613 (libc_relro_required): Likewise.
46614 (libc_cv_z_relro): Remove configure test.
46615 * configure: Regenerated.
46616 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
46617 variable.
46618 (libc_relro_required): Likewise.
46619 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
46620 (libc_relro_required): Likewise.
46621 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
46622 (libc_relro_required): Likewise.
46623 * sysdeps/arm/preconfigure: Regenerated.
46624 * sysdeps/ia64/preconfigure: Remove file.
46625 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
46626 variable.
46627 (libc_relro_required): Likewise.
46628
46629 [BZ #16561]
46630 [BZ #16562]
46631 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
46632 (__ieee754_yn): Set FE_TONEAREST mode internally and then
46633 recompute overflowing results in original rounding mode.
46634 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
46635 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
46636 recompute overflowing results in original rounding mode.
46637 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
46638 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
46639 recompute overflowing results in original rounding mode.
46640 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
46641 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
46642 recompute overflowing results in original rounding mode.
46643 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
46644 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
46645 recompute overflowing results in original rounding mode.
46646 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
46647 (libc_feholdsetround_ctx): New macro.
46648 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
46649 * sysdeps/i386/fpu/libm-test-ulps: Update.
46650 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
46651
46652 2014-06-26 Joseph Myers <joseph@codesourcery.com>
46653
46654 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
46655 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
46656 corresponding .cpsetup call.
46657
46658 2014-06-26 Roland McGrath <roland@hack.frob.com>
46659
46660 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
46661 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
46662 * sysdeps/arm/Makefile [$(subdir) = csu]
46663 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
46664 (static-only-routines): Add aeabi_read_tp here.
46665 (shared-only-routines): Add libc-aeabi_read_tp here.
46666 (CFLAGS-libc-start.c): Add -fexceptions here.
46667 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
46668 (sysdep_routines, static-only-routines, shared-only-routines):
46669 Don't add to these here.
46670 (CFLAGS-libc-start.c): Likewise.
46671
46672 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
46673 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
46674 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
46675 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
46676 * sysdeps/arm/Makefile [$(subdir) = rt]
46677 (librt-sysdep_routines, librt-shared-only-routines):
46678 Append rt-aeabi_unwind_cpp_pr1 here.
46679 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
46680 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
46681 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
46682 (libpthread-sysdep_routines, libpthread-shared-only-routines):
46683 Append nptl-aeabi_unwind_cpp_pr1 here.
46684 (tests): Filter out tst-cleanupx4 here.
46685 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
46686 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
46687 Don't do those here.
46688
46689 2014-06-26 Joseph Myers <joseph@codesourcery.com>
46690
46691 * scripts/list-sources.sh: Do not handle ports specially.
46692
46693 2014-06-26 Roland McGrath <roland@hack.frob.com>
46694
46695 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
46696 * sysdeps/arm/feupdateenv.c: Likewise.
46697
46698 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
46699
46700 2014-06-26 Joseph Myers <joseph@codesourcery.com>
46701
46702 * manual/texinfo.tex: Update to version 2014-05-05.10 with
46703 trailing whitespace removed.
46704 * scripts/config.guess: Update to version 2014-03-23.
46705 * scripts/config.sub: Update to version 2014-05-01
46706 * scripts/install-sh: Update to version 2013-12-25.23.
46707 * scripts/move-if-change: Update from gnulib.
46708
46709 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46710
46711 * debug/memmove_chk.c: Remove pagecopy.h include.
46712
46713 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
46714
46715 * time/mktime.c (leapyear): Remove inline keyword. The code is now
46716 identical to gnulib mktime.
46717
46718 2014-06-26 Joseph Myers <joseph@codesourcery.com>
46719
46720 * configure.ac: Do not test for machine being rs6000. Do not test
46721 for powerpc*-*soft.
46722 * configure: Regenerated.
46723
46724 [BZ #11505]
46725 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
46726 test.
46727 * configure: Regenerated.
46728 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
46729 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
46730 Remove configure test.
46731 * sysdeps/arm/configure: Regenerated.
46732 * sysdeps/nptl/configure.ac: Do not check
46733 libc_cv_asm_cfi_directives.
46734 * sysdeps/nptl/configure: Regenerated.
46735 * sysdeps/x86_64/nptl/configure.ac: Remove file.
46736 * sysdeps/x86_64/nptl/configure: Remove generated file.
46737 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
46738 unconditional.
46739 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
46740
46741 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46742
46743 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
46744 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
46745 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
46746 it is defined.
46747
46748 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
46749 instead of whether it is defined.
46750 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
46751 * sysdeps/hppa/dl-machine.h: Likewise.
46752 * sysdeps/ia64/dl-machine.h: Likewise.
46753 * sysdeps/m68k/dl-machine.h: Likewise.
46754 * sysdeps/microblaze/dl-machine.h: Likewise.
46755 * sysdeps/mips/dl-machine.: Likewise.
46756 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46757 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46758 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46759 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46760 * sysdeps/sh/dl-machine.h: Likewise.
46761 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46762 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46763 * sysdeps/tile/dl-machine.h: Likewise.
46764 * sysdeps/x86_64/dl-machine.h: Likewise.
46765
46766 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
46767 code.
46768 (verify_persistent_db): Likewise.
46769
46770 2014-06-26 Roland McGrath <roland@hack.frob.com>
46771
46772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
46773 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
46774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
46775 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
46776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
46777 Moved ...
46778 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
46779 ... here.
46780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
46781 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
46782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
46783 Identical file removed.
46784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
46785 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
46786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
46787 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
46788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
46789 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
46790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
46791 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
46792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
46793 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
46794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46795 Moved ...
46796 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
46797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
46798 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
46799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
46800 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
46801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
46802 Moved ...
46803 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
46804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
46805 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
46806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
46807 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
46808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
46809 Identical file removed.
46810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
46811 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
46812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
46813 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
46814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
46815 Moved ...
46816 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
46817 ... here.
46818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
46819 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
46820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
46821 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
46822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
46823 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
46824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
46825 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
46826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
46827 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
46828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46829 Moved ...
46830 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
46831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
46832 Moved ...
46833 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
46834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
46835 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
46836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
46837 Moved ...
46838 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
46839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
46840 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
46841
46842 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
46843 folded into ...
46844 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
46845 * sysdeps/unix/sysv/linux/s390/Versions
46846 (libpthread: GLIBC_2.19): New version set.
46847 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
46848 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
46849 (librt: GLIBC_2.3.3): New version set.
46850 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
46851 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
46852 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
46853 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
46854 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
46855 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
46856 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
46857 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
46858 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
46859 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
46860 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
46861 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
46862 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
46863 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
46864 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
46865 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
46866 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
46867 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
46868 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
46869 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
46870 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
46871 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
46872 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
46873 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
46874 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
46875 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
46876 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
46877 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
46878 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
46879 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
46880 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
46881 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
46882 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
46883 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
46884 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
46885 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
46886 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
46887 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
46888 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
46889 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
46890 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
46891 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
46892 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
46893 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
46894 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
46895
46896 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
46897 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
46898 (__libc_vfork): Define the function under this name.
46899 [!NOT_IN_libc] (__vfork): Make this an alias.
46900 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
46901 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
46902 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
46903 (__libc_vfork): Define the function under this name.
46904 [!NOT_IN_libc] (__vfork): Make this an alias.
46905 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
46906 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
46907 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
46908 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
46909 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
46910 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46911
46912 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
46913 code that was previously under [RESET_PID].
46914 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
46915 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
46916 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
46917
46918 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
46919 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
46920 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
46921 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
46922 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
46923 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
46924 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
46925 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
46926 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
46927 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
46928 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
46929 Moved ...
46930 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
46931 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
46932 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
46933 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
46934 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
46935 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
46936 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
46937 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
46938 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
46939 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
46940 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
46941 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
46942 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
46943 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
46944 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
46945 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
46946 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
46947 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
46948 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
46949 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
46950 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
46951 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
46952 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
46953 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
46954 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
46955 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
46956 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
46957 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
46958 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
46959
46960 2014-06-25 Roland McGrath <roland@hack.frob.com>
46961
46962 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
46963 that was previously under [RESET_PID].
46964 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
46965
46966 2014-06-25 Joseph Myers <joseph@codesourcery.com>
46967
46968 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
46969 not undefine and redefine.
46970 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
46971 [O_CLOEXEC]: Make code unconditional.
46972 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
46973 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
46974 <kernel-features.h>.
46975 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
46976 conditional variable definition.
46977 (shm_open) [O_CLOEXEC]: Make code unconditional.
46978 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
46979 code.
46980
46981 * configure.ac (USE_REGPARMS): Don't define here.
46982 * configure: Regenerated.
46983 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
46984 * sysdeps/i386/configure: Regenerated.
46985
46986 * nptl/createthread.c: Don't include kernel-features.h.
46987 * nptl/pthread_cancel.c: Likewise.
46988 * nptl/pthread_condattr_setclock.c: Likewise.
46989 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
46990 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
46991 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
46992 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
46993 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
46994 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
46995 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
46996 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
46997 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
46998 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
46999 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
47000 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
47001 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
47002 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
47003 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
47004 * nscd/gai.c: Likewise.
47005 * nss/nss_db/db-open.c: Likewise.
47006 * sysdeps/generic/ldsodefs.h: Likewise.
47007 * sysdeps/sh/nptl/tls.h: Likewise.
47008 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47009 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
47010 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
47011 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
47012 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
47013 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47014 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
47015 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
47016 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
47017 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
47018 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
47019 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
47020 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
47021 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
47022 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
47023 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
47024 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
47025 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
47026 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
47027 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
47028 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
47029 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
47030 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
47031 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
47032 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
47033 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
47034 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
47035 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
47036 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
47037 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
47038 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
47039 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
47040 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
47041 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47042 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47043 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47044 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47045 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
47046 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
47047 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
47048 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
47049 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
47050 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
47051 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47052 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
47053 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
47054 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
47055 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
47056 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
47057 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
47058 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
47059 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
47060 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
47061 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47062 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
47063 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
47064 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
47065 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
47066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
47067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
47068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
47069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
47070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
47071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
47072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
47073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
47074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
47075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
47076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
47077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
47078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
47079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
47080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
47081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
47086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
47087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
47088 * sysdeps/unix/sysv/linux/pread.c: Likewise.
47089 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
47090 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
47091 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
47092 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
47093 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
47094 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
47095 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
47096 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
47097 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
47098 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
47099 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
47100 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
47101 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
47102 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
47103 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
47104 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
47105 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
47106 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
47107 * sysdeps/unix/sysv/linux/system.c: Likewise.
47108 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
47109 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
47110 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47111 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47112 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
47113 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47114 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
47115
47116 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
47117 * configure: Regenerated.
47118 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
47119
47120 * configure.ac (base_machine): Do not set specially for particular
47121 machines here.
47122 * configure: Regenerated.
47123 * sysdeps/powerpc/preconfigure: Move machine and base_machine
47124 settings from configure.ac.
47125 * sysdeps/i386/preconfigure: New file.
47126 * sysdeps/s390/preconfigure: Likewise.
47127 * sysdeps/sh/preconfigure: Likewise.
47128 * sysdeps/sparc/preconfigure: Likewise.
47129
47130 2014-06-25 Roland McGrath <roland@hack.frob.com>
47131
47132 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
47133 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
47134 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
47135 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
47136 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
47137 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
47138 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
47139 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
47140 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
47141 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
47142 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
47143 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
47144 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
47145 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
47146 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
47147 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
47148 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
47149 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
47150 * sysdeps/sparc/sparc64/Makefile: ... appended here.
47151
47152 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
47153 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
47154 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
47155 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
47156 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
47157 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
47158 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
47159 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
47160 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
47161 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
47162 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
47163 * sysdeps/sparc/sparc32/sem_post.c: ... here.
47164 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
47165 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
47166 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
47167 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
47168 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
47169 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
47170 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
47171 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
47172 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
47173 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
47174 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
47175 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
47176 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
47177 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
47178 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
47179 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
47180 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
47181 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
47182 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
47183 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
47184 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
47185 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
47186 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
47187 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
47188 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
47189 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
47190
47191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
47192 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
47193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
47194 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
47195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
47196 Moved ...
47197 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
47198 ... here.
47199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
47200 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
47201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
47202 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
47203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
47204 Moved ...
47205 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
47206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
47207 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
47208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
47209 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
47210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
47211 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
47212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47213 Moved ...
47214 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
47215 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
47216 Moved ...
47217 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
47218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
47219 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
47220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
47221 Moved ...
47222 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
47223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
47224 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
47225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
47226 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
47227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
47228 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
47229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
47230 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
47231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
47232 Moved ...
47233 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
47234 ... here.
47235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
47236 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
47237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
47238 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
47239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
47240 Moved ...
47241 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
47242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
47243 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
47244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
47245 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
47246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
47247 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
47248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47249 Moved ...
47250 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
47251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
47252 Moved ...
47253 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
47254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
47255 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
47256 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
47257 Moved ...
47258 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
47259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
47260 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
47261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
47262 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
47263
47264 2014-06-25 Joseph Myers <joseph@codesourcery.com>
47265
47266 * timezone/checktab.awk: Update from tzcode 2014e.
47267 * timezone/private.h: Likewise.
47268 * timezone/tzfile.h: Likewise.
47269 * timezone/zdump.c: Likewise.
47270 * timezone/zic.c: Likewise.
47271
47272 * sysdeps/unix/sysv/linux/kernel-features.h
47273 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
47274 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
47275 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
47276 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
47277 Remove conditional code.
47278
47279 2014-06-25 Will Newton <will.newton@linaro.org>
47280
47281 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
47282 (_dl_arm_cap_flags): Add HWCAP2 values.
47283 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
47284 (_DL_HWCAP_COUNT): Increase to 37.
47285 (_DL_HWCAP_LAST): New define.
47286 (_DL_HWCAP2_LAST): New define.
47287 (_dl_procinfo): Add support for printing
47288 AT_HWCAP2 entries.
47289 (_dl_string_hwcap): Use _dl_hwcap_string.
47290
47291 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47292
47293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47294
47295 2014-06-25 Joseph Myers <joseph@codesourcery.com>
47296
47297 * README: Do not mention ports directory.
47298
47299 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
47300 Remove macro.
47301 * sysdeps/unix/sysv/linux/futimes.c: Do not include
47302 <kernel-features.h>.
47303 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
47304 conditional variable definition.
47305 (__futimes): Update comment.
47306 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
47307 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
47308
47309 [BZ #16560]
47310 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
47311 arguments close to 0.
47312 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
47313 Likewise.
47314 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
47315 Likewise.
47316 * math/auto-libm-test-in: Add more tests of exp10.
47317 * math/auto-libm-test-out: Regenerated.
47318 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47319
47320 * sysdeps/unix/sysv/linux/kernel-features.h
47321 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
47322 * sysdeps/unix/sysv/linux/readv.c: Do not include
47323 <kernel-features.h>.
47324 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
47325 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
47326 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
47327 unconditional.
47328 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
47329 conditional code.
47330 * sysdeps/unix/sysv/linux/writev.c: Do not include
47331 <kernel-features.h>.
47332 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
47333 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
47334 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
47335 unconditional.
47336 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
47337 conditional code.
47338
47339 2014-06-25 Will Newton <will.newton@linaro.org>
47340
47341 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
47342 comment changes throughout the file. Remove checks
47343 for HAVE_*_H definitions that are not required.
47344 (__gen_tempname): Call abort if an unknown kind value is
47345 passed.
47346
47347 2014-06-25 Andreas Schwab <schwab@suse.de>
47348
47349 [BZ #17086]
47350 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
47351 scalbln, scalblnf, scalblnl in libc.
47352
47353 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
47354
47355 [BZ #17086]
47356 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
47357 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
47358 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
47359
47360 2014-06-24 Roland McGrath <roland@hack.frob.com>
47361
47362 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
47363 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
47364 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
47365 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
47366 Update #include.
47367 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
47368 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
47369 Update #include.
47370 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
47371 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
47372 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
47373 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
47374 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
47375 * sysdeps/x86/bits/pthreadtypes.h: ... here.
47376 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
47377 * sysdeps/x86/bits/semaphore.h: ... here.
47378 * sysdeps/x86/nptl/elide.h: Moved ...
47379 * sysdeps/x86/elide.h: ... here.
47380 * sysdeps/x86_64/nptl/Implies: File removed.
47381 * sysdeps/i386/nptl/Implies: File removed.
47382
47383 2014-06-24 Joseph Myers <joseph@codesourcery.com>
47384
47385 [BZ #16539]
47386 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
47387 return the argument for normal arguments with exponent below -64.
47388 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
47389 Likewise.
47390 * math/auto-libm-test-in: Add another test of expm1.
47391 * math/auto-libm-test-out: Regenerated.
47392
47393 [BZ #16287]
47394 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
47395 calling __erfcl for arguments at least 16.
47396 * math/auto-libm-test-in: Add more tests of erf.
47397 * math/auto-libm-test-out: Regenerated.
47398
47399 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
47400 individual architectures.
47401 * sysdeps/unix/sysv/linux/configure: Regenerated.
47402 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
47403 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
47404 * sysdeps/unix/sysv/linux/powerpc/configure.ac
47405 (ldd_rewrite_script): Define variable.
47406 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
47407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
47408 file.
47409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
47410 generated file.
47411 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
47412 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
47413 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
47414 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
47415 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
47416 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
47417 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
47418 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
47419
47420 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
47421
47422 [BZ #17084]
47423 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
47424 Rename member __data.d to __data.__elision_data.
47425
47426 2014-06-24 Wilco <wdijkstr@arm.com>
47427
47428 * NEWS: Add 16918 to fixed bug list.
47429
47430 2014-06-24 Wilco <wdijkstr@arm.com>
47431
47432 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
47433
47434 2014-06-24 Wilco <wdijkstr@arm.com>
47435
47436 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
47437 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
47438 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
47439 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
47440 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
47441 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
47442 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
47443 Use _FPU_MASK_RM.
47444
47445 2014-06-24 Wilco <wdijkstr@arm.com>
47446
47447 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
47448
47449 2014-06-24 Wilco <wdijkstr@arm.com>
47450
47451 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
47452 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
47453 * sysdeps/arm/fesetround.c (fesetround): Remove space.
47454 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
47455
47456 2014-06-24 Wilco <wdijkstr@arm.com>
47457
47458 [BZ #16918]
47459 * sysdeps/arm/feupdateenv.c (feupdateenv):
47460 Rewrite to reduce FPSCR accesses and fix return value.
47461
47462 2014-06-24 Wilco <wdijkstr@arm.com>
47463
47464 * sysdeps/arm/fclrexcpt.c (feclearexcept):
47465 Optimize to avoid unnecessary FPSCR writes.
47466 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
47467 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
47468 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
47469 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
47470
47471 2014-06-24 Wilco <wdijkstr@arm.com>
47472
47473 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
47474 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
47475 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
47476 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
47477 Call libc_fetestexcept_vfp.
47478 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
47479 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
47480 __SOFTFP__ ifdef so that they can be built for softfp.
47481
47482 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
47483
47484 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
47485 argument type signed char.
47486
47487 * Makerules (check-abi): Dump diff of symlist if the test
47488 fails.
47489
47490 2014-06-23 Roland McGrath <roland@hack.frob.com>
47491
47492 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
47493 using abort.
47494
47495 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
47496 Remove unused variable ST.
47497
47498 2014-06-23 Joseph Myers <joseph@codesourcery.com>
47499
47500 [BZ #16354]
47501 [BZ #17061]
47502 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
47503 small arguments before calling __expm1.
47504 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
47505 small arguments before calling __expm1f.
47506 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
47507 small arguments before calling __expm1l.
47508 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
47509 Likewise.
47510 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
47511 * math/auto-libm-test-in: Add more cosh tests. Do not allow
47512 spurious underflow for some cosh tests.
47513 * math/auto-libm-test-out: Regenerated.
47514 * sysdeps/i386/fpu/libm-test-ulps: Update.
47515
47516 [BZ #17050]
47517 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
47518 (__ieee754_y1): Set errno if return value overflows.
47519 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
47520 (__ieee754_y1f): Set errno if return value overflows.
47521 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
47522 (__ieee754_y1l): Set errno if return value overflows.
47523 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
47524 (__ieee754_y1l): Set errno if return value overflows.
47525 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
47526 * math/auto-libm-test-out: Regenerated.
47527
47528 * math/gen-auto-libm-tests.c: Document use of
47529 ignore-zero-inf-sign.
47530 (input_flag_type): Add value flag_ignore_zero_inf_sign.
47531 (input_flags): Add ignore-zero-inf-sign.
47532 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
47533 * math/gen-libm-test.pl (generate_testfile): Handle
47534 ignore-zero-inf-sign.
47535 * math/auto-libm-test-in: Mark some cpow tests with
47536 ignore-zero-inf-sign and some with xfail-rounding.
47537 * math/auto-libm-test-out: Regenerated.
47538 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
47539 * sysdeps/i386/fpu/libm-test-ulps: Update.
47540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47541
47542 [BZ #16315]
47543 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
47544 overflowing or underflowing operations take place with sign of
47545 result.
47546 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47547 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
47548 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
47549 (__ieee754_pow): Recompute overflowing and underflowing results in
47550 original rounding mode.
47551 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
47552 (__powl_helper): Allow negative argument X and scale negated value
47553 as needed. Avoid passing value outside [-1, 1] to f2xm1.
47554 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
47555 overflowing or underflowing operations take place with sign of
47556 result.
47557 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
47558 Include <math.h>.
47559 * math/auto-libm-test-in: Add more tests of pow.
47560 * math/auto-libm-test-out: Regenerated.
47561 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
47562 (pow_tonearest_test_data): Remove.
47563 (pow_test_tonearest): Likewise.
47564 (pow_towardzero_test_data): Likewise.
47565 (pow_test_towardzero): Likewise.
47566 (pow_downward_test_data): Likewise.
47567 (pow_test_downward): Likewise.
47568 (pow_upward_test_data): Likewise.
47569 (pow_test_upward): Likewise.
47570 (main): Don't call removed functions.
47571 * sysdeps/i386/fpu/libm-test-ulps: Update.
47572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47573
47574 2014-06-23 Roland McGrath <roland@hack.frob.com>
47575
47576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
47577 Moved ...
47578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
47579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47580 Moved ...
47581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
47582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47583 Moved ...
47584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
47585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
47586 Moved ...
47587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
47588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
47589 File removed.
47590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47591 File removed.
47592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
47593 File removed.
47594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
47595 File removed.
47596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
47597 File removed.
47598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
47599 File removed.
47600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
47601 File removed.
47602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47603 File removed.
47604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
47605 File removed.
47606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47607 File removed.
47608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
47609 File removed.
47610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
47611 File removed.
47612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
47613 Moved ...
47614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
47615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
47616 Moved ...
47617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
47618 ... here.
47619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
47620 Moved ...
47621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
47622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
47623 Moved ...
47624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
47625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
47626 Moved ...
47627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
47628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
47629 Moved ...
47630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
47631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
47632 Moved ...
47633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
47634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
47635 Moved ...
47636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
47637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
47638 Moved ...
47639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
47640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
47641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
47642 ... here.
47643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
47644 Moved ...
47645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
47646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
47647 Moved ...
47648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
47649 ... here.
47650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
47651 Moved ...
47652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
47653 ... here.
47654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47655 Moved ...
47656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
47657 ... here.
47658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
47659 Moved ...
47660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
47661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
47662 Moved ...
47663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
47664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
47665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
47666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
47667 Moved ...
47668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
47669 ... here.
47670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
47671 Moved ...
47672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
47673 ... here.
47674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
47675 Moved ...
47676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
47677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
47678 Moved ...
47679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
47680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
47681 Moved ...
47682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
47683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47684 Moved ...
47685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
47686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
47687 Moved ...
47688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
47689 ... here.
47690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
47691 Moved ...
47692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
47693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
47694 Moved ...
47695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
47696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
47697 Moved ...
47698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
47699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
47700 Moved ...
47701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
47702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
47703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
47704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
47705 Moved ...
47706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
47707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
47708 Moved ...
47709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
47710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
47711 Moved ...
47712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
47713 ... here.
47714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47715 Moved ...
47716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
47717 ... here.
47718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
47719 Moved ...
47720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
47721 ... here.
47722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
47723 Moved ...
47724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
47725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
47726 Moved ...
47727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
47728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
47729 Moved ...
47730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
47731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
47732 Moved ...
47733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
47734 ... here.
47735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
47736 Moved ...
47737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
47738 ... here.
47739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
47740 Moved ...
47741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
47742 ... here.
47743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
47744 Moved ...
47745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
47746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
47747 Moved ...
47748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
47749
47750 2014-06-23 Will Newton <will.newton@linaro.org>
47751 Wilco <wdijkstr@arm.com>
47752
47753 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
47754 implementation. Include get-rounding-mode.h.
47755 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
47756 [!libc_feholdsetround_noex_ctx]: Define
47757 libc_feholdsetround_noex_ctx.
47758 [!libc_feholdsetround_noexf_ctx]: Define
47759 libc_feholdsetround_noexf_ctx.
47760 [!libc_feholdsetround_noexl_ctx]: Define
47761 libc_feholdsetround_noexl_ctx.
47762 (libc_feholdsetround_ctx): New function.
47763 (libc_feresetround_ctx): New function.
47764 (libc_feholdsetround_noex_ctx): New function.
47765 (libc_feresetround_noex_ctx): New function.
47766
47767 2014-06-23 Roland McGrath <roland@hack.frob.com>
47768
47769 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
47770 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
47771 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
47772 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
47773 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
47774 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
47775
47776 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
47777 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
47778 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
47779 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
47780 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
47781 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
47782 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
47783 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
47784 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
47785 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
47786 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
47787 Moved ...
47788 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
47789 ... here.
47790 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
47791 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
47792 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
47793 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
47794 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
47795 Moved ...
47796 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
47797 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
47798 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
47799 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
47800 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
47801 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
47802 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
47803 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
47804 Moved ...
47805 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
47806 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
47807 Moved ...
47808 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
47809 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
47810 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
47811 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
47812 Moved ...
47813 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
47814 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
47815 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
47816 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
47817 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
47818 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
47819 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
47820 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
47821 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
47822 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
47823 Moved ...
47824 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
47825 ... here.
47826 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
47827 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
47828 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
47829 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
47830 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
47831 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
47832 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
47833 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
47834 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
47835 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
47836 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
47837 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
47838 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
47839 Moved ...
47840 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
47841 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
47842 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
47843 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
47844 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
47845 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
47846 Moved ...
47847 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
47848 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
47849 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
47850 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
47851 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
47852
47853 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
47854 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
47855 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
47856 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
47857 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
47858 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
47859 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
47860 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
47861 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
47862 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
47863 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
47864 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
47865 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
47866 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
47867 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
47868 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
47869 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
47870 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
47871 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
47872 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
47873 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
47874 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
47875 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
47876 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
47877 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
47878 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
47879 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
47880 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
47881
47882 2014-06-23 Joseph Myers <joseph@codesourcery.com>
47883
47884 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
47885 (FALLOC_FL_COLLAPSE_RANGE): New macro.
47886 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
47887 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
47888 (IPV6_PMTUDISC_INTERFACE): Likewise.
47889 (IPV6_PMTUDISC_OMIT): Likewise.
47890
47891 2014-06-23 Andreas Schwab <schwab@suse.de>
47892
47893 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
47894 Remove unused errout label.
47895
47896 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47897
47898 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
47899 macro: hardware supports Vector Crypto instructions.
47900
47901 2014-06-23 Will Newton <will.newton@linaro.org>
47902
47903 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
47904 rather than __builtin_expect.
47905
47906 * elf/dl-lookup.c (undefined_msg): Remove variable.
47907 (_dl_lookup_symbol_x): Replace undefined_msg with string
47908 literal.
47909
47910 * elf/dl-lookup.c (do_lookup_unique): New function.
47911 (do_lookup_x): Move STB_GNU_UNIQUE handling code
47912 to a separate function.
47913
47914 2014-06-23 Andreas Schwab <schwab@suse.de>
47915
47916 [BZ #17079]
47917 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
47918 before reading the next line.
47919
47920 2014-06-23 Will Newton <will.newton@linaro.org>
47921
47922 * test-skeleton.c (signal_handler): Use printf and %m
47923 rather than perror. Use printf rather than fprintf to
47924 stderr. Use puts rather than fputs to stderr.
47925 (main): Likewise.
47926
47927 2014-06-22 Ludovic Courtès <ludo@gnu.org>
47928
47929 * nscd/nscd.c (thread_info_t): Remove typedef.
47930 (thread_info): Remove variable.
47931
47932 2014-06-21 Allan McRae <allan@archlinux.org>
47933
47934 * NEWS: Mention CVE-2014-4043.
47935
47936 2014-06-20 Roland McGrath <roland@hack.frob.com>
47937
47938 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
47939 * nptl/smp.h: ... here.
47940
47941 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
47942
47943 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
47944 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
47945 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
47946 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
47947
47948 * nptl/allocatestack.c: Include <stack-aliasing.h>.
47949 * nptl/stack-aliasing.h: New file.
47950 * sysdeps/i386/i686/stack-aliasing.h: New file.
47951 * sysdeps/i386/i686/nptl/Makefile: File removed.
47952 * sysdeps/x86_64/stack-aliasing.h: New file.
47953 * sysdeps/x86_64/nptl/Makefile
47954 (CFLAGS-pthread_create.c): Variable removed.
47955
47956 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
47957 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
47958 old file.
47959 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
47960 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
47961 old file.
47962
47963 2014-06-21 Joseph Myers <joseph@codesourcery.com>
47964
47965 * sysdeps/unix/sysv/linux/arm/kernel-features.h
47966 (__ASSUME_SIGFRAME_V2): Remove macro.
47967 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
47968 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
47969 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
47970 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
47971 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
47972 Declare as function. Remove conditional macro definitions.
47973 (__default_rt_sa_restorer): Likewise.
47974 (__default_sa_restorer_v1): Remove declaration.
47975 (__default_sa_restorer_v2): Likewise.
47976 (__default_rt_sa_restorer_v1): Likewise.
47977 (__default_rt_sa_restorer_v2): Likewise.
47978 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
47979 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
47980 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
47981
47982 2014-06-20 Roland McGrath <roland@hack.frob.com>
47983
47984 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
47985 (libpthread-routines): Add sysdep.
47986 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
47987 * sysdeps/unix/sysv/linux/sparc/Versions
47988 (libpthread: GLIBC_2.3.3): New version set.
47989 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
47990 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
47991 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
47992 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
47993 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
47994 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
47995 Moved ...
47996 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
47997 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
47998 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
47999 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
48000 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
48001 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
48002 * sysdeps/sparc/nptl/sem_init.c: ... here.
48003 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
48004 * sysdeps/sparc/nptl/sem_post.c: ... here.
48005 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
48006 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
48007 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
48008 * sysdeps/sparc/nptl/sem_wait.c: ... here.
48009 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
48010 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
48011 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
48012 (libpthread-routines): Add cpu_relax.
48013 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
48014 File removed.
48015 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
48016 (librt: GLIBC_2.3.3): New version set.
48017 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
48018 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
48019 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
48020 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
48021 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
48022 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
48023 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
48024 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
48025 Moved ...
48026 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
48027 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
48028 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
48029 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
48030 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
48031 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
48032 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
48033 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
48034 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
48035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
48036 Moved ...
48037 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
48038 Update #include.
48039 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
48040 Moved ...
48041 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
48042 Update #include.
48043 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
48044 Moved ...
48045 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
48046 Update #include.
48047 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
48048 Moved ...
48049 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
48050 Update #include.
48051 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
48052 Moved ...
48053 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
48054 Update #include.
48055 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
48056 Moved ...
48057 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
48058 Update #include.
48059 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
48060 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
48061 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
48062 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
48063 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
48064 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
48065 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
48066 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
48067 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
48068 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
48069 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
48070 Moved ...
48071 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
48072 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
48073 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
48074 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
48075 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
48076
48077 2014-06-20 Joseph Myers <joseph@codesourcery.com>
48078
48079 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
48080 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
48081 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
48082 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
48083 * nscd/nscd.c: Likewise.
48084 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
48085 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
48086 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
48087 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
48088
48089 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
48090 <kernel-features.h>.
48091 (init_mq_netlink): Remove conditional have_sock_cloexec
48092 definitions. Remove code conditional on have_sock_cloexec < 0.
48093 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
48094 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
48095 * sysdeps/unix/sysv/linux/opensock.c: Do not include
48096 <kernel-features.h>.
48097 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
48098 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
48099
48100 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
48101
48102 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48103 Add tests for memset_chk and memset.
48104
48105 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
48106 with AVX2_Usable.
48107
48108 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
48109
48110 [BZ #16046]
48111 * elf/tst-dl-iter-static.c: New file.
48112 * elf/Makefile (tests-static): Add tst-dl-iter-static.
48113
48114 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
48115 error.
48116
48117 2014-06-20 Joseph Myers <joseph@codesourcery.com>
48118
48119 * sysdeps/unix/sysv/linux/kernel-features.h
48120 (__ASSUME_F_GETOWN_EX): Remove macro.
48121 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
48122 <kernel-features.h>.
48123 (miss_F_GETOWN_EX): Remove variable or macro.
48124 (do_fcntl): Do not check miss_F_GETOWN_EX.
48125 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
48126
48127 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
48128 Remove macro.
48129 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
48130 [!__ASSUME_AT_RANDOM]: Remove conditional code.
48131 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
48132
48133 * sysdeps/unix/sysv/linux/kernel-features.h
48134 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
48135 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
48136 [ADJ_OFFSET_SS_READ]: Make code unconditional.
48137 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
48138
48139 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
48140
48141 [BZ #17075]
48142 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
48143 Fix calculation of the symbol's value.
48144 * sysdeps/arm/tst-armtlsdescloc.c: New file.
48145 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
48146 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
48147 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
48148 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
48149 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
48150 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
48151 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
48152 (modules-names): Add `tst-armtlsdescmod',
48153 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
48154 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
48155 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
48156 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
48157 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
48158 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
48159 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
48160 ($(objpfx)tst-armtlsdescloc): New dependency.
48161 ($(objpfx)tst-armtlsdescextnow): Likewise.
48162 ($(objpfx)tst-armtlsdescextlazy): Likewise.
48163 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
48164 TLS scheme support.
48165 * sysdeps/arm/configure: Regenerate.
48166
48167 2014-06-20 Joseph Myers <joseph@codesourcery.com>
48168
48169 * include/fcntl.h (__atfct_seterrno): Remove prototype.
48170 (__atfct_seterrno_2): Likewise.
48171 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
48172 <kernel-features.h>.
48173 (__ASSUME_ATFCTS): Do not undefine and redefine.
48174 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
48175 (__have_atfcts): Remove conditional definition.
48176 (__fxstatat([__NR_fstatat64]: Make code unconditional.
48177 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
48178 unreachable if [__ASSUME_ATFCTS].
48179 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
48180 not undefine and redefine.
48181 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
48182 <kernel-features.h>.
48183 (faccessat) [__NR_faccessat]: Make code unconditional.
48184 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
48185 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
48186 <kernel-features.h>.
48187 (fchmodat) [__NR_fchmodat]: Make code unconditional.
48188 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
48189 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
48190 <kernel-features.h>.
48191 (fchownat) [__NR_fchownat]: Make code unconditional.
48192 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
48193 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
48194 <kernel-features.h>.
48195 (futimesat) [__NR_futimesat]: Make code unconditional.
48196 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
48197 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
48198 <kernel-features.h>.
48199 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
48200 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
48201 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
48202 <kernel-features.h>.
48203 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
48204 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
48205 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
48206 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
48207 <kernel-features.h>.
48208 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
48209 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
48210 * sysdeps/unix/sysv/linux/linkat.c: Do not include
48211 <kernel-features.h>.
48212 (linkat) [__NR_linkat]: Make code unconditional.
48213 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
48214 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
48215 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
48216 <kernel-features.h>.
48217 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
48218 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
48219 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
48220 <kernel-features.h>.
48221 (mkdirat) [__NR_mkdirat]: Make code unconditional.
48222 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
48223 * sysdeps/unix/sysv/linux/openat.c: Do not include
48224 <kernel-features.h>.
48225 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
48226 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
48227 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
48228 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
48229 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
48230 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
48231 <kernel-features.h>.
48232 (readlinkat) [__NR_readlinkat]: Make code unconditional.
48233 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
48234 result of INLINE_SYSCALL directly, not via int variable.
48235 * sysdeps/unix/sysv/linux/renameat.c: Do not include
48236 <kernel-features.h>.
48237 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
48238 (renameat) [__NR_renameat]: Make code unconditional.
48239 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
48240 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
48241 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
48242 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
48243 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
48244 (__ASSUME_ATFCTS): Do not undefine and redefine.
48245 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
48246 <kernel-features.h>.
48247 (symlinkat) [__NR_symlinkat]: Make code unconditional.
48248 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
48249 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
48250 <kernel-features.h>.
48251 (unlinkat) [__NR_unlinkat]: Make code unconditional.
48252 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
48253 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
48254 (__ASSUME_ATFCTS): Do not undefine and redefine.
48255 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
48256 <kernel-features.h>.
48257 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
48258 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
48259 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
48260 <kernel-features.h>.
48261 (__xmknodat) [__NR_mknodat]: Make code unconditional.
48262 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
48263
48264 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
48265
48266 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
48267
48268 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
48269
48270 [BZ #17069]
48271 * posix/regcomp.c (parse_reg_exp): Deallocate partially
48272 constructed tree before returning error.
48273 * posix/bug-regexp36.c: Expand test case.
48274
48275 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
48276
48277 [BZ #6803]
48278 * math/libm-test.inc (scalbln_test_date):
48279 Add errno expectations.
48280 * math/w_scalblnf.c: New File.
48281 Add wrapper which checks for setting errno to ERANGE.
48282 Add weak_alias for corresponding scalbln function.
48283 * math/w_scalbln.c: Likewise.
48284 * math/w_scalblnl.c: Likewise.
48285 * math/Makefile (libm-calls): Add w_scalbln.
48286 * sysdeps/ieee754/flt-32/s_scalblnf.c:
48287 Remove weak_alias for corresponding scalbln function.
48288 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48289 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48290 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48291 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48292 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
48293 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
48294 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
48295 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
48296 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
48297 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
48298 Remove long_double_symbol for scalblnl function in libm, libc.
48299 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
48300 Add wrapper which checks for setting errno to ERANGE.
48301 Add long_double_symbol for scalblnl function in libm, libc.
48302 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
48303 Remove long_double_symbol for scalblnl in libm.
48304 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
48305 Add wrapper which checks for setting errno to ERANGE.
48306 Add long_double_symbol for scalblnl function in libm.
48307 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
48308 Do not use wrapper because of own implementation.
48309
48310 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
48311
48312 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
48313 3 bytes for __pad1 for x32.
48314 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
48315
48316 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
48317 H.J. Lu <hongjiu.lu@intel.com>
48318
48319 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
48320 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
48321 * sysdeps/x86_64/multiarch/memset.S: Likewise.
48322 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48323 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
48324
48325 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
48326
48327 [BZ #17069]
48328 * posix/regcomp.c (parse_expression): Deallocate partially
48329 constructed tree before returning error.
48330 * posix/Makefile.c (tests): Add bug-regex36.
48331 (generated): Add bug-regex36.mtrace.
48332 (tests-special): Add $(objpfx)bug-regex36-mem.out
48333 (bug-regex36-ENV): New variable.
48334 ($(objpfx)bug-regex36-mem.out): New rule.
48335 * posix/bug-regex36.c: New file.
48336
48337 2014-06-19 Will Newton <will.newton@linaro.org>
48338
48339 * malloc/malloc.c (systrim): If extra is zero then return
48340 early.
48341
48342 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
48343
48344 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
48345
48346 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
48347
48348 * sysdeps/aarch64/strchr.S: New file.
48349
48350 2014-06-18 Joseph Myers <joseph@codesourcery.com>
48351
48352 [BZ #17022]
48353 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
48354 from arguments -2 or below.
48355 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
48356 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
48357
48358 2014-06-18 Andreas Schwab <schwab@suse.de>
48359
48360 [BZ #17062]
48361 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
48362 of a bracket expr not to run off the end of the string.
48363 * posix/Makefile (tests): Add tst-fnmatch3.
48364 * posix/tst-fnmatch3.c: New file.
48365
48366 2014-06-18 Joseph Myers <joseph@codesourcery.com>
48367
48368 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
48369 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
48370 [$(cross-compiling) = no]: Likewise.
48371 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
48372 [$(cross-compiling) = no]: Likewise.
48373
48374 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
48375
48376 [BZ #17031]
48377 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
48378 double, adjusted for any remainder from the high double.
48379 * math/libm-test.inc (nearbyint): Add tests.
48380 (rint): Likewise.
48381
48382 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48383
48384 * nptl/sysdeps/powerpc/Makefile: Moved ...
48385 * sysdeps/powerpc/nptl/Makefile: ... here.
48386 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
48387 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
48388 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
48389 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
48390 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
48391 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
48392 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
48393 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
48394 * nptl/sysdeps/powerpc/tls.h: Moved ...
48395 * sysdeps/powerpc/nptl/tls.h: ... here.
48396
48397 2014-06-16 Joseph Myers <joseph@codesourcery.com>
48398
48399 [BZ #16681]
48400 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
48401 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
48402 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
48403 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
48404 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
48405 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
48406 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
48407 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
48408 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
48409
48410 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
48411
48412 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
48413
48414 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
48415
48416 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
48417 defined operator.
48418
48419 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
48420 $TIMEOUTFACTOR.
48421
48422 2014-06-16 Florian Weimer <fweimer@redhat.com>
48423
48424 [BZ #17058]
48425 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
48426 non-executed part of the test.
48427
48428 2014-06-16 Andreas Schwab <schwab@suse.de>
48429
48430 * string/bits/string2.h (strdup, strndup): Update feature guard.
48431
48432 2014-06-14 David S. Miller <davem@davemloft.net>
48433
48434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48435
48436 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
48437
48438 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
48439 that was previously under [RESET_PID].
48440 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
48441
48442 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
48443 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
48444 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
48445 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48446 (__libc_vfork): New strong alias.
48447 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
48448
48449 2014-06-14 Andi Kleen <ak@linux.intel.com>
48450
48451 * sysdeps/generic/elide.h: New file.
48452
48453 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
48454
48455 * Makefile (installed-headers): Adjust path of pthread.h header.
48456
48457 2014-06-13 Roland McGrath <roland@hack.frob.com>
48458
48459 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
48460 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
48461 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
48462 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
48463
48464 * nptl/sysdeps/s390/Makefile: Moved ...
48465 * sysdeps/s390/nptl/Makefile: ... here.
48466 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
48467 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
48468 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
48469 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
48470 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
48471 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
48472 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
48473 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
48474 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
48475 * sysdeps/s390/nptl/pthreaddef.h: ... here.
48476 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
48477 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
48478 * nptl/sysdeps/s390/tls.h: Moved ...
48479 * sysdeps/s390/nptl/tls.h: ... here.
48480
48481 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
48482 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
48483
48484 2014-06-13 David S. Miller <davem@davemloft.net>
48485
48486 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
48487 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
48488 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
48489 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
48490 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
48491 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
48492 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
48493 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
48494 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
48495 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
48496 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
48497 Remove RESET_PID cpp guards.
48498 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
48499 Remove RESET_PID cpp guards.
48500 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
48501
48502 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
48503
48504 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
48505 __sp to uintptr_t.
48506
48507 2014-06-13 Andi Kleen <ak@linux.intel.com>
48508
48509 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
48510 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
48511 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
48512 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
48513 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
48514 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
48515 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
48516 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
48517 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
48518 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
48519 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
48520 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
48521 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
48522 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
48523 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
48524 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
48525 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
48526 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
48527 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
48528 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
48529
48530 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
48531 (pthread_rwlock_rdlock): Add elision.
48532 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
48533 (pthread_rwlock_wrlock): Add elision.
48534 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
48535 (pthread_rwlock_trywrlock): Add elision.
48536 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
48537 (pthread_rwlock_tryrdlock): Add elision.
48538 * nptl/pthread_rwlock_unlock.c: Include elide.h.
48539 (pthread_rwlock_tryrdlock): Add elision unlock.
48540 * nptl/sysdeps/pthread/pthread.h:
48541 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
48542 (PTHREAD_RWLOCK_INITIALIZER,
48543 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
48544 Handle new elision field.
48545 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
48546 * sysdeps/arm/nptl/bits/pthreadtypes.h
48547 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48548 * sysdeps/sh/nptl/bits/pthreadtypes.h
48549 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48550 * sysdeps/tile/nptl/bits/pthreadtypes.h
48551 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48552 * sysdeps/a/nptl/bits/pthreadtypes.h
48553 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48554 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
48555 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48556 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
48557 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48558 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
48559 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48560 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
48561 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48562 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
48563 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48564 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
48565 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48566 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
48567 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48568 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
48569 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48570 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
48571 (elision_init): Set try_xbegin to zero when no RTM.
48572 * sysdeps/x86/nptl/bits/pthreadtypes.h
48573 (pthread_rwlock_t): Change __pad1 to __rwelision.
48574 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48575
48576 2014-06-13 Andi Kleen <ak@linux.intel.com>
48577
48578 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
48579 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
48580 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
48581 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
48582
48583 2014-06-13 Meador Inge <meadori@codesourcery.com>
48584
48585 [BZ #16996]
48586 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
48587 that the cached result has been set before returning it.
48588
48589 2014-06-12 Roland McGrath <roland@hack.frob.com>
48590
48591 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
48592 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
48593 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
48594 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
48595 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
48596 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
48597
48598 * nptl/sysdeps/sparc/Makefile: Moved ...
48599 * sysdeps/sparc/nptl/Makefile: ... here.
48600 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
48601 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
48602 * nptl/sysdeps/sparc/tls.h: Moved ...
48603 * sysdeps/sparc/nptl/tls.h: ... here.
48604 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
48605 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
48606 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
48607 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
48608 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
48609 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
48610 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
48611 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
48612 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
48613 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
48614 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
48615 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
48616 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
48617 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
48618 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
48619 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
48620 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
48621 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
48622 Update #include.
48623 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
48624 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
48625 Update #include.
48626 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
48627 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
48628 Update #include.
48629 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
48630 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
48631 Update #include.
48632
48633 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
48634
48635 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
48636 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
48637
48638 * sysdeps/pthread/posix-timer.h: Include <list.h>.
48639 (struct list_links): Type removed.
48640 (struct thread_node, struct timer_node): Replace struct list_links
48641 with struct list_head.
48642 (list_unlink_ip): Likewise.
48643 * sysdeps/pthread/timer_routines.c
48644 (timer_free_list, thread_free_list, thread_active_list): Likewise.
48645 (list_append, list_insbefore): Likewise.
48646 (list_init): Function removed.
48647 (thread_init, init_module): Use INIT_LIST_HEAD instead.
48648 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
48649 * sysdeps/pthread/Makefile: ... here, new file.
48650
48651 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
48652 * sysdeps/nptl/Implies: ... here.
48653 * sysdeps/unix/sysv/linux/Implies: Add nptl.
48654 * nptl/sysdeps/pthread/list.h: Moved ...
48655 * include/list.h: ... here.
48656 * nptl/sysdeps/pthread/createthread.c: Moved ...
48657 * nptl/createthread.c: ... here.
48658 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
48659 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
48660 * nptl/pt-longjmp.c: ... here.
48661 * nptl/sysdeps/pthread/Makefile: Moved ...
48662 * sysdeps/nptl/Makefile: ... here.
48663 * nptl/sysdeps/pthread/Subdirs: Moved ...
48664 * sysdeps/nptl/Subdirs: ... here.
48665 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
48666 * sysdeps/nptl/aio_misc.h: ... here.
48667 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
48668 * sysdeps/nptl/bits/libc-lock.h: ... here.
48669 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
48670 * sysdeps/nptl/bits/libc-lockP.h: ... here.
48671 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
48672 * sysdeps/nptl/bits/stdio-lock.h: ... here.
48673 * nptl/sysdeps/pthread/configure: Moved ...
48674 * sysdeps/nptl/configure: ... here.
48675 * nptl/sysdeps/pthread/configure.ac: Moved ...
48676 * sysdeps/nptl/configure.ac: ... here.
48677 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
48678 * sysdeps/nptl/gai_misc.h: ... here.
48679 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
48680 * sysdeps/nptl/librt-cancellation.c: ... here.
48681 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
48682 * sysdeps/nptl/malloc-machine.h: ... here.
48683 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
48684 * sysdeps/nptl/pthread-functions.h: ... here.
48685 * nptl/sysdeps/pthread/pthread.h: Moved ...
48686 * sysdeps/nptl/pthread.h: ... here.
48687 * nptl/sysdeps/pthread/setxid.h: Moved ...
48688 * sysdeps/nptl/setxid.h: ... here.
48689 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
48690 * sysdeps/nptl/sigfillset.c: ... here.
48691 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
48692 * sysdeps/nptl/tcb-offsets.h: ... here.
48693 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
48694 * sysdeps/nptl/tst-mqueue8x.c: ... here.
48695 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
48696 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
48697 * nptl/sysdeps/pthread/allocalim.h: Moved ...
48698 * sysdeps/pthread/allocalim.h: ... here.
48699 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
48700 * sysdeps/pthread/bits/sigthread.h: ... here.
48701 * nptl/sysdeps/pthread/flockfile.c: Moved ...
48702 * sysdeps/pthread/flockfile.c: ... here.
48703 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
48704 * sysdeps/pthread/ftrylockfile.c: ... here.
48705 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
48706 * sysdeps/pthread/funlockfile.c: ... here.
48707 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
48708 * sysdeps/pthread/posix-timer.h: ... here.
48709 * nptl/sysdeps/pthread/timer_create.c: Moved ...
48710 * sysdeps/pthread/timer_create.c: ... here.
48711 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
48712 * sysdeps/pthread/timer_delete.c: ... here.
48713 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
48714 * sysdeps/pthread/timer_getoverr.c: ... here.
48715 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
48716 * sysdeps/pthread/timer_gettime.c: ... here.
48717 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
48718 * sysdeps/pthread/timer_routines.c: ... here.
48719 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
48720 * sysdeps/pthread/timer_settime.c: ... here.
48721 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
48722 * sysdeps/pthread/tst-timer.c: ... here.
48723 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
48724 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
48725
48726 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
48727 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
48728
48729 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
48730 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
48731 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
48732 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
48733 Update #include target.
48734 * nptl/sysdeps/i386/i686/Makefile: Moved ...
48735 * sysdeps/i386/i686/nptl/Makefile: ... here.
48736 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
48737 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
48738 Update #include target.
48739 * nptl/sysdeps/i386/i686/tls.h: Moved ...
48740 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
48741 * nptl/sysdeps/i386/Makefile: Moved ...
48742 * sysdeps/i386/nptl/Makefile: ... here.
48743 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
48744 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
48745 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
48746 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
48747 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
48748 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
48749 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
48750 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
48751 * sysdeps/i386/nptl/pthreaddef.h: ... here.
48752 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
48753 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
48754 * nptl/sysdeps/i386/tls.h: Moved ...
48755 * sysdeps/i386/nptl/tls.h: ... here.
48756
48757 * sysdeps/sh/Makefile [$(subdir) = csu]
48758 (gen-as-const-headers): Add tcb-offsets.sym.
48759 * nptl/sysdeps/sh/Makefile: File removed.
48760 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
48761 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
48762 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
48763 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
48764 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
48765 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
48766 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
48767 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
48768 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
48769 * sysdeps/sh/nptl/pthreaddef.h: ... here.
48770 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
48771 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
48772 * nptl/sysdeps/sh/tls.h: Moved ...
48773 * sysdeps/sh/nptl/tls.h: ... here.
48774 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
48775 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
48776 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
48777 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
48778 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
48779 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
48780 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
48781 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
48782 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
48783 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
48784 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
48785 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
48786 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
48787 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
48788 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
48789 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
48790 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
48791 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
48792 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
48793 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
48794 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
48795 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
48796 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
48797 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
48798 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
48799 Moved ...
48800 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
48801 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
48802 Moved ...
48803 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
48804 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
48805 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
48806 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
48807 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
48808 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
48809 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
48810 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
48811 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
48812 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
48813 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
48814 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
48815 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
48816 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
48817 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
48818 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
48819 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
48820 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
48821 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
48822
48823 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
48824
48825 * posix/spawn_faction_addopen.c: Include string.h.
48826
48827 2014-06-11 Roland McGrath <roland@hack.frob.com>
48828
48829 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
48830 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
48831 * nptl/sysdeps/x86_64/Makefile: Moved ...
48832 * sysdeps/x86_64/nptl/Makefile: ... here.
48833 * nptl/sysdeps/x86_64/configure: Moved ...
48834 * sysdeps/x86_64/nptl/configure: ... here.
48835 * nptl/sysdeps/x86_64/configure.ac: Moved ...
48836 * sysdeps/x86_64/nptl/configure.ac: ... here.
48837 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
48838 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
48839 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
48840 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
48841 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
48842 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
48843 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
48844 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
48845 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
48846 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
48847 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
48848 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
48849 * nptl/sysdeps/x86_64/tls.h: Moved ...
48850 * sysdeps/x86_64/nptl/tls.h: ... here.
48851 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
48852 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
48853 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
48854 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
48855
48856 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
48857
48858 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48859
48860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48861
48862 2014-06-11 Joseph Myers <joseph@codesourcery.com>
48863
48864 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
48865 type.
48866 [POSIX] (off_t): Likewise.
48867 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
48868 [POSIX] (S_ISBLK): Require macro.
48869 [POSIX] (S_ISCHR): Likewise.
48870 [POSIX] (S_ISDIR): Likewise.
48871 [POSIX] (S_ISFIFO): Likewise.
48872 [POSIX] (S_ISREG): Likewise.
48873 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
48874 optional-macro.
48875 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
48876 type.
48877 [POSIX] (time_t): Likewise.
48878 [POSIX] (timer_t): Likewise.
48879
48880 2014-06-11 Florian Weimer <fweimer@redhat.com>
48881
48882 [BZ #17048]
48883 * posix/spawn_int.h (struct __spawn_action): Make the path string
48884 non-const to support deallocation.
48885 * posix/spawn_faction_addopen.c
48886 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
48887 * posix/spawn_faction_destroy.c
48888 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
48889 path in all spawn_do_open actions.
48890 * posix/tst-spawn.c (do_test): Exercise the copy operation in
48891 posix_spawn_file_actions_addopen.
48892
48893 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
48894
48895 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
48896 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
48897 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
48898 conditional code always true.
48899 (__libc_vfork): New alias.
48900
48901 2014-06-11 Roland McGrath <roland@hack.frob.com>
48902
48903 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48904 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
48905
48906 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
48907
48908 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48909 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
48910
48911 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
48912 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
48913
48914 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48915 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
48916
48917 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
48918
48919 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
48920 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
48921 multiarch strcmp for PPC64.
48922 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
48923 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
48924 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
48925 multiarch optimizations.
48926 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48927 (__libc_ifunc_impl_list): Likewise.
48928
48929 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
48930
48931 * benchtests/scripts/validate_benchout.py: New script.
48932 * benchtests/Makefile (bench-func): Call it.
48933 * benchtests/scripts/benchout.schema.json: New file.
48934
48935 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
48936
48937 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
48938 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
48939 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
48940 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
48941 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
48942 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
48943 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
48944 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
48945 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
48946 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
48947 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
48948 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
48949 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
48950 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
48951 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
48952 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
48953 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
48954 Moved ...
48955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
48956 ... here.
48957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
48958 Moved ...
48959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
48960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
48961 Moved ...
48962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
48963 ... here.
48964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
48965 Moved ...
48966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
48967 ... here.
48968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
48969 Moved ...
48970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
48971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
48972 Moved ...
48973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
48974 ... here.
48975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
48976 Moved ...
48977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
48978 ... here.
48979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
48980 Moved ...
48981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
48982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
48983 Moved ...
48984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
48985 ... here.
48986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
48987 Moved ...
48988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
48989 ... here.
48990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
48991 Moved ...
48992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
48993 ... here.
48994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
48995 Moved ...
48996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
48997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
48998 Moved ...
48999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
49000 ... here.
49001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
49002 Moved ...
49003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
49004 ... here.
49005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
49006 Moved ...
49007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
49008 ... here.
49009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
49010 Moved ...
49011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
49012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
49013 Moved ...
49014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
49015 ... here.
49016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
49017 Moved ...
49018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
49019 ... here.
49020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
49021 Moved ...
49022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
49023 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
49024 Moved ...
49025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
49026 ... here.
49027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
49028 Moved ...
49029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
49030 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
49031 Moved ...
49032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
49033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
49034 Moved ...
49035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
49036 ... here.
49037 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
49038 Moved ...
49039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
49040 ... here.
49041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
49042 Moved ...
49043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
49044 ... here.
49045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
49046 Moved ...
49047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
49048 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
49049 Moved ...
49050 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
49051 ... here.
49052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
49053 Moved ...
49054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
49055 ... here.
49056 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
49057 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
49058 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
49059 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
49060 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
49061 Moved ...
49062 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
49063 ... here.
49064 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
49065 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
49066 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
49067 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
49068 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
49069 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
49070 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
49071 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
49072 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
49073 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
49074 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
49075 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
49076 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
49077 Moved ...
49078 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
49079 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
49080 Moved ...
49081 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
49082 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
49083 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
49084 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
49085 Moved ...
49086 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
49087 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
49088 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
49089 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
49090 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
49091 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
49092 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
49093
49094 2014-06-10 Wilco <wdijkstr@arm.com>
49095
49096 * math/test-fenv-return.c: New file.
49097 * math/Makefile: Add new test test-fenv-return.
49098
49099 2014-06-10 Joseph Myers <joseph@codesourcery.com>
49100
49101 [BZ #17042]
49102 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
49103 when x - 1 is zero.
49104 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
49105 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
49106 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
49107 0.0L for an argument of 1.0L.
49108 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
49109 Likewise.
49110 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
49111 value when x - 1 is zero.
49112 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
49113 * sysdeps/i386/fpu/libm-test-ulps: Update.
49114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49115
49116 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
49117
49118 [BZ #15119]
49119 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
49120
49121 2014-06-09 Roland McGrath <roland@hack.frob.com>
49122
49123 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
49124 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
49125
49126 2014-06-09 Roland McGrath <roland@hack.frob.com>
49127
49128 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49129 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
49130
49131 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49132 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
49133
49134 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49135 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
49136
49137 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49138 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
49139
49140 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
49141 if not already defined.
49142 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
49143 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
49144 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
49145 (TLS_INIT_TP): Use it.
49146 (TLS_DEFINE_INIT_TP): New macro.
49147 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
49148
49149 2014-06-09 Joseph Myers <joseph@codesourcery.com>
49150
49151 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
49152 constant.
49153 [POSIX] (IXANY): Likewise.
49154 [POSIX] (OLCUC): Likewise.
49155 [POSIX || POSIX2008] (CBAUD): Do not allow.
49156 [POSIX || POSIX2008] (DEFECHO): Likewise.
49157 [POSIX || POSIX2008] (ECHOCTL): Likewise.
49158 [POSIX || POSIX2008] (ECHOKE): Likewise.
49159 [POSIX || POSIX2008] (ECHOPRT): Likewise.
49160 [POSIX || POSIX2008] (EXTA): Likewise.
49161 [POSIX || POSIX2008] (EXTB): Likewise.
49162 [POSIX || POSIX2008] (FLUSHO): Likewise.
49163 [POSIX || POSIX2008] (LOBLK): Likewise.
49164 [POSIX || POSIX2008] (PENDIN): Likewise.
49165 [POSIX || POSIX2008] (SWTCH): Likewise.
49166 [POSIX || POSIX2008] (VDISCARD): Likewise.
49167 [POSIX || POSIX2008] (VDSUSP): Likewise.
49168 [POSIX || POSIX2008] (VLNEXT): Likewise.
49169 [POSIX || POSIX2008] (VREPRINT): Likewise.
49170 [POSIX || POSIX2008] (VSTATUS): Likewise.
49171 [POSIX || POSIX2008] (VWERASE): Likewise.
49172 (B*): Change to B[0123456789]*.
49173 * conform/data/time.h-data [POSIX || UNIX98]
49174 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
49175 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
49176 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
49177 [POSIX] (tm_*): Do not allow.
49178
49179 2014-06-07 Joseph Myers <joseph@codesourcery.com>
49180
49181 * Makefile (install): Don't set LANGUAGE.
49182 * Makefile.in (install): Likewise.
49183 * assert/Makefile (test-assert-ENV): Remove variable.
49184 (test-assert-perr-ENV): Likewise.
49185 * elf/Makefile (neededtest4-ENV): Likewise.
49186 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
49187 [$(cross-compiling) = no]: Don't set LANGUAGE.
49188 * io/ftwtest-sh (LANG): Remove variable.
49189 * libio/Makefile (tst-widetext-ENV): Likewise.
49190 * manual/install.texi (Running make install): Don't refer to
49191 environment settings for make install.
49192 * INSTALL: Regenerated.
49193 * nptl/tst-tls6.sh: Don't set LANG.
49194 * posix/globtest.sh (LANG): Remove variable.
49195 * string/Makefile (tester-ENV): Likewise.
49196 (inl-tester-ENV): Likewise.
49197 (noinl-tester-ENV): Likewise.
49198 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
49199 [$(cross-compiling) = no]: Don't set LANGUAGE.
49200 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
49201 without explicit environment settings.
49202
49203 2014-06-06 Roland McGrath <roland@hack.frob.com>
49204
49205 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
49206 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
49207 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
49208 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
49209
49210 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
49211
49212 * crypt/crypt-private.h [DOS]: Add some includes taken from the
49213 other files in the crypt directory.
49214 * crypt/crypt.c: Remove duplicate includes.
49215 * crypt/crypt-entry.c: Likewise.
49216 * crypt/crypt_util.c: Likewise.
49217
49218 2014-06-06 Joseph Myers <joseph@codesourcery.com>
49219
49220 * Makeconfig (run-program-env): New variable.
49221 (run-program-prefix-before-env): Likewise.
49222 (run-program-prefix-after-env): Likewise.
49223 (run-program-prefix): Define in terms of new variables.
49224 (built-program-cmd-before-env): New variable.
49225 (built-program-cmd-after-env): Likewise.
49226 (built-program-cmd): Define in terms of new variables.
49227 (test-program-prefix-before-env): New variable.
49228 (test-program-prefix-after-env): Likewise.
49229 (test-program-prefix): Define in terms of new variables.
49230 (test-program-cmd-before-env): New variable.
49231 (test-program-cmd-after-env): Likewise.
49232 (test-program-cmd): Define in terms of new variables.
49233 * Rules (make-test-out): Use $(run-program-env).
49234 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
49235 (help): Do not mention environment variables. Mention
49236 --timeoutfactor option.
49237 (timeoutfactor): New variable.
49238 (blacklist_exports): Remove function.
49239 (exports): Remove variable.
49240 (command): Do not include ${exports}.
49241 * manual/install.texi (Configuring and compiling): Do not mention
49242 test wrappers preserving environment variables. Mention that last
49243 assignment to a variable must take precedence.
49244 * INSTALL: Regenerated.
49245 * benchtests/Makefile (run-bench): Use $(run-program-env).
49246 * catgets/Makefile ($(objpfx)test1.cat): Use
49247 $(built-program-cmd-before-env), $(run-program-env) and
49248 $(built-program-cmd-after-env).
49249 ($(objpfx)test2.cat): Do not specify environment variables
49250 explicitly.
49251 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
49252 $(run-program-env) and $(built-program-cmd-after-env).
49253 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
49254 $(run-program-env) and $(test-program-cmd-after-env).
49255 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
49256 explicitly.
49257 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
49258 run_program_env and test_program_cmd_after_env arguments.
49259 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
49260 * elf/tst-pathopt.sh: Use run_program_env argument.
49261 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
49262 $(test-wrapper-env) and $(run-program-env).
49263 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
49264 run_program_env arguments.
49265 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
49266 * intl/Makefile ($(objpfx)tst-gettext.out): Use
49267 $(test-program-prefix-before-env), $(run-program-env) and
49268 $(test-program-prefix-after-env).
49269 ($(objpfx)tst-gettext2.out): Likewise.
49270 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
49271 run_program_env and test_program_prefix_after_env arguments.
49272 * intl/tst-gettext2.sh: Likewise.
49273 * intl/tst-gettext4.sh: Do not set environment variables
49274 explicitly.
49275 * intl/tst-gettext6.sh: Likewise.
49276 * intl/tst-translit.sh: Likewise.
49277 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
49278 $(test-program-prefix-before-env), $(run-program-env) and
49279 $(test-program-prefix-after-env).
49280 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
49281 run_program_env and test_program_prefix_after_env arguments.
49282 * math/Makefile (run-regen-ulps): Use $(run-program-env).
49283 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
49284 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
49285 explicitly with each use of ${test_wrapper_env}.
49286 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
49287 $(test-program-prefix-before-env), $(run-program-env) and
49288 $(test-program-prefix-after-env).
49289 * posix/tst-getconf.sh: Do not set environment variables
49290 explicitly.
49291 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
49292 run_program_env and test_program_prefix_after_env arguments.
49293 * stdio-common/tst-printf.sh: Do not set environment variables
49294 explicitly.
49295 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
49296 $(test-program-prefix-before-env), $(run-program-env) and
49297 $(test-program-prefix-after-env).
49298 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
49299 run_program_env and test_program_prefix_after_env arguments.
49300 Split $test calls into $test_pre and $test.
49301 * timezone/Makefile (build-testdata): Use
49302 $(built-program-cmd-before-env), $(run-program-env) and
49303 $(built-program-cmd-after-env).
49304
49305 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49306
49307 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
49308 strlen for non SHARED builds.
49309
49310 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
49311
49312 * nptl/allocatestack.c (check_list): Inlined function...
49313 (__reclaim_stacks): ... here.
49314
49315 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
49316
49317 [BZ #15698]
49318 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
49319 memory overrun.
49320
49321 2014-06-05 Joseph Myers <joseph@codesourcery.com>
49322
49323 * Rules (make-test-out): Include
49324 LOCPATH=$(common-objpfx)localedata in default environment.
49325 * debug/Makefile (tst-chk1-ENV): Remove variable.
49326 (tst-chk2-ENV): Likewise.
49327 (tst-chk3-ENV): Likewise.
49328 (tst-chk4-ENV): Likewise.
49329 (tst-chk5-ENV): Likewise.
49330 (tst-chk6-ENV): Likewise.
49331 (tst-lfschk1-ENV): Likewise.
49332 (tst-lfschk2-ENV): Likewise.
49333 (tst-lfschk3-ENV): Likewise.
49334 (tst-lfschk4-ENV): Likewise.
49335 (tst-lfschk5-ENV): Likewise.
49336 (tst-lfschk6-ENV): Likewise.
49337 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
49338 (tst-iconv7-ENV): Likewise.
49339 * intl/Makefile (LOCPATH-ENV): Likewise.
49340 (tst-codeset-ENV): Likewise.
49341 (tst-gettext3-ENV): Likewise.
49342 (tst-gettext5-ENV): Likewise.
49343 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
49344 (tst-fopenloc-ENV): Likewise.
49345 (tst-fgetws-ENV): Remove variable.
49346 (tst-ungetwc1-ENV): Likewise.
49347 (tst-ungetwc2-ENV): Likewise.
49348 (bug-ungetwc2-ENV): Likewise.
49349 (tst-swscanf-ENV): Likewise.
49350 (bug-ftell-ENV): Likewise.
49351 (tst-fgetwc-ENV): Likewise.
49352 (tst-fseek-ENV): Likewise.
49353 (tst-ftell-partial-wide-ENV): Likewise.
49354 (tst-ftell-active-handler-ENV): Likewise.
49355 (tst-ftell-append-ENV): Likewise.
49356 * posix/Makefile (tst-fnmatch-ENV): Likewise.
49357 (tst-regexloc-ENV): Likewise.
49358 (bug-regex1-ENV): Likewise.
49359 (tst-regex-ENV): Likewise.
49360 (tst-regex2-ENV): Likewise.
49361 (bug-regex5-ENV): Likewise.
49362 (bug-regex6-ENV): Likewise.
49363 (bug-regex17-ENV): Likewise.
49364 (bug-regex18-ENV): Likewise.
49365 (bug-regex19-ENV): Likewise.
49366 (bug-regex20-ENV): Likewise.
49367 (bug-regex22-ENV): Likewise.
49368 (bug-regex23-ENV): Likewise.
49369 (bug-regex25-ENV): Likewise.
49370 (bug-regex26-ENV): Likewise.
49371 (bug-regex30-ENV): Likewise.
49372 (bug-regex32-ENV): Likewise.
49373 (bug-regex33-ENV): Likewise.
49374 (bug-regex34-ENV): Likewise.
49375 (bug-regex35-ENV): Likewise.
49376 (tst-rxspencer-ENV): Likewise.
49377 (tst-rxspencer-no-utf8-ENV): Likewise.
49378 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
49379 (tst-sscanf-ENV): Likewise.
49380 (tst-swprintf-ENV): Likewise.
49381 (tst-swscanf-ENV): Likewise.
49382 (test-vfprintf-ENV): Likewise.
49383 (scanf13-ENV): Likewise.
49384 (bug14-ENV): Likewise.
49385 (tst-grouping-ENV): Likewise.
49386 * stdlib/Makefile (tst-strtod-ENV): Likewise.
49387 (tst-strtod3-ENV): Likewise.
49388 (tst-strtod4-ENV): Likewise.
49389 (tst-strtod5-ENV): Likewise.
49390 (testmb2-ENV): Likewise./
49391 * string/Makefile (tst-strxfrm-ENV): Likewise.
49392 (tst-strxfrm2-ENV): Likewise.
49393 (bug-strcoll1-ENV): Likewise.
49394 (test-strcasecmp-ENV): Likewise.
49395 (test-strncasecmp-ENV): Likewise.
49396 * time/Makefile (tst-strptime-ENV): Likewise.
49397 (tst-ftime_l-ENV): Likewise.
49398 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
49399 (tst-mbrtowc-ENV): Likewise.
49400 (tst-wcrtomb-ENV): Likewise.
49401 (tst-mbrtowc2-ENV): Likewise.
49402 (tst-c16c32-1-ENV): Likewise.
49403 (tst-mbsnrtowcs-ENV): Likewise.
49404
49405 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
49406
49407 * manual/resource.texi (How to get information about the memory
49408 subsystem?): Fix typo.
49409 Reported by Peon de la Parra Ivan <peon@keba.com>
49410
49411 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
49412
49413 [BZ #16882]
49414 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
49415 (pthread_spin_lock): Branch out of spin loop to proper location.
49416 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
49417 (pthread_spin_lock): Likewise.
49418
49419 * nptl/tst-spin4.c: New test.
49420 * nptl/Makefile (tests): Add tst-spin4.
49421
49422 2014-06-03 Andreas Schwab <schwab@suse.de>
49423
49424 [BZ #15946]
49425 * resolv/res_send.c (send_dg): Reload file descriptor after
49426 calling reopen.
49427
49428 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
49429
49430 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49431
49432 2014-06-03 Richard Henderson <rth@redhat.com>
49433
49434 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
49435 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
49436 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
49437 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
49438 in the SAVE_PID block.
49439 (__libc_vfork): New alias.
49440 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
49441
49442 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
49443 child in registers, not on the stack. Remove RESET_PID conditionals.
49444 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
49445
49446 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
49447
49448 * sysdeps/aarch64/libm-test-ulps: Regenerate.
49449
49450 2014-06-03 Wilco <wdijkstr@arm.com>
49451
49452 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
49453 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
49454 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
49455 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
49456 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
49457 Likewise.
49458
49459 2014-06-03 Wilco <wdijkstr@arm.com>
49460
49461 * sysdeps/aarch64/fpu/math_private.h
49462 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
49463 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
49464 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
49465 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
49466 Fix declarations.
49467
49468 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
49469
49470 * crypt/crypt-private.h: Include ufc-crypt.h.
49471 (__b64_from_24bit): Declare extern.
49472 * crypt/crypt_util.c(__b64_from_24bit): New function.
49473 (b64t): New static const variable.
49474 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
49475 (b64t): Remove variable.
49476 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
49477 * crypt/sha256-crypt.c: Include crypt-private.h.
49478 (b64t): Remove variable.
49479 (__sha256_crypt_r): Remove b64_from_24bit and replace
49480 with __b64_from_24bit.
49481 * crypt/sha512-crypt.c: Likewise.
49482
49483 2014-06-02 Roland McGrath <roland@hack.frob.com>
49484
49485 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
49486 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
49487 Label the code __libc_vfork rather than __vfork.
49488 [!NOT_IN_libc] (vfork): Define as weak alias.
49489 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
49490 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
49491 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
49492
49493 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
49494
49495 * malloc/malloc.c (malloc_info): Fix format specifier for
49496 n_mmaps.
49497
49498 2014-06-02 Wilco <wdijkstr@arm.com>
49499
49500 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
49501 FPCR write.
49502
49503 2014-06-02 Wilco <wdijkstr@arm.com>
49504
49505 [BZ #17009]
49506 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
49507 Rewrite to reduce FPCR/FPSR accesses.
49508
49509 2014-06-01 David S. Miller <davem@davemloft.net>
49510
49511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49512
49513 2014-05-31 David S. Miller <davem@davemloft.net>
49514
49515 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
49516 to occur in round to nearest mode when |x| >= 2.0
49517
49518 2014-05-30 Richard Henderson <rth@twiddle.net>
49519
49520 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
49521 (PSEUDO_RET_NOERRNO): Remove.
49522 (ret): Don't redefine.
49523 (ret_NOERRNO): Define in terms of ret.
49524 (ret_ERRVAL): Likewise.
49525
49526 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
49527 use of PSEUDO_RET; perform the error check directly.
49528
49529 2014-05-30 Marko Myllynen <myllynen@redhat.com>
49530
49531 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
49532 with __int128_t.
49533
49534 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
49535
49536 * malloc/malloc (malloc_info): Fix formatting.
49537
49538 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
49539 Roland McGrath <roland@hack.frob.com>
49540
49541 * malloc/malloc (malloc_info): Also print mmapped statistics.
49542
49543 2014-05-30 Roland McGrath <roland@hack.frob.com>
49544
49545 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
49546 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
49547
49548 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
49549
49550 * malloc/malloc.c (malloc_info): Inline mi_arena.
49551
49552 2014-05-29 Richard Henderson <rth@twiddle.net>
49553
49554 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
49555 Remove comma before expanding ASM_ARGS_##nr.
49556 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
49557 Make _x0 a strict output; make _x8 a strict input; adjust expansion
49558 of ASM_ARGS_##nr.
49559 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
49560 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
49561 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
49562 (ASM_ARGS_1): Add leading comma.
49563
49564 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
49565 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
49566 to __errno_location.
49567 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
49568 Remove the expected plt for __errno_location.
49569
49570 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49571 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
49572 call to __read_tp.
49573
49574 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49575 Always allocate 64 bytes of stack frame. Use ldp/stp to create
49576 it and break it down.
49577 (DOCARGS_0, DOCARGS_1): Do nothing.
49578 (DOCARGS_2): Update to store into the new stack frame.
49579 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
49580 (UNDOCARGS_1): Update to restore from the new stack frame.
49581 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
49582 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
49583
49584 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49585 (SINGLE_THREAD_P): New parameter for result regno.
49586 (PSEUDO): Update to match; use cbz instead of beq.
49587
49588 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49589 Use ENTRY to define the _nocancel entry point. Share the syscall
49590 and syscall error check paths with the cancel path.
49591 (PSEUDO_END): New.
49592
49593 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
49594 whitespace; tabs before and after asm mnemonics.
49595
49596 2014-05-29 Eric Wong <normalperson@yhbt.net>
49597
49598 [BZ #15132]
49599 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49600 Call fstat64 or stat64 internally, depending on arguments passed.
49601 Replace stat buffer argument with file descriptor argument.
49602 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
49603 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
49604 Pass fd to __internal_statvfs instead of calling fstat64.
49605 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
49606 Pass fd to __internal_statvfs64 instead of calling fstat64.
49607 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
49608 Pass -1 to __internal_statvfs instead of calling stat64.
49609 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
49610 Pass -1 to __internal_statvfs64 instead of calling stat64.
49611
49612 2014-05-28 Roland McGrath <roland@hack.frob.com>
49613
49614 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
49615 that was previously under [RESET_PID].
49616 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
49617
49618 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
49619 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
49620
49621 2014-05-27 Roland McGrath <roland@hack.frob.com>
49622
49623 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
49624
49625 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
49626 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
49627
49628 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
49629
49630 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
49631
49632 2014-05-27 Andreas Schwab <schwab@suse.de>
49633
49634 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
49635 TLS_INIT_TP macro.
49636 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
49637 * elf/rtld.c (init_tls, dl_main): Likewise.
49638 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
49639 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
49640 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
49641 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
49642 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
49643 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
49644 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
49645 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
49646 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
49647 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
49648 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
49649 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
49650 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
49651 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
49652 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
49653 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
49654 * sysdeps/generic/tls.h: Update description.
49655
49656 2014-05-27 Will Newton <will.newton@linaro.org>
49657
49658 [BZ #16990]
49659 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
49660 and restore r2 rather than just restoring.
49661
49662 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
49663
49664 [BZ #16724]
49665 * libio/tst-ftell-append.c: New test case.
49666 * libio/Makefile (tests): Add test case.
49667 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
49668 append mode.
49669 * libio/wfileops.c (do_ftell_wide): Likewise.
49670
49671 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49672
49673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49674
49675 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
49676 ...
49677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
49678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
49679 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
49680 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
49681 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
49682 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
49683 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
49684 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
49685 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
49686 Moved ...
49687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
49688 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
49689 Moved ...
49690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
49691 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
49692 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
49693 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
49694 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
49695 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
49696 ...
49697 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
49698 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
49699 Moved ...
49700 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
49701 here.
49702 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
49703 ...
49704 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
49705 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
49706 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
49707
49708 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
49709 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
49710 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
49711 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
49712
49713 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
49714 merge into ...
49715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
49716 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
49717 ...
49718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
49719 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
49720 ...
49721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
49722 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
49723 Moved ...
49724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
49725 here.
49726 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
49727 Moved ...
49728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
49729 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
49730 Moved ...
49731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
49732
49733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
49734 conditional [RESET_PID].
49735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
49736 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
49737 removed.
49738 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
49739 removed.
49740
49741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
49742 <tcb-offsets.h>.
49743 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49744 (__libc_vfork): New strong alias.
49745 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
49746 removed.
49747 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
49748 Removed.
49749
49750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
49751 <tcb-offsets.h>.
49752 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
49753 (__libc_vfork): New strong alias.
49754 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
49755 removed.
49756 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
49757 removed.
49758
49759 2014-05-26 Carlos O'Donell <carlos@redhat.com>
49760
49761 * malloc/malloc.c (mi_arena): New function.
49762 (malloc_info): Remove nested function mi_arena. Call non-nosted
49763 function mi_arena.
49764
49765 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49766
49767 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
49768 by insrwi.
49769 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
49770 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
49771 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
49772 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
49773 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
49774 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
49775 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
49776
49777 2014-05-26 Andreas Schwab <schwab@suse.de>
49778
49779 [BZ #16984]
49780 * locale/programs/repertoire.c (repertoire_read): Add slash
49781 between I18NPATH element and file name.
49782 * locale/programs/locfile.c (locfile_read): Likewise.
49783
49784 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
49785
49786 * nptl/pthread_mutexattr_settype.c
49787 (__pthread_mutexattr_settype):
49788 Disable lock elision for PTHREAD_MUTEX_NORMAL.
49789
49790 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
49791
49792 * nptl/tst-mutex5 (do_test):
49793 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
49794
49795 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49796
49797 * benchtests/README: Document 'init' directive.
49798 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
49799 BENCH_INIT.
49800 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
49801 (parse_file): Recognize 'init' directive.
49802
49803 2014-05-26 Kyle McMartin <kyle@redhat.com>
49804
49805 [BZ #16796]
49806 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
49807 alignment of struct pthread.
49808
49809 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49810
49811 [BZ #16878]
49812 * nscd/netgroupcache.c (addgetnetgrentX): Look for
49813 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
49814 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
49815 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
49816
49817 2014-05-25 Richard Henderson <rth@twiddle.net>
49818
49819 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49820 (SINGLE_THREAD_P_PIC): Remove.
49821 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
49822 (SINGLE_THREAD_P_PIC): Remove.
49823
49824 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
49825 branch to syscall error ...
49826 (PSEUDO): ... here.
49827 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
49828 from __local_syscall_error to .Lsyscall_error.
49829 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
49830 (SYSCALL_ERROR): Update label name.
49831
49832 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49833 Do not use DOARGS/UNDOARGS.
49834 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
49835 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
49836 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
49837 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
49838 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
49839
49840 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
49841 block comment.
49842
49843 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
49844 define if !NOT_IN_libc.
49845 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
49846 define with non-default symbol versions.
49847
49848 2014-05-23 Richard Henderson <rth@twiddle.net>
49849
49850 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
49851 (vfork, __vfork): Define via compat_symbol.
49852
49853 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
49854 [!HAVE_IFUNC] (vfork_compat): Remove.
49855 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
49856
49857 2014-05-23 Joseph Myers <joseph@codesourcery.com>
49858
49859 [BZ #16978]
49860 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
49861 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
49862 variable.
49863
49864 2014-05-23 Richard Henderson <rth@twiddle.net>
49865
49866 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
49867 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
49868 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
49869 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
49870
49871 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
49872 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
49873 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
49874 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
49875 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
49876 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
49877 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
49878 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
49879 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
49880 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
49881 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
49882 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
49883 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
49884 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
49885 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
49886 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
49887 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
49888 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
49889 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
49890 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
49891 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
49892 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
49893 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
49894 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
49895 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
49896 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
49897 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
49898 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
49899 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
49900 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
49901 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
49902 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
49903 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
49904 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
49905 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
49906 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
49907 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
49908 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
49909 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
49910 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
49911 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
49912 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
49913 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
49914 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
49915 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
49916 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
49917 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
49918 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
49919 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
49920 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
49921 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
49922 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
49923 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
49924 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
49925 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
49926 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
49927
49928 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
49929 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
49930 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
49931 before exiting on error.
49932 (__libc_vfork): New strong alias.
49933 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
49934 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
49935
49936 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
49937 that was previously under [RESET_PID].
49938 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
49939
49940 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
49941
49942 2014-05-23 Joseph Myers <joseph@codesourcery.com>
49943
49944 [BZ #16977]
49945 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
49946 value when x - 1 is zero.
49947 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
49948 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
49949 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
49950 0.0L for an argument of 1.0L.
49951 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
49952 Likewise.
49953 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
49954 value when x - 1 is zero.
49955 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
49956 * sysdeps/i386/fpu/libm-test-ulps: Update.
49957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49958
49959 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
49960
49961 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
49962 alphasort and versionsort.
49963
49964 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49965
49966 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
49967 macro.
49968 [copysignf]: Likewise.
49969
49970 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
49971
49972 * crypt/md5-crypt.c: Fix formatting.
49973
49974 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
49975
49976 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
49977 (b64_from_24bit): New function.
49978
49979 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49980
49981 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
49982 libc_hidden_builtin_def to ifunc.
49983 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
49984 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
49985
49986 2014-05-21 Roland McGrath <roland@hack.frob.com>
49987
49988 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
49989 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
49990
49991 2014-05-21 Joseph Myers <joseph@codesourcery.com>
49992
49993 * nscd/Depend (linuxthreads): Remove.
49994 (nptl): Add.
49995 * resolv/Depend (linuxthreads): Remove.
49996 * rt/Depend (linuxthreads): Remove.
49997
49998 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
49999 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
50000 $(common-objpfx)elf/.
50001 (link-libc-before-gnulib): Likewise.
50002 (elfobjdir): Remove variable.
50003 * Makefile (install): Use $(elf-objpfx) instead of
50004 $(common-objpfx)elf/.
50005 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
50006 $(elfobjdir)/.
50007 (link-libc-deps): Likewise.
50008 ($(common-objpfx)libc.so): Likewise.
50009 ($(common-objpfx)linkobj/libc.so): Likewise.
50010 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
50011 instead of $(common-objpfx)elf/.
50012 (symbolic-link-list): Likewise.
50013 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50014 [$(cross-compiling) = no]: Likewise.
50015 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
50016 $(elfobjdir)/.
50017 (static-gnulib-arch): Likewise.
50018 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50019 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
50020 $(common-objpfx)elf/.
50021
50022 2014-05-21 Richard Henderson <rth@redhat.com>
50023
50024 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50025 (SINGLE_THREAD_P): Use the correct width load. Fold
50026 into the ldr offset.
50027
50028 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
50029 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
50030
50031 2014-05-20 Joseph Myers <joseph@codesourcery.com>
50032
50033 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
50034 (libgcc_s_resume): Use __attribute_used__.
50035 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
50036 Likewise.
50037
50038 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50039
50040 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
50041 optimization when used with float constants.
50042
50043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50044
50045 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
50046
50047 [BZ #16915]
50048 * locale/nl_langinfo_l.c: Make direct reference to every
50049 _nl_current_CATEGORY symbol.
50050 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
50051 (tests-static): Add tst-langinfo-static.
50052 (tests-special): Add tst-langinfo-static.out.
50053 ($(objpfx)tst-langinfo.out): Redirect output.
50054 ($(objpfx)tst-langinfo-static.out): New.
50055 * localedata/tst-langinfo.sh: Send output to stdout.
50056 * localedata/tst-langinfo-static.c: New file.
50057
50058 [BZ #16965]
50059 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
50060 when the shift amount is modulo the limb size.
50061
50062 2014-05-20 Richard Henderson <rth@redhat.com>
50063
50064 [BZ #16967]
50065 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
50066 Change type of sa_flags from unsigned int to int.
50067
50068 [BZ #16966]
50069 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
50070
50071 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
50072
50073 2014-05-20 Will Newton <will.newton@linaro.org>
50074
50075 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50076 Test the return value of the system call in the nocancel case.
50077
50078 2014-05-20 Will Newton <will.newton@linaro.org>
50079 Yvan Roux <yvan.roux@linaro.org>
50080
50081 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
50082 #include of asm/ptrace.h.
50083 (PTRACE_GET_THREAD_AREA): Remove #undef.
50084 (PTRACE_GETHBPREGS): Likewise.
50085 (PTRACE_SETHBPREGS): Likewise.
50086 (struct user_regs_struct): New structure.
50087 (struct user_fpsimd_struct): New structure.
50088 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
50089 #include of asm/ptrace.h and second #include of sys/user.h.
50090 (PTRACE_GET_THREAD_AREA): Remove #undef.
50091 (PTRACE_GETHBPREGS): Likewise.
50092 (PTRACE_SETHBPREGS): Likewise.
50093 (ELF_NGREG): Use new struct user_regs_struct.
50094 (elf_fpregset_t): Use new struct user_fpsimd_struct.
50095
50096 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50097
50098 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
50099 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
50100
50101 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
50102
50103 [BZ #16958]
50104 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
50105 membar to avoid block loads/stores to overlap previous stores.
50106
50107 2014-05-17 Richard Henderson <rth@redhat.com>
50108
50109 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
50110 Create the __##syscall_name##_nocancel entry point.
50111 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
50112 Remove; let the sysdep-cancel.h code create it.
50113
50114 2014-05-17 David S. Miller <davem@davemloft.net>
50115
50116 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
50117 Protect with __USE_GNU.
50118 (TIOCSET_TEMPT): Likewise.
50119 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
50120 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
50121 these are already provided in bits/ioctl-types.h
50122
50123 2014-05-16 Roland McGrath <roland@hack.frob.com>
50124
50125 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
50126 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
50127
50128 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
50129 Use wait4 regardless of [__NR_waitpid].
50130
50131 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
50132
50133 PR libgcc/60166
50134 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
50135 (_FP_NANSIGN_Q): Set the quiet bit.
50136
50137 2014-05-16 Joseph Myers <joseph@codesourcery.com>
50138
50139 * benchtests/Makefile
50140 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
50141 not $(common-objpfx)math/libm.so.
50142 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
50143 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
50144 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
50145 $(common-objpfx)dlfcn/libdl.so.
50146 ($(objpfx)tst-audit8): Depend on $(libm), not
50147 $(common-objpfx)math/libm.so.
50148 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
50149 not $(common-objpfx)dlfcn/libdl.so.
50150 * math/Makefile
50151 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
50152 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
50153 [$(build-shared) = yes].
50154 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
50155 $(common-objpfx)nptl/libpthread.so.
50156 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
50157 $(common-objpfx)math/libm.so$(libm.so-version) or
50158 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
50159 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
50160 $(common-objpfx)dlfcn/libdl.so.
50161 * setjmp/Makefile (link-libm): Remove variable.
50162 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
50163 * stdio-common/Makefile (link-libm): Remove variable.
50164 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
50165 * stdlib/Makefile (link-libm): Remove variable.
50166 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
50167 ($(objpfx)tst-strtod-round): Likewise.
50168 ($(objpfx)tst-tininess): Likewise.
50169 ($(objpfx)tst-strtod-underflow): Likewise.
50170 ($(objpfx)tst-strtod6): Likewise.
50171 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
50172 $(libdl), not $(common-objpfx)nptl/libpthread.so and
50173 $(common-objpfx)dlfcn/libdl.so.
50174
50175 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50176
50177 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
50178 BSD terminal modes definitions.
50179
50180 2014-05-16 Roland McGrath <roland@hack.frob.com>
50181
50182 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
50183 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
50184
50185 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
50186 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
50187 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
50188 Don't do #include_next.
50189 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
50190 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
50191 Don't do #include_next.
50192 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
50193 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
50194 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
50195 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
50196
50197 2014-05-16 Allan McRae <allan@archlinux.org>
50198
50199 * po/sv.po: Update Swedish translation from translation project.
50200
50201 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
50202 in sed expression.
50203
50204 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
50205
50206 [BZ #16917]
50207 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
50208 errno if the TIOCGPTN ioctl fails with an error different than
50209 EINVAL.
50210 * login/tst-ptsname.c: New file.
50211 * login/Makefile (tests): Add tst-ptsname.
50212
50213 [BZ #16943]
50214 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
50215 and prlimit64.
50216
50217 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
50218
50219 [BZ #16849]
50220 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
50221 herrno to return EAI_AGAIN.
50222
50223 2014-05-14 Roland McGrath <roland@hack.frob.com>
50224
50225 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
50226 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
50227 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
50228 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
50229 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
50230 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
50231 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
50232 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
50233 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
50234 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
50235 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
50236 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
50237 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
50238 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
50239 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
50240 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
50241 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
50242 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
50243 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
50244 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
50245 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
50246 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
50247 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
50248 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
50249 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
50250 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
50251 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
50252 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
50253 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
50254 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
50255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
50256 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
50257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
50258 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
50259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50260 Moved ...
50261 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
50262 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
50263 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
50264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
50265 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
50266 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
50267 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
50268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
50269 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
50270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
50271 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
50272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
50273 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
50274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
50275 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
50276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
50277 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
50278 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
50279 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
50280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
50281 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
50282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
50283 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
50284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
50285 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
50286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
50287 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
50288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
50289 Moved ...
50290 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
50291 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
50292 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
50293 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
50294 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
50295 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
50296 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
50297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
50298 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
50299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
50300 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
50301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
50302 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
50303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
50304 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
50305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
50306 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
50307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
50308 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
50309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
50310 Moved ...
50311 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
50312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
50313 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
50314
50315 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
50316 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
50317 (libpthread-sysdep_routines): Add elision-related stuff here instead.
50318 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
50319 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
50320 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
50321 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
50322 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
50323 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
50324 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
50325 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
50326 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
50327 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
50328 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
50329 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
50330 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
50331 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
50332 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
50333 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
50334 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
50335 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
50336 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
50337 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
50338 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
50339 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
50340 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
50341 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
50342 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
50343 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
50344 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
50345 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
50346
50347 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
50348 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
50349
50350 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
50351 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
50352 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
50353 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
50354 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
50355 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
50356 Moved ...
50357 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
50358 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
50359 Moved ...
50360 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
50361 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
50362 Moved ...
50363 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
50364 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
50365 Moved ...
50366 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
50367 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
50368 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
50369 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
50370 Moved ...
50371 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
50372 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
50373 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
50374 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
50375 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
50376 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
50377 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
50378 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
50379 Moved ...
50380 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
50381 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
50382 Moved ...
50383 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
50384 ... here.
50385 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
50386 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
50387 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
50388 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
50389 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
50390 Moved ...
50391 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
50392 ... here.
50393 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
50394 Moved ...
50395 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
50396 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
50397 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
50398 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
50399 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
50400 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
50401 Moved ...
50402 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
50403 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
50404 Moved ...
50405 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
50406 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
50407 Moved ...
50408 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
50409 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
50410 Moved ...
50411 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
50412 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
50413 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
50414 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
50415 Moved ...
50416 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
50417 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
50418 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
50419 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
50420 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
50421 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
50422 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
50423 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
50424 Moved ...
50425 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
50426 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
50427 Moved ...
50428 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
50429 ... here.
50430 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
50431 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
50432 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
50433 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
50434 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
50435 Moved ...
50436 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
50437 ... here.
50438 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
50439 Moved ...
50440 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
50441 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
50442 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
50443 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
50444 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
50445 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
50446 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
50447 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
50448 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
50449 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
50450 Moved ...
50451 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
50452 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
50453 Moved ...
50454 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
50455 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
50456 Moved ...
50457 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
50458 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
50459 Moved ...
50460 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
50461 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
50462 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
50463 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
50464 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
50465 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
50466 Moved ...
50467 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
50468 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
50469 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
50470 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
50471 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
50472 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
50473 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
50474 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
50475 Moved ...
50476 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
50477 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
50478 Moved ...
50479 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
50480 ... here.
50481 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
50482 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
50483 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
50484 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
50485 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
50486 Moved ...
50487 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
50488 ... here.
50489 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
50490 Moved ...
50491 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
50492 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
50493 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
50494 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
50495 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
50496 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
50497 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
50498 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
50499 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
50500 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
50501 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
50502
50503 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
50504 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
50505
50506 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
50507 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
50508
50509 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
50510 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
50511 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
50512 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
50513 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
50514 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
50515 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
50516 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
50517 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
50518 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
50519 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
50520 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
50521 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
50522 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
50523 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
50524 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
50525 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
50526 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
50527 Moved ...
50528 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
50529 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
50530 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
50531 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
50532 Moved ...
50533 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
50534 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
50535 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
50536 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
50537 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
50538 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
50539 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
50540 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
50541 Moved ...
50542 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
50543 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
50544 Moved ...
50545 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
50546 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
50547 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
50548 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
50549 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
50550 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
50551 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
50552 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
50553 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
50554 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
50555 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
50556 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
50557 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
50558 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
50559 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
50560 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
50561 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
50562
50563 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
50564 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
50565 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
50566 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
50567 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
50568
50569 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
50570 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
50571 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
50572 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
50573 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
50574 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
50575 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
50576 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
50577 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
50578 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
50579
50580 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
50581 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
50582
50583 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
50584 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
50585 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
50586 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
50587 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
50588 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
50589 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
50590 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
50591 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
50592 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
50593 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
50594 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
50595 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
50596 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
50597 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
50598 Update #include.
50599 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
50600 Likewise.
50601 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
50602 Likewise.
50603 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
50604 Likewise.
50605 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
50606 Likewise.
50607 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
50608 Likewise.
50609 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
50610 Likewise.
50611 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
50612 Likewise.
50613 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
50614 Likewise.
50615 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
50616 Likewise.
50617 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
50618 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
50619 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
50620 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
50621 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
50622 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
50623 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
50624 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
50625 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
50626 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
50627 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
50628 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
50629 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
50630 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
50631 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
50632
50633 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
50634 that was previously under [RESET_PID].
50635 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
50636 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
50637 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
50638
50639 * sysdeps/i386/nptl/Implies: New file.
50640 * sysdeps/x86_64/nptl/Implies: New file.
50641 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
50642 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
50643 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
50644 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
50645
50646 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
50647 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50648 (__libc_vfork): New strong alias.
50649 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
50650 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
50651
50652 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
50653 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50654 (__libc_vfork): New strong alias.
50655 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
50656 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
50657
50658 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
50659 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50660 (__libc_vfork): New strong alias.
50661 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
50662 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
50663 * nptl/pt-vfork.c: New file.
50664 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
50665 (libpthread: GLIBC_2.20): New version set (empty).
50666
50667 2014-05-14 Will Newton <will.newton@linaro.org>
50668
50669 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
50670 rather than #if.
50671
50672 2014-05-14 Joseph Myers <joseph@codesourcery.com>
50673
50674 [BZ #16564]
50675 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
50676 arguments with exponent 65 or above.
50677 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
50678 arguments 0x1p113L or above.
50679 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
50680 to arguments 0x1p107L or above.
50681 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
50682 positive arguments with exponent 65 or above.
50683 * math/auto-libm-test-in: Add more tests of log1p.
50684 * math/auto-libm-test-out: Regenerated.
50685
50686 [BZ #16928]
50687 * math/s_cacos.c (__cacos): Ensure zero real part of result from
50688 non-finite arguments is +0.
50689 * math/s_cacosf.c (__cacosf): Likewise.
50690 * math/s_cacosl.c (__cacosl): Likewise.
50691 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
50692 * sysdeps/i386/fpu/libm-test-ulps: Update.
50693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50694
50695 [BZ #16927]
50696 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
50697 value.
50698 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
50699 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
50700 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
50701 for explicit high bit of mantissa when testing for argument equal
50702 to 1.
50703 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
50704 * sysdeps/i386/fpu/libm-test-ulps: Update.
50705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50706
50707 [BZ #16516]
50708 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
50709 (__erf): Scale by 16 instead of 8 in potentially underflowing
50710 case. Ensure exception if result actually underflows.
50711 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
50712 (__erff): Scale by 16 instead of 8 in potentially underflowing
50713 case. Ensure exception if result actually underflows.
50714 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
50715 (efx8): Remove variable.
50716 (__erfl): Scale by 16 instead of 8 in potentially underflowing
50717 case. Ensure exception if result actually underflows.
50718 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
50719 (efx8): Remove variable.
50720 (__erfl): Scale by 16 instead of 8 in potentially underflowing
50721 case. Ensure exception if result actually underflows.
50722 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
50723 (efx8): Remove variable.
50724 (__erfl): Scale by 16 instead of 8 in potentially underflowing
50725 case. Ensure exception if result actually underflows.
50726 * math/auto-libm-test-in: Add more tests of erf.
50727 * math/auto-libm-test-out: Regenerated.
50728
50729 2014-05-14 Andreas Schwab <schwab@suse.de>
50730
50731 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
50732 Remove code conditionalized on USE___THREAD.
50733
50734 * config.h.in (HAVE_PT_CHOWN): Define as 0.
50735 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
50736 not definedness.
50737
50738 2014-05-14 Joseph Myers <joseph@codesourcery.com>
50739
50740 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
50741 Define unconditionally.
50742 (__ASSUME_O_CLOEXEC): Likewise.
50743 (__ASSUME_SOCK_CLOEXEC): Likewise.
50744 (__ASSUME_IN_NONBLOCK): Likewise.
50745 (__ASSUME_PIPE2): Likewise.
50746 (__ASSUME_EVENTFD2): Likewise.
50747 (__ASSUME_SIGNALFD4): Likewise.
50748 (__ASSUME_DUP3): Likewise.
50749 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50750 (__ASSUME_DUP3): Do not define.
50751 (__ASSUME_EVENTFD2): Likewise.
50752 (__ASSUME_IN_NONBLOCK): Likewise.
50753 (__ASSUME_O_CLOEXEC): Likewise.
50754 (__ASSUME_PIPE2): Likewise.
50755 (__ASSUME_SIGNALFD4): Likewise.
50756 (__ASSUME_SOCK_CLOEXEC): Likewise.
50757 (__ASSUME_UTIMES): Undefine.
50758 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50759 (__ASSUME_UTIMES): Do not define.
50760 (__ASSUME_O_CLOEXEC): Likewise.
50761 (__ASSUME_SOCK_CLOEXEC): Likewise.
50762 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
50763 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
50764 0x020621].
50765 (__ASSUME_PIPE2): Likewise.
50766 (__ASSUME_EVENTFD2): Likewise.
50767 (__ASSUME_SIGNALFD4): Likewise.
50768 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
50769 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
50770 Do not define.
50771 (__ASSUME_EVENTFD2): Likewise.
50772 (__ASSUME_SIGNALFD4): Likewise.
50773 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
50774 (__ASSUME_32BITUIDS): Likewise.
50775 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
50776 (__ASSUME_IPC64): Likewise.
50777 (__ASSUME_ST_INO_64_BIT): Likewise.
50778 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
50779 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
50780 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50781 (__ASSUME_UTIMES): Do not define.
50782 (__ASSUME_PSELECT): Likewise.
50783 (__ASSUME_PPOLL): Likewise.
50784 (__ASSUME_O_CLOEXEC): Likewise.
50785 (__ASSUME_SOCK_CLOEXEC): Likewise.
50786 (__ASSUME_IN_NONBLOCK): Likewise.
50787 (__ASSUME_PIPE2): Likewise.
50788 (__ASSUME_EVENTFD2): Likewise.
50789 (__ASSUME_SIGNALFD4): Likewise.
50790 (__ASSUME_DUP3): Likewise.
50791 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50792 (__ASSUME_UTIMES): Likewise.
50793 (__ASSUME_O_CLOEXEC): Likewise.
50794 (__ASSUME_SOCK_CLOEXEC): Likewise.
50795 (__ASSUME_IN_NONBLOCK): Likewise.
50796 (__ASSUME_PIPE2): Likewise.
50797 (__ASSUME_EVENTFD2): Likewise.
50798 (__ASSUME_SIGNALFD4): Likewise.
50799 (__ASSUME_DUP3): Likewise.
50800 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50801 (__ASSUME_UTIMES): Likewise.
50802 (__ASSUME_O_CLOEXEC): Likewise.
50803 (__ASSUME_SOCK_CLOEXEC): Likewise.
50804 (__ASSUME_IN_NONBLOCK): Likewise.
50805 (__ASSUME_PIPE2): Likewise.
50806 (__ASSUME_EVENTFD2): Likewise.
50807 (__ASSUME_SIGNALFD4): Likewise.
50808 (__ASSUME_DUP3): Likewise.
50809 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
50810 Likewise.
50811 (__ASSUME_UTIMES): Likewise.
50812 (__ASSUME_EVENTFD2): Likewise.
50813 (__ASSUME_SIGNALFD4): Likewise.
50814 * sysdeps/unix/sysv/linux/tile/kernel-features.h
50815 (__ASSUME_O_CLOEXEC): Likewise.
50816 (__ASSUME_SOCK_CLOEXEC): Likewise.
50817 (__ASSUME_IN_NONBLOCK): Likewise.
50818 (__ASSUME_PIPE2): Likewise.
50819 (__ASSUME_EVENTFD2): Likewise.
50820 (__ASSUME_SIGNALFD4): Likewise.
50821 (__ASSUME_DUP3): Likewise.
50822 (__ASSUME_UTIMES): Undefine.
50823
50824 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
50825 feclearexcept. Remove symbol versioning code.
50826 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
50827 symbol versioning code.
50828 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
50829 symbol versioning code.
50830 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
50831 feupdateenv. Remove symbol versioning code.
50832 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
50833 fegetexceptflag. Remove symbol versioning code.
50834 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
50835 fesetexceptflag. Remove symbol versioning code.
50836 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
50837 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
50838 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
50839 (__posix_fadvise64_l32): Remove prototype.
50840 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
50841 code.
50842
50843 2014-05-13 Roland McGrath <roland@hack.frob.com>
50844
50845 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
50846 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
50847 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
50848 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
50849
50850 2014-05-13 Sami Kerola <kerolasa@iki.fi>
50851
50852 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
50853 current working directory
50854
50855 2014-05-13 Roland McGrath <roland@hack.frob.com>
50856
50857 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
50858 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
50859 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
50860 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
50861 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
50862 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
50863 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
50864 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
50865 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
50866 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
50867 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
50868 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
50869 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
50870 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
50871 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
50872 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
50873 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
50874 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
50875 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
50876 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
50877 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
50878 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
50879 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
50880 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
50881 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
50882 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
50883 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
50884 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
50885 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
50886 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
50887 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
50888 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
50889 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
50890 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
50891 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
50892 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
50893 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
50894 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
50895 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
50896 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
50897 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
50898 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
50899
50900 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
50901 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
50902
50903 * sysdeps/unix/sysv/linux/arm/Makefile
50904 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
50905 Add rt-aeabi_unwind_cpp_pr1.
50906 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
50907 Add nptl-aeabi_unwind_cpp_pr1.
50908 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
50909 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
50910 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
50911 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
50912 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
50913 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
50914
50915 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
50916 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
50917 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
50918 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
50919
50920 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
50921 Deconditionalize the code that was previously under [RESET_PID].
50922 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
50923
50924 * sysdeps/generic/exit-thread.h: New file.
50925 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
50926 * include/unistd.h (__exit_thread): Remove declaration.
50927 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
50928 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
50929 * csu/libc-start.c: Include <exit-thread.h>.
50930 (LIBC_START_MAIN): Pass no argument to __exit_thread.
50931 * nptl/pthread_create.c: Include <exit-thread.h>.
50932 (start_thread): Call __exit_thread in place of __exit_thread_inline.
50933 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
50934 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
50935 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
50936 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
50937 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
50938 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
50939 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
50940 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
50941 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
50942 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
50943 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
50944 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
50945 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
50946 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
50947 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
50948 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
50949
50950 2014-05-13 Andreas Schwab <schwab@suse.de>
50951
50952 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
50953
50954 2014-05-12 Joseph Myers <joseph@codesourcery.com>
50955
50956 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
50957 (__ASSUME_UTIMES): Do not condition on kernel version.
50958 (__ASSUME_PSELECT): Define unconditionally.
50959 (__ASSUME_PPOLL): Likewise.
50960 (__ASSUME_ATFCTS): Likewise.
50961 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
50962 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
50963 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
50964 (__ASSUME_UTIMENSAT): Define unconditionally.
50965 (__ASSUME_PRIVATE_FUTEX): Likewise.
50966 (__ASSUME_FALLOCATE): Likewise.
50967 (__ASSUME_O_CLOEXEC): Likewise.
50968 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
50969 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
50970 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
50971 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
50972 (__ASSUME_IN_NONBLOCK): Likewise.
50973 (__ASSUME_PIPE2): Likewise.
50974 (__ASSUME_EVENTFD2): Likewise.
50975 (__ASSUME_SIGNALFD4): Likewise.
50976 (__ASSUME_DUP3): Likewise.
50977 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
50978 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
50979 (__ASSUME_AT_RANDOM): Likewise.
50980 (__ASSUME_PREADV): Likewise.
50981 (__ASSUME_PWRITEV): Likewise.
50982 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
50983 (__ASSUME_F_GETOWN_EX): Define unconditionally.
50984 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
50985 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
50986 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
50987 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50988 (__ASSUME_O_CLOEXEC): Define unconditionally.
50989 (__ASSUME_PSELECT): Do not undefine conditionally.
50990 (__ASSUME_PPOLL): Likewise.
50991 (__ASSUME_ATFCTS): Likewise.
50992 (__ASSUME_SET_ROBUST_LIST): Likewise.
50993 (__ASSUME_UTIMENSAT): Likewise.
50994 (__ASSUME_FDATASYNC): Define unconditionally.
50995 * sysdeps/unix/sysv/linux/arm/kernel-features.h
50996 (__ASSUME_SIGFRAME_V2): Likewise.
50997 )__ASSUME_EVENTFD2): Likewise.
50998 (__ASSUME_SIGNALFD4): Likewise.
50999 (__ASSUME_PSELECT): Do not undefine conditionally.
51000 (__ASSUME_PPOLL): Likewise.
51001 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51002 (__ASSUME_PSELECT): Define unconditionally.
51003 (__ASSUME_PPOLL): Likewise.
51004 (__ASSUME_O_CLOEXEC): Likewise.
51005 (__ASSUME_SOCK_CLOEXEC): Likewise.
51006 (__ASSUME_IN_NONBLOCK): Likewise.
51007 (__ASSUME_PIPE2): Likewise.
51008 (__ASSUME_EVENTFD2): Likewise.
51009 (__ASSUME_SIGNALFD4): Likewise.
51010 (__ASSUME_DUP3): Likewise.
51011 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51012 (__ASSUME_O_CLOEXEC): Likewise.
51013 (__ASSUME_SOCK_CLOEXEC): Likewise.
51014 (__ASSUME_IN_NONBLOCK): Likewise.
51015 (__ASSUME_PIPE2): Likewise.
51016 (__ASSUME_EVENTFD2): Likewise.
51017 (__ASSUME_SIGNALFD4): Likewise.
51018 (__ASSUME_DUP3): Likewise.
51019 * sysdeps/unix/sysv/linux/mips/kernel-features.h
51020 (__ASSUME_EVENTFD2): Likewise.
51021 (__ASSUME_SIGNALFD4): Likewise.
51022 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
51023
51024 2014-05-12 Andreas Schwab <schwab@suse.de>
51025
51026 [BZ #16932]
51027 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
51028 (_nss_nis_gethostbyname4_r): Return error if item length is larger
51029 than maximum RPC packet size.
51030 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
51031 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
51032 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
51033 (_nss_nis_getservbyport_r): Likewise.
51034
51035 2014-05-12 Will Newton <will.newton@linaro.org>
51036
51037 * malloc/Makefile (tests): Add tst-mallopt.
51038 * malloc/tst-mallopt.c: New file.
51039
51040 2014-05-09 Roland McGrath <roland@hack.frob.com>
51041
51042 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
51043 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
51044
51045 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51046
51047 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
51048 (tst-tlsmod6.so): Likewise.
51049
51050 2014-05-09 Roland McGrath <roland@hack.frob.com>
51051
51052 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
51053
51054 2014-05-09 Joseph Myers <joseph@codesourcery.com>
51055
51056 [BZ #16064]
51057 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
51058 and <dl-procinfo.h>.
51059 (__fegetenv): Save SSE state in envp->__eip if supported.
51060 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
51061 envp->__eip if supported.
51062 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
51063 and <dl-procinfo.h>.
51064 (__fesetenv): Always set __eip, __cs_selector, __opcode,
51065 __data_offset and __data_selector in environment to 0. Set SSE
51066 state if supported.
51067 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
51068 test-fenv-sse.
51069 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
51070 -mfpmath=sse.
51071 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
51072
51073 2014-05-09 Will Newton <will.newton@linaro.org>
51074
51075 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
51076 and libc_relro_required for ARM.
51077 * sysdeps/arm/preconfigure: Regenerate.
51078
51079 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
51080 Stefan Liebler <stli@linux.vnet.ibm.com>
51081
51082 * config.make.in (enable-lock-elision): New Makefile variable.
51083 * configure.ac: Likewise.
51084 * configure: Regenerate.
51085 * sysdeps/s390/configure.ac:
51086 Add check for gcc transactions support.
51087 * sysdeps/s390/configure: Regenerate.
51088 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
51089 Build elision files if enabled.
51090 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
51091 Add lock elision support for s390.
51092 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
51093 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
51094 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
51095 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
51096 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
51097 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
51098 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
51099 Likewise.
51100 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
51101 Likewise.
51102 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
51103 Likewise.
51104 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
51105 Likewise.
51106 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
51107 (__lll_timedlock_elision, __lll_lock_elision)
51108 (__lll_unlock_elision, __lll_trylock_elision)
51109 (lll_timedlock_elision, lll_lock_elision)
51110 (lll_unlock_elision, lll_trylock_elision): Add.
51111 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
51112 (pthread_mutex_t): Add lock elision support for s390.
51113
51114 2014-05-14 Wilco <wdijkstr@arm.com>
51115
51116 * sysdeps/arm/fclrexcpt.c: Cleanup.
51117 * sysdeps/arm/fedisblxcpt.c: Cleanup.
51118 * sysdeps/arm/feenablxcpt.c: Cleanup.
51119 * sysdeps/arm/fegetenv.c: Cleanup.
51120 * sysdeps/arm/fegetexcept.c: Cleanup.
51121 * sysdeps/arm/fegetround.c: Cleanup.
51122 * sysdeps/arm/feholdexcpt.c: Cleanup.
51123 * sysdeps/arm/fesetenv.c: Cleanup.
51124 * sysdeps/arm/fesetround.c: Cleanup.
51125 * sysdeps/arm/feupdateenv.c: Cleanup.
51126 * sysdeps/arm/fgetexcptflg.c: Cleanup.
51127 * sysdeps/arm/fraiseexcpt.c: Cleanup.
51128 * sysdeps/arm/fsetexcptflg.c: Cleanup.
51129 * sysdeps/arm/ftestexcept.c: Cleanup.
51130 * sysdeps/arm/get-rounding-mode.h: Cleanup.
51131 * sysdeps/arm/setfpucw.c: Cleanup.
51132
51133 2014-05-09 Will Newton <will.newton@linaro.org>
51134
51135 * sysdeps/arm/armv7/strcmp.S: New file.
51136 * NEWS: Mention addition of ARMv7 optimized strcmp.
51137
51138 2014-05-08 Roland McGrath <roland@hack.frob.com>
51139
51140 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
51141 look for %.ac rather than %.in.
51142
51143 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
51144 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
51145 * sysdeps/mach/hurd/configure: Regenerated.
51146 * sysdeps/unix/sysv/linux/configure: Regenerated.
51147
51148 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
51149
51150 2014-05-07 Steve Ellcey <sellcey@mips.com>
51151
51152 [BZ #16922]
51153 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
51154 (LONG_SUB): Ditto.
51155 (PTR_SUB): Ditto.
51156
51157 2014-05-07 Andreas Schwab <schwab@suse.de>
51158
51159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
51160 when skipping over non-matching result from nscd.
51161
51162 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
51163
51164 [BZ #16876]
51165 * nptl/sockperf.c (client): Check socket return value.
51166
51167 [BZ #16877]
51168 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
51169 nscd security class.
51170
51171 2014-05-06 Roland McGrath <roland@hack.frob.com>
51172
51173 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
51174 * sysdeps/arm/unwind.h: ... here.
51175
51176 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
51177
51178 [BZ #16916]
51179 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
51180 Define.
51181
51182 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
51183
51184 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
51185 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
51186 multiarch strncpy for PPC64.
51187 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
51188 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
51189 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
51190 multiarch optimizations.
51191 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51192 (__libc_ifunc_impl_list): Likewise.
51193 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
51194 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
51195 multiarch stpncpy for PPC64.
51196 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
51197 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
51198
51199 2014-05-06 Andreas Schwab <schwab@suse.de>
51200
51201 [BZ #16912]
51202 * gmon/mcount.c (_MCOUNT_DECL): Use
51203 atomic_compare_and_exchange_bool_acq instead of
51204 catomic_compare_and_exchange_bool_acq.
51205
51206 2014-05-05 Roland McGrath <roland@hack.frob.com>
51207
51208 * elf/Makefile (others, install-bin): Remove pldd.
51209 (pldd-modules): Variable removed.
51210 ($(objpfx)pldd): Target removed.
51211 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
51212 (others, install-bin): Append pldd here.
51213 ($(objpfx)pldd): New target.
51214
51215 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
51216 to 0, so the first #if test emitted later doesn't see it undefined.
51217 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
51218 * sysdeps/gnu/errlist.c: Regenerated.
51219
51220 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51221
51222 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51223 [libc_hidden_builtin_def]: Define to empty value.
51224 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
51225 [libc_hidden_builtin_def]: Likewise.
51226 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
51227 [libc_hidden_builtin_def]: Likewise.
51228 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
51229 [libc_hidden_builtin_def]: Likewise.
51230 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
51231 __redirect_memcpy and define ifunc as default hidden symbol.
51232 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
51233 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
51234
51235 2014-05-04 Adam Conrad <adconrad@0c3.net>
51236
51237 * locale/iso-4217.def: Reintroduce XDR currency.
51238
51239 2014-05-04 Allan McRae <allan@archlinux.org>
51240
51241 * po/eo.po: Update Esperanto translation from translation project.
51242
51243 2014-05-02 Carlos O'Donell <carlos@redhat.com>
51244
51245 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
51246 and FEATURE_INDEX_MAX to 1.
51247 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
51248
51249 2014-05-01 Steve Ellcey <sellcey@mips.com>
51250
51251 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
51252 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
51253 * iconvdata/big5.c (ONE_DIRECTION): Define.
51254 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
51255 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
51256 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
51257 * iconvdata/cp932.c (ONE_DIRECTION): Define.
51258 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
51259 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
51260 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
51261 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
51262 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
51263 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
51264 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
51265 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
51266 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
51267 * iconvdata/gbk.c (ONE_DIRECTION): Define.
51268 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
51269 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
51270 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
51271 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
51272 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
51273 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
51274 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
51275 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
51276 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
51277 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
51278 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
51279 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
51280 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
51281 * iconvdata/iso646.c (ONE_DIRECTION): Define.
51282 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
51283 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
51284 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
51285 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
51286 * iconvdata/johab.c (ONE_DIRECTION): Define.
51287 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
51288 * iconvdata/sjis.c (ONE_DIRECTION): Define.
51289 * iconvdata/t.61.c (ONE_DIRECTION): Define.
51290 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
51291 * iconvdata/tscii.c (ONE_DIRECTION): Define.
51292 * iconvdata/uhc.c (ONE_DIRECTION): Define.
51293 * iconvdata/unicode.c (ONE_DIRECTION): Define.
51294 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
51295 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
51296 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
51297
51298 2014-05-01 Roland McGrath <roland@hack.frob.com>
51299
51300 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
51301 (_IO_JUMPS_OFFSET): Define to 0.
51302
51303 * nptl/sysdeps/pthread/bits/libc-lock.h
51304 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
51305 (__libc_lock_define_initialized_recursive): Always define using
51306 initializer. Modern compilers treat uninitialized (implicit zero) and
51307 explicit zero initializers the same (i.e. put the datum in bss).
51308
51309 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
51310
51311 * nscd/nscd-client.h: Include <string.h>.
51312
51313 2014-05-01 David S. Miller <davem@davemloft.net>
51314
51315 [BZ #16885]
51316 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
51317 multiple zero bytes exist at the end of a string.
51318 Reported by Aurelien Jarno <aurelien@aurel32.net>
51319
51320 * string/test-strcmp.c (check): Add explicit test for situations where
51321 there are multiple zero bytes after the first.
51322
51323 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
51324
51325 [BZ #16890]
51326 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
51327 when compiling wprintf.
51328 * stdio-common/tstdiomisc.c (t3): New function.
51329 (main): Call it.
51330
51331 2014-05-01 Steve Ellcey <sellcey@mips.com>
51332
51333 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
51334 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
51335 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
51336 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
51337
51338 2014-05-01 Steve Ellcey <sellcey@mips.com>
51339
51340 * stdlib/longlong.h: Updated from GCC.
51341
51342 2014-05-01 Will Newton <will.newton@linaro.org>
51343 Bernard Ogden <bernie.ogden@linaro.org>
51344
51345 * NEWS: Update fixed bug list.
51346
51347 [BZ #15119]
51348 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
51349
51350 2014-04-30 David S. Miller <davem@davemloft.net>
51351
51352 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
51353 (libc_feholdexcept_setround_sparc_ctx): New function.
51354 (libc_fesetenv_sparc_ctx): Likewise.
51355 (libc_feupdateenv_sparc_ctx): Likewise.
51356 (libc_feholdsetround_sparc_ctx): Likewise.
51357 (libc_feholdexcept_setround_ctx): Define.
51358 (libc_feholdexcept_setroundf_ctx): Likewise.
51359 (libc_feholdexcept_setroundl_ctx): Likewise.
51360 (libc_fesetenv_ctx): Likewise.
51361 (libc_fesetenvf_ctx): Likewise.
51362 (libc_fesetenvl_ctx): Likewise.
51363 (libc_feupdateenv_ctx): Likewise.
51364 (libc_feupdateenvf_ctx): Likewise.
51365 (libc_feupdateenvl_ctx): Likewise.
51366 (libc_feresetround_ctx): Likewise.
51367 (libc_feresetroundf_ctx): Likewise.
51368 (libc_feresetroundl_ctx): Likewise.
51369 (libc_feholdsetround_ctx): Likewise.
51370 (libc_feholdsetroundf_ctx): Likewise.
51371 (libc_feholdsetroundl_ctx): Likewise.
51372
51373 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
51374 with __USE_GNU instead of XOPEN cpp guards.
51375
51376 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
51377 0.
51378
51379 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
51380 with XOPEN cpp guards.
51381
51382 2014-04-30 Julian Brown <julian@codesourcery.com>
51383
51384 [BZ #16888]
51385 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
51386 handling.
51387
51388 2014-04-30 Joseph Myers <joseph@codesourcery.com>
51389
51390 [BZ #9894]
51391 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
51392 Change to 2.6.32.
51393 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
51394 * sysdeps/unix/sysv/linux/configure: Regenerated.
51395 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
51396 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
51397 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
51398 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
51399 * README: Update reference to required Linux kernel version.
51400 * manual/install.texi (Linux): Update reference to required Linux
51401 kernel headers version.
51402 * INSTALL: Regenerated.
51403
51404 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
51405 header inclusion.
51406 [POSIX] (limits.h): Likewise.
51407 [POSIX] (math.h): Likewise.
51408 [POSIX] (sys/wait.h): Likewise.
51409 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
51410 function.
51411 [POSIX] (stddef.h): Do not allow header inclusion.
51412
51413 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51414
51415 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
51416
51417 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
51418
51419 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
51420 Return immediately after lll_futex_wake.
51421
51422 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51423
51424 [BZ #16791]
51425 * nscd/nscd-client.h (datahead_init_common): Initialize entire
51426 structure.
51427 (datahead_init_pos): Call datahead_init_common early.
51428 (datahead_init_neg): Likewise.
51429
51430 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
51431 datahead_init_neg): New functions.
51432 * nscd/aicache.c (addhstaiX): Use them.
51433 * nscd/grpcache.c (cache_addgr): Likewise.
51434 * nscd/hstcache.c (cache_addhst): Likewise.
51435 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51436 * nscd/netgroupcache.c (do_notfound): Likewise.
51437 (addgetnetgrentX): Likewise.
51438 (addinnetgrX): Likewise.
51439 * nscd/pwdcache.c (cache_addpw): Likewise.
51440 * nscd/servicescache.c (cache_addserv): Likewise.
51441
51442 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51443 Atsushi Onoe <atsushi@onoe.org>
51444
51445 [BZ #14308]
51446 [BZ #12994]
51447 [BZ #13651]
51448 * resolv/res_query.c (__libc_res_nsearch): Return if at least
51449 one response is valid.
51450 * resolv/res_send.c (send_dg): Check for validity of other
51451 response if the current response is a referral.
51452
51453 2014-04-29 Steve Ellcey <sellcey@mips.com>
51454
51455 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
51456
51457 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
51458
51459 [BZ #16823]
51460 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
51461 Always divide by positive zero when computing -Inf result.
51462 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
51463 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
51464
51465 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51466
51467 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
51468 FPSCR if value do not change.
51469 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
51470 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
51471 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
51472 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
51473 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
51474 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
51475 function.
51476
51477 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
51478
51479 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
51480 * sysdeps/unix/sysv/linux/hppa: Move directory from
51481 ports/systeps/unix/sysv/linux/hppa.
51482 * README: Update listing for hppa-*-linux-gnu.
51483
51484 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
51485
51486 [BZ #16754]
51487 * manual/stdio.texi (Hook functions): Fix types of stream hook
51488 functions.
51489 [BZ #16854]
51490 * socket/sys/socket.h: Fix typo in comment.
51491
51492 2014-04-28 Wilco <wdijkstr@arm.com>
51493
51494 * sysdeps/arm/fenv_private.h: New file.
51495 * sysdeps/arm/math_private.h: New file.
51496 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
51497
51498 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
51499
51500 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
51501 with __int128_t.
51502 (La_x86_64_retval): Likewise.
51503
51504 2014-04-24 Ian Bolton <ian.bolton@arm.com>
51505
51506 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
51507 fpsr if value didn't change.
51508 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
51509 to fpcr if value didn't change.
51510 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
51511 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
51512 fpsr or fpcr if value didn't change.
51513 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
51514 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
51515 fpcr if value didn't change.
51516 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
51517 to fpsr if value didn't change.
51518
51519 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
51520
51521 * nptl/tst-sem3.c: Use test-skeleton.c
51522 (main): Rename to do_test. Use return instead of
51523 exit.
51524 * nptl/tst-sem4.c: Use test-skeleton.c
51525 (main): Rename to do_test.
51526
51527 2014-04-22 David S. Miller <davem@davemloft.net>
51528
51529 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
51530 (struct sigaction): New struct member __glibc_reserved0, change
51531 type of sa_flags to int.
51532
51533 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
51534
51535 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
51536 (COUNT_LEADING_ZEROS_0): Define for AArch64.
51537
51538 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
51539
51540 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
51541 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
51542
51543 2014-04-22 Will Newton <will.newton@linaro.org>
51544 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
51545
51546 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
51547 (__longjmp): Add longjmp and longjmp_target SystemTap
51548 probes.
51549 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
51550 (__sigsetjmp): Add setjmp SystemTap probe.
51551
51552 2014-04-17 Carlos O'Donell <carlos@redhat.com>
51553
51554 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
51555 match manual order.
51556
51557 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51558
51559 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
51560
51561 * sysdeps/powerpc/fpu/fenv_private.h
51562 (libc_feholdexcept_setroundl_ctx): Define to
51563 libc_feholdexcept_setround_ppc_ctx.
51564 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
51565 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
51566 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
51567 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
51568
51569 2014-04-17 Ian Bolton <ian.bolton@arm.com>
51570
51571 * sysdeps/aarch64/math-tests.h: New file.
51572
51573 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
51574
51575 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
51576 New.
51577 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51578 Check and set bit_AVX2_Usable.
51579 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
51580 macro.
51581 (bit_AVX2): Likewise.
51582 (index_AVX2_Usable): Likewise.
51583 (CPUID_AVX2): Likewise.
51584 (HAS_AVX2): Likewise.
51585
51586 2014-04-17 Will Newton <will.newton@linaro.org>
51587
51588 * manual/setjmp.texi (System V contexts): Add note that
51589 calling setcontext on a context created by a call to a
51590 signal handler is undefined. Update text to note that
51591 setcontext from a signal handler is possible but not
51592 recommended.
51593
51594 [BZ #16629]
51595 * stdlib/tst-setcontext.c: Include signal.h.
51596 (main): Check that the signal stack before and
51597 after swapcontext is the same.
51598
51599 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
51600 Re-implement to restore registers in user code and avoid
51601 rt_sigreturn system call.
51602
51603 2014-04-17 Wilco <wdijkstr@arm.com>
51604
51605 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
51606 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
51607 * math/test-fenv.c: Skip exception trap tests on targets which only
51608 support non-stop mode.
51609
51610 2014-04-17 Ian Bolton <ian.bolton@arm.com>
51611 Wilco Dijkstra <wilco.dijkstra@arm.com>
51612
51613 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
51614 (libc_feholdsetround_aarch64_ctx)
51615 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
51616 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
51617 (libc_feresetround_ctx, libc_feresetroundf_ctx)
51618 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
51619 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
51620 (libc_feresetround_noexl_ctx): Define.
51621
51622 2014-04-16 Richard Henderson <rth@redhat.com>
51623
51624 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
51625
51626 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
51627 unwind tables.
51628
51629 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
51630 const from the non-libc, non-ldso copy.
51631
51632 * sysdeps/alpha/libm-test-ulps: Regenerate.
51633
51634 2014-04-16 Ian Bolton <ian.bolton@arm.com>
51635 Wilco Dijkstra <wilco.dijkstra@arm.com>
51636
51637 * sysdeps/aarch64/fpu/math_private.h: New file.
51638
51639 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
51640
51641 * sysdeps/aarch64/libm-test-ulps: Regenerate.
51642
51643 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
51644
51645 [BZ #16275]
51646 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
51647 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
51648 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
51649 Intel MPX bound registers before _dl_profile_fixup.
51650 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
51651 registers after _dl_profile_fixup. Save and restore bound
51652 registers bnd0/bnd1 when calling _dl_call_pltexit.
51653 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
51654 (LR_BND_OFFSET): Likewise.
51655 (LRV_BND0_OFFSET): Likewise.
51656 (LRV_BND1_OFFSET): Likewise.
51657
51658 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
51659
51660 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
51661 to...
51662 * sysdeps/mach/hurd/i386/tls.h: ... here.
51663 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
51664 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
51665 fields.
51666
51667 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
51668
51669 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
51670
51671 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
51672
51673 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51674
51675 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
51676
51677 [BZ #14770]
51678 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
51679 * sysdeps/s390/configure: Regenerate.
51680
51681 [BZ #16824]
51682 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
51683 Set round-to-nearest internally to reduce error accumulation.
51684
51685 2014-04-16 Alan Modra <amodra@gmail.com>
51686
51687 [BZ #16740]
51688 [BZ #16619]
51689 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
51690 * math/libm-test.inc (frexp_test_data): Add tests.
51691 * NEWS: Update fixed bug list.
51692
51693 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
51694
51695 * benchtests/Makefile: Depend on libraries in build directory.
51696 (bench-math): Separate out math tests.
51697 (bench-pthread): Separate out pthread tests.
51698 (bench): Include math and pthread tests.
51699
51700 2014-04-14 Carlos O'Donell <carlos@redhat.com>
51701
51702 [BZ #16831]
51703 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
51704 _dl_debug_initialize.
51705
51706 * configure.ac: Remove SELinux header check.
51707 * configure: Regenerate.
51708 * nscd/selinux.c (perms): Array of const char* to permission names.
51709 (nscd_request_avc_has_perm): Call security_deny_unknown to find
51710 default policy. Call string_to_security_class and string_to_av_perm to
51711 translate strings. Enforce default policy and call avs_has_perm with
51712 results of translated strings.
51713
51714 2014-04-13 David S. Miller <davem@davemloft.net>
51715
51716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51717
51718 2014-04-12 Allan McRae <allan@archlinux.org>
51719
51720 [BZ #16838]
51721 * manual/string.texi (Collation Functions): Fix qsort argument
51722 order in example.
51723 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
51724
51725 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
51726
51727 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
51728 Make the test a no-op if there are no exceptions defined.
51729
51730 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
51731
51732 * elf/Makefile (tests): make tst-dlopen-aout conditional on
51733 enable-hardcoded-path-in-tests
51734
51735 2014-04-11 Will Newton <will.newton@linaro.org>
51736
51737 * benchtests/Makefile (extra-objs): Add json-lib.o.
51738 (bench-func): Tidy up JSON output.
51739 * benchtests/bench-skeleton.c: Include json-lib.h.
51740 (main): Use JSON library functions to do output of
51741 benchmark results.
51742 * benchtests/bench-timing-type.c (main): Output the
51743 timing type simply, leaving formatting to the user.
51744 * benchtests/json-lib.c: New file.
51745 * benchtests/json-lib.h: Likewise.
51746
51747 2014-04-11 Torvald Riegel <triegel@redhat.com>
51748
51749 [BZ #15215]
51750 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
51751 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
51752 memory barriers. Add comments.
51753 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
51754 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
51755 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
51756 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
51757 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
51758 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
51759
51760 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
51761
51762 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
51763 * sysdeps/s390/s390-64/configure.ac: ... this ...
51764 * sysdeps/s390/configure.ac: ... to here.
51765 * sysdeps/s390/s390-32/configure: Delete file.
51766 * sysdeps/s390/s390-64/configure: Delete file.
51767 * sysdeps/s390/configure: Regenerate.
51768
51769 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
51770
51771 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
51772
51773 2014-04-11 Will Newton <will.newton@linaro.org>
51774
51775 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
51776 to zero if it is not defined elsewhere. (mtrim): Test
51777 the value of MALLOC_DEBUG with #if rather than #ifdef.
51778
51779 2014-04-10 Torvald Riegel <triegel@redhat.com>
51780
51781 * benchtests/pthread_once-inputs: New file.
51782 * benchtests/pthread_once-source.c: New file.
51783 * benchtests/README: Update documentation.
51784
51785 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
51786 H.J. Lu <hongjiu.lu@intel.com>
51787
51788 [BZ #16275]
51789 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
51790 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
51791 * sysdeps/x86_64/configure: Regenerated.
51792 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
51793 macro.
51794 (REGISTER_SAVE_RAX): Likewise.
51795 (REGISTER_SAVE_RCX): Likewise.
51796 (REGISTER_SAVE_RDX): Likewise.
51797 (REGISTER_SAVE_RSI): Likewise.
51798 (REGISTER_SAVE_RDI): Likewise.
51799 (REGISTER_SAVE_R8): Likewise.
51800 (REGISTER_SAVE_R9): Likewise.
51801 (REGISTER_SAVE_BND0): Likewise.
51802 (REGISTER_SAVE_BND1): Likewise.
51803 (REGISTER_SAVE_BND2): Likewise.
51804 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
51805 bound registers when calling _dl_fixup.
51806
51807 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51808
51809 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
51810 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
51811 of its definition.
51812 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
51813 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
51814 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
51815 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
51816 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
51817 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
51818 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
51819
51820 2014-04-09 Peter Brett <peter@peter-b.co.uk>
51821
51822 [BZ #15514]
51823 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
51824 pathconf(_PC_NAME_MAX).
51825
51826 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51827
51828 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
51829 Remove macro usage.
51830 (__PTHREAD_SPINS): Move definition to ...
51831 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
51832 (__PTHREAD_SPINS): ... here.
51833 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
51834 (__PTHREAD_SPIN): Likewise.
51835 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
51836 (__PTHREAD_SPIN): Likewise.
51837 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
51838 (__PTHREAD_SPIN): Likewise.
51839 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
51840 (__PTHREAD_SPIN): Likewise.
51841 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
51842 (__PTHREAD_SPIN): Likewise.
51843 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
51844 (__PTHREAD_SPIN): Likewise.
51845 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
51846 (__PTHREAD_SPIN): Likewise.
51847 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
51848 (__PTHREAD_SPIN): Likewise.
51849 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
51850 (__PTHREAD_SPIN): Likewise.
51851 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
51852 (__PTHREAD_SPIN): Likewise.
51853 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
51854 (__PTHREAD_SPIN): Likewise.
51855 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
51856 (__PTHREAD_SPIN): Likewise.
51857
51858 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
51859 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
51860 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
51861 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
51862 imply folder.
51863 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
51864 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
51865 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
51866 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
51867 correct imply path.
51868 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
51869 strlen symbol for non multi-arch builds.
51870 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
51871 missing hidden_def and weak_alias.
51872
51873 2014-04-08 Carlos O'Donell <carlos@redhat.com>
51874
51875 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
51876
51877 2014-04-07 Will Newton <will.newton@linaro.org>
51878
51879 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
51880 and contents. [!_LIBC] Remove #ifndef and contents.
51881 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
51882 * string/memccpy.c (__memccpy): Use ANSI prototype.
51883 * string/memfrob.c (memfrob): Likewise.
51884 * string/strcoll.c (STRCOLL): Likewise.
51885 * string/strlen.c (strlen): Likewise.
51886 * string/strtok.c (STRTOK): Likewise.
51887 * string/strcat.c: Remove unused #include of memcopy.h.
51888 (strcat): Use ANSI prototype.
51889 * string/strchr.c: Remove unused #include of memcopy.h.
51890 (strchr): Use ANSI prototype.
51891 * string/strcmp.c: Remove unused #include of memcopy.h.
51892 (strcmp): Use ANSI prototype.
51893 * string/strcpy.c: Remove unused #include of memcopy.h.
51894 (strcpy): Use ANSI prototype.
51895
51896 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51897
51898 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
51899 * config.make.in (config-extra-cppflags): Set it from
51900 libc_extra_cppflags.
51901 * configure.ac (libc_extra_cflags): Make it accumulate over
51902 configure fragments.
51903 (libc_extra_cppflags): New flag.
51904 * configure. Regenerate.
51905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
51906 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
51907 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
51908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
51909
51910 [BZ #16815]
51911 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
51912 result for FE_DOWNWARD rounding mode.
51913 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
51914 Likewise.
51915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51916
51917 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
51918
51919 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
51920 in function argument name.
51921
51922 2014-04-03 David Svoboda <svoboda@cert.org>
51923
51924 [BZ #5666]
51925 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
51926 explicitly.
51927
51928 2014-04-03 Roland McGrath <roland@hack.frob.com>
51929
51930 * elf/dl-unmap-segments.h: New file.
51931 * sysdeps/generic/ldsodefs.h
51932 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
51933 * elf/dl-close.c: Include <dl-unmap-segments.h>.
51934 * elf/dl-fptr.c: Likewise.
51935 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
51936 * sysdeps/aarch64/tlsdesc.c: Likewise.
51937 * sysdeps/arm/tlsdesc.c: Likewise.
51938 * sysdeps/i386/tlsdesc.c: Likewise.
51939 * sysdeps/tile/dl-runtime.c: Likewise.
51940 * sysdeps/x86_64/tlsdesc.c: Likewise.
51941 * elf/dl-load.h: New file.
51942 * elf/dl-load.c: Include it.
51943 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
51944 Macros moved to dl-load.h.
51945 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
51946 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
51947 Use _dl_unmap_segments in place of __munmap.
51948 Break out segment-mapping loop into ...
51949 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
51950
51951 2014-04-03 Will Newton <will.newton@linaro.org>
51952
51953 * elf/dl-lookup.c (do_lookup_x): Remove comment
51954 referring to nested function and move variable
51955 declarations down to before first use.
51956
51957 2014-04-02 Joseph Myers <joseph@codesourcery.com>
51958
51959 [BZ #16799]
51960 [BZ #16800]
51961 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
51962 with 0 numerator.
51963 * math/s_catanf.c (__catanf): Likewise.
51964 * math/s_catanh.c (__catanh): Likewise.
51965 * math/s_catanhf.c (__catanhf): Likewise.
51966 * math/s_catanhl.c (__catanhl): Likewise.
51967 * math/s_catanl.c (__catanl): Likewise.
51968 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
51969 by positive zero when computing -Inf result.
51970 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
51971 (catanh_test): Likewise.
51972 * sysdeps/i386/fpu/libm-test-ulps: Update.
51973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51974
51975 [BZ #16789]
51976 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
51977 instead of using underflowing value in computing result.
51978 * math/s_clog10.c (__clog10): Likewise.
51979 * math/s_clog10f.c (__clog10f): Likewise.
51980 * math/s_clog10l.c (__clog10l): Likewise.
51981 * math/s_clogf.c (__clogf): Likewise.
51982 * math/s_clogl.c (__clogl): Likewise.
51983 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
51984 (clog10_test): Likewise.
51985 * sysdeps/i386/fpu/libm-test-ulps: Update.
51986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51987
51988 2014-04-02 Alan Modra <amodra@gmail.com>
51989
51990 [BZ #16739]
51991 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
51992 output when value is near a power of two. Use int64_t for lx and
51993 remove casts. Use decimal rather than hex exponent constants.
51994 Don't use long double multiplication when double will suffice.
51995 * math/libm-test.inc (nextafter_test_data): Add tests.
51996 * NEWS: Add 16739 and 16786 to bug list.
51997
51998 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
51999
52000 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
52001
52002 2014-04-01 Will Newton <will.newton@linaro.org>
52003
52004 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
52005 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
52006
52007 2014-04-01 Florian Weimer <fweimer@redhat.com>
52008
52009 [BZ #13347]
52010 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
52011 * nptl/tst-setuid2.c: New file.
52012 * nptl/Makefile (xtests): Add tst-setuid2.
52013
52014 2014-04-01 Alan Modra <amodra@gmail.com>
52015
52016 [BZ #16786]
52017 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
52018
52019 2014-03-31 Joseph Myers <joseph@codesourcery.com>
52020
52021 [BZ #6803]
52022 [BZ #6804]
52023 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
52024 set errno as appropriate.
52025 * math/w_scalbf.c (__scalbf): Likewise.
52026 * math/w_scalbl.c (__scalbl): Likewise.
52027 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
52028 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
52029 * math/libm-test.inc (scalb_test_data): Add errno expectations.
52030 Add more NaN tests.
52031
52032 [BZ #16349]
52033 * math/w_atan2.c: Include <errno.h>.
52034 (__atan2): Set errno for result underflowing to zero.
52035 * math/w_atan2f.c: Include <errno.h>.
52036 (__atan2f): Set errno for result underflowing to zero.
52037 * math/w_atan2l.c: Include <errno.h>.
52038 (__atan2l): Set errno for result underflowing to zero.
52039 * math/auto-libm-test-in: Don't allow missing errno for some atan2
52040 tests.
52041 * math/auto-libm-test-out: Regenerated.
52042
52043 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52044
52045 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
52046 Encode instruction correctly in little endian.
52047 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
52048 Likewise.
52049 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
52050 Likewise.
52051 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
52052 Likewise.
52053 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
52054 Likewise.
52055
52056 2014-03-31 Joseph Myers <joseph@codesourcery.com>
52057
52058 [BZ #9894]
52059 * sysdeps/unix/sysv/linux/kernel-features.h
52060 [__sparc__ && !__arch64__ && !__sparc_v9__]
52061 (__ASSUME_SET_ROBUST_LIST): Do not define.
52062 [__sparc__ && !__arch64__ && !__sparc_v9__]
52063 (__ASSUME_FUTEX_LOCK_PI): Likewise.
52064 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
52065 Likewise.
52066 * sysdeps/unix/sysv/linux/arm/kernel-features.h
52067 (__ASSUME_FUTEX_LOCK_PI): Undefine.
52068 (__ASSUME_REQUEUE_PI): Likewise.
52069 (__ASSUME_SET_ROBUST_LIST): Likewise.
52070 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52071 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
52072 Undefine.
52073 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52074 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
52075 Likewise.
52076 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
52077 Likewise.
52078 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
52079 Likewise.
52080 * sysdeps/unix/sysv/linux/mips/kernel-features.h
52081 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
52082 Undefine.
52083 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
52084 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
52085 Likewise.
52086
52087 [BZ #16648]
52088 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52089 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
52090 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
52091
52092 2014-03-31 Will Newton <will.newton@linaro.org>
52093
52094 * benchtests/Makefile (bench): Add ffs and ffsll to list
52095 of tests.
52096 * benchtests/ffs-inputs: New file.
52097 * benchtests/ffsll-inputs: Likewise.
52098
52099 2014-03-29 Joseph Myers <joseph@codesourcery.com>
52100
52101 [BZ #16770]
52102 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
52103 too large before casting to int.
52104 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
52105 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
52106 * math/libm-test.inc (scalb_test_data): Add more tests.
52107
52108 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
52109
52110 * benchtests/Makefile (DETAILED_OPT): New make option.
52111 (bench-func): Run benchmark program with -d if DETAILED_OPT is
52112 set.
52113 * benchtests/bench-skeleton.c: Include stdbool.h.
52114 (main): Store and print timings per input.
52115 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
52116 member to each argument value.
52117 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
52118 (_print_arg_data): Initialize per-input timing to 0.
52119
52120 * benchtests/Makefile (timing-type): New binary.
52121 (bench-clean): Also remove bench-timing-type.
52122 (bench): New target for timing-type.
52123 (bench-func): Print output in JSON format.
52124 * benchtests/bench-skeleton.c (main): Print output in JSON
52125 format.
52126 * benchtests/bench-timing-type.c: New file.
52127 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
52128 (TIMING_PRINT_STATS): Remove.
52129 * benchtests/scripts/bench.py (_print_arg_data): Store variant
52130 name separately.
52131
52132 * benchtests/bench-modf.c: Remove.
52133 * benchtests/modf-inputs: New inputs file.
52134
52135 2014-03-28 Joseph Myers <joseph@codesourcery.com>
52136
52137 [BZ #16362]
52138 * math/s_clog10.c (M_PI_LOG10E): New macro.
52139 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
52140 imaginary parts are 0.
52141 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
52142 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
52143 imaginary parts are 0.
52144 * math/s_clog10l.c (M_PI_LOG10El): New macro.
52145 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
52146 imaginary parts are 0.
52147 * math/libm-test.inc (clog10_test_data): Update expected results
52148 for when real and imaginary parts are 0.
52149
52150 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
52151
52152 * elf/dl-load.c: Finish conversion of __builtin_expect into
52153 __glibc_{un}likely.
52154
52155 2014-03-27 Joseph Myers <joseph@codesourcery.com>
52156
52157 [BZ #16348]
52158 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
52159 1+x for argument with exponent below -67.
52160 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
52161 Likewise.
52162 * math/auto-libm-test-in: Add more tests of exp.
52163 * math/auto-libm-test-out: Regenerated.
52164
52165 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
52166
52167 [BZ #16759]
52168 * inet/getnetgrent_r.c (get_nonempty_val): New function.
52169 (nscd_getnetgrent): Use it.
52170
52171 [BZ #16760]
52172 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
52173 of stpcpy.
52174
52175 2014-03-27 Andi Kleen <ak@linux.intel.com>
52176
52177 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
52178 (lll_robust_lock, lll_cond_lock, lll_timedlock)
52179 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
52180 (lll_robust_unlock): Remove out of line section. Use cfi
52181 intrinsics.
52182 (LLL_STUB_UNWIND_INFO*): Remove.
52183 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
52184 (lll_robust_lock, lll_cond_lock, lll_timedlock)
52185 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
52186 (lll_robust_unlock): Remove out of line section. Use cfi
52187 intrinsics.
52188 (LLL_STUB_UNWIND_INFO*): Remove.
52189
52190 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
52191
52192 [BZ #16758]
52193 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
52194 blank values.
52195
52196 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
52197
52198 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
52199
52200 2014-03-26 Joseph Myers <joseph@codesourcery.com>
52201
52202 [BZ #16198]
52203 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
52204 fnstenv.
52205 * math/test-fenv-preserve.c: New file.
52206 * math/Makefile (tests): Add test-fenv-preserve.
52207
52208 2014-03-26 Will Newton <will.newton@linaro.org>
52209
52210 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
52211
52212 2014-03-25 Roland McGrath <roland@hack.frob.com>
52213
52214 * scripts/versionlist.awk: Partition the version sets and emit all
52215 GLIBC_* (sorted) before all others (sorted).
52216
52217 2014-03-25 Joseph Myers <joseph@codesourcery.com>
52218
52219 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
52220 GLIBC_2.2.5 version.
52221
52222 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52223
52224 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
52225 calls.
52226
52227 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
52228 previous change.
52229
52230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52231
52232 2014-03-25 Andreas Schwab <schwab@suse.de>
52233
52234 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
52235 label to be used after in6ailist is initialized.
52236
52237 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52238
52239 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
52240 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
52241
52242 2014-03-25 Joseph Myers <joseph@codesourcery.com>
52243
52244 [BZ #16357]
52245 [BZ #16599]
52246 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
52247 min_plus_half.
52248 (fp_formats): Update initializers.
52249 (init_fp_formats): Initialize new field.
52250 (output_for_one_input_case): Allow underflow for results up to
52251 min_plus_half.
52252 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
52253 * math/auto-libm-test-in: Don't mark some underflows from asin and
52254 atanh as spurious.
52255 * math/auto-libm-test-out: Regenerated.
52256 * sysdeps/i386/fpu/libm-test-ulps: Update.
52257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52258
52259 2014-03-25 Andreas Schwab <schwab@suse.de>
52260
52261 * libio/Makefile (tst-ftell-partial-wide-ENV)
52262 (tst-ftell-active-handler-ENV): Define.
52263
52264 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
52265
52266 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
52267
52268 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
52269
52270 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
52271
52272 2014-03-24 Joseph Myers <joseph@codesourcery.com>
52273
52274 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
52275 * sysdeps/x86_64/fpu/multiarch/e_exp.c
52276 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
52277
52278 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
52279
52280 [BZ #16634]
52281 * elf/dl-load.c (open_verify): Add mode parameter.
52282 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
52283 (open_path): Change from boolean 'secure' to complete flag 'mode'
52284 (_dl_map_object): Adjust.
52285 * elf/Makefile (tests): Add tst-dlopen-aout.
52286 * elf/tst-dlopen-aout.c: New test.
52287
52288 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
52289
52290 [BZ #16714]
52291 * sysdeps/unix/sysv/linux/s390/bits/stat.h
52292 (struct stat): Rename member pad0 to __glibc_reserved0.
52293
52294 [BZ #16712]
52295 * sysdeps/s390/s390-32/bits/wordsize.h
52296 (__WORDSIZE32_SIZE_ULONG): New define.
52297 * sysdeps/s390/s390-64/bits/wordsize.h
52298 (__WORDSIZE32_SIZE_ULONG): Likewise.
52299 * sysdeps/generic/stdint.h (SIZE_MAX):
52300 Define as UL if __WORDSIZE32_SIZE_ULONG.
52301
52302 [BZ #16713]
52303 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
52304 (__glibc_reserved0): New variable.
52305 (sa_flags): Change type to int.
52306
52307 * posix/Makefile (before-compile): Use += before-compile instead
52308 of a :=.
52309
52310 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52311 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
52312
52313 2014-03-20 Andreas Schwab <schwab@suse.de>
52314
52315 [BZ #16743]
52316 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
52317 non-matching result from nscd.
52318
52319 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
52320
52321 * scripts/bench.py: Moved to ...
52322 * benchtests/scripts/bench.py: ... here.
52323 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
52324
52325 2014-03-24 Andreas Schwab <schwab@suse.de>
52326
52327 [BZ #16002]
52328 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
52329 alloca_account and account alloca use for struct in6ailist.
52330
52331 2014-03-24 Joseph Myers <joseph@codesourcery.com>
52332
52333 [BZ #16284]
52334 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
52335 rounding mode to recompute results that overflow to infinity or
52336 underflow to zero.
52337 * math/auto-libm-test-in: Don't mark tests as expected to fail for
52338 bug 16284.
52339 * math/auto-libm-test-out: Regenerated.
52340 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
52341 (ccosh_test): Likewise.
52342 (csin_test_data): Use plus_oflow.
52343 (csin_test): Use ALL_RM_TEST.
52344 (csinh_test_data): Use plus_oflow.
52345 (csinh_test): Use ALL_RM_TEST.
52346 * sysdeps/i386/fpu/libm-test-ulps: Update.
52347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52348
52349 2014-03-21 Joseph Myers <joseph@codesourcery.com>
52350
52351 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
52352 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
52353 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
52354
52355 [BZ #16731]
52356 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
52357 when x - 1 is zero.
52358 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
52359 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
52360 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
52361 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
52362 argument is 1.
52363 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
52364 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
52365 zero.
52366 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
52367 * sysdeps/i386/fpu/libm-test-ulps: Update.
52368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52369
52370 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
52371
52372 * scripts/bench.pl: Remove file.
52373 * scripts/bench.py: New benchmark script.
52374 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
52375 * benchtests/README: Mention python dependency.
52376 * scripts/pylintrc: New file.
52377 * scripts/pylint: New file.
52378
52379 * bits/mathdef.h: Use #ifdef instead of #if.
52380 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
52381 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
52382 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
52383 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
52384 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
52385 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
52386
52387 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52388 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
52389
52390 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
52391 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
52392 and strpbrk-ppc64 objects.
52393 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52394 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
52395 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
52396 multiarch strpbrk for POWER7.
52397 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
52398 multiarch strpbrk for PPC64.
52399 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
52400 ifunc selector.
52401 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
52402 strpbrk for POWER7.
52403
52404 2014-03-20 Joseph Myers <joseph@codesourcery.com>
52405
52406 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
52407 (atan_test): Likewise.
52408 (atanh_test_data): Use NO_TEST_INLINE for two tests.
52409 (atanh_test): Use ALL_RM_TEST.
52410 (atan2_test_data): Likewise.
52411 (cabs_test): Likewise.
52412 (cacosh_test): Likewise.
52413 (carg_test): Likewise.
52414 (casin_test): Likewise.
52415 (casinh_test): Likewise.
52416 (cbrt_test): Likewise.
52417 (csqrt_test): Likewise.
52418 (erf_test): Likewise.
52419 (erfc_test): Likewise.
52420 (pow10_test): Likewise.
52421 (exp2_test): Likewise.
52422 (hypot_test): Likewise.
52423 (j0_test): Likewise.
52424 (j1_test): Likewise.
52425 (lgamma_test): Likewise.
52426 (gamma_test): Likewise.
52427 (sincos_test): Likewise.
52428 (tanh_test): Likewise.
52429 (y0_test): Likewise.
52430 (y1_test): Likewise.
52431 * sysdeps/i386/fpu/libm-test-ulps: Update.
52432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52433
52434 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52435
52436 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
52437 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
52438 and strcspn-ppc64 objects.
52439 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52440 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
52441 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
52442 multiarch strcspn for POWER7.
52443 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
52444 multiarch strcspn for PPC64.
52445 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
52446 ifunc selector.
52447 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
52448 strcspn for POWER7.
52449
52450 2014-03-20 Joseph Myers <joseph@codesourcery.com>
52451
52452 * math/gen-libm-test.pl (generate_testfile): Expect only function
52453 name as argument to AUTO_TESTS_* and pass results for all rounding
52454 modes to parse_args.
52455 (parse_auto_input): Separate inputs of automatic tests from
52456 outputs before storing in %auto_tests.
52457 * math/libm-test.inc (acos_test_data): Update call to
52458 AUTO_TESTS_f_f.
52459 (acos_test): Use ALL_RM_TEST.
52460 (acos_tonearest_test_data): Remove.
52461 (acos_test_tonearest): Likewise.
52462 (acos_towardzero_test_data): Likewise.
52463 (acos_test_towardzero): Likewise.
52464 (acos_downward_test_data): Likewise.
52465 (acos_test_downward): Likewise.
52466 (acos_upward_test_data): Likewise.
52467 (acos_test_upward): Likewise.
52468 (acosh_test_data): Update call to AUTO_TESTS_f_f.
52469 (asin_test_data): Likewise.
52470 (asin_test): Use ALL_RM_TEST.
52471 (asin_tonearest_test_data): Remove.
52472 (asin_test_tonearest): Likewise.
52473 (asin_towardzero_test_data): Likewise.
52474 (asin_test_towardzero): Likewise.
52475 (asin_downward_test_data): Likewise.
52476 (asin_test_downward): Likewise.
52477 (asin_upward_test_data): Likewise.
52478 (asin_test_upward): Likewise.
52479 (asinh_test_data): Update call to AUTO_TESTS_f_f.
52480 (atan_test_data): Likewise.
52481 (atanh_test_data): Likewise.
52482 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
52483 (cabs_test_data): Update call to AUTO_TESTS_c_f.
52484 (carg_test_data): Likewise.
52485 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
52486 (ccos_test_data): Update call to AUTO_TESTS_c_c.
52487 (ccosh_test_data): Likewise.
52488 (cexp_test_data): Likewise.
52489 (clog_test_data): Likewise.
52490 (clog10_test_data): Likewise.
52491 (cos_test_data): Update call to AUTO_TESTS_f_f.
52492 (cos_test): Use ALL_RM_TEST.
52493 (cos_tonearest_test_data): Remove.
52494 (cos_test_tonearest): Likewise.
52495 (cos_towardzero_test_data): Likewise.
52496 (cos_test_towardzero): Likewise.
52497 (cos_downward_test_data): Likewise.
52498 (cos_test_downward): Likewise.
52499 (cos_upward_test_data): Likewise.
52500 (cos_test_upward): Likewise.
52501 (cosh_test_data): Update call to AUTO_TESTS_f_f.
52502 (cosh_test): Use ALL_RM_TEST.
52503 (cosh_tonearest_test_data): Remove.
52504 (cosh_test_tonearest): Likewise.
52505 (cosh_towardzero_test_data): Likewise.
52506 (cosh_test_towardzero): Likewise.
52507 (cosh_downward_test_data): Likewise.
52508 (cosh_test_downward): Likewise.
52509 (cosh_upward_test_data): Likewise.
52510 (cosh_test_upward): Likewise.
52511 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
52512 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
52513 (ctan_test_data): Likewise.
52514 (ctan_test): Use ALL_RM_TEST.
52515 (ctan_tonearest_test_data): Remove.
52516 (ctan_test_tonearest): Likewise.
52517 (ctan_towardzero_test_data): Likewise.
52518 (ctan_test_towardzero): Likewise.
52519 (ctan_downward_test_data): Likewise.
52520 (ctan_test_downward): Likewise.
52521 (ctan_upward_test_data): Likewise.
52522 (ctan_test_upward): Likewise.
52523 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
52524 (ctanh_test): Use ALL_RM_TEST.
52525 (ctanh_tonearest_test_data): Remove.
52526 (ctanh_test_tonearest): Likewise.
52527 (ctanh_towardzero_test_data): Likewise.
52528 (ctanh_test_towardzero): Likewise.
52529 (ctanh_downward_test_data): Likewise.
52530 (ctanh_test_downward): Likewise.
52531 (ctanh_upward_test_data): Likewise.
52532 (ctanh_test_upward): Likewise.
52533 (erf_test_data): Update call to AUTO_TESTS_f_f.
52534 (erfc_test_data): Likewise.
52535 (exp_test_data): Likewise.
52536 (exp_test): Use ALL_RM_TEST.
52537 (exp_tonearest_test_data): Remove.
52538 (exp_test_tonearest): Likewise.
52539 (exp_towardzero_test_data): Likewise.
52540 (exp_test_towardzero): Likewise.
52541 (exp_downward_test_data): Likewise.
52542 (exp_test_downward): Likewise.
52543 (exp_upward_test_data): Likewise.
52544 (exp_test_upward): Likewise.
52545 (exp10_test_data): Update call to AUTO_TESTS_f_f.
52546 (exp10_test): Use ALL_RM_TEST.
52547 (exp10_tonearest_test_data): Remove.
52548 (exp10_test_tonearest): Likewise.
52549 (exp10_towardzero_test_data): Likewise.
52550 (exp10_test_towardzero): Likewise.
52551 (exp10_downward_test_data): Likewise.
52552 (exp10_test_downward): Likewise.
52553 (exp10_upward_test_data): Likewise.
52554 (exp10_test_upward): Likewise.
52555 (exp2_test_data): Update call to AUTO_TESTS_f_f.
52556 (expm1_test_data): Likewise.
52557 (expm1_test): Use ALL_RM_TEST.
52558 (expm1_tonearest_test_data): Remove.
52559 (expm1_test_tonearest): Likewise.
52560 (expm1_towardzero_test_data): Likewise.
52561 (expm1_test_towardzero): Likewise.
52562 (expm1_downward_test_data): Likewise.
52563 (expm1_test_downward): Likewise.
52564 (expm1_upward_test_data): Likewise.
52565 (expm1_test_upward): Likewise.
52566 (fma_test_data): Update call to AUTO_TESTS_fff_f.
52567 (fma_test): Use ALL_RM_TEST.
52568 (fma_towardzero_test_data): Remove.
52569 (fma_test_towardzero): Likewise.
52570 (fma_downward_test_data): Likewise.
52571 (fma_test_downward): Likewise.
52572 (fma_upward_test_data): Likewise.
52573 (fma_test_upward): Likewise.
52574 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
52575 (j0_test_data): Update call to AUTO_TESTS_f_f.
52576 (j1_test_data): Likewise.
52577 (jn_test_data): Update call to AUTO_TESTS_if_f.
52578 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
52579 (log_test_data): Update call to AUTO_TESTS_f_f.
52580 (log10_test_data): Likewise.
52581 (log1p_test_data): Likewise.
52582 (log2_test_data): Likewise.
52583 (pow_test_data): Update call to AUTO_TESTS_ff_f.
52584 (pow_tonearest_test_data): Likewise.
52585 (sin_test_data): Update call to AUTO_TESTS_f_f.
52586 (sin_test): Use ALL_RM_TEST.
52587 (sin_tonearest_test_data): Remove.
52588 (sin_test_tonearest): Likewise.
52589 (sin_towardzero_test_data): Likewise.
52590 (sin_test_towardzero): Likewise.
52591 (sin_downward_test_data): Likewise.
52592 (sin_test_downward): Likewise.
52593 (sin_upward_test_data): Likewise.
52594 (sin_test_upward): Likewise.
52595 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
52596 (sinh_test_data): Update call to AUTO_TESTS_f_f.
52597 (sinh_test): Use ALL_RM_TEST.
52598 (sinh_tonearest_test_data): Remove.
52599 (sinh_test_tonearest): Likewise.
52600 (sinh_towardzero_test_data): Likewise.
52601 (sinh_test_towardzero): Likewise.
52602 (sinh_downward_test_data): Likewise.
52603 (sinh_test_downward): Likewise.
52604 (sinh_upward_test_data): Likewise.
52605 (sinh_test_upward): Likewise.
52606 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
52607 (sqrt_test): Use ALL_RM_TEST.
52608 (sqrt_tonearest_test_data): Remove.
52609 (sqrt_test_tonearest): Likewise.
52610 (sqrt_towardzero_test_data): Likewise.
52611 (sqrt_test_towardzero): Likewise.
52612 (sqrt_downward_test_data): Likewise.
52613 (sqrt_test_downward): Likewise.
52614 (sqrt_upward_test_data): Likewise.
52615 (sqrt_test_upward): Likewise.
52616 (tan_test_data): Update call to AUTO_TESTS_f_f.
52617 (tan_test): Use ALL_RM_TEST.
52618 (tan_tonearest_test_data): Remove.
52619 (tan_test_tonearest): Likewise.
52620 (tan_towardzero_test_data): Likewise.
52621 (tan_test_towardzero): Likewise.
52622 (tan_downward_test_data): Likewise.
52623 (tan_test_downward): Likewise.
52624 (tan_upward_test_data): Likewise.
52625 (tan_test_upward): Likewise.
52626 (tanh_test_data): Update call to AUTO_TESTS_f_f.
52627 (tgamma_test_data): Likewise.
52628 (y0_test_data): Likewise.
52629 (y1_test_data): Likewise.
52630 (yn_test_data): Update call to AUTO_TESTS_if_f.
52631 (main): Do not call removed functions.
52632
52633 2014-03-19 Joseph Myers <joseph@codesourcery.com>
52634
52635 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
52636 (ldexp_test_data): Remove.
52637 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
52638 scalbn_test_data.
52639 (scalb_test): Use ALL_RM_TEST.
52640
52641 2014-03-19 Andreas Schwab <schwab@suse.de>
52642
52643 * nscd/nscd.service: Also invalidate netgroup cache on reload.
52644
52645 2014-03-19 Joseph Myers <joseph@codesourcery.com>
52646
52647 [BZ #16649]
52648 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52649 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
52650 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
52651 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52652 (__ASSUME_PREADV): Undefine.
52653 (__ASSUME_PWRITEV): Likewise.
52654
52655 2014-03-18 Roland McGrath <roland@hack.frob.com>
52656
52657 * bits/mman-linux.h: Add comment about non-Linux use.
52658 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
52659 bits/mman-linux.h resting place.
52660
52661 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
52662 * bits/mman-linux.h: ... here.
52663
52664 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52665
52666 * conform/conformtest.pl: Add standard definition when calling C
52667 preprocessor on data files.
52668 (checknamespace): Remove unused variable.
52669
52670 2014-03-18 Joseph Myers <joseph@codesourcery.com>
52671
52672 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
52673 minus_oflow, plus_uflow and minus_uflow in expected results.
52674 * math/libm-test.inc (scalbn_test_data): Add more tests of
52675 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
52676 minus_uflow.
52677 (scalbn_test): Use ALL_RM_TEST.
52678 (scalbln_test_data): Add more tests of negative arguments. Use
52679 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
52680 (scalbln_test): Use ALL_RM_TEST.
52681
52682 2014-03-18 Roland McGrath <roland@hack.frob.com>
52683
52684 * scripts/abilist.awk: Ignore symbols marked with .hidden.
52685
52686 2014-03-18 Will Newton <will.newton@linaro.org>
52687
52688 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
52689 inaccurate comment.
52690
52691 2014-03-18 Joseph Myers <joseph@codesourcery.com>
52692
52693 * Makerules [!subdir] (check-abi): Exit with error status if a
52694 test failed.
52695
52696 2014-03-17 Joseph Myers <joseph@codesourcery.com>
52697
52698 * math/libm-test.inc (nearbyint_test_data): Include all tests used
52699 for rint. Include results for all rounding modes.
52700 (nearbyint_test): Use ALL_RM_TEST.
52701 (rint_test_data): Include all tests used for nearbyint.
52702
52703 2014-03-17 Will Newton <will.newton@linaro.org>
52704
52705 * nptl/sysdeps/pthread/pthread.h: Revert previous
52706 change.
52707
52708 * sysdeps/generic/ldsodefs.h: Revert previous
52709 change.
52710
52711 * libio/genops.c: Revert previous change.
52712 * libio/libioP.h: Likewise.
52713 * stdio-common/vfprintf.c: Likewise.
52714
52715 * sysdeps/generic/math_private.h: Revert previous
52716 change.
52717
52718 * sysdeps/generic/math_private.h: Check whether
52719 HAVE_RM_CTX is defined with #ifdef rather
52720 than #if.
52721
52722 * argp/argp-fmtstream.h: Check whether
52723 __STRICT_ANSI__ is defined with #ifdef rather
52724 than #if.
52725 * argp/argp.h: Likewise.
52726
52727 * libio/genops.c: Check whether
52728 _IO_JUMPS_OFFSET is defined with #ifdef rather
52729 than #if.
52730 * libio/libioP.h: Likewise.
52731 * stdio-common/vfprintf.c: Likewise.
52732
52733 * sysdeps/generic/ldsodefs.h: Check whether
52734 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
52735 than #if.
52736
52737 * nptl/sysdeps/pthread/pthread.h: Check
52738 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
52739 its value.
52740
52741 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
52742
52743 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
52744 setting O_APPEND.
52745 * libio/tst-ftell-active-handler.c (do_append_test): Add a
52746 test case.
52747
52748 [BZ #16680]
52749 * libio/fileops.c (_IO_file_open): Seek to end of file but
52750 don't cache the offset.
52751 (get_file_offset): Remove function.
52752 (do_ftell): Use cached offset when available.
52753 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
52754 don't cache the offset.
52755 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
52756 case.
52757 (do_one_test): Call it.
52758 (do_ftell_test): Fix up expected old offset for a+ mode.
52759 * libio/wfileops.c (do_ftell_wide): Used cached offset when
52760 available.
52761
52762 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
52763 up test status with function return status.
52764 (do_write_test): Likewise.
52765 (do_append_test): Likewise.
52766
52767 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
52768 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
52769 Remove.
52770
52771 2014-03-17 Joseph Myers <joseph@codesourcery.com>
52772
52773 * math/gen-libm-test.pl (parse_args): Handle results specified for
52774 each rounding mode separately.
52775 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
52776 tests and results from lrint_tonearest_test_data,
52777 lrint_towardzero_test_data, lrint_downward_test_data and
52778 lrint_upward_test_data.
52779 (lrint_test): Use ALL_RM_TEST.
52780 (lrint_tonearest_test_data): Remove.
52781 (lrint_test_tonearest): Likewise.
52782 (lrint_towardzero_test_data): Likewise.
52783 (lrint_test_towardzero): Likewise.
52784 (lrint_downward_test_data): Likewise.
52785 (lrint_test_downward): Likewise.
52786 (lrint_upward_test_data): Likewise.
52787 (lrint_test_upward): Likewise.
52788 (llrint_test_data): Merge in per-rounding-mode tests and results
52789 from llrint_tonearest_test_data, llrint_towardzero_test_data,
52790 llrint_downward_test_data and llrint_upward_test_data.
52791 (llrint_test): Use ALL_RM_TEST.
52792 (llrint_tonearest_test_data): Remove.
52793 (llrint_test_tonearest): Likewise.
52794 (llrint_towardzero_test_data): Likewise.
52795 (llrint_test_towardzero): Likewise.
52796 (llrint_downward_test_data): Likewise.
52797 (llrint_test_downward): Likewise.
52798 (llrint_upward_test_data): Likewise.
52799 (llrint_test_upward): Likewise.
52800 (rint_test_data): Merge in per-rounding-mode tests and results
52801 from rint_tonearest_test_data, rint_towardzero_test_data,
52802 rint_downward_test_data and rint_upward_test_data. Add
52803 per-rounding-mode results for tests not in those arrays.
52804 (rint_test): Use ALL_RM_TEST.
52805 (rint_tonearest_test_data): Remove.
52806 (rint_test_tonearest): Likewise.
52807 (rint_towardzero_test_data): Likewise.
52808 (rint_test_towardzero): Likewise.
52809 (rint_downward_test_data): Likewise.
52810 (rint_test_downward): Likewise.
52811 (rint_upward_test_data): Likewise.
52812 (rint_test_upward): Likewise.
52813 (main): Don't call removed functions.
52814
52815 2014-03-14 Roland McGrath <roland@hack.frob.com>
52816
52817 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
52818 "Compiled on ..." crapola. It is anti-useful.
52819
52820 2014-03-14 Joseph Myers <joseph@codesourcery.com>
52821
52822 * scripts/evaluate-test.sh: Handle fourth argument to determine
52823 whether test run should stop on failure.
52824 * Makeconfig (stop-on-test-failure): New variable.
52825 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
52826 $(stop-on-test-failure).
52827 * Makefile (tests): Give a summary of results from testing and
52828 exit with failure status if they include an ERROR or FAIL.
52829 (xtests): Likewise.
52830 * manual/install.texi (Configuring and compiling): Mention
52831 stop-on-test-failure=y.
52832 * INSTALL: Regenerated.
52833
52834 2014-03-14 Roland McGrath <roland@hack.frob.com>
52835
52836 * scripts/versionlist.awk: New file.
52837 * Makerules [$(build-shared) = yes]
52838 (postclean-generated): Add Versions.def, not Versions.def.v and
52839 Versions.def.v.i.
52840 ($(common-objpfx)Versions.def.v.i): Target removed.
52841 ($(common-objpfx)Versions.def): New target.
52842 ($(common-objpfx)Versions.all): Depend on that rather that
52843 $(common-objpfx)Versions.def.v.
52844 * Versions.def: File removed.
52845
52846 * Makeconfig (+gccwarn): Add -Wundef.
52847 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
52848 a dl-sysdep.h breaking its contract.
52849 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
52850 * include/stackinfo.h: New file.
52851 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
52852 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
52853 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
52854 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
52855 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
52856 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
52857 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52858 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52859 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52860 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52861 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52862 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
52863 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52864 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52865 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52866
52867 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52868
52869 [BZ #16707]
52870 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
52871 implementation.
52872 * math/libm-test.inc (round_test_data): Add more tests.
52873
52874 [BZ #16706]
52875 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
52876 implementation.
52877 * math/libm-test.inc (nearbyint_test_data): Add more tests.
52878
52879 [BZ #16701]
52880 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
52881 implementation.
52882 * math/libm-test.inc (ceil_test_data): Add more tests.
52883
52884 * math/libm-test.inc (trunc_test_data): Add more tests related to
52885 BZ#16414.
52886
52887 2014-03-14 Roland McGrath <roland@hack.frob.com>
52888
52889 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
52890 with #if rather than #ifdef.
52891 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
52892
52893 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
52894
52895 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
52896 first. Disable AVX-512 GCC support if assembler doesn't support
52897 it.
52898 * sysdeps/x86_64/configure: Regenerated.
52899
52900 2014-03-13 Carlos O'Donell <carlos@redhat.com>
52901
52902 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
52903 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
52904 (__old_pthread_attr_setstack): Likewise.
52905 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
52906 [!_STACK_GROWS_DOWN]: Likewise.
52907
52908 2014-03-13 Mike Frysinger <vapier@gentoo.org>
52909
52910 * config.make.in (have-bash2): Delete.
52911 * configure.ac (libc_cv_have_bash2): Delete.
52912 * configure: Regenerate.
52913 * elf/Makefile (common-ldd-rewrite): Rename to ...
52914 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
52915 (sh-ldd-rewrite): Delete.
52916 (bash-ldd-rewrite): Delete.
52917 (have-bash2): Delete checks.
52918 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
52919 ldd-rewrite.
52920
52921 * config.make.in (have-ksh): Delete.
52922 (KSH): Delete.
52923 * configure.ac (libc_cv_have_ksh): Delete.
52924 * configure: Regenerate.
52925
52926 * elf/Makefile: Delete $(have-ksh) check.
52927 ($(objpfx)sotruss): Change KSH to BASH.
52928 * elf/sotruss.ksh: Rename to ...
52929 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
52930 function style to match POSIX. Drop ksh vim mode setting.
52931
52932 * manual/time.texi (Specifying the Time Zone with TZ): Change
52933 Tuesday to Thursday.
52934
52935 * debug/tst-longjmp_chk2.c: Update header comment.
52936 (stackoverflow_handler): Add comment. Call assert on pass value.
52937
52938 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
52939
52940 [BZ #16194]
52941 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
52942 (HAVE_AVX512_ASM_SUPPORT): Likewise.
52943 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
52944 (La_x86_64_vector): Add zmm.
52945 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
52946 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
52947 ($(objpfx)tst-audit10): New target.
52948 ($(objpfx)tst-audit10.out): Likewise.
52949 (tst-audit10-ENV): New.
52950 (AVX512-CFLAGS): Likewise.
52951 (CFLAGS-tst-audit10.c): Likewise.
52952 (CFLAGS-tst-auditmod10a.c): Likewise.
52953 (CFLAGS-tst-auditmod10b.c): Likewise.
52954 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
52955 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
52956 * sysdeps/x86_64/configure: Regenerated.
52957 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
52958 AVX-512 zmm register support.
52959 (_dl_x86_64_save_sse): Likewise.
52960 (_dl_x86_64_restore_sse): Likewise.
52961 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
52962 size vector registers.
52963 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
52964 (ZMM_SIZE): Likewise.
52965 * sysdeps/x86_64/tst-audit10.c: New file.
52966 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
52967 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
52968
52969 2014-03-13 Roland McGrath <roland@hack.frob.com>
52970
52971 * configure.ac (HAVE_EHDR_START): New check.
52972 * configure: Regenerated.
52973 * config.h.in (HAVE_EHDR_START): New #undef.
52974 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
52975 assuming the lowest-addressed segment maps the start of the file.
52976
52977 2014-03-13 Joseph Myers <joseph@codesourcery.com>
52978
52979 * INSTALL: Regenerated.
52980
52981 2014-03-13 Will Newton <will.newton@linaro.org>
52982
52983 * manual/setjmp.texi (System V contexts): Improve
52984 clarity and grammar of documentation.
52985
52986 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
52987
52988 [BZ #16381]
52989 * elf/Makefile (tests): Add tst-pie2.
52990 (tests-pie): Add tst-pie2.
52991 * elf/tst-pie2.c: New file.
52992 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
52993 for ET_EXEC.
52994 * elf/rtld.c (map_doit): Load executable as lt_executable.
52995 (dl_main): Likewise.
52996
52997 2014-03-12 Joseph Myers <joseph@codesourcery.com>
52998
52999 [BZ #16642]
53000 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53001 (__ASSUME_PSELECT): Undefine.
53002
53003 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53004
53005 [BZ #16689]
53006 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
53007 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
53008 static build.
53009 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
53010 selector for static builds.
53011
53012 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
53013
53014 [BZ #16695]
53015 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
53016 key in the buffer.
53017
53018 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53019
53020 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
53021 IFUNC selector for static builds.
53022
53023 2014-03-11 Joseph Myers <joseph@codesourcery.com>
53024
53025 * sysdeps/mips/math_private.h [__mips_hard_float]
53026 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
53027 libc_feresetround_mips_ctx.
53028 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
53029 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
53030 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
53031
53032 [BZ #16677]
53033 * math/s_nextafter.c (__nextafter): Do not return value from
53034 overflowing computation.
53035 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
53036 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
53037 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
53038 Likewise.
53039 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
53040 Likewise.
53041 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
53042 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
53043
53044 2014-03-11 Roland McGrath <roland@hack.frob.com>
53045
53046 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
53047 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
53048 Move sfi_sp use from the load-multiple (that no longer sets sp) to
53049 the new mov targetting sp.
53050
53051 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53052
53053 [BZ #16683]
53054 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
53055 Define it for static builds as well.
53056 (NO_BZERO_IMPL): Likewise.
53057
53058 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
53059
53060 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
53061 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
53062 multiarch strspn for PPC64.
53063 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
53064 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
53065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53066 (__libc_ifunc_impl_list): Likewise.
53067 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
53068 multiarch optimizations
53069 * string/strspn.c (strspn): Using macro to redefine symbol name.
53070
53071 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
53072 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53073
53074 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
53075 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
53076 multiarch strncat for PPC64.
53077 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
53078 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
53079 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53080 (__libc_ifunc_impl_list): Likewise.
53081 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
53082 multiarch optimizations
53083
53084 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
53085
53086 [BZ #16639]
53087 * nscd/nscd.service: Make service type forking.
53088
53089 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53090
53091 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
53092 sign in non default rounding modes.
53093 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
53094
53095 2014-03-08 Joseph Myers <joseph@codesourcery.com>
53096
53097 * math/libm-test.inc (ALL_RM_TEST): New macro.
53098 (ceil_test): Use ALL_RM_TEST.
53099 (cimag_test): Likewise.
53100 (conj_test): Likewise.
53101 (copysign_test): Likewise.
53102 (cproj_test): Likewise.
53103 (creal_test): Likewise.
53104 (fabs_test): Likewise.
53105 (floor_test): Likewise.
53106 (fmax_test): Likewise.
53107 (fmin_test): Likewise.
53108 (fmod_test): Likewise.
53109 (fpclassify_test): Likewise.
53110 (frexp_test): Likewise.
53111 (ilogb_test): Likewise.
53112 (isfinite_test): Likewise.
53113 (finite_test): Likewise.
53114 (isgreater_test): Likewise.
53115 (isgreaterequal_test): Likewise.
53116 (isinf_test): Likewise.
53117 (isless_test): Likewise.
53118 (islessequal_test): Likewise.
53119 (islessgreater_test): Likewise.
53120 (isnan_test): Likewise.
53121 (isnormal_test): Likewise.
53122 (issignaling_test): Likewise.
53123 (isunordered_test): Likewise.
53124 (logb_test): Likewise.
53125 (logb_downward_test_data): Remove.
53126 (logb_test_downward): Likewise.
53127 (lround_test): Use ALL_RM_TEST.
53128 (llround_test): Likewise.
53129 (modf_test): Likewise.
53130 (nexttoward_test): Likewise.
53131 (remainder_test): Likewise.
53132 (drem_test): Likewise.
53133 (remainder_tonearest_test_data): Likewise.
53134 (remainder_test_tonearest): Likewise.
53135 (drem_test_tonearest): Likewise.
53136 (remainder_towardzero_test_data): Likewise.
53137 (remainder_test_towardzero): Likewise.
53138 (drem_test_towardzero): Likewise.
53139 (remainder_downward_test_data): Likewise.
53140 (remainder_test_downward): Likewise.
53141 (drem_test_downward): Likewise.
53142 (remainder_upward_test_data): Likewise.
53143 (remainder_test_upward): Likewise.
53144 (drem_test_upward): Likewise.
53145 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
53146 (round_test): Use ALL_RM_TEST.
53147 (signbit_test): Likewise.
53148 (trunc_test): Likewise.
53149 (significand_test): Likewise.
53150 (main): Don't call removed functions.
53151
53152 2014-03-07 Joseph Myers <joseph@codesourcery.com>
53153
53154 [BZ #16674]
53155 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
53156 || __USE_XOPEN2K8].
53157 (ILL_ILLOPN): Likewise.
53158 (ILL_ILLADR): Likewise.
53159 (ILL_ILLTRP): Likewise.
53160 (ILL_PRVOPC): Likewise.
53161 (ILL_PRVREG): Likewise.
53162 (ILL_COPROC): Likewise.
53163 (ILL_BADSTK): Likewise.
53164 (FPE_INTDIV): Likewise.
53165 (FPE_INTOVF): Likewise.
53166 (FPE_FLTDIV): Likewise.
53167 (FPE_FLTOVF): Likewise.
53168 (FPE_FLTUND): Likewise.
53169 (FPE_FLTRES): Likewise.
53170 (FPE_FLTINV): Likewise.
53171 (FPE_FLTSUB): Likewise.
53172 (SEGV_MAPERR): Likewise.
53173 (SEGV_ACCERR): Likewise.
53174 (BUS_ADRALN): Likewise.
53175 (BUS_ADRERR): Likewise.
53176 (BUS_OBJERR): Likewise.
53177 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53178 (TRAP_TRACE): Likewise.
53179 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53180 __USE_XOPEN2K8].
53181 (CLD_KILLED): Likewise.
53182 (CLD_DUMPED): Likewise.
53183 (CLD_TRAPPED): Likewise.
53184 (CLD_STOPPED): Likewise.
53185 (CLD_CONTINUED): Likewise.
53186 (POLL_IN): Likewise.
53187 (POLL_OUT): Likewise.
53188 (POLL_MSG): Likewise.
53189 (POLL_ERR): Likewise.
53190 (POLL_PRI): Likewise.
53191 (POLL_HUP): Likewise.
53192 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
53193 Likewise.
53194 (ILL_ILLOPN): Likewise.
53195 (ILL_ILLADR): Likewise.
53196 (ILL_ILLTRP): Likewise.
53197 (ILL_PRVOPC): Likewise.
53198 (ILL_PRVREG): Likewise.
53199 (ILL_COPROC): Likewise.
53200 (ILL_BADSTK): Likewise.
53201 (FPE_INTDIV): Likewise.
53202 (FPE_INTOVF): Likewise.
53203 (FPE_FLTDIV): Likewise.
53204 (FPE_FLTOVF): Likewise.
53205 (FPE_FLTUND): Likewise.
53206 (FPE_FLTRES): Likewise.
53207 (FPE_FLTINV): Likewise.
53208 (FPE_FLTSUB): Likewise.
53209 (SEGV_MAPERR): Likewise.
53210 (SEGV_ACCERR): Likewise.
53211 (BUS_ADRALN): Likewise.
53212 (BUS_ADRERR): Likewise.
53213 (BUS_OBJERR): Likewise.
53214 (BUS_MCEERR_AR): Likewise.
53215 (BUS_MCEERR_AO): Likewise.
53216 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53217 (TRAP_TRACE): Likewise.
53218 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53219 __USE_XOPEN2K8].
53220 (CLD_KILLED): Likewise.
53221 (CLD_DUMPED): Likewise.
53222 (CLD_TRAPPED): Likewise.
53223 (CLD_STOPPED): Likewise.
53224 (CLD_CONTINUED): Likewise.
53225 (POLL_IN): Likewise.
53226 (POLL_OUT): Likewise.
53227 (POLL_MSG): Likewise.
53228 (POLL_ERR): Likewise.
53229 (POLL_PRI): Likewise.
53230 (POLL_HUP): Likewise.
53231 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
53232 (ILL_ILLOPN): Likewise.
53233 (ILL_ILLADR): Likewise.
53234 (ILL_ILLTRP): Likewise.
53235 (ILL_PRVOPC): Likewise.
53236 (ILL_PRVREG): Likewise.
53237 (ILL_COPROC): Likewise.
53238 (ILL_BADSTK): Likewise.
53239 (FPE_INTDIV): Likewise.
53240 (FPE_INTOVF): Likewise.
53241 (FPE_FLTDIV): Likewise.
53242 (FPE_FLTOVF): Likewise.
53243 (FPE_FLTUND): Likewise.
53244 (FPE_FLTRES): Likewise.
53245 (FPE_FLTINV): Likewise.
53246 (FPE_FLTSUB): Likewise.
53247 (SEGV_MAPERR): Likewise.
53248 (SEGV_ACCERR): Likewise.
53249 (BUS_ADRALN): Likewise.
53250 (BUS_ADRERR): Likewise.
53251 (BUS_OBJERR): Likewise.
53252 (BUS_MCEERR_AR): Likewise.
53253 (BUS_MCEERR_AO): Likewise.
53254 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53255 (TRAP_TRACE): Likewise.
53256 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53257 __USE_XOPEN2K8].
53258 (CLD_KILLED): Likewise.
53259 (CLD_DUMPED): Likewise.
53260 (CLD_TRAPPED): Likewise.
53261 (CLD_STOPPED): Likewise.
53262 (CLD_CONTINUED): Likewise.
53263 (POLL_IN): Likewise.
53264 (POLL_OUT): Likewise.
53265 (POLL_MSG): Likewise.
53266 (POLL_ERR): Likewise.
53267 (POLL_PRI): Likewise.
53268 (POLL_HUP): Likewise.
53269 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
53270 Likewise.
53271 (ILL_ILLOPN): Likewise.
53272 (ILL_ILLADR): Likewise.
53273 (ILL_ILLTRP): Likewise.
53274 (ILL_PRVOPC): Likewise.
53275 (ILL_PRVREG): Likewise.
53276 (ILL_COPROC): Likewise.
53277 (ILL_BADSTK): Likewise.
53278 (ILL_BADIADDR): Likewise.
53279 (ILL_BREAK): Likewise.
53280 (FPE_INTDIV): Likewise.
53281 (FPE_INTOVF): Likewise.
53282 (FPE_FLTDIV): Likewise.
53283 (FPE_FLTOVF): Likewise.
53284 (FPE_FLTUND): Likewise.
53285 (FPE_FLTRES): Likewise.
53286 (FPE_FLTINV): Likewise.
53287 (FPE_FLTSUB): Likewise.
53288 (FPE_DECOVF): Likewise.
53289 (FPE_DECDIV): Likewise.
53290 (FPE_DECERR): Likewise.
53291 (FPE_INVASC): Likewise.
53292 (FPE_INVDEC): Likewise.
53293 (SEGV_MAPERR): Likewise.
53294 (SEGV_ACCERR): Likewise.
53295 (SEGV_PSTKOVF): Likewise.
53296 (BUS_ADRALN): Likewise.
53297 (BUS_ADRERR): Likewise.
53298 (BUS_OBJERR): Likewise.
53299 (BUS_MCEERR_AR): Likewise.
53300 (BUS_MCEERR_AO): Likewise.
53301 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53302 (TRAP_TRACE): Likewise.
53303 (TRAP_BRANCH): Likewise.
53304 (TRAP_HWBKPT): Likewise.
53305 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53306 __USE_XOPEN2K8].
53307 (CLD_KILLED): Likewise.
53308 (CLD_DUMPED): Likewise.
53309 (CLD_TRAPPED): Likewise.
53310 (CLD_STOPPED): Likewise.
53311 (CLD_CONTINUED): Likewise.
53312 (POLL_IN): Likewise.
53313 (POLL_OUT): Likewise.
53314 (POLL_MSG): Likewise.
53315 (POLL_ERR): Likewise.
53316 (POLL_PRI): Likewise.
53317 (POLL_HUP): Likewise.
53318 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
53319 (ILL_ILLOPN): Likewise.
53320 (ILL_ILLADR): Likewise.
53321 (ILL_ILLTRP): Likewise.
53322 (ILL_PRVOPC): Likewise.
53323 (ILL_PRVREG): Likewise.
53324 (ILL_COPROC): Likewise.
53325 (ILL_BADSTK): Likewise.
53326 (FPE_INTDIV): Likewise.
53327 (FPE_INTOVF): Likewise.
53328 (FPE_FLTDIV): Likewise.
53329 (FPE_FLTOVF): Likewise.
53330 (FPE_FLTUND): Likewise.
53331 (FPE_FLTRES): Likewise.
53332 (FPE_FLTINV): Likewise.
53333 (FPE_FLTSUB): Likewise.
53334 (SEGV_MAPERR): Likewise.
53335 (SEGV_ACCERR): Likewise.
53336 (BUS_ADRALN): Likewise.
53337 (BUS_ADRERR): Likewise.
53338 (BUS_OBJERR): Likewise.
53339 (BUS_MCEERR_AR): Likewise.
53340 (BUS_MCEERR_AO): Likewise.
53341 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53342 (TRAP_TRACE): Likewise.
53343 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53344 __USE_XOPEN2K8].
53345 (CLD_KILLED): Likewise.
53346 (CLD_DUMPED): Likewise.
53347 (CLD_TRAPPED): Likewise.
53348 (CLD_STOPPED): Likewise.
53349 (CLD_CONTINUED): Likewise.
53350 (POLL_IN): Likewise.
53351 (POLL_OUT): Likewise.
53352 (POLL_MSG): Likewise.
53353 (POLL_ERR): Likewise.
53354 (POLL_PRI): Likewise.
53355 (POLL_HUP): Likewise.
53356 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
53357 (ILL_ILLOPN): Likewise.
53358 (ILL_ILLADR): Likewise.
53359 (ILL_ILLTRP): Likewise.
53360 (ILL_PRVOPC): Likewise.
53361 (ILL_PRVREG): Likewise.
53362 (ILL_COPROC): Likewise.
53363 (ILL_BADSTK): Likewise.
53364 (FPE_INTDIV): Likewise.
53365 (FPE_INTOVF): Likewise.
53366 (FPE_FLTDIV): Likewise.
53367 (FPE_FLTOVF): Likewise.
53368 (FPE_FLTUND): Likewise.
53369 (FPE_FLTRES): Likewise.
53370 (FPE_FLTINV): Likewise.
53371 (FPE_FLTSUB): Likewise.
53372 (SEGV_MAPERR): Likewise.
53373 (SEGV_ACCERR): Likewise.
53374 (BUS_ADRALN): Likewise.
53375 (BUS_ADRERR): Likewise.
53376 (BUS_OBJERR): Likewise.
53377 (BUS_MCEERR_AR): Likewise.
53378 (BUS_MCEERR_AO): Likewise.
53379 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53380 (TRAP_TRACE): Likewise.
53381 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53382 __USE_XOPEN2K8].
53383 (CLD_KILLED): Likewise.
53384 (CLD_DUMPED): Likewise.
53385 (CLD_TRAPPED): Likewise.
53386 (CLD_STOPPED): Likewise.
53387 (CLD_CONTINUED): Likewise.
53388 (POLL_IN): Likewise.
53389 (POLL_OUT): Likewise.
53390 (POLL_MSG): Likewise.
53391 (POLL_ERR): Likewise.
53392 (POLL_PRI): Likewise.
53393 (POLL_HUP): Likewise.
53394 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
53395 (ILL_ILLOPN): Likewise.
53396 (ILL_ILLADR): Likewise.
53397 (ILL_ILLTRP): Likewise.
53398 (ILL_PRVOPC): Likewise.
53399 (ILL_PRVREG): Likewise.
53400 (ILL_COPROC): Likewise.
53401 (ILL_BADSTK): Likewise.
53402 (FPE_INTDIV): Likewise.
53403 (FPE_INTOVF): Likewise.
53404 (FPE_FLTDIV): Likewise.
53405 (FPE_FLTOVF): Likewise.
53406 (FPE_FLTUND): Likewise.
53407 (FPE_FLTRES): Likewise.
53408 (FPE_FLTINV): Likewise.
53409 (FPE_FLTSUB): Likewise.
53410 (SEGV_MAPERR): Likewise.
53411 (SEGV_ACCERR): Likewise.
53412 (BUS_ADRALN): Likewise.
53413 (BUS_ADRERR): Likewise.
53414 (BUS_OBJERR): Likewise.
53415 (BUS_MCEERR_AR): Likewise.
53416 (BUS_MCEERR_AO): Likewise.
53417 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53418 (TRAP_TRACE): Likewise.
53419 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53420 __USE_XOPEN2K8].
53421 (CLD_KILLED): Likewise.
53422 (CLD_DUMPED): Likewise.
53423 (CLD_TRAPPED): Likewise.
53424 (CLD_STOPPED): Likewise.
53425 (CLD_CONTINUED): Likewise.
53426 (POLL_IN): Likewise.
53427 (POLL_OUT): Likewise.
53428 (POLL_MSG): Likewise.
53429 (POLL_ERR): Likewise.
53430 (POLL_PRI): Likewise.
53431 (POLL_HUP): Likewise.
53432 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
53433 (ILL_ILLOPN): Likewise.
53434 (ILL_ILLADR): Likewise.
53435 (ILL_ILLTRP): Likewise.
53436 (ILL_PRVOPC): Likewise.
53437 (ILL_PRVREG): Likewise.
53438 (ILL_COPROC): Likewise.
53439 (ILL_BADSTK): Likewise.
53440 (ILL_DBLFLT): Likewise.
53441 (ILL_HARDWALL): Likewise.
53442 (FPE_INTDIV): Likewise.
53443 (FPE_INTOVF): Likewise.
53444 (FPE_FLTDIV): Likewise.
53445 (FPE_FLTOVF): Likewise.
53446 (FPE_FLTUND): Likewise.
53447 (FPE_FLTRES): Likewise.
53448 (FPE_FLTINV): Likewise.
53449 (FPE_FLTSUB): Likewise.
53450 (SEGV_MAPERR): Likewise.
53451 (SEGV_ACCERR): Likewise.
53452 (BUS_ADRALN): Likewise.
53453 (BUS_ADRERR): Likewise.
53454 (BUS_OBJERR): Likewise.
53455 (BUS_MCEERR_AR): Likewise.
53456 (BUS_MCEERR_AO): Likewise.
53457 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53458 (TRAP_TRACE): Likewise.
53459 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53460 __USE_XOPEN2K8].
53461 (CLD_KILLED): Likewise.
53462 (CLD_DUMPED): Likewise.
53463 (CLD_TRAPPED): Likewise.
53464 (CLD_STOPPED): Likewise.
53465 (CLD_CONTINUED): Likewise.
53466 (POLL_IN): Likewise.
53467 (POLL_OUT): Likewise.
53468 (POLL_MSG): Likewise.
53469 (POLL_ERR): Likewise.
53470 (POLL_PRI): Likewise.
53471 (POLL_HUP): Likewise.
53472 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
53473 (ILL_ILLOPN): Likewise.
53474 (ILL_ILLADR): Likewise.
53475 (ILL_ILLTRP): Likewise.
53476 (ILL_PRVOPC): Likewise.
53477 (ILL_PRVREG): Likewise.
53478 (ILL_COPROC): Likewise.
53479 (ILL_BADSTK): Likewise.
53480 (FPE_INTDIV): Likewise.
53481 (FPE_INTOVF): Likewise.
53482 (FPE_FLTDIV): Likewise.
53483 (FPE_FLTOVF): Likewise.
53484 (FPE_FLTUND): Likewise.
53485 (FPE_FLTRES): Likewise.
53486 (FPE_FLTINV): Likewise.
53487 (FPE_FLTSUB): Likewise.
53488 (SEGV_MAPERR): Likewise.
53489 (SEGV_ACCERR): Likewise.
53490 (BUS_ADRALN): Likewise.
53491 (BUS_ADRERR): Likewise.
53492 (BUS_OBJERR): Likewise.
53493 (BUS_MCEERR_AR): Likewise.
53494 (BUS_MCEERR_AO): Likewise.
53495 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53496 (TRAP_TRACE): Likewise.
53497 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53498 __USE_XOPEN2K8].
53499 (CLD_KILLED): Likewise.
53500 (CLD_DUMPED): Likewise.
53501 (CLD_TRAPPED): Likewise.
53502 (CLD_STOPPED): Likewise.
53503 (CLD_CONTINUED): Likewise.
53504 (POLL_IN): Likewise.
53505 (POLL_OUT): Likewise.
53506 (POLL_MSG): Likewise.
53507 (POLL_ERR): Likewise.
53508 (POLL_PRI): Likewise.
53509 (POLL_HUP): Likewise.
53510 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
53511 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
53512
53513 [BZ #16670]
53514 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
53515 before #include of <time.h>.
53516 [!__USE_XOPEN2K] (__need_timespec): Likewise.
53517 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
53518 (test-xfail-UNIX98/sched.h/conform): Likewise.
53519
53520 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
53521
53522 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
53523 error absence of trapping exception support.
53524 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53525
53526 2014-03-07 Joseph Myers <joseph@codesourcery.com>
53527
53528 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
53529 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
53530 * timezone/Makefile (testdata): Move definition above include of
53531 Rules.
53532 (test-zones): New variable.
53533 (tests-special): Add zone files.
53534 (build-testdata): Use $(evaluate-test).
53535
53536 * elf/Makefile (tests-special): Rename tests to end with .out.
53537 ($(objpfx)noload-mem): Likewise.
53538 ($(objpfx)tst-leaks1-mem): Likewise.
53539 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
53540 * iconv/Makefile (xtests-special): Change test-iconvconfig to
53541 $(objpfx)test-iconvconfig.out.
53542 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
53543 set -e inside subshell and redirect output to file.
53544 * iconvdata/Makefile (generated): Rename tests to end with .out.
53545 Correct type.
53546 (tests-special): Rename tests to end with .out.
53547 ($(objpfx)mtrace-tst-loading): Likewise.
53548 * intl/Makefile (generated): Likewise.
53549 (tests-special): Likewise.
53550 ($(objpfx)mtrace-tst-gettext): Likewise.
53551 * misc/Makefile (generated): Likewise.
53552 (tests-special): Likewise.
53553 ($(objpfx)tst-error1-mem): Likewise.
53554 * nptl/Makefile (tests-special): Likewise.
53555 ($(objpfx)tst-stack3-mem): Likewise.
53556 (generated): Likewise.
53557 * posix/Makefile (generated): Likewise.
53558 (tests-special): Likewise.
53559 (xtests-special): Likewise.
53560 ($(objpfx)tst-fnmatch-mem): Likewise.
53561 ($(objpfx)bug-regex2-mem): Likewise.
53562 ($(objpfx)bug-regex14-mem): Likewise.
53563 ($(objpfx)bug-regex21-mem): Likewise.
53564 ($(objpfx)bug-regex31-mem): Likewise.
53565 ($(objpfx)tst-vfork3-mem): Likewise.
53566 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
53567 ($(objpfx)tst-pcre-mem): Likewise.
53568 ($(objpfx)tst-boost-mem): Likewise.
53569 ($(objpfx)bug-ga2-mem): Likewise.
53570 ($(objpfx)bug-glob2-mem): Likewise.
53571 * resolv/Makefile (generate): Likewise.
53572 (tests-special): Likewise.
53573 (xtests-special): Likewise.
53574 (generated): Likewise.
53575 ($(objpfx)mtrace-tst-leaks): Likewise.
53576 ($(objpfx)mtrace-tst-leaks2): Likewise.
53577
53578 * scripts/merge-test-results.sh: New file.
53579 * Makefile (tests-special-notdir): New variable.
53580 (tests): Run merge-test-results.sh.
53581 (xtests): Likewise.
53582 * Rules (tests-special-notdir): New variable.
53583 (xtests-special-notdir): Likewise.
53584 (tests): Run merge-test-results.sh
53585 (xtests): Likewise.
53586
53587 * Makeconfig (test-xfail-name): New variable.
53588 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
53589 compute variable name for expected failures.
53590 * conform/Makefile (conformtest-headers-data): New variable.
53591 (conformtest-standards): Likewise.
53592 (conformtest-headers-ISO): Likewise.
53593 (conformtest-headers-ISO99): Likewise.
53594 (conformtest-headers-ISO11): Likewise.
53595 (conformtest-headers-POSIX): Likewise.
53596 (conformtest-headers-XPG3): Likewise.
53597 (conformtest-headers-XPG4): Likewise.
53598 (conformtest-headers-UNIX98): Likewise.
53599 (conformtest-headers-XOPEN2K): Likewise.
53600 (conformtest-headers-POSIX2008): Likewise.
53601 (conformtest-headers-XOPEN2K8): Likewise.
53602 (conformtest-header-list-base): Likewise.
53603 (conformtest-header-list-tests): Likewise.
53604 (conformtest-header-base): Likewise.
53605 (conformtest-header-tests): Likewise.
53606 (tests-special): Add $(conformtest-header-list-tests). If
53607 [$(fast-check) && !$(cross-compiling)], add
53608 $(conformtest-header-tests) instead of
53609 $(objpfx)run-conformtest.out.
53610 (generated): Add $(conformtest-header-list-base). If
53611 [$(fast-check) && !$(cross-compiling)], add
53612 $(conformtest-header-base). Remove previous setting.
53613 ($(conformtest-header-list-tests)): New target.
53614 (test-xfail-run-conformtest): Remove variable.
53615 ($(objpfx)run-conformtest.out): Remove target.
53616 (test-xfail-ISO11/complex.h/conform): New variable.
53617 (test-xfail-ISO11/stdalign.h/conform): Likewise.
53618 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
53619 (test-xfail-XPG3/varargs.h/conform): Likewise.
53620 (test-xfail-XPG4/varargs.h/conform): Likewise.
53621 (test-xfail-UNIX98/varargs.h/conform): Likewise.
53622 (test-xfail-XPG4/ndbm.h/conform): Likewise.
53623 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
53624 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
53625 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
53626 (test-xfail-XPG3/fcntl.h/conform): Likewise.
53627 (test-xfail-XPG3/ftw.h/conform): Likewise.
53628 (test-xfail-XPG3/grp.h/conform): Likewise.
53629 (test-xfail-XPG3/langinfo.h/conform): Likewise.
53630 (test-xfail-XPG3/limits.h/conform): Likewise.
53631 (test-xfail-XPG3/pwd.h/conform): Likewise.
53632 (test-xfail-XPG3/search.h/conform): Likewise.
53633 (test-xfail-XPG3/signal.h/conform): Likewise.
53634 (test-xfail-XPG3/stdio.h/conform): Likewise.
53635 (test-xfail-XPG3/stdlib.h/conform): Likewise.
53636 (test-xfail-XPG3/string.h/conform): Likewise.
53637 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
53638 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
53639 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
53640 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
53641 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
53642 (test-xfail-XPG3/sys/types.h/conform): Likewise.
53643 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
53644 (test-xfail-XPG3/termios.h/conform): Likewise.
53645 (test-xfail-XPG3/time.h/conform): Likewise.
53646 (test-xfail-XPG3/unistd.h/conform): Likewise.
53647 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
53648 (test-xfail-XPG4/fcntl.h/conform): Likewise.
53649 (test-xfail-XPG4/langinfo.h/conform): Likewise.
53650 (test-xfail-XPG4/netdb.h/conform): Likewise.
53651 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
53652 (test-xfail-XPG4/signal.h/conform): Likewise.
53653 (test-xfail-XPG4/stdio.h/conform): Likewise.
53654 (test-xfail-XPG4/stdlib.h/conform): Likewise.
53655 (test-xfail-XPG4/stropts.h/conform): Likewise.
53656 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
53657 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
53658 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
53659 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
53660 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
53661 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
53662 (test-xfail-XPG4/sys/time.h/conform): Likewise.
53663 (test-xfail-XPG4/sys/types.h/conform): Likewise.
53664 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
53665 (test-xfail-XPG4/termios.h/conform): Likewise.
53666 (test-xfail-XPG4/ucontext.h/conform): Likewise.
53667 (test-xfail-XPG4/unistd.h/conform): Likewise.
53668 (test-xfail-XPG4/utmpx.h/conform): Likewise.
53669 (test-xfail-POSIX/sched.h/conform): Likewise.
53670 (test-xfail-POSIX/signal.h/conform): Likewise.
53671 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
53672 (test-xfail-POSIX/tar.h/conform): Likewise.
53673 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
53674 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
53675 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
53676 (test-xfail-UNIX98/netdb.h/conform): Likewise.
53677 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
53678 (test-xfail-UNIX98/sched.h/conform): Likewise.
53679 (test-xfail-UNIX98/signal.h/conform): Likewise.
53680 (test-xfail-UNIX98/stdio.h/conform): Likewise.
53681 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
53682 (test-xfail-UNIX98/stropts.h/conform): Likewise.
53683 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
53684 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
53685 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
53686 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
53687 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
53688 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
53689 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
53690 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
53691 (test-xfail-UNIX98/unistd.h/conform): Likewise.
53692 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
53693 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
53694 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
53695 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
53696 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
53697 (test-xfail-XOPEN2K/math.h/conform): Likewise.
53698 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
53699 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
53700 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
53701 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
53702 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
53703 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
53704 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
53705 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
53706 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
53707 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
53708 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
53709 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
53710 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
53711 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
53712 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
53713 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
53714 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
53715 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
53716 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
53717 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
53718 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
53719 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
53720 (test-xfail-POSIX2008/signal.h/conform): Likewise.
53721 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
53722 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
53723 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
53724 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
53725 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
53726 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
53727 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
53728 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
53729 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
53730 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
53731 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
53732 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
53733 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
53734 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
53735 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
53736 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
53737 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
53738 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
53739 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
53740 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
53741 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
53742 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
53743 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
53744 (conformtest-cc-flags): Likewise.
53745 ($(conformtest-header-tests): New target.
53746 * conform/check-header-lists.sh: New file.
53747 * conform/run-conformtest.sh: Remove.
53748
53749 * conform/conformtest.pl: Allow ' and \ in values given for
53750 constants.
53751 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
53752 inclusion.
53753 [POSIX] (sys/types.h): Likewise.
53754 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
53755 inclusion.
53756 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
53757 inclusion.
53758 * conform/data/signal.h-data (SIGIO): Remove expectation.
53759 [XPG3] (SIGBUS): Do not expect.
53760 [POSIX || XPG3] (SIGPOLL): Likewise.
53761 [POSIX || XPG3] (SIGPROF): Likewise.
53762 [POSIX || XPG3] (SIGSYS): Likewise.
53763 [XPG3] (SIGTRAP): Likewise.
53764 [POSIX || XPG3] (SIGURG): Likewise.
53765 [POSIX || XPG3] (SIGVTALRM): Likewise.
53766 [POSIX || XPG3] (SIGXCPU): Likewise.
53767 [POSIX || XPG3] (SIGXFSZ): Likewise.
53768 [POSIX] (SA_SIGINFO): Expect.
53769 [XPG3] (siginfo_t): Do not expect type or contents.
53770 [POSIX] (si_pid): Do not expect element.
53771 [POSIX] (si_uid): Likewise.
53772 [POSIX] (si_addr): Likewise.
53773 [POSIX] (si_status): Likewise.
53774 [POSIX] (si_band): Likewise.
53775 [XPG4] (si_value): Likewise.
53776 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
53777 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
53778 [POSIX || XPG3] (ILL_ILLADR): Likewise.
53779 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
53780 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
53781 [POSIX || XPG3] (ILL_PRVREG): Likewise.
53782 [POSIX || XPG3] (ILL_COPROC): Likewise.
53783 [POSIX || XPG3] (ILL_BADSTK): Likewise.
53784 [POSIX || XPG3] (FPE_INTDIV): Likewise.
53785 [POSIX || XPG3] (FPE_INTOVF): Likewise.
53786 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
53787 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
53788 [POSIX || XPG3] (FPE_FLTUND): Likewise.
53789 [POSIX || XPG3] (FPE_FLTRES): Likewise.
53790 [POSIX || XPG3] (FPE_FLTINV): Likewise.
53791 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
53792 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
53793 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
53794 [POSIX || XPG3] (BUS_ADRALN): Likewise.
53795 [POSIX || XPG3] (BUS_ADRERR): Likewise.
53796 [POSIX || XPG3] (BUS_OBJERR): Likewise.
53797 [POSIX || XPG3] (CLD_EXITED): Likewise.
53798 [POSIX || XPG3] (CLD_KILLED): Likewise.
53799 [POSIX || XPG3] (CLD_DUMPED): Likewise.
53800 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
53801 [POSIX || XPG3] (CLD_STOPPED): Likewise.
53802 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
53803 [POSIX || XPG3] (POLL_IN): Likewise.
53804 [POSIX || XPG3] (POLL_OUT): Likewise.
53805 [POSIX || XPG3] (POLL_MSG): Likewise.
53806 [POSIX || XPG3] (POLL_ERR): Likewise.
53807 [POSIX || XPG3] (POLL_PRI): Likewise.
53808 [POSIX || XPG3] (POLL_HUP): Likewise.
53809 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
53810 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
53811 (SIG*): Do not allow.
53812 [XPG3] (si_*): Likewise.
53813 [XPG3] (SI_*): Likewise.
53814 [XPG3 || XPG4] (sigev_*): Likewise.
53815 [XPG3 || XPG4] (SIGEV_*): Likewise.
53816 [XPG3 || XPG4] (sival_*): Likewise.
53817 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
53818 [POSIX || XPG3] (BUS_*): Likewise.
53819 [POSIX || XPG3] (CLD_*): Likewise.
53820 [POSIX || XPG3] (FPE_*): Likewise.
53821 [POSIX || XPG3] (ILL_*): Likewise.
53822 [POSIX || XPG3] (POLL_*): Likewise.
53823 [POSIX || XPG3] (SEGV_*): Likewise.
53824 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
53825 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
53826 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
53827 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
53828 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
53829 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
53830 Specify type and value.
53831 (TVERSLEN): Likewise.
53832 (REGTYPE): Likewise.
53833 (AREGTYPE): Likewise.
53834 (LNKTYPE): Likewise.
53835 (SYMTYPE): Likewise.
53836 (CHRTYPE): Likewise.
53837 (BLKTYPE): Likewise.
53838 (DIRTYPE): Likewise.
53839 (FIFOTYPE): Likewise.
53840 (CONTTYPE): Likewise.
53841 (TSUID): Likewise.
53842 (TSGID): Likewise.
53843 (TSVTX): Likewise.
53844 (TUREAD): Likewise.
53845 (TUWRITE): Likewise.
53846 (TUEXEC): Likewise.
53847 (TGREAD): Likewise.
53848 (TGWRITE): Likewise.
53849 (TGEXEC): Likewise.
53850 (TOREAD): Likewise.
53851 (TOWRITE): Likewise.
53852 (TOEXEC): Likewise.
53853 [POSIX] (TSVTX): Expect constant.
53854
53855 2014-03-06 Joseph Myers <joseph@codesourcery.com>
53856
53857 * Makefile (tests): Change dependencies to ....
53858 (tests-special): ... additions to this variable.
53859 (tests): Depend on $(tests-special).
53860 * Makerules (check-abi-list): New variable.
53861 (check-abi): Depend on $(check-abi-list).
53862 [$(subdir) = elf] (tests-special): Add
53863 $(objpfx)check-abi-libc.out.
53864 [$(build-shared) = yes && subdir] (tests-special): Add
53865 $(check-abi-list).
53866 [$(build-shared) = yes && subdir] (tests): Do not depend on
53867 check-abi.
53868 * Rules (tests): Depend on $(tests-special).
53869 (xtests): Depend on $(xtests-special).
53870 * catgets/Makefile (tests): Change dependencies to ....
53871 (tests-special): ... additions to this variable.
53872 * conform/Makefile (tests): Change dependencies to ....
53873 (tests-special): ... additions to this variable.
53874 * elf/Makefile (tests): Change dependencies to ....
53875 (tests-special): ... additions to this variable.
53876 * grp/Makefile (tests): Change dependencies to ....
53877 (tests-special): ... additions to this variable.
53878 * iconv/Makefile (xtests): Change dependencies to ....
53879 (xtests-special): ... additions to this variable.
53880 * iconvdata/Makefile (tests): Change dependencies to ....
53881 (tests-special): ... additions to this variable.
53882 * intl/Makefile (tests): Change dependencies to ....
53883 (tests-special): ... additions to this variable. Also add
53884 $(objpfx)tst-gettext.out.
53885 * io/Makefile (tests): Change dependencies to ....
53886 (tests-special): ... additions to this variable.
53887 * libio/Makefile (tests): Change dependencies to ....
53888 (tests-special): ... additions to this variable.
53889 * malloc/Makefile (tests): Change dependencies to ....
53890 (tests-special): ... additions to this variable.
53891 * misc/Makefile (tests): Change dependencies to ....
53892 (tests-special): ... additions to this variable.
53893 * nptl/Makefile (tests): Change dependencies to ....
53894 (tests-special): ... additions to this variable.
53895 * nptl_db/Makefile (tests): Change dependencies to ....
53896 (tests-special): ... additions to this variable.
53897 * posix/Makefile (tests): Change dependencies to ....
53898 (tests-special): ... additions to this variable.
53899 (xtests): Change dependencies to ....
53900 (xtests-special): ... additions to this variable.
53901 * resolv/Makefile (tests): Change dependencies to ....
53902 (tests-special): ... additions to this variable.
53903 (xtests): Change dependencies to ....
53904 (xtests-special): ... additions to this variable.
53905 * stdio-common/Makefile (tests): Change dependencies to ....
53906 (tests-special): ... additions to this variable.
53907 (do-tst-unbputc): Remove target.
53908 (do-tst-printf): Likewise.
53909 * stdlib/Makefile (tests): Change dependencies to ....
53910 (tests-special): ... additions to this variable.
53911 * string/Makefile (tests): Change dependencies to ....
53912 (tests-special): ... additions to this variable.
53913 * sysdeps/x86/Makefile (tests): Change dependencies to ....
53914 (tests-special): ... additions to this variable.
53915
53916 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
53917 whole file.
53918 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
53919 whole file.
53920 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
53921 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
53922
53923 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
53924 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
53925 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
53926 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
53927 * conform/data/libgen.h-data [XPG3]: Likewise.
53928 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
53929 * conform/data/ndbm.h-data [XPG3]: Likewise.
53930 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
53931 * conform/data/netdb.h-data [XPG3]: Likewise.
53932 * conform/data/netinet/in.h-data [XPG3]: Likewise.
53933 * conform/data/poll.h-data [XPG3]: Likewise.
53934 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
53935 * conform/data/strings.h-data [XPG3]: Likewise.
53936 * conform/data/stropts.h-data [XPG3]: Likewise.
53937 * conform/data/sys/mman.h-data [XPG3]: Likewise.
53938 * conform/data/sys/resource.h-data [XPG3]: Likewise.
53939 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
53940 Likewise.
53941 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
53942 * conform/data/sys/time.h-data [XPG3]: Likewise.
53943 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
53944 * conform/data/sys/uio.h-data [XPG3]: Likewise.
53945 * conform/data/sys/un.h-data [XPG3]: Likewise.
53946 * conform/data/syslog.h-data [XPG3]: Likewise.
53947 * conform/data/ucontext.h-data [XPG3]: Likewise.
53948 * conform/data/utmpx.h-data [XPG3]: Likewise.
53949 * conform/data/varargs.h-data [UNIX98]: Enable file.
53950
53951 * manual/Makefile (INSTALL_INFO): Remove variable setting.
53952
53953 * math/libm-test.inc (struct test_f_f_data): Move expected results
53954 into structure for each rounding mode.
53955 (struct test_ff_f_data): Likewise.
53956 (struct test_ff_f_data_nexttoward): Likewise.
53957 (struct test_fi_f_data): Likewise.
53958 (struct test_fl_f_data): Likewise.
53959 (struct test_if_f_data): Likewise.
53960 (struct test_fff_f_data): Likewise.
53961 (struct test_c_f_data): Likewise.
53962 (struct test_f_f1_data): Likewise.
53963 (struct test_fF_f1_data): Likewise.
53964 (struct test_ffI_f1_data): Likewise.
53965 (struct test_c_c_data): Likewise.
53966 (struct test_cc_c_data): Likewise.
53967 (struct test_f_i_data): Likewise.
53968 (struct test_ff_i_data): Likewise.
53969 (struct test_f_l_data): Likewise.
53970 (struct test_f_L_data): Likewise.
53971 (struct test_fFF_11_data): Likewise.
53972 (RM_): New macro.
53973 (RM_FE_DOWNWARD): Likewise.
53974 (RM_FE_TONEAREST): Likewise.
53975 (RM_FE_TOWARDZERO): Likewise.
53976 (RM_FE_UPWARD): Likewise.
53977 (RUN_TEST_LOOP_f_f): Update references to expected results.
53978 (RUN_TEST_LOOP_2_f): Likewise.
53979 (RUN_TEST_LOOP_fff_f): Likewise.
53980 (RUN_TEST_LOOP_c_f): Likewise.
53981 (RUN_TEST_LOOP_f_f1): Likewise.
53982 (RUN_TEST_LOOP_fF_f1): Likewise.
53983 (RUN_TEST_LOOP_fI_f1): Likewise.
53984 (RUN_TEST_LOOP_ffI_f1): Likewise.
53985 (RUN_TEST_LOOP_c_c): Likewise.
53986 (RUN_TEST_LOOP_cc_c): Likewise.
53987 (RUN_TEST_LOOP_f_i): Likewise.
53988 (RUN_TEST_LOOP_f_i_tg): Likewise.
53989 (RUN_TEST_LOOP_ff_i_tg): Likewise.
53990 (RUN_TEST_LOOP_f_b): Likewise.
53991 (RUN_TEST_LOOP_f_b_tg): Likewise.
53992 (RUN_TEST_LOOP_f_l): Likewise.
53993 (RUN_TEST_LOOP_f_L): Likewise.
53994 (RUN_TEST_LOOP_fFF_11): Likewise.
53995 * math/gen-libm-test.pl (parse_args): Output four copies of
53996 expected results for each test.
53997
53998 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53999 (__ASSUME_UTIMES): Remove.
54000 * sysdeps/unix/sysv/linux/tile/kernel-features.h
54001 (__ASSUME_UTIMES): Likewise.
54002
54003 * math/gen-auto-libm-tests.c: Update comment on output format.
54004 (output_for_one_input_case): Generate before-rounding and
54005 after-rounding information as conditions on output flags not
54006 floating-point format.
54007 * math/auto-libm-test-out: Regenerated.
54008 * math/gen-libm-test.pl (cond_value): New function.
54009 (or_cond_value): Use cond_value.
54010 (generate_testfile): Handle conditional exceptions.
54011
54012 2014-03-05 Joseph Myers <joseph@codesourcery.com>
54013
54014 * math/libm-test.inc (max_valid_error): New variable.
54015 (init_max_error): Take new argument specifying whether function
54016 results are exactly determined. Set max_valid_error and bound
54017 other variables for errors based on this argument.
54018 (set_max_error): Do not record results above max_valid_error.
54019 (check_float_internal): Only accept errors of up to 0.5ulps if
54020 also at most max_valid_error.
54021 (START): Take new argument EXACT and pass it to init_max_error.
54022 (acos_test): Update call to START.
54023 (acos_test_tonearest): Likewise.
54024 (acos_test_towardzero): Likewise.
54025 (acos_test_downward): Likewise.
54026 (acos_test_upward): Likewise.
54027 (acosh_test): Likewise.
54028 (asin_test): Likewise.
54029 (asin_test_tonearest): Likewise.
54030 (asin_test_towardzero): Likewise.
54031 (asin_test_downward): Likewise.
54032 (asin_test_upward): Likewise.
54033 (asinh_test): Likewise.
54034 (atan_test): Likewise.
54035 (atanh_test): Likewise.
54036 (atan2_test): Likewise.
54037 (cabs_test): Likewise.
54038 (cacos_test): Likewise.
54039 (cacosh_test): Likewise.
54040 (carg_test): Likewise.
54041 (casin_test): Likewise.
54042 (casinh_test): Likewise.
54043 (catan_test): Likewise.
54044 (catanh_test): Likewise.
54045 (cbrt_test): Likewise.
54046 (ccos_test): Likewise.
54047 (ccosh_test): Likewise.
54048 (ceil_test): Likewise.
54049 (cexp_test): Likewise.
54050 (cimag_test): Likewise.
54051 (clog_test): Likewise.
54052 (clog10_test): Likewise.
54053 (conj_test): Likewise.
54054 (copysign_test): Likewise.
54055 (cos_test): Likewise.
54056 (cos_test_tonearest): Likewise.
54057 (cos_test_towardzero): Likewise.
54058 (cos_test_downward): Likewise.
54059 (cos_test_upward): Likewise.
54060 (cosh_test): Likewise.
54061 (cosh_test_tonearest): Likewise.
54062 (cosh_test_towardzero): Likewise.
54063 (cosh_test_downward): Likewise.
54064 (cosh_test_upward): Likewise.
54065 (cpow_test): Likewise.
54066 (cproj_test): Likewise.
54067 (creal_test): Likewise.
54068 (csin_test): Likewise.
54069 (csinh_test): Likewise.
54070 (csqrt_test): Likewise.
54071 (ctan_test): Likewise.
54072 (ctan_test_tonearest): Likewise.
54073 (ctan_test_towardzero): Likewise.
54074 (ctan_test_downward): Likewise.
54075 (ctan_test_upward): Likewise.
54076 (ctanh_test): Likewise.
54077 (ctanh_test_tonearest): Likewise.
54078 (ctanh_test_towardzero): Likewise.
54079 (ctanh_test_downward): Likewise.
54080 (ctanh_test_upward): Likewise.
54081 (erf_test): Likewise.
54082 (erfc_test): Likewise.
54083 (exp_test): Likewise.
54084 (exp_test_tonearest): Likewise.
54085 (exp_test_towardzero): Likewise.
54086 (exp_test_downward): Likewise.
54087 (exp_test_upward): Likewise.
54088 (exp10_test): Likewise.
54089 (exp10_test_tonearest): Likewise.
54090 (exp10_test_towardzero): Likewise.
54091 (exp10_test_downward): Likewise.
54092 (exp10_test_upward): Likewise.
54093 (pow10_test): Likewise.
54094 (exp2_test): Likewise.
54095 (expm1_test): Likewise.
54096 (expm1_test_tonearest): Likewise.
54097 (expm1_test_towardzero): Likewise.
54098 (expm1_test_downward): Likewise.
54099 (expm1_test_upward): Likewise.
54100 (fabs_test): Likewise.
54101 (fdim_test): Likewise.
54102 (floor_test): Likewise.
54103 (fma_test): Likewise.
54104 (fma_test_towardzero): Likewise.
54105 (fma_test_downward): Likewise.
54106 (fma_test_upward): Likewise.
54107 (fmax_test): Likewise.
54108 (fmin_test): Likewise.
54109 (fmod_test): Likewise.
54110 (fpclassify_test): Likewise.
54111 (frexp_test): Likewise.
54112 (hypot_test): Likewise.
54113 (ilogb_test): Likewise.
54114 (isfinite_test): Likewise.
54115 (finite_test): Likewise.
54116 (isgreater_test): Likewise.
54117 (isgreaterequal_test): Likewise.
54118 (isinf_test): Likewise.
54119 (isless_test): Likewise.
54120 (islessequal_test): Likewise.
54121 (islessgreater_test): Likewise.
54122 (isnan_test): Likewise.
54123 (isnormal_test): Likewise.
54124 (issignaling_test): Likewise.
54125 (isunordered_test): Likewise.
54126 (j0_test): Likewise.
54127 (j1_test): Likewise.
54128 (jn_test): Likewise.
54129 (ldexp_test): Likewise.
54130 (lgamma_test): Likewise.
54131 (gamma_test): Likewise.
54132 (lrint_test): Likewise.
54133 (lrint_test_tonearest): Likewise.
54134 (lrint_test_towardzero): Likewise.
54135 (lrint_test_downward): Likewise.
54136 (lrint_test_upward): Likewise.
54137 (llrint_test): Likewise.
54138 (llrint_test_tonearest): Likewise.
54139 (llrint_test_towardzero): Likewise.
54140 (llrint_test_downward): Likewise.
54141 (llrint_test_upward): Likewise.
54142 (log_test): Likewise.
54143 (log10_test): Likewise.
54144 (log1p_test): Likewise.
54145 (log2_test): Likewise.
54146 (logb_test): Likewise.
54147 (logb_test_downward): Likewise.
54148 (lround_test): Likewise.
54149 (llround_test): Likewise.
54150 (modf_test): Likewise.
54151 (nearbyint_test): Likewise.
54152 (nextafter_test): Likewise.
54153 (nexttoward_test): Likewise.
54154 (pow_test): Likewise.
54155 (pow_test_tonearest): Likewise.
54156 (pow_test_towardzero): Likewise.
54157 (pow_test_downward): Likewise.
54158 (pow_test_upward): Likewise.
54159 (remainder_test): Likewise.
54160 (drem_test): Likewise.
54161 (remainder_test_tonearest): Likewise.
54162 (drem_test_tonearest): Likewise.
54163 (remainder_test_towardzero): Likewise.
54164 (drem_test_towardzero): Likewise.
54165 (remainder_test_downward): Likewise.
54166 (drem_test_downward): Likewise.
54167 (remainder_test_upward): Likewise.
54168 (drem_test_upward): Likewise.
54169 (remquo_test): Likewise.
54170 (rint_test): Likewise.
54171 (rint_test_tonearest): Likewise.
54172 (rint_test_towardzero): Likewise.
54173 (rint_test_downward): Likewise.
54174 (rint_test_upward): Likewise.
54175 (round_test): Likewise.
54176 (scalb_test): Likewise.
54177 (scalbn_test): Likewise.
54178 (scalbln_test): Likewise.
54179 (signbit_test): Likewise.
54180 (sin_test): Likewise.
54181 (sin_test_tonearest): Likewise.
54182 (sin_test_towardzero): Likewise.
54183 (sin_test_downward): Likewise.
54184 (sin_test_upward): Likewise.
54185 (sincos_test): Likewise.
54186 (sinh_test): Likewise.
54187 (sinh_test_tonearest): Likewise.
54188 (sinh_test_towardzero): Likewise.
54189 (sinh_test_downward): Likewise.
54190 (sinh_test_upward): Likewise.
54191 (sqrt_test): Likewise.
54192 (sqrt_test_tonearest): Likewise.
54193 (sqrt_test_towardzero): Likewise.
54194 (sqrt_test_downward): Likewise.
54195 (sqrt_test_upward): Likewise.
54196 (tan_test): Likewise.
54197 (tan_test_tonearest): Likewise.
54198 (tan_test_towardzero): Likewise.
54199 (tan_test_downward): Likewise.
54200 (tan_test_upward): Likewise.
54201 (tanh_test): Likewise.
54202 (tgamma_test): Likewise.
54203 (trunc_test): Likewise.
54204 (y0_test): Likewise.
54205 (y1_test): Likewise.
54206 (yn_test): Likewise.
54207 (significand_test): Likewise.
54208
54209 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
54210 individual tests in comment.
54211 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
54212 (prev_max_error): New variable.
54213 (prev_real_max_error): Likewise.
54214 (prev_imag_max_error): Likewise.
54215 (compare_ulp_data): Don't refer to test names in comment.
54216 (find_test_ulps): Remove function.
54217 (find_function_ulps): Likewise.
54218 (find_complex_function_ulps): Likewise.
54219 (init_max_error): Take function name as argument. Look up ulps
54220 for that function.
54221 (print_ulps): Remove function.
54222 (print_max_error): Use prev_max_error instead of calling
54223 find_function_ulps.
54224 (print_complex_max_error): Use prev_real_max_error and
54225 prev_imag_max_error instead of calling find_complex_function_ulps.
54226 (check_float_internal): Take max_ulp parameter instead of calling
54227 find_test_ulps. Don't call print_ulps.
54228 (check_float): Update call to check_float_internal.
54229 (check_complex): Update calls to check_float_internal.
54230 (START): Pass argument to init_max_error.
54231 * math/gen-libm-test.pl (%results): Don't include "kind"
54232 information.
54233 (parse_ulps): Don't handle ulps of individual tests.
54234 (print_ulps_file): Likewise.
54235 (output_ulps): Likewise.
54236 * math/README.libm-test: Update.
54237 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
54238 individual tests.
54239 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
54240 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
54241 * sysdeps/arm/libm-test-ulps: Likewise.
54242 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
54243 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
54244 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
54245 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
54246 * sysdeps/microblaze/libm-test-ulps: Likewise.
54247 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
54248 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
54249 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54250 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
54251 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
54252 * sysdeps/sh/libm-test-ulps: Likewise.
54253 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
54254 * sysdeps/tile/libm-test-ulps: Likewise.
54255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54256
54257 2014-03-04 Joseph Myers <joseph@codesourcery.com>
54258
54259 * math/libm-test.inc (print_complex_max_error): Check separately
54260 whether real and imaginary errors are within allowed range and
54261 pass 0 to print_complex_function_ulps instead of value within
54262 allowed range.
54263
54264 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
54265
54266 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
54267 formatting.
54268 (get_handles_fopen): Likewise.
54269 (do_write_test): Likewise.
54270
54271 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
54272
54273 * libio/fileops.c (do_ftell): Use cached offset when
54274 available.
54275 * libio/iofwide.c (do_ftell_wide): Likewise.
54276 * libio/iofdopen.c (_IO_new_fdopen): Don't use
54277 _IO_file_attach.
54278 * libio/wfileops.c (_IO_fwide): Don't cache offset.
54279
54280 [BZ #16532]
54281 * libio/libioP.h (get_file_offset): New function.
54282 * libio/fileops.c (get_file_offset): Likewise.
54283 (do_ftell): Likewise.
54284 (_IO_new_file_seekoff): Split out ftell logic.
54285 * libio/wfileops.c (do_ftell_wide): Likewise.
54286 (_IO_wfile_seekoff): Split out ftell logic.
54287 * libio/tst-ftell-active-handler.c: New test case.
54288 * libio/Makefile (tests): Add it.
54289
54290 2014-03-03 Roland McGrath <roland@hack.frob.com>
54291
54292 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
54293 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
54294
54295 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
54296
54297 [BZ #16639]
54298 * nscd/connections.c (nscd_init): Call do_exit.
54299 (start_threads): Call do_exit and notify_parent.
54300 (begin_drop_privileges): Call do_exit.
54301 (finish_drop_privileges): Likewise.
54302 * nscd/selinux.c (preserve_capabilities): Likewise.
54303 (install_real_capabilities): Likewise.
54304 (nscd_selinux_enabled): Likewise.
54305 (avc_create_thread): Likewise.
54306 (avc_alloc_lock): Likewise.
54307 (nscd_avc_init): Likewise.
54308 * nscd/nscd.c (parent_fd): New static variable.
54309 (main): Create a pipe between parent and child processes.
54310 Skip closing parent_fd.
54311 (monitor_child): New function.
54312 (do_exit): Likewise.
54313 (notify_parent): Likewise.
54314 * nscd/nscd.h (notify_parent): Likewise.
54315 (do_exit): Likewise.
54316
54317 2014-03-03 Carlos O'Donell <carlos@redhat.com>
54318
54319 * malloc/malloc.c (__libc_calloc): Revert last change.
54320
54321 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54322
54323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54324
54325 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
54326
54327 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
54328 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
54329 implementation.
54330 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54331 (__libc_ifunc_impl_list): Likewise.
54332 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
54333 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
54334 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
54335 * string/strrchr.c: Define STRRCHR.
54336
54337 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
54338
54339 * benchtest/bench-strtok.c (simple_strtok): Delete.
54340 (strtok_string): Use as benchmark.
54341 * string/strtok (STRTOK): New macro.
54342
54343 2014-02-28 Carlos O'Donell <carlos@redhat.com>
54344
54345 * manual/threads.texi: Add header and standard comments to all
54346 functions.
54347
54348 * elf/dl-lookup.c (check_match): New function.
54349 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
54350 (do_lookup_x): Remove nested function check_match. Use non-nested
54351 function check_match.
54352
54353 2014-02-28 Roland McGrath <roland@hack.frob.com>
54354
54355 * csu/Makefile (generated, before-compile): Use += rather than =.
54356 * catgets/Makefile (generated, generated-dirs): Likewise.
54357 * debug/Makefile (generated): Likewise.
54358 * dlfcn/Makefile (generated): Likewise.
54359 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
54360 * iconvdata/Makefile (before-compile, generated): Likewise.
54361 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
54362 * libio/Makefile (generated): Likewise.
54363 * malloc/Makefile (generated): Likewise.
54364 * manual/Makefile (generated, generated-dirs): Likewise.
54365 * misc/Makefile (generated): Likewise.
54366 * posix/Makefile (generated): Likewise.
54367 * resolv/Makefile (generated): Likewise.
54368 * sunrpc/Makefile (generated, generated-dirs): Likewise.
54369 * timezone/Makefile (generated, generated-dirs): Likewise.
54370
54371 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
54372
54373 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54374
54375 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
54376 power8 implementation.
54377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
54378 file: POWER8 llround ifunc implementation.
54379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
54380 (__lllround): Add POWER8 implementation.
54381 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
54382 POWER8 llround implementation.
54383
54384 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
54385 power8 implementation.
54386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
54387 file: POWER8 llrint ifunc implementation.
54388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
54389 Add POWER8 implementation.
54390 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
54391 POWER8 llrint implementation.
54392
54393 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
54394 power8 implementation.
54395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
54396 file: POWER8 finite ifunc implementation.
54397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
54398 Add POWER8 implementation.
54399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
54400 Likewise.
54401 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
54402 POWER8 finite implementation.
54403 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
54404
54405 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
54406 power8 implementation.
54407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
54408 file: POWER8 isinf ifunc implementation.
54409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
54410 POWER8 implementation.
54411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
54412 Likewise.
54413 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
54414 isinf implementation.
54415 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
54416
54417 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
54418 (INIT_ARCH): Add hwcap2 initialization.
54419 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
54420 power8 implementation.
54421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
54422 file: POWER8 isnan ifunc implementation.
54423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
54424 POWER8 implementation.
54425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
54426 Likewise.
54427 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
54428 isnan implementation.
54429 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
54430
54431 2014-02-27 Joey Ye <joey.ye@arm.com>
54432
54433 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
54434 (_FP_NANFRAC_Q): Set to zero.
54435
54436 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
54437
54438 [BZ #16623]
54439 * math/auto-libm-test-in: New test inputs.
54440 * math/auto-libm-test-out: Regenerate.
54441 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
54442 and DA.
54443 (__cos): Likewise.
54444 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
54445
54446 2014-02-27 Joseph Myers <joseph@codesourcery.com>
54447
54448 * scripts/evaluate-test.sh: Take new argument indicating whether
54449 failure is expected.
54450 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
54451 indicating whether failure is expected.
54452 * conform/Makefile (test-xfail-run-conformtest): New variable.
54453 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
54454 level.
54455 * posix/Makefile (test-xfail-annexc): New variable.
54456 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
54457
54458 2014-02-26 Joseph Myers <joseph@codesourcery.com>
54459
54460 * argp/Makefile: Include Makeconfig immediately after defining
54461 subdir.
54462 * assert/Makefile: Likewise.
54463 * benchtests/Makefile: Likewise.
54464 * catgets/Makefile: Likewise.
54465 * conform/Makefile: Likewise.
54466 * crypt/Makefile: Likewise.
54467 * csu/Makefile: Likewise.
54468 (all): Remove target.
54469 * ctype/Makefile: Include Makeconfig immediately after defining
54470 subdir.
54471 * debug/Makefile: Likewise.
54472 * dirent/Makefile: Likewise.
54473 * dlfcn/Makefile: Likewise.
54474 * gmon/Makefile: Likewise.
54475 * gnulib/Makefile: Likewise.
54476 * grp/Makefile: Likewise.
54477 * gshadow/Makefile: Likewise.
54478 * hesiod/Makefile: Likewise.
54479 * hurd/Makefile: Likewise.
54480 (all): Remove target.
54481 * iconvdata/Makefile: Include Makeconfig immediately after
54482 defining subdir.
54483 * inet/Makefile: Likewise.
54484 * intl/Makefile: Likewise.
54485 * io/Makefile: Likewise.
54486 * libio/Makefile: Likewise.
54487 (all): Remove target.
54488 * locale/Makefile: Include Makeconfig immediately after defining
54489 subdir.
54490 * login/Makefile: Likewise.
54491 * mach/Makefile: Likewise.
54492 (all): Remove target.
54493 * malloc/Makefile: Include Makeconfig immediately after defining
54494 subdir.
54495 (all): Remove target.
54496 * manual/Makefile: Include Makeconfig immediately after defining
54497 subdir.
54498 * math/Makefile: Likewise.
54499 * misc/Makefile: Likewise.
54500 * nis/Makefile: Likewise.
54501 * nss/Makefile: Likewise.
54502 * po/Makefile: Likewise.
54503 (all): Remove target.
54504 * posix/Makefile: Include Makeconfig immediately after defining
54505 subdir.
54506 * pwd/Makefile: Likewise.
54507 * resolv/Makefile: Likewise.
54508 * resource/Makefile: Likewise.
54509 * rt/Makefile: Likewise.
54510 * setjmp/Makefile: Likewise.
54511 * shadow/Makefile: Likewise.
54512 * signal/Makefile: Likewise.
54513 * socket/Makefile: Likewise.
54514 * soft-fp/Makefile: Likewise.
54515 * stdio-common/Makefile: Likewise.
54516 * stdlib/Makefile: Likewise.
54517 * streams/Makefile: Likewise.
54518 * string/Makefile: Likewise.
54519 * sunrpc/Makefile: Likewise.
54520 (all): Remove target.
54521 * sysvipc/Makefile: Include Makeconfig immediately after defining
54522 subdir.
54523 * termios/Makefile: Likewise.
54524 * time/Makefile: Likewise.
54525 * timezone/Makefile: Likewise.
54526 (all): Remove target.
54527 * wcsmbs/Makefile: Include Makeconfig immediately after defining
54528 subdir.
54529 * wctype/Makefile: Likewise.
54530
54531 2014-02-26 Steve Ellcey <sellcey@mips.com>
54532
54533 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
54534 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
54535 (libc_feholdexcept_setround_mips): Ditto.
54536 (libc_feholdsetround): New.
54537 (libc_feholdsetroundf): New.
54538 (libc_feholdsetroundl): New.
54539 (libc_feupdateenv_test_mips): New.
54540 (libc_feupdateenv_test): New.
54541 (libc_feupdateenv_testf): New.
54542 (libc_feupdateenv_testl): New.
54543 (libc_feresetround): New.
54544 (libc_feresetroundf): New.
54545 (libc_feresetroundl): New.
54546 (libc_fetestexcept_mips): New.
54547 (libc_fetestexcept): New.
54548 (libc_fetestexceptf): New.
54549 (libc_fetestexceptl): New.
54550 (HAVE_RM_CTX): New.
54551 (libc_feholdexcept_setround_mips_ctx): New.
54552 (libc_feholdexcept_setround_ctx): New.
54553 (libc_feholdexcept_setroundf_ctx): New.
54554 (libc_feholdexcept_setroundl_ctx): New.
54555 (libc_fesetenv_mips_ctx): New.
54556 (libc_fesetenv_ctx): New.
54557 (libc_fesetenv_ctxf): New.
54558 (libc_fesetenv_ctxl): New.
54559 (libc_feupdateenv_mips_ctx): New.
54560 (libc_feupdateenv_ctx): New.
54561 (libc_feupdateenvf_ctx): New.
54562 (libc_feupdateenvl_ctx): New.
54563 (libc_feholdsetround_mips_ctx): New.
54564 (libc_feholdsetround_ctx): New.
54565 (libc_feholdsetroundf_ctx): New.
54566 (libc_feholdsetroundl_ctx): New.
54567 (libc_feresetround_mips_ctx): New.
54568 (libc_feresetround_ctx): New.
54569 (libc_feresetroundf_ctx): New.
54570 (libc_feresetroundl_ctx): New.
54571
54572 2014-02-26 Carlos O'Donell <carlos@redhat.com>
54573
54574 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
54575
54576 * manual/ipc.texi: New file.
54577 * manual/Makefile (chapters): Add ipc.
54578 * manual/job.texi: Add "Inter-Process Communication" to next.
54579 * manual/process.texi: Add "Inter-Process Communication" to prev.
54580
54581 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54582
54583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54584
54585 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
54586
54587 * malloc/malloc.c (__libc_calloc): Simplify implementation.
54588
54589 * manual/arith.texi: Fix spaces after sentences.
54590 * manual/charset.texi: Likewise.
54591 * manual/errno.texi: Likewise.
54592 * manual/install.texi: Likewise.
54593 * manual/llio.texi: Likewise.
54594 * manual/locale.texi: Likewise.
54595 * manual/maint.texi: Likewise.
54596 * manual/math.texi: Likewise.
54597 * manual/memory.texi: Likewise.
54598 * manual/message.texi: Likewise.
54599 * manual/probes.texi: Likewise.
54600 * manual/resource.texi: Likewise.
54601 * manual/signal.texi: Likewise.
54602 * manual/socket.texi: Likewise.
54603 * manual/stdio.texi: Likewise.
54604 * manual/string.texi: Likewise.
54605 * manual/time.texi: Likewise.
54606 * manual/users.texi: Likewise.
54607
54608 2014-02-25 Carlos O'Donell <carlos@redhat.com>
54609
54610 [BZ #16632]
54611 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
54612 _DEFAULT_SOURCE is defined.
54613
54614 2014-02-25 Ulrich Drepper <drepper@gmail.com>
54615 Carlos O'Donell <carlos@redhat.com>
54616
54617 [BZ #16613]
54618 * elf/dl-tls.c (_dl_count_modids): New function.
54619 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
54620 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
54621 audit library and increment generation counter.
54622 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
54623 * elf/tst-audit9.c: New file.
54624 * elf/tst-auditmod9a.c: New file.
54625 * elf/tst-auditmod9b.c: New file.
54626 * elf/Makefile: Add rules to build and run tst-audit9.
54627
54628 2014-02-25 Florian Weimer <fweimer@redhat.com>
54629
54630 [BZ #15347]
54631 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
54632
54633 2014-02-25 Will Newton <will.newton@linaro.org>
54634
54635 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
54636 (__longjmp): Restore sp and lr before restoring callee
54637 saved registers. Add longjmp and longjmp_target
54638 SystemTap probe point.
54639 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
54640 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
54641 Define to zero to match jmpbuf layout.
54642 * sysdeps/arm/setjmp.S: Include stap-probe.h.
54643 (__sigsetjmp): Save sp and lr before saving callee
54644 saved registers. Add setjmp SystemTap probe point.
54645
54646 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
54647
54648 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
54649
54650 2014-02-24 Andreas Schwab <schwab@suse.de>
54651
54652 [BZ #15804]
54653 * elf/pldd.c (wait_for_ptrace_stop): New function.
54654 (main): Call it after attaching.
54655
54656 2014-02-22 Roland McGrath <roland@hack.frob.com>
54657
54658 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
54659 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
54660 Versions files is now verboten.
54661 * hurd/Versions (libc: GLIBC_2.0):
54662 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
54663 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
54664 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
54665 * mach/Versions: Likewise.
54666
54667 * csu/Versions: Remove unused %include.
54668 * resolv/Versions: Likewise.
54669
54670 2014-02-21 Joseph Myers <joseph@codesourcery.com>
54671
54672 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
54673 ($(objpfx)check-local-headers.out): Likewise.
54674 ($(objpfx)begin-end-check.out): Likewise.
54675 * Makerules (check-abi-%.out): Likewise.
54676 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
54677 ($(objpfx)test2.cat): Likewise.
54678 ($(objpfx)de/libc.cat): Likewise.
54679 ($(objpfx)test-gencat.out): Likewise.
54680 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
54681 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
54682 ($(objpfx)noload-mem): Likewise.
54683 ($(objpfx)tst-pathopt.out): Likewise.
54684 ($(objpfx)tst-rtld-load-self.out): Likewise.
54685 ($(objpfx)tst-array1-cmp.out): Likewise.
54686 ($(objpfx)tst-array1-static-cmp.out): Likewise.
54687 ($(objpfx)tst-array2-cmp.out): Likewise.
54688 ($(objpfx)tst-array3-cmp.out): Likewise.
54689 ($(objpfx)tst-array4-cmp.out): Likewise.
54690 ($(objpfx)tst-array5-cmp.out): Likewise.
54691 ($(objpfx)tst-array5-static-cmp.out): Likewise.
54692 ($(objpfx)check-textrel.out): Likewise.
54693 ($(objpfx)check-execstack.out): Likewise.
54694 ($(objpfx)check-localplt.out): Likewise.
54695 ($(objpfx)order2-cmp.out): Likewise.
54696 ($(objpfx)tst-leaks1-mem): Likewise.
54697 ($(objpfx)tst-leaks1-static-mem): Likewise.
54698 ($(objpfx)tst-initorder-cmp.out): Likewise.
54699 ($(objpfx)tst-initorder2-cmp.out): Likewise.
54700 ($(objpfx)tst-unused-dep.out): Likewise.
54701 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
54702 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
54703 * iconv/Makefile (test-iconvconfig): Likewise.
54704 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
54705 ($(objpfx)iconv-test.out): Likewise.
54706 ($(objpfx)tst-tables.out): Likewise.
54707 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
54708 ($(objpfx)tst-gettext.out): Likewise.
54709 ($(objpfx)tst-translit.out): Likewise.
54710 ($(objpfx)tst-gettext2.out): Likewise.
54711 ($(objpfx)tst-gettext4.out): Likewise.
54712 ($(objpfx)tst-gettext6.out): Likewise.
54713 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
54714 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
54715 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
54716 ($(objpfx)tst-fopenloc-mem.out): Likewise.
54717 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
54718 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
54719 * posix/Makefile ($(objpfx)globtest.out): Likewise.
54720 ($(objpfx)wordexp-tst.out): Likewise.
54721 ($(objpfx)annexc.out): Likewise.
54722 ($(objpfx)tst-fnmatch-mem): Likewise.
54723 ($(objpfx)bug-regex2-mem): Likewise.
54724 ($(objpfx)bug-regex14-mem): Likewise.
54725 ($(objpfx)bug-regex21-mem): Likewise.
54726 ($(objpfx)bug-regex31-mem): Likewise.
54727 ($(objpfx)tst-vfork3-mem): Likewise.
54728 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
54729 ($(objpfx)tst-pcre-mem): Likewise.
54730 ($(objpfx)tst-boost-mem): Likewise.
54731 ($(objpfx)tst-getconf.out): Likewise.
54732 ($(objpfx)bug-ga2-mem): Likewise.
54733 ($(objpfx)bug-glob2-mem): Likewise.
54734 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
54735 ($(objpfx)mtrace-tst-leaks2): Likewise.
54736 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
54737 ($(objpfx)tst-printf.out): Likewise.
54738 ($(objpfx)tst-setvbuf1.out): Likewise.
54739 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
54740 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
54741 ($(objpfx)tst-fmtmsg.out): Likewise.
54742 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
54743 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
54744
54745 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
54746 * bits/sigaction.h [__USE_MISC]: Likewise.
54747 * bits/waitstatus.h: Update #endif comments.
54748 * ctype/ctype.h: Likewise.
54749 * dirent/dirent.h: Likewise.
54750 [__USE_MISC]: Remove redundant conditionals.
54751 * grp/grp.h: Update #endif comments.
54752 [__USE_GNU]: Remove redundant conditionals.
54753 [__USE_MISC]: Likewise.
54754 * inet/netinet/in.h [__USE_GNU]: Likewise.
54755 * io/sys/stat.h [__USE_MISC]: Likewise.
54756 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
54757 * libio/bits/stdio.h: Update #endif comments.
54758 [__USE_MISC]: Remove redundant conditionals.
54759 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
54760 * libio/stdio.h: Update #endif comments.
54761 [__USE_MISC]: Remove redundant conditionals.
54762 * math/bits/math-finite.h [__USE_MISC]: Likewise.
54763 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
54764 * math/math.h: Update #else and #endif comments.
54765 [__USE_MISC]: Remove redundant conditionals.
54766 * misc/sys/uio.h: Update #endif comments.
54767 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
54768 * posix/glob.h [__USE_MISC]: Likewise.
54769 * posix/sys/types.h: Update #endif comments.
54770 [__USE_MISC]: Remove redundant conditionals.
54771 * posix/sys/wait.h: Update #endif comments.
54772 [__USE_MISC]: Remove redundant conditionals.
54773 * posix/unistd.h: Update #endif comments.
54774 [__USE_MISC]: Remove redundant conditionals.
54775 * pwd/pwd.h [__USE_GNU]: Likewise.
54776 [__USE_MISC]: Likewise.
54777 * resolv/netdb.h [__USE_GNU]: Likewise.
54778 * signal/signal.h: Update #endif comments.
54779 [__USE_MISC]: Remove redundant conditionals.
54780 * stdlib/stdlib.h: Update #else and #endif comments.
54781 [__USE_MISC]: Remove redundant conditionals.
54782 [__USE_GNU]: Likewise.
54783 * string/bits/string2.h [__USE_MISC]: Likewise.
54784 * string/string.h: Update #endif comments.
54785 [__USE_MISC]: Remove redundant conditionals.
54786 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
54787 Likewise.
54788 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
54789 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
54790 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
54791 Likewise.
54792 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
54793 Likewise.
54794 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
54795 comments.
54796 [__USE_MISC]: Remove redundant conditionals.
54797 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
54798 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
54799 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
54800 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
54801 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
54802 Likewise.
54803 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
54804 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
54805 Likewise.
54806 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
54807 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
54808 Likewise.
54809 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
54810 Likewise.
54811 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
54812 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
54813 Likewise.
54814 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
54815 Likewise.
54816 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
54817 * sysdeps/x86/bits/string.h: Update #endif comments.
54818 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
54819 conditionals.
54820 * time/sys/time.h: Update #endif comments.
54821 * time/time.h: Likewise.
54822 [__USE_MISC]: Remove redundant conditionals.
54823
54824 2014-02-21 Yury Gribov <y.gribov@samsung.com>
54825
54826 [BZ #16600]
54827 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
54828
54829 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
54830
54831 * Versions.def (librt): Add GLIBC_2.17.
54832
54833 2014-02-21 Adam Conrad <adconrad@0c3.net>
54834
54835 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
54836 synonym for _SYS_AUXV_H to allow direct inclusion.
54837 * sysdeps/sparc/bits/hwcap.h: Likewise.
54838 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
54839 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
54840 * sysdeps/sparc/sysdep.h: Likewise.
54841
54842 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
54843
54844 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
54845
54846 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
54847
54848 * benchtests/bench-strrchr.c: Print length instead of position.
54849
54850 2014-02-20 Joseph Myers <joseph@codesourcery.com>
54851
54852 [BZ #16611]
54853 * sysdeps/unix/sysv/linux/kernel-features.h
54854 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
54855 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
54856 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
54857 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
54858 Likewise.
54859 [__i386__ || __powerpc__ || __sh__ || __sparc__]
54860 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
54861 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
54862 (__ASSUME_SENDMMSG): Define instead of using previous
54863 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
54864 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
54865 (__ASSUME_SENDMMSG_SYSCALL): Define.
54866 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54867 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
54868 Likewise.
54869 * sysdeps/unix/sysv/linux/arm/kernel-features.h
54870 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
54871 Likewise.
54872 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
54873 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
54874 Likewise.
54875 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
54876 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
54877 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
54878 [__ASSUME_SENDMMSG]: Change conditionals to
54879 [__ASSUME_SENDMMSG_SOCKETCALL].
54880 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54881 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
54882 Define.
54883 * sysdeps/unix/sysv/linux/mips/kernel-features.h
54884 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
54885 Likewise.
54886 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
54887 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
54888 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
54889 [!__ASSUME_SENDMMSG]: Change conditional to
54890 [!__ASSUME_SENDMMSG_SOCKETCALL].
54891 * sysdeps/unix/sysv/linux/tile/kernel-features.h
54892 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
54893 Define.
54894
54895 [BZ #16610]
54896 * sysdeps/unix/sysv/linux/kernel-features.h
54897 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
54898 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
54899 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
54900 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
54901 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
54902 [__i386__ || __sparc__]
54903 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
54904 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
54905 (__ASSUME_RECVMMSG): Define instead of using previous
54906 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
54907 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
54908 (__ASSUME_RECVMMSG_SYSCALL): Define.
54909 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54910 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54911 Likewise.
54912 * sysdeps/unix/sysv/linux/arm/kernel-features.h
54913 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54914 Likewise.
54915 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
54916 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54917 Likewise.
54918 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
54919 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
54920 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
54921 [__ASSUME_RECVMMSG]: Change condition to
54922 [__ASSUME_RECVMMSG_SOCKETCALL].
54923 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54924 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54925 Define.
54926 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
54927 * sysdeps/unix/sysv/linux/mips/kernel-features.h
54928 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54929 Likewise.
54930 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
54931 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
54932 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
54933 [!__ASSUME_RECVMMSG]: Change condition to
54934 [!__ASSUME_RECVMMSG_SOCKETCALL].
54935 * sysdeps/unix/sysv/linux/tile/kernel-features.h
54936 (__ASSUME_RECVMMSG_SYSCALL): Define.
54937
54938 [BZ #16609]
54939 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
54940 __powerpc__ || __s390__ || __sh__ || __sparc__]
54941 (__ASSUME_SOCKETCALL): Define.
54942 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
54943 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
54944 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
54945 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
54946 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
54947 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
54948 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
54949 (__ASSUME_ACCEPT4): Define instead of using previous
54950 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
54951 __powerpc__ || __sparc__ || __s390__)] condition.
54952 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
54953 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
54954 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
54955 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
54956 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
54957 [!__ASSUME_ACCEPT4]: Change condition to
54958 [!__ASSUME_ACCEPT4_SOCKETCALL].
54959 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54960 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
54961 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
54962 * sysdeps/unix/sysv/linux/arm/kernel-features.h
54963 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
54964 __ASSUME_ACCEPT4_SYSCALL.
54965 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
54966 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
54967 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
54968 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
54969 __ASSUME_ACCEPT4_SYSCALL.
54970 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
54971 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
54972 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
54973 [__ASSUME_ACCEPT4]: Change condition to
54974 [__ASSUME_ACCEPT4_SOCKETCALL].
54975 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
54976 (__ASSUME_SOCKETCALL): Define.
54977 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
54978 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54979 (__ASSUME_SOCKETCALL): Define.
54980 (__ASSUME_ACCEPT4): Remove.
54981 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
54982 Define.
54983 * sysdeps/unix/sysv/linux/mips/kernel-features.h
54984 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
54985 Likewise.
54986 * sysdeps/unix/sysv/linux/tile/kernel-features.h
54987 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
54988
54989 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
54990 macro.
54991 (HWCAP_ARM_LPAE): Likewise.
54992 (HWCAP_ARM_EVTSTRM): Likewise.
54993 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
54994 Add vpfd32, lpae and evtstrm.
54995 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
54996 Increase to 22.
54997
54998 2014-02-19 Joseph Myers <joseph@codesourcery.com>
54999
55000 * math/auto-libm-test-in: Add tests of clog10.
55001 * math/auto-libm-test-out: Regenerated.
55002 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
55003 * sysdeps/i386/fpu/libm-test-ulps: Update.
55004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55005
55006 2014-02-18 Andreas Schwab <schwab@suse.de>
55007
55008 [BZ #16574]
55009 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
55010 Store non-zero if the second buffer was newly allocated.
55011 (send_dg): Likewise.
55012 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
55013 to send_vc and send_dg.
55014 (res_nsend): Pass NULL for ansp2_malloced.
55015 * resolv/res_query.c (__libc_res_nquery): Add parameter
55016 answerp2_malloced and pass it down to __libc_res_nsend.
55017 (res_nquery): Pass additional NULL to __libc_res_nquery.
55018 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
55019 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
55020 second answer buffer if answerp2_malloced was set.
55021 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
55022 (__libc_res_nquerydomain): Add parameter
55023 answerp2_malloced and pass it down to __libc_res_nquery.
55024 (res_nquerydomain): Pass additional NULL to
55025 __libc_res_nquerydomain.
55026 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
55027 additional NULL to __libc_res_nsend and __libc_res_nquery.
55028 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
55029 additional NULL to __libc_res_nsearch.
55030 (_nss_dns_gethostbyname4_r): Revert last change. Use new
55031 parameter of __libc_res_nsearch to check for separately allocated
55032 second buffer.
55033 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
55034 __libc_res_nquery.
55035 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
55036 additional NULL to __libc_res_nquery.
55037 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
55038 __libc_res_nsearch.
55039 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
55040 * include/resolv.h: Update prototypes of __libc_res_nquery,
55041 __libc_res_nsearch, __libc_res_nsend.
55042
55043 2014-02-18 Joseph Myers <joseph@codesourcery.com>
55044
55045 * math/auto-libm-test-in: Add tests of fma.
55046 * math/auto-libm-test-out: Regenerated.
55047 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
55048 (fma_towardzero_test_data): Likewise.
55049 (fma_downward_test_data): Likewise.
55050 (fma_upward_test_data): Likewise.
55051 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
55052 mpc_mode.
55053 (rounding_modes): Add values for new field.
55054 (func_calc_method): Add value mpfr_fff_f.
55055 (func_calc_desc): Add mpfr_fff_f union field.
55056 (test_function): Add field exact_args.
55057 (FUNC): Add macro argument EXACT_ARGS.
55058 (FUNC_mpfr_f_f): Update call to FUNC.
55059 (FUNC_mpfr_f_f): Likewise.
55060 (FUNC_mpfr_ff_f): Likewise.
55061 (FUNC_mpfr_if_f): Likewise.
55062 (FUNC_mpc_c_f): Likewise.
55063 (FUNC_mpc_c_c): Likewise.
55064 (test_functions): Add fma. Update calls to FUNC.
55065 (handle_input_arg): Add argument exact_args.
55066 (add_test): Update call to handle_input_arg.
55067 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
55068 (output_for_one_input_case): Update call to calc_generic_results.
55069 Recalculate exact zero results in each rounding mode.
55070
55071 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
55072 non-negative before setting low bit.
55073 * math/auto-libm-test-in: Mark one asin test possibly having
55074 spurious underflow.
55075 * math/auto-libm-test-out: Regenerated.
55076 * sysdeps/i386/fpu/libm-test-ulps: Update.
55077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55078
55079 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
55080
55081 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
55082 * sysdeps/unix/sysv/linux/microblaze: Move directory from
55083 ports/sysdeps/unix/sysv/linux/microblaze.
55084 * README: Add missing listing for microblaze*-*-linux-gnu.
55085
55086 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
55087
55088 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
55089 duplicate code
55090
55091 2014-02-16 Mike Frysinger <vapier@gentoo.org>
55092
55093 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
55094 * sysdeps/unix/sysv/linux/ia64: Move directory from
55095 ports/sysdeps/unix/sysv/linux/ia64.
55096 * README: Update listing for ia64-*-linux-gnu.
55097
55098 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
55099 Joseph Myers <joseph@codesourcery.com>
55100
55101 * Makeconfig (test-name): New variable.
55102 (evaluate-test): Likewise.
55103 * Makerules (do-test-clean): Remove .test-result files.
55104 (common-mostlyclean): Likewise.
55105 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
55106 * scripts/evaluate-test.sh: New file.
55107
55108 2014-02-14 Joseph Myers <joseph@codesourcery.com>
55109
55110 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
55111 separate $(objpfx)tst-fopenloc-cmp.out and
55112 $(objpfx)tst-fopenloc-mem.out targets.
55113 (tests): Update dependencies.
55114 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
55115 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
55116 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
55117 (tst-rxspencer-no-utf8-ARGS): New variable.
55118 (tst-rxspencer-no-utf8-ENV): Likewise.
55119 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
55120 instead of $(objpfx)tst-rxspencer-mem.
55121 ($(objpfx)tst-rxspencer-mem): Change target to
55122 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
55123 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
55124 * posix/tst-rxspencer-no-utf8.c: New file.
55125
55126 * elf/Makefile ($(objpfx)order.out): Remove rule.
55127 [$(run-built-tests) = yes] (tests): Depend on
55128 $(objpfx)order-cmp.out.
55129 ($(objpfx)order-cmp.out): New rule.
55130 [$(run-built-tests) = yes] (tests): Depend on
55131 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
55132 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
55133 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
55134 $(objpfx)tst-array5-static-cmp.out.
55135 ($(objpfx)tst-array1.out): Remove rule.
55136 ($(objpfx)tst-array1-cmp.out): New rule.
55137 ($(objpfx)tst-array1-static.out): Remove rule.
55138 ($(objpfx)tst-array1-static-cmp.out): New rule.
55139 ($(objpfx)tst-array2.out): Remove rule.
55140 ($(objpfx)tst-array2-cmp.out): New rule.
55141 ($(objpfx)tst-array3.out): Remove rule.
55142 ($(objpfx)tst-array3-cmp.out): New rule.
55143 ($(objpfx)tst-array4.out): Remove rule.
55144 ($(objpfx)tst-array4-cmp.out): New rule.
55145 ($(objpfx)tst-array5.out): Remove rule.
55146 ($(objpfx)tst-array5-cmp.out): New rule.
55147 ($(objpfx)tst-array5-static.out): Remove rule.
55148 ($(objpfx)tst-array5-static-cmp.out): New rule.
55149 [$(run-built-tests) = yes] (tests): Depend on
55150 $(objpfx)order2-cmp.out.
55151 ($(objpfx)order2.out): Remove rule.
55152 ($(objpfx)order2-cmp.out): New rule.
55153 ($(objpfx)tst-initorder.out): Remove rule.
55154 [$(run-built-tests) = yes] (tests): Depend on
55155 $(objpfx)tst-initorder-cmp.out.
55156 ($(objpfx)tst-initorder-cmp.out): New rule.
55157 ($(objpfx)tst-initorder2.out): Remove rule.
55158 [$(run-built-tests) = yes] (tests): Depend on
55159 $(objpfx)tst-initorder2-cmp.out.
55160 ($(objpfx)tst-initorder2-cmp.out): New rule.
55161 [$(run-built-tests) = yes] (tests): Depend on
55162 $(objpfx)tst-unused-dep-cmp.out.
55163 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
55164 ($(objpfx)tst-unused-dep-cmp.out): New rule.
55165 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
55166 on $(objpfx)tst-setvbuf1-cmp.out.
55167 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
55168 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
55169 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
55170 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
55171 ($(objpfx)tst-svc.out): Remove rule.
55172 ($(objpfx)tst-svc-cmp.out): New rule.
55173
55174 2014-02-13 Joseph Myers <joseph@codesourcery.com>
55175
55176 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
55177 * ctype/ctype.h [__USE_MISC]: Likewise.
55178 * dirent/dirent.h [__USE_MISC]: Likewise.
55179 * grp/grp.h [__USE_MISC]: Likewise.
55180 * io/fcntl.h [__USE_MISC]: Likewise.
55181 * io/sys/stat.h [__USE_MISC]: Likewise.
55182 * libio/stdio.h [__USE_MISC]: Likewise.
55183 * posix/unistd.h [__USE_MISC]: Likewise.
55184 * pwd/pwd.h [__USE_MISC]: Likewise.
55185 * stdlib.h [__USE_MISC]: Likewise.
55186 * string/bits/string2.h [__USE_MISC]: Likewise.
55187 * string/string.h [__USE_MISC]: Likewise.
55188 * time/time.h [__USE_MISC]: Likewise.
55189
55190 2014-02-13 Andreas Schwab <schwab@suse.de>
55191
55192 [BZ #16574]
55193 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
55194 second answer buffer if it was separately allocated.
55195
55196 2014-02-12 Joseph Myers <joseph@codesourcery.com>
55197
55198 * sysdeps/mips/math-tests.h: Include <features.h>.
55199 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
55200 (ROUNDING_TESTS_long_double): Do not define.
55201 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
55202 (EXCEPTION_TESTS_long_double): Likewise.
55203 * sysdeps/mips/mips64/libm-test-ulps: Update.
55204
55205 * include/features.h (__USE_BSD): Remove macro definitions.
55206 (__USE_SVID): Likewise.
55207 (_BSD_SOURCE): Likewise.
55208 (_SVID_SOURCE): Likewise.
55209 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
55210 from definition of _DEFAULT_SOURCE.
55211 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
55212 [_DEFAULT_SOURCE].
55213 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
55214 * bits/mman.h [__USE_BSD]: Likewise.
55215 * bits/termios.h [__USE_BSD]: Likewise.
55216 * bits/waitstatus.h [__USE_BSD]: Likewise.
55217 * ctype/ctype.h [__USE_SVID]: Likewise.
55218 * dirent/dirent.h [__USE_BSD]: Likewise.
55219 * grp/grp.h [__USE_SVID]: Likewise.
55220 [__USE_BSD]: Likewise.
55221 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
55222 * io/fcntl.h [__USE_BSD]: Likewise.
55223 * io/ftw.h [__USE_BSD]: Likewise.
55224 * io/sys/stat.h [__USE_BSD]: Likewise.
55225 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
55226 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
55227 * libio/stdio.h [__USE_SVID]: Likewise.
55228 [__USE_BSD]: Likewise.
55229 * math/math.h [__USE_SVID]: Likewise.
55230 [__USE_BSD]: Likewise.
55231 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
55232 * misc/bits/syslog.h [__USE_BSD]: Likewise.
55233 * misc/search.h [__USE_SVID]: Likewise.
55234 * misc/sys/mman.h [__USE_BSD]: Likewise.
55235 * misc/sys/syslog.h [__USE_BSD]: Likewise.
55236 * misc/sys/uio.h [__USE_BSD]: Likewise.
55237 * posix/bits/unistd.h [__USE_BSD]: Likewise.
55238 * posix/glob.h [__USE_BSD]: Likewise.
55239 * posix/regex.h [__USE_BSD]: Likewise.
55240 * posix/sys/types.h [__USE_BSD]: Likewise.
55241 [__USE_SVID]: Likewise.
55242 * posix/sys/utsname.h [__USE_SVID]: Likewise.
55243 * posix/sys/wait.h [__USE_BSD]: Likewise.
55244 [__USE_SVID]: Likewise.
55245 * posix/unistd.h [__USE_BSD]: Likewise.
55246 [__USE_SVID]: Likewise.
55247 * pwd/pwd.h [__USE_SVID]: Likewise.
55248 * resolv/netdb.h [__USE_BSD]: Likewise.
55249 * setjmp/setjmp.h [__USE_BSD]: Likewise.
55250 * signal/signal.h [__USE_BSD]: Likewise.
55251 [__USE_SVID]: Likewise.
55252 * socket/sys/socket.h [__USE_BSD]: Likewise.
55253 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
55254 * stdlib/stdlib.h [__USE_BSD]: Likewise.
55255 [__USE_SVID]: Likewise.
55256 * string/bits/string2.h [__USE_BSD]: Likewise.
55257 [__USE_SVID]: Likewise.
55258 * string/bits/string3.h [__USE_BSD]: Likewise.
55259 * string/endian.h [__USE_BSD]: Likewise.
55260 * string/string.h [__USE_SVID]: Likewise.
55261 [__USE_BSD]: Likewise.
55262 * string/strings.h [__USE_BSD]: Likewise.
55263 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
55264 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
55265 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
55266 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
55267 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
55268 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
55269 Likewise.
55270 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
55271 Likewise.
55272 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
55273 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
55274 Likewise.
55275 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
55276 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
55277 Likewise.
55278 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
55279 Likewise.
55280 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
55281 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
55282 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
55283 Likewise.
55284 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
55285 Likewise.
55286 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
55287 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
55288 * termios/termios.h [__USE_BSD]: Likewise.
55289 * time/sys/time.h [__USE_BSD]: Likewise.
55290 * time/time.h [__USE_BSD]: Likewise.
55291 [__USE_SVID]: Likewise.
55292
55293 * Makefile (subdir_targets): Remove subdir_lint.out.
55294
55295 * stdio-common/Makefile (do-tst-unbputc): Remove target.
55296 (do-tst-printf): Likewise.
55297 (tests): Depend directly on $(objpfx)tst-unbputc.out and
55298 $(objpfx)tst-printf.out.
55299
55300 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
55301
55302 * Makerules (check-abi-%): Change target to
55303 $(objpfx)check-abi-%.out.
55304 (check-abi target): Update dependencies.
55305 (check-abi-pattern variable): Redirect output of diff to $@.
55306 (check-abi variable): Likewise.
55307 * elf/Makefile (check-abi): Update dependencies.
55308
55309 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
55310 unused.
55311 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
55312 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
55313 subnormal range.
55314 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
55315 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
55316 value has largest subnormal exponent.
55317 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
55318 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
55319 * sysdeps/aarch64/soft-fp/sfp-machine.h
55320 (_FP_TININESS_AFTER_ROUNDING): New macro.
55321 * sysdeps/alpha/soft-fp/sfp-machine.h
55322 (_FP_TININESS_AFTER_ROUNDING): Likewise.
55323 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
55324 Likewise.
55325 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
55326 (_FP_TININESS_AFTER_ROUNDING): Likewise.
55327 * sysdeps/mips/soft-fp/sfp-machine.h
55328 (_FP_TININESS_AFTER_ROUNDING): Likewise.
55329 * sysdeps/powerpc/soft-fp/sfp-machine.h
55330 (_FP_TININESS_AFTER_ROUNDING): Likewise.
55331 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
55332 Likewise.
55333 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
55334 (_FP_TININESS_AFTER_ROUNDING): Likewise.
55335 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
55336 (_FP_TININESS_AFTER_ROUNDING): Likewise.
55337 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
55338 Likewise.
55339
55340 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
55341
55342 [BZ #16545]
55343 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
55344 model 1.
55345
55346 2014-02-12 Richard Henderson <rth@redhat.com>
55347
55348 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
55349 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
55350 * sysdeps/unix/sysv/linux/alpha: Move directory from
55351 ports/sysdeps/unix/sysv/linux/alpha.
55352 * README: Update listing for alpha-*-linux-gnu.
55353
55354 2014-02-11 Joseph Myers <joseph@codesourcery.com>
55355
55356 * include/features.h: Update comment documenting feature test
55357 macros.
55358 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
55359 _DEFAULT_SOURCE.
55360 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
55361 (_SVID_SOURCE): Likewise.
55362 (_DEFAULT_SOURCE): Update description of default features.
55363 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
55364 with _GNU_SOURCE.
55365 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
55366 (S_ISVTX): Likewise.
55367 * manual/math.texi (Mathematical Constants): Likewise.
55368 * manual/signal.texi (Interrupted Primitives): Likewise.
55369 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
55370 * math/test-matherr.c (_SVID_SOURCE): Do not define.
55371 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
55372 Don't refer to _SVID_SOURCE in warning text.
55373
55374 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55375
55376 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
55377 already defined.
55378 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
55379 * sysdeps/mips/dl-lookup.c: Remove.
55380 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
55381
55382 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
55383
55384 [BZ #16447]
55385 * math/auto-libm-test-in: Add testcase for expl.
55386 * math/auto-libm-test-out: Regenerate.
55387 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
55388 calculation of unsafe.
55389 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
55390
55391 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
55392
55393 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
55394 * sysdeps/unix/sysv/linux/aarch64: Move directory from
55395 ports/sysdeps/unix/sysv/linux/aarch64.
55396 * README: Update listing for aarch64*-*-linux-gnu.
55397
55398 2014-02-11 Will Newton <will.newton@linaro.org>
55399
55400 * manual/probes.texi (Mathematical Function Probes): Use
55401 "triggered" instead of "hit".
55402
55403 * manual/probes.texi (Internal Probes): Add documentation
55404 of setjmp, longjmp and longjmp_target probes.
55405
55406 * include/stap-probe.h: Add comment about probe argument
55407 format.
55408
55409 * malloc/mtrace.c (attribute_hidden): Remove unused macro
55410 definition. (tr_where, tr_freehook, tr_mallochook,
55411 tr_reallochook, tr_memalignhook): Use ANSI protoype.
55412
55413 2014-02-11 David S. Miller <davem@davemloft.net>
55414
55415 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
55416 processing int_tests.
55417
55418 2014-02-10 Joseph Myers <joseph@codesourcery.com>
55419
55420 * sysdeps/mips: Move directory from ports/sysdeps/mips.
55421 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
55422 * sysdeps/unix/sysv/linux/mips: Move directory from
55423 ports/sysdeps/unix/sysv/linux/mips.
55424 * README: Update listing for mips-*-linux-gnu and
55425 mips64-*-linux-gnu.
55426
55427 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
55428
55429 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
55430 * sysdeps/unix/sysv/linux/m68k: Move directory from
55431 ports/sysdeps/unix/sysv/linux/m68k.
55432 * README: Update listing for m68k-*-linux-gnu.
55433
55434 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
55435
55436 * sysdeps/tile: Move directory from ports/sysdeps/tile.
55437 * sysdeps/unix/sysv/linux/generic: Move directory from
55438 ports/sysdeps/unix/sysv/linux/generic.
55439 * sysdeps/unix/sysv/linux/tile: Move directory from
55440 ports/sysdeps/unix/sysv/linux/tile.
55441 * README: Update listing for tile*-*-linux-gnu.
55442
55443 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
55444
55445 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
55446 __builtin_expect.
55447 * benchtests/bench-memmem.c (simple_memmem): Likewise.
55448 * catgets/open_catalog.c (__open_catalog): Likewise.
55449 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
55450 * debug/confstr_chk.c: Likewise.
55451 * debug/fread_chk.c (__fread_chk): Likewise.
55452 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
55453 * debug/getgroups_chk.c: Likewise.
55454 * debug/mbsnrtowcs_chk.c: Likewise.
55455 * debug/mbsrtowcs_chk.c: Likewise.
55456 * debug/mbstowcs_chk.c: Likewise.
55457 * debug/memcpy_chk.c: Likewise.
55458 * debug/memmove_chk.c: Likewise.
55459 * debug/mempcpy_chk.c: Likewise.
55460 * debug/memset_chk.c: Likewise.
55461 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
55462 * debug/strcat_chk.c (__strcat_chk): Likewise.
55463 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
55464 * debug/strncat_chk.c (__strncat_chk): Likewise.
55465 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
55466 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
55467 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
55468 * debug/wcpncpy_chk.c: Likewise.
55469 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
55470 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
55471 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
55472 * debug/wcsncpy_chk.c: Likewise.
55473 * debug/wcsnrtombs_chk.c: Likewise.
55474 * debug/wcsrtombs_chk.c: Likewise.
55475 * debug/wcstombs_chk.c: Likewise.
55476 * debug/wmemcpy_chk.c: Likewise.
55477 * debug/wmemmove_chk.c: Likewise.
55478 * debug/wmempcpy_chk.c: Likewise.
55479 * debug/wmemset_chk.c: Likewise.
55480 * dirent/scandirat.c (SCANDIRAT): Likewise.
55481 * dlfcn/dladdr1.c (dladdr1): Likewise.
55482 * dlfcn/dladdr.c (dladdr): Likewise.
55483 * dlfcn/dlclose.c (dlclose_doit): Likewise.
55484 * dlfcn/dlerror.c (__dlerror): Likewise.
55485 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
55486 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
55487 * dlfcn/dlopen.c (dlopen_doit): Likewise.
55488 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
55489 * dlfcn/dlsym.c (dlsym_doit): Likewise.
55490 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
55491 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
55492 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
55493 Likewise.
55494 * elf/dl-conflict.c: Likewise.
55495 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
55496 * elf/dl-dst.h: Likewise.
55497 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
55498 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
55499 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
55500 * elf/dl-init.c (call_init, _dl_init): Likewise.
55501 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
55502 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
55503 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
55504 Likewise.
55505 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
55506 Likewise.
55507 * elf/dl-minimal.c (__libc_memalign): Likewise.
55508 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
55509 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
55510 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
55511 * elf/dl-sym.c (do_sym): Likewise.
55512 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
55513 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
55514 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
55515 * elf/dl-writev.h (_dl_writev): Likewise.
55516 * elf/ldconfig.c (search_dir): Likewise.
55517 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
55518 (dl_main): Likewise.
55519 * elf/setup-vdso.h (setup_vdso): Likewise.
55520 * grp/compat-initgroups.c (compat_call): Likewise.
55521 * grp/fgetgrent.c (fgetgrent): Likewise.
55522 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
55523 * grp/putgrent.c (putgrent): Likewise.
55524 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
55525 Likewise.
55526 * hurd/hurdinit.c: Likewise.
55527 * iconvdata/8bit-gap.c (struct): Likewise.
55528 * iconvdata/ansi_x3.110.c : Likewise.
55529 * iconvdata/big5.c : Likewise.
55530 * iconvdata/big5hkscs.c : Likewise.
55531 * iconvdata/cp1255.c: Likewise.
55532 * iconvdata/cp1258.c : Likewise.
55533 * iconvdata/cp932.c : Likewise.
55534 * iconvdata/euc-cn.c: Likewise.
55535 * iconvdata/euc-jisx0213.c : Likewise.
55536 * iconvdata/euc-jp.c: Likewise.
55537 * iconvdata/euc-jp-ms.c : Likewise.
55538 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
55539 * iconvdata/gb18030.c : Likewise.
55540 * iconvdata/gbbig5.c (const): Likewise.
55541 * iconvdata/gbgbk.c: Likewise.
55542 * iconvdata/gbk.c : Likewise.
55543 * iconvdata/ibm1364.c : Likewise.
55544 * iconvdata/ibm930.c : Likewise.
55545 * iconvdata/ibm932.c: Likewise.
55546 * iconvdata/ibm933.c : Likewise.
55547 * iconvdata/ibm935.c : Likewise.
55548 * iconvdata/ibm937.c : Likewise.
55549 * iconvdata/ibm939.c : Likewise.
55550 * iconvdata/ibm943.c: Likewise.
55551 * iconvdata/iso_11548-1.c: Likewise.
55552 * iconvdata/iso-2022-cn.c : Likewise.
55553 * iconvdata/iso-2022-cn-ext.c : Likewise.
55554 * iconvdata/iso-2022-jp-3.c: Likewise.
55555 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
55556 * iconvdata/iso-2022-kr.c : Likewise.
55557 * iconvdata/iso646.c (gconv_end): Likewise.
55558 * iconvdata/iso_6937-2.c : Likewise.
55559 * iconvdata/iso_6937.c : Likewise.
55560 * iconvdata/iso8859-1.c: Likewise.
55561 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
55562 * iconvdata/shift_jisx0213.c : Likewise.
55563 * iconvdata/sjis.c : Likewise.
55564 * iconvdata/t.61.c : Likewise.
55565 * iconvdata/tcvn5712-1.c : Likewise.
55566 * iconvdata/tscii.c: Likewise.
55567 * iconvdata/uhc.c : Likewise.
55568 * iconvdata/unicode.c (gconv_end): Likewise.
55569 * iconvdata/utf-16.c (gconv_end): Likewise.
55570 * iconvdata/utf-32.c (gconv_end): Likewise.
55571 * iconvdata/utf-7.c (base64): Likewise.
55572 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
55573 * iconv/gconv_close.c (__gconv_close): Likewise.
55574 * iconv/gconv_open.c (__gconv_open): Likewise.
55575 * iconv/gconv_simple.c (internal_ucs4_loop_single)
55576 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
55577 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
55578 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
55579 (ucs4le_internal_loop_single): Likewise.
55580 * iconv/iconv.c (iconv): Likewise.
55581 * iconv/iconv_close.c: Likewise.
55582 * iconv/loop.c (SINGLE): Likewise.
55583 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
55584 * include/atomic.h: Likewise.
55585 * inet/inet6_option.c (option_alloc): Likewise.
55586 * intl/bindtextdom.c (set_binding_values): Likewise.
55587 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
55588 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
55589 * intl/localealias.c (read_alias_file): Likewise.
55590 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
55591 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
55592 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
55593 * libio/fmemopen.c (fmemopen): Likewise.
55594 * libio/iofgets.c (_IO_fgets): Likewise.
55595 * libio/iofgets_u.c (fgets_unlocked): Likewise.
55596 * libio/iofgetws.c (fgetws): Likewise.
55597 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
55598 * libio/iogetdelim.c (_IO_getdelim): Likewise.
55599 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
55600 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
55601 * locale/findlocale.c (_nl_find_locale): Likewise.
55602 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
55603 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
55604 Likewise.
55605 * locale/setlocale.c (setlocale): Likewise.
55606 * login/programs/pt_chown.c (main): Likewise.
55607 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
55608 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
55609 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
55610 (mmap, mmap64, mremap, munmap): Likewise.
55611 * math/e_exp2l.c: Likewise.
55612 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
55613 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
55614 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
55615 * math/s_catan.c (__catan): Likewise.
55616 * math/s_catanf.c (__catanf): Likewise.
55617 * math/s_catanh.c (__catanh): Likewise.
55618 * math/s_catanhf.c (__catanhf): Likewise.
55619 * math/s_catanhl.c (__catanhl): Likewise.
55620 * math/s_catanl.c (__catanl): Likewise.
55621 * math/s_ccosh.c (__ccosh): Likewise.
55622 * math/s_ccoshf.c (__ccoshf): Likewise.
55623 * math/s_ccoshl.c (__ccoshl): Likewise.
55624 * math/s_cexp.c (__cexp): Likewise.
55625 * math/s_cexpf.c (__cexpf): Likewise.
55626 * math/s_cexpl.c (__cexpl): Likewise.
55627 * math/s_clog10.c (__clog10): Likewise.
55628 * math/s_clog10f.c (__clog10f): Likewise.
55629 * math/s_clog10l.c (__clog10l): Likewise.
55630 * math/s_clog.c (__clog): Likewise.
55631 * math/s_clogf.c (__clogf): Likewise.
55632 * math/s_clogl.c (__clogl): Likewise.
55633 * math/s_csin.c (__csin): Likewise.
55634 * math/s_csinf.c (__csinf): Likewise.
55635 * math/s_csinh.c (__csinh): Likewise.
55636 * math/s_csinhf.c (__csinhf): Likewise.
55637 * math/s_csinhl.c (__csinhl): Likewise.
55638 * math/s_csinl.c (__csinl): Likewise.
55639 * math/s_csqrt.c (__csqrt): Likewise.
55640 * math/s_csqrtf.c (__csqrtf): Likewise.
55641 * math/s_csqrtl.c (__csqrtl): Likewise.
55642 * math/s_ctan.c (__ctan): Likewise.
55643 * math/s_ctanf.c (__ctanf): Likewise.
55644 * math/s_ctanh.c (__ctanh): Likewise.
55645 * math/s_ctanhf.c (__ctanhf): Likewise.
55646 * math/s_ctanhl.c (__ctanhl): Likewise.
55647 * math/s_ctanl.c (__ctanl): Likewise.
55648 * math/w_pow.c: Likewise.
55649 * math/w_powf.c: Likewise.
55650 * math/w_powl.c: Likewise.
55651 * math/w_scalb.c (sysv_scalb): Likewise.
55652 * math/w_scalbf.c (sysv_scalbf): Likewise.
55653 * math/w_scalbl.c (sysv_scalbl): Likewise.
55654 * misc/error.c (error_tail): Likewise.
55655 * misc/pselect.c (__pselect): Likewise.
55656 * nis/nis_callback.c (__nis_create_callback): Likewise.
55657 * nis/nis_call.c (__nisfind_server): Likewise.
55658 * nis/nis_creategroup.c (nis_creategroup): Likewise.
55659 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
55660 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
55661 * nis/nis_getservlist.c (nis_getservlist): Likewise.
55662 * nis/nis_lookup.c (nis_lookup): Likewise.
55663 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
55664 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
55665 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
55666 * nis/nis_xdr.c (xdr_endpoint): Likewise.
55667 * nis/nss_compat/compat-grp.c (getgrent_next_file)
55668 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
55669 * nis/nss_compat/compat-initgroups.c (add_group)
55670 (internal_getgrent_r): Likewise.
55671 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
55672 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
55673 * nis/nss_compat/compat-spwd.c (getspent_next_file)
55674 (internal_getspnam_r): Likewise.
55675 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
55676 (_nss_nis_getaliasbyname_r): Likewise.
55677 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
55678 (_nss_nis_getntohost_r): Likewise.
55679 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
55680 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
55681 (_nss_nis_getgrgid_r): Likewise.
55682 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
55683 (internal_nis_gethostent_r, internal_gethostbyname2_r)
55684 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
55685 (_nss_nis_gethostbyname4_r): Likewise.
55686 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
55687 (initgroups_netid): Likewise.
55688 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
55689 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
55690 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
55691 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
55692 (_nss_nis_getprotobynumber_r): Likewise.
55693 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
55694 (_nss_nis_getsecretkey): Likewise.
55695 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
55696 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
55697 (_nss_nis_getpwuid_r): Likewise.
55698 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
55699 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
55700 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
55701 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
55702 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
55703 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
55704 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
55705 Likewise.
55706 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
55707 (_nss_nisplus_getntohost_r): Likewise.
55708 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
55709 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
55710 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
55711 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
55712 Likewise.
55713 * nis/nss_nisplus/nisplus-initgroups.c
55714 (_nss_nisplus_initgroups_dyn): Likewise.
55715 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
55716 (_nss_nisplus_getnetbyaddr_r): Likewise.
55717 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
55718 (_nss_nisplus_getprotobynumber_r): Likewise.
55719 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
55720 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
55721 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
55722 Likewise.
55723 * nis/nss_nisplus/nisplus-service.c
55724 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
55725 (_nss_nisplus_getservbyport_r): Likewise.
55726 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
55727 (_nss_nisplus_getspnam_r): Likewise.
55728 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
55729 Likewise.
55730 * nscd/aicache.c (addhstaiX): Likewise.
55731 * nscd/cache.c (cache_search, prune_cache): Likewise.
55732 * nscd/connections.c (register_traced_file, send_ro_fd)
55733 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
55734 (main_loop_epoll): Likewise.
55735 * nscd/grpcache.c (addgrbyX): Likewise.
55736 * nscd/hstcache.c (addhstbyX): Likewise.
55737 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55738 * nscd/mem.c (gc, mempool_alloc): Likewise.
55739 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
55740 (addinnetgrX): Likewise.
55741 * nscd/nscd-client.h (__nscd_acquire_maplock)
55742 (__nscd_drop_map_ref): Likewise.
55743 * nscd/nscd_getai.c (__nscd_getai): Likewise.
55744 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
55745 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
55746 Likewise.
55747 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
55748 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55749 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
55750 (__nscd_get_map_ref): Likewise.
55751 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
55752 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
55753 Likewise.
55754 * nscd/pwdcache.c (addpwbyX): Likewise.
55755 * nscd/selinux.c (preserve_capabilities): Likewise.
55756 * nscd/servicescache.c (addservbyX): Likewise.
55757 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
55758 * posix/fnmatch.c (fnmatch): Likewise.
55759 * posix/getopt.c (_getopt_internal_r): Likewise.
55760 * posix/glob.c (glob, glob_in_dir): Likewise.
55761 * posix/wordexp.c (exec_comm_child): Likewise.
55762 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
55763 (getanswer_r, gaih_getanswer_slice): Likewise.
55764 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
55765 * resolv/res_init.c: Likewise.
55766 * resolv/res_mkquery.c (res_nmkquery): Likewise.
55767 * resolv/res_query.c (__libc_res_nquery): Likewise.
55768 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
55769 Likewise.
55770 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
55771 * stdio-common/perror.c (perror): Likewise.
55772 * stdio-common/printf_fp.c (___printf_fp): Likewise.
55773 * stdio-common/tmpnam.c (tmpnam): Likewise.
55774 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
55775 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
55776 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
55777 Likewise.
55778 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
55779 * stdlib/putenv.c (putenv): Likewise.
55780 * stdlib/setenv.c (__add_to_environ): Likewise.
55781 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
55782 * stdlib/strtol_l.c (INTERNAL): Likewise.
55783 * string/memmem.c (memmem): Likewise.
55784 * string/strerror.c (strerror): Likewise.
55785 * string/strnlen.c (__strnlen): Likewise.
55786 * string/test-memmem.c (simple_memmem): Likewise.
55787 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
55788 * sunrpc/pm_getport.c (__get_socket): Likewise.
55789 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
55790 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
55791 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
55792 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
55793 Likewise.
55794 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
55795 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
55796 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
55797 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
55798 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
55799 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
55800 Likewise.
55801 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
55802 Likewise.
55803 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
55804 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
55805 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55806 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
55807 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
55808 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
55809 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
55810 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
55811 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
55812 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
55813 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
55814 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
55815 Likewise.
55816 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
55817 Likewise.
55818 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
55819 Likewise.
55820 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
55821 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
55822 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
55823 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
55824 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
55825 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
55826 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
55827 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
55828 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
55829 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
55830 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
55831 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55832 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
55833 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
55834 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55835 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
55836 Likewise.
55837 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
55838 Likewise.
55839 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
55840 Likewise.
55841 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
55842 Likewise.
55843 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55844 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55845 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
55846 Likewise.
55847 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
55848 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
55849 * sysdeps/posix/opendir.c (__opendirat): Likewise.
55850 * sysdeps/posix/sleep.c: Likewise.
55851 * sysdeps/posix/tempname.c: Likewise.
55852 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
55853 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
55854 Likewise.
55855 * sysdeps/powerpc/powerpc32/dl-machine.h
55856 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
55857 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
55858 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
55859 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
55860 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
55861 Likewise.
55862 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
55863 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
55864 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
55865 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
55866 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
55867 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
55868 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
55869 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
55870 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55871 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
55872 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
55873 (elf_machine_lazy_rel): Likewise.
55874 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55875 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
55876 (elf_machine_lazy_rel): Likewise.
55877 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
55878 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
55879 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
55880 * sysdeps/unix/grantpt.c (grantpt): Likewise.
55881 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
55882 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
55883 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
55884 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55885 Likewise.
55886 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
55887 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
55888 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
55889 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
55890 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
55891 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
55892 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
55893 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
55894 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
55895 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
55896 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
55897 Likewise.
55898 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
55899 (__posix_fallocate64_l64): Likewise.
55900 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
55901 (posix_fallocate): Likewise.
55902 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
55903 Likewise.
55904 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
55905 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
55906 (getifaddrs_internal): Likewise.
55907 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
55908 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
55909 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
55910 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
55911 * sysdeps/unix/sysv/linux/posix_fallocate64.c
55912 (__posix_fallocate64_l64): Likewise.
55913 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
55914 Likewise.
55915 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
55916 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
55917 (__get_clockfreq): Likewise.
55918 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
55919 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
55920 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
55921 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
55922 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
55923 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
55924 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
55925 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
55926 Likewise.
55927 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
55928 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
55929 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
55930 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
55931 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55932 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
55933 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
55934 Likewise.
55935 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
55936 (posix_fallocate): Likewise.
55937 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
55938 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
55939 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
55940 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
55941 (elf_machine_rela, elf_machine_rela_relative)
55942 (elf_machine_lazy_rel): Likewise.
55943 * time/asctime.c (asctime_internal): Likewise.
55944 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
55945 * time/tzset.c (__tzset_parse_tz): Likewise.
55946 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
55947 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
55948 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
55949 * wcsmbs/wcsmbsload.h: Likewise.
55950
55951 [BZ #15894]
55952 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
55953
55954 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
55955 (arena_get2): Remove THREAD_STATS conditionals.
55956 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
55957 (__malloc_stats, int): Likewise.
55958
55959 2014-02-08 Mike Frysinger <vapier@gentoo.org>
55960
55961 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
55962 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
55963
55964 * manual/setjmp.texi: Fix typos/grammar errors.
55965
55966 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
55967 Only return early when n is <= 0. Delete unused return statement.
55968
55969 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
55970 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
55971 * debug/tst-longjmp_chk3.c: New file.
55972
55973 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
55974 (test_main): Replace code with set_fortify_handler call.
55975 * debug/test-strcpy_chk.c: Likewise.
55976 * debug/tst-chk1.c: Likewise.
55977 * debug/tst-longjmp_chk.c: Likewise.
55978 * test-skeleton.c: Include fcntl.h & paths.h
55979 (set_fortify_handler): Define.
55980
55981 * debug/tst-longjmp_chk.c: Add header comment and include
55982 ../test-skeleton.c.
55983 (do_test): Mark static.
55984 (TEST_FUNCTION): Define.
55985
55986 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
55987 (IP_PMTUDISC_INTERFACE): Likewise.
55988 (IP_MULTICAST_IF): Likewise.
55989 (IP_MULTICAST_TTL): Likewise.
55990 (IP_MULTICAST_LOOP): Likewise.
55991 (IP_ADD_MEMBERSHIP): Likewise.
55992 (IP_DROP_MEMBERSHIP): Likewise.
55993 (IP_UNBLOCK_SOURCE): Likewise.
55994 (IP_BLOCK_SOURCE): Likewise.
55995 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
55996 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
55997 (IP_MSFILTER): Likewise.
55998 (MCAST_JOIN_GROUP): Likewise.
55999 (MCAST_BLOCK_SOURCE): Likewise.
56000 (MCAST_UNBLOCK_SOURCE): Likewise.
56001 (MCAST_LEAVE_GROUP): Likewise.
56002 (MCAST_JOIN_SOURCE_GROUP): Likewise.
56003 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
56004 (MCAST_MSFILTER): Likewise.
56005 (IP_MULTICAST_ALL): Likewise.
56006 (IP_UNICAST_IF): Likewise.
56007
56008 * timezone/Makefile: Delete $(have-ksh) check.
56009 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
56010 * timezone/tzselect.ksh: Add +x mode bits.
56011
56012 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
56013 (ANON_INODE_FS_MAGIC): Likewise.
56014 (BDEVFS_MAGIC): Likewise.
56015 (BINFMTFS_MAGIC): Likewise.
56016 (BTRFS_TEST_MAGIC): Likewise.
56017 (CRAMFS_MAGIC_WEND): Likewise.
56018 (DEBUGFS_MAGIC): Likewise.
56019 (ECRYPTFS_SUPER_MAGIC): Likewise.
56020 (EXT3_SUPER_MAGIC): Likewise.
56021 (EXT4_SUPER_MAGIC): Likewise.
56022 (FUTEXFS_SUPER_MAGIC): Likewise.
56023 (HOSTFS_SUPER_MAGIC): Likewise.
56024 (HUGETLBFS_MAGIC): Likewise.
56025 (MINIX3_SUPER_MAGIC): Likewise.
56026 (MTD_INODE_FS_MAGIC): Likewise.
56027 (NILFS_SUPER_MAGIC): Likewise.
56028 (OPENPROM_SUPER_MAGIC): Likewise.
56029 (PIPEFS_MAGIC): Likewise.
56030 (PSTOREFS_MAGIC): Likewise.
56031 (QNX6_SUPER_MAGIC): Likewise.
56032 (RAMFS_MAGIC): Likewise.
56033 (REISERFS_SUPER_MAGIC_STRING): Likewise.
56034 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
56035 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
56036 (SECURITYFS_MAGIC): Likewise.
56037 (SELINUX_MAGIC): Likewise.
56038 (SMACK_MAGIC): Likewise.
56039 (SOCKFS_MAGIC): Likewise.
56040 (SQUASHFS_MAGIC): Likewise.
56041 (STACK_END_MAGIC): Likewise.
56042 (TMPFS_MAGIC): Likewise.
56043 (USBDEVICE_SUPER_MAGIC): Likewise.
56044 (V9FS_MAGIC): Likewise.
56045 (XENFS_SUPER_MAGIC): Likewise.
56046 (CRAMFS_MAGIC): Fix typo in comment.
56047 (EXT2_SUPER_MAGIC): Update comment.
56048 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
56049
56050 2014-02-08 Joseph Myers <joseph@codesourcery.com>
56051
56052 * sysdeps/arm: Move directory from ports/sysdeps/arm.
56053 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
56054 * sysdeps/unix/sysv/linux/arm: Move directory from
56055 ports/sysdeps/unix/sysv/linux/arm.
56056 * README: Update listing for arm-*-linux-gnueabi.
56057
56058 * README: Remove mention of am33.
56059
56060 2014-02-07 Roland McGrath <roland@hack.frob.com>
56061
56062 * bits/sigset.h (__sigemptyset): Use a statement expression rather
56063 than the comma operator, to avoid "rhs of comma has no effect"
56064 compiler warnings.
56065 (__sigfillset, __sigandset, __sigorset): Likewise.
56066 * include/signal.h (__sigemptyset): Likewise.
56067 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
56068
56069 2014-02-07 Allan McRae <allan@archlinux.org>
56070
56071 * version.h (RELEASE): Set to "development".
56072 (VERSION): Set to "2.19.90"
56073 * NEWS: Add 2.20 section.
56074
56075 2014-02-06 Carlos O'Donell <carlos@redhat.com>
56076
56077 [BZ #16529]
56078 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
56079
56080 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
56081
56082 * manual/contrib.texi: Update entry for Carlos O'Donell,
56083 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
56084
56085 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
56086
56087 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
56088
56089 * sysdeps/unix/sysv/linux/kernel-features.h
56090 [__LINUX_KERNEL_VERSION >= 0x020621]
56091 (__ASSUME_PROC_PID_TASK_COMM): Define.
56092
56093 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
56094
56095 [BZ #16398]
56096 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
56097 conversion when destination buffer does not have enough space.
56098 * libio/tst-ftell-partial-wide.c: New test case.
56099 * libio/Makefile (tests): Add tst-ftell-partial-wide.
56100
56101 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
56102 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
56103 Leonard and Allan McRae.
56104
56105 2014-02-04 David S. Miller <davem@davemloft.net>
56106
56107 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
56108 32-bit.
56109
56110 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56111
56112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
56113 New file
56114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
56115 New file
56116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
56117 New file.
56118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
56119 New file.
56120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
56121 New file.
56122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
56123 New file.
56124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
56125 New file.
56126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
56127 New file.
56128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
56129 New file.
56130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
56131 New file.
56132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
56133 New file.
56134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
56135 New file.
56136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
56137 New file.
56138
56139 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56140
56141 * nptl/shlib-versions: Change powerpc*le start to 2.17.
56142 * shlib-versions: Likewise.
56143
56144 2014-02-04 Roland McGrath <roland@hack.frob.com>
56145 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56146
56147 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
56148 (abilist-pattern): New variable, set to %-le.abilist.
56149
56150 * Makerules (abilist-pattern): New variable.
56151 (vpath): Use $(abilist-pattern) in place of %.abilist.
56152 (check-abi-% pattern rule): Likewise.
56153 (check-abi, update-abi): Likewise.
56154
56155 2014-02-04 Eric Wong <normalperson@yhbt.net>
56156
56157 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56158
56159 2014-02-03 Carlos O'Donell <carlos@redhat.com>
56160
56161 * manual/startup.texi: Add next, previous, and top entries for
56162 the `Program Arguments' and `Environment Variables' nodes.
56163
56164 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
56165
56166 * manual/macros.texi: Add comments before MTASC-safety macros.
56167
56168 * manual/users.texi: Document MTASC-safety properties.
56169
56170 * manual/threads.texi (pthread_key_create, pthread_key_delete)
56171 (pthread_getspecific, pthread_setspecific): Format with
56172 @deftypefun, and add @safety note.
56173 * manual/signal.texi: Move comments that analyze the above
56174 functions to their home place.
56175
56176 2014-02-03 Allan McRae <allan@archlinux.org>
56177
56178 * po/sl.po: Update Slovenian translation from translation project.
56179
56180 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
56181
56182 * manual/time.texi (timegm): Add missing blank after @c.
56183 Reported by Joseph Myers <joseph@codesourcery.com>.
56184
56185 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
56186
56187 * manual/check-safety.sh: New.
56188 * manual/Makefile ($(objpfx)stamp-summary): Run it.
56189
56190 * manual/terminal.texi: Document MTASC-safety properties.
56191
56192 * manual/filesys.texi: Document MTASC-safety properties.
56193
56194 * manual/errno.texi: Document MTASC-safety properties.
56195
56196 * manual/intro.texi: Document safety identifiers and
56197 conditionals.
56198
56199 * manual/string.texi (wcstok): Fix prototype.
56200 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
56201
56202 * manual/time.texi: Document MTASC-safety properties.
56203
56204 * manual/string.texi: Document MTASC-safety properties.
56205
56206 * manual/threads.texi: Document MTASC-safety properties.
56207
56208 * manual/stdio.texi: Document MTASC-safety properties.
56209
56210 * manual/syslog.texi: Document MTASC-safety properties.
56211
56212 * manual/sysinfo.texi: Document MTASC-safety properties.
56213
56214 * manual/startup.texi: Document MTASC-safety properties.
56215
56216 * manual/socket.texi: Document MTASC-safety properties.
56217
56218 * manual/signal.texi: Document MTASC-safety properties.
56219
56220 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
56221
56222 * manual/setjmp.texi: Document MTASC-safety properties.
56223
56224 * manual/search.texi: Document MTASC-safety properties.
56225
56226 * manual/resource.texi: Document MTASC-safety properties.
56227
56228 * manual/process.texi: Document MTASC-safety properties.
56229
56230 * manual/platform.texi: Document MTASC-safety properties.
56231
56232 * manual/pipe.texi: Document MTASC-safety properties.
56233
56234 * manual/pattern.texi: Document MTASC-safety properties.
56235
56236 * manual/message.texi: Document MTASC-safety properties.
56237
56238 [BZ #12751]
56239 * manual/memory.texi: Document MTASC-safety properties.
56240
56241 * manual/math.texi: Document MTASC-safety properties.
56242
56243 * manual/locale.texi: Document MTASC-safety properties.
56244
56245 * manual/llio.texi: Document MTASC-safety properties.
56246
56247 * manual/libdl.texi: New.
56248
56249 * manual/lang.texi: Document MTASC-safety properties.
56250
56251 * manual/job.texi: Document MTASC-safety properties.
56252
56253 * manual/getopt.texi: Document MTASC-safety properties.
56254
56255 * manual/ctype.texi: Document MTASC-safety properties.
56256
56257 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
56258
56259 [BZ #16046]
56260 * csu/libc-tls.c (static_map): Remove variable.
56261 (__libc_setup_tls): Use main executable's link map for TLS data.
56262 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
56263 casing for LM_ID_BASE and GL(dl_nns).
56264 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
56265 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
56266 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
56267 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
56268 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
56269 member.
56270 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
56271 l_phnum members.
56272
56273 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
56274
56275 * manual/debug.texi: Document MTASC-safety properties.
56276
56277 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
56278
56279 [BZ #16510]
56280 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
56281 of __x86_64__ when disabling x87 inline functions.
56282
56283 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
56284
56285 * manual/charset.texi: Document MTASC-safety properties.
56286
56287 * manual/crypt.texi: Document MTASC-safety properties.
56288
56289 * manual/conf.texi: Document MTASC-safety properties.
56290
56291 * manual/arith.texi: Document MTASC-safety properties.
56292
56293 * manual/argp.texi: Document MTASC-safety properties.
56294
56295 * manual/macros.texi: Introduce macros to document multi
56296 thread, asynchronous signal and asynchronous cancellation
56297 safety properties.
56298 * manual/intro.texi: Introduce the properties themselves.
56299
56300 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
56301
56302 * sysdeps/sh/sh4/Makefile: New file.
56303
56304 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
56305
56306 * math/gen-libm-test.pl ($srcdir): New variable.
56307 ($auto_input): Use it.
56308
56309 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
56310
56311 [BZ #16506]
56312 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
56313 access beyond array bounds when parsing netgroups file.
56314
56315 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
56316 the old buffer before realloc.
56317
56318 2014-01-27 Allan McRae <allan@archlinux.org>
56319
56320 * po/fr.po: Update French translation from translation project.
56321
56322 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
56323
56324 * sysdeps/sh/libm-test-ulps: Regenerate.
56325
56326 2014-01-24 David S. Miller <davem@davemloft.net>
56327
56328 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
56329
56330 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
56331
56332 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
56333 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
56334
56335 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
56336
56337 [BZ #16474]
56338 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
56339 string pointers after reallocation.
56340
56341 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
56342
56343 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
56344 __SH4A__ instead of __SH_FPU_ANY__.
56345
56346 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
56347
56348 * sysdeps/sh/fpu_control.h: New file.
56349 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
56350 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
56351 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
56352 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
56353 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
56354 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
56355 * sysdeps/sh/sys/ucontext.h: Remove.
56356 * sysdeps/sh/sys: Remove directory.
56357
56358 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56359
56360 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
56361 s390/sys/ucontext.h.
56362 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
56363 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
56364
56365 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
56366
56367 [BZ #15605]
56368 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
56369
56370 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56371
56372 [BZ #16431]
56373 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
56374 Adjust the vDSO correctly for internal calls.
56375 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
56376
56377 2014-01-20 Allan McRae <allan@archlinux.org>
56378
56379 * po/ca.po: Update Catalan translation from translation project.
56380
56381 2014-01-16 Mike Frysinger <vapier@gentoo.org>
56382
56383 * sysdeps/s390/sotruss-lib.c: New file.
56384
56385 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56386
56387 [BZ #16430]
56388 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
56389 (__GI___gettimeofday): Alias for a different internal symbol to avoid
56390 local calls issues by not having a PLT stub required for IFUNC calls.
56391 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
56392
56393 2014-01-16 Joseph Myers <joseph@codesourcery.com>
56394
56395 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
56396 * math/test-fpucw-static.c: Likewise.
56397
56398 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
56399
56400 [BZ #16453]
56401 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
56402
56403 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56404
56405 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
56406 implementation for powerpc.
56407
56408 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
56409
56410 [BZ #14782]
56411 * sysdeps/posix/system.c (__libc_system): Do not enable
56412 asynchronous cancellation.
56413
56414 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56415
56416 [BZ #16427]
56417 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
56418 handling only for numbers special also in the IEEE case.
56419
56420 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56421
56422 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56423
56424 2014-01-11 Allan McRae <allan@archlinux.org>
56425
56426 * po/bg.po: Update Bulgarian translation from translation project.
56427
56428 * po/de.po: Update German translation from translation project.
56429
56430 2014-01-10 Roland McGrath <roland@hack.frob.com>
56431
56432 * sysdeps/generic/gcc-compat.h: New file.
56433
56434 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
56435
56436 * benchtests/asin-inputs: Correct slow inputs.
56437 * benchtests/acos-inputs: Likewise.
56438
56439 2014-01-10 Allan McRae <allan@archlinux.org>
56440
56441 * po:sv.po: Update Swedish translation from translation project.
56442
56443 * po/vi.po: Update Vietnamese translation from translation project.
56444
56445 * po/eo.po: Update Esperanto translation from translation project.
56446
56447 * po/cs.po: Update Czech translation from translation project.
56448
56449 * po/nl.po: Update Dutch translation from translation project.
56450
56451 * po/pl.po: Update Polish translation from translation project.
56452
56453 * po/ru.po: Update Russian translation from translation project.
56454
56455 * po/uk.po: Update Ukrainian translation from translation project.
56456
56457 2014-01-08 Brooks Moses <bmoses@google.com>
56458
56459 * elf/dl-load.c: Fix comment typo.
56460
56461 2014-01-08 Carlos O'Donell <carlos@redhat.com>
56462
56463 * po/header.pot: Rename to...
56464 * po/pot.header: ... this.
56465 * po/Makefile: Use pot.header.
56466
56467 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
56468 Maxim Kuvyrkov <maxim@kugelworks.com>
56469
56470 [BZ #16394]
56471 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
56472 SRC and DEST against LEN.
56473
56474 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56475
56476 [BZ #16414]
56477 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
56478 implementation.
56479 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
56480
56481 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56482
56483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56484
56485 2014-01-08 Joseph Myers <joseph@codesourcery.com>
56486
56487 [BZ #16408]
56488 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
56489 for large positive arguments.
56490
56491 2014-01-07 Joseph Myers <joseph@codesourcery.com>
56492
56493 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
56494
56495 * math/auto-libm-test-in: Mark various tests with
56496 xfail-rounding:ldbl-128ibm.
56497 * math/auto-libm-test-out: Regenerated.
56498
56499 [BZ #16407]
56500 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
56501 Increase overflow threshold.
56502
56503 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
56504
56505 [BZ #14286]
56506 * stdio-common/vfprintf.c: Check for integer overflow.
56507
56508 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56509
56510 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
56511 the first argument and return value of __tls_get_addr_internal.
56512
56513 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56514
56515 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
56516 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
56517
56518 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56519
56520 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
56521 * sysdeps/s390/rtld-global-offsets.sym: New file.
56522 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
56523 GLIBC_2.19 symbol.
56524 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
56525 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
56526 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
56527 ... this.
56528 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
56529 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
56530 ... this.
56531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56532 Regenerate.
56533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56534 Regenerate.
56535 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
56536 halfs of GPRs for high_gprs contexts.
56537 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
56538 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
56539 field.
56540 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
56541 uc_flags field.
56542 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
56543 64 bit versions:
56544 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
56545 for high GPRs (uc_high_gprs) and for future extensions
56546 (__reserved).
56547 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
56548 for future extensions (__reserved).
56549 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
56550 64 bit versions:
56551 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
56552 SC_HIGHGPRS offset definition.
56553 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
56554 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
56555
56556 * Versions.def: Add GLIBC_2.19 for libpthread.
56557 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
56558 siglongjmp for libpthread with GLIBC_2.19 symver.
56559 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
56560 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
56561 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
56562 * sysdeps/s390/__longjmp.c: New file.
56563 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
56564 * sysdeps/s390/longjmp.c: New file.
56565 * sysdeps/s390/setjmp.S: New file.
56566 * sysdeps/s390/sigjmp.S: New file.
56567 * sysdeps/s390/v1-longjmp.c: New file.
56568 * sysdeps/s390/v1-setjmp.h: New file.
56569 * sysdeps/s390/v1-sigjmp.c: New file.
56570 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
56571 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
56572 GLIBC_2.19 version.
56573 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
56574 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
56575 versioned symbols for ____longjmp_chk.
56576 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
56577 Likewise.
56578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56579 Regenerate.
56580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56581 Regenerate.
56582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56583 Regenerate.
56584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56585 Regenerate.
56586 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
56587 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
56588 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
56589 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
56590 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
56591 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
56592 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
56593 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
56594 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
56595 * sysdeps/s390/rtld-__longjmp.c: New file.
56596 * sysdeps/s390/rtld-setjmp.S: New file.
56597
56598 2014-01-06 Joseph Myers <joseph@codesourcery.com>
56599
56600 [BZ #16400]
56601 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
56602 Return -__logl (x) for small positive arguments without evaluating
56603 a polynomial.
56604
56605 2014-01-06 Mike Frysinger <vapier@gentoo.org>
56606
56607 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
56608 Rename to ...
56609 (__ptrace_peeksiginfo_args): ... this.
56610 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56611 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56612 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56613
56614 2014-01-06 Allan McRae <allan@archlinux.org>
56615
56616 * inet/netinet/in.h: Fix typo in comment.
56617
56618 2014-01-05 Andreas Jaeger <aj@suse.de>
56619
56620 * sysdeps/i386/fpu/libm-test-ulps: Update.
56621
56622 2014-01-05 Allan McRae <allan@archlinux.org>
56623
56624 * po/libc.pot: Regenerated.
56625
56626 * malloc/memusagestat.c: Fix gettext call formatting.
56627
56628 2014-01-04 Sami Kerola <kerolasa@iki.fi>
56629
56630 * nscd/nscd.c: Improve usage() output.
56631
56632 2014-01-04 Mike Frysinger <vapier@gentoo.org>
56633
56634 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
56635 * sysdeps/unix/sysv/linux/configure: Regenerated.
56636 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
56637 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
56638
56639 2014-01-03 Joseph Myers <joseph@codesourcery.com>
56640
56641 [BZ #16390]
56642 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
56643 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
56644
56645 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56646
56647 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
56648 extra tokens at end of #undef directive.
56649 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
56650 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
56651 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
56652
56653 2014-01-03 Joseph Myers <joseph@codesourcery.com>
56654
56655 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
56656
56657 * math/auto-libm-test-in: Mark various tests with
56658 xfail-rounding:ldbl-128ibm.
56659 * math/auto-libm-test-out: Regenerated.
56660
56661 2014-01-02 Joseph Myers <joseph@codesourcery.com>
56662
56663 [BZ #16386]
56664 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
56665 numbers with subnormal high part when calculating exponent.
56666
56667 [BZ #16385]
56668 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
56669 fabs.
56670
56671 [BZ #16384]
56672 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
56673 M_LN2l.
56674 (__ieee754_acoshl): Use __log1pl not __log1p.
56675
56676 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
56677
56678 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
56679 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
56680 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
56681 (grow_heap, heap_trim, _int_new_arena, get_free_list)
56682 (reused_arena, arena_get2): Convert to GNU style.
56683 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
56684 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
56685 (memalign_check, __malloc_set_state): Likewise.
56686 * malloc/mallocbug.c (main): Likewise.
56687 * malloc/malloc.c (__malloc_assert, malloc_init_state)
56688 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
56689 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
56690 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
56691 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
56692 (__posix_memalign, malloc_info): Likewise.
56693 * malloc/malloc.h: Likewise.
56694 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
56695 (mallochook, memalignhook, reallochook, mabort): Likewise.
56696 * malloc/mcheck.h: Likewise.
56697 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
56698 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
56699 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
56700 * malloc/morecore.c (__default_morecore): Likewise.
56701 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
56702 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
56703 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
56704 (print_and_abort): Likewise.
56705 * malloc/obstack.h: Likewise.
56706 * malloc/set-freeres.c (__libc_freeres): Likewise.
56707 * malloc/tst-mallocstate.c (main): Likewise.
56708 * malloc/tst-mtrace.c (main): Likewise.
56709 * malloc/tst-realloc.c (do_test): Likewise.
56710
56711 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
56712
56713 [BZ #16366]
56714 * nscd/netgroupcache.c (do_notfound): New function.
56715 (addgetnetgrentX): Use it.
56716
56717 [BZ # 16365]
56718 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
56719 NSS_STATUS_NOTFOUND.
56720
56721 2014-01-01 Joseph Myers <joseph@codesourcery.com>
56722
56723 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
56724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56725
56726 2014-01-01 Allan McRae <allan@archlinux.org>
56727
56728 * scripts/update-copyrights: Update configure input file suffix.
56729
56730 * NEWS: Update copyright year.
56731 * catgets/gencat.c: Likewise.
56732 * csu/version.c: Likewise.
56733 * debug/catchsegv.sh: Likewise.
56734 * debug/pcprofiledump.c: Likewise.
56735 * debug/xtrace.sh: Likewise.
56736 * elf/ldconfig.c: Likewise.
56737 * elf/ldd.bash.in: Likewise.
56738 * elf/pldd.c: Likewise.
56739 * elf/sotruss.ksh: Likewise.
56740 * elf/sprof.c: Likewise.
56741 * iconv/iconv_prog.c: Likewise.
56742 * iconv/iconvconfig.c: Likewise.
56743 * locale/programs/locale.c: Likewise.
56744 * locale/programs/localedef.c: Likewise.
56745 * login/programs/pt_chown.c: Likewise.
56746 * malloc/memusage.sh: Likewise.
56747 * malloc/memusagestat.c: Likewise.
56748 * malloc/mtrace.pl: Likewise.
56749 * manual/libc.texinfo: Likewise.
56750 * nscd/nscd.c: Likewise.
56751 * nss/getent.c: Likewise.
56752 * nss/makedb.c: Likewise.
56753 * posix/getconf.c: Likewise.
56754 * scripts/test-installation.pl: Likewise.
56755
56756 * All files with FSF copyright notices: Update copyright dates
56757 using scripts/update-copyrights.
56758 * intl/plural.c: Regenerated.
56759 * locale/programs/charmap-kw.h: Likewise.
56760 * locale/programs/locfile-kw.h: Likewise.
56761
56762 2013-12-31 Mike Frysinger <vapier@gentoo.org>
56763
56764 * sysdeps/unix/sysv/linux/configure: Regenerated.
56765 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
56766 the linux/fanotify.h header.
56767 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
56768 HAVE_LINUX_FANOTIFY_H is defined.
56769
56770 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
56771
56772 * benchtests/cos-inputs: New inputs.
56773 * benchtests/sin-inputs: Likewise.
56774
56775 * benchtests/atan-inputs: New inputs. Fix name of multiple
56776 precision fallback inputs.
56777
56778 * benchtests/atanh-inputs: New inputs.
56779 * benchtests/tanh-inputs: Likewise.
56780
56781 * benchtests/acosh-inputs: New inputs.
56782 * benchtests/asinh-inputs: Likewise.
56783
56784 * benchtests/cosh-inputs: New inputs.
56785 * benchtests/sinh-inputs: Likewise.
56786
56787 * benchtests/acos-inputs: Add more inputs.
56788 * benchtests/asin-inputs: Likewise.
56789
56790 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
56791
56792 [BZ #16375]
56793 * manual/arith.texi: Fix spelling.
56794 * manual/charset.texi: Likewise.
56795 * manual/errno.texi: Likewise.
56796 * manual/filesys.texi: Likewise.
56797 * manual/lang.texi: Likewise.
56798 * manual/llio.texi: Likewise.
56799 * manual/locale.texi: Likewise.
56800 * manual/message.texi: Likewise.
56801 * manual/resource.texi: Likewise.
56802 * manual/search.texi: Likewise.
56803 * manual/setjmp.texi: Likewise.
56804 * manual/stdio.texi: Likewise.
56805 * manual/string.texi: Likewise.
56806 * manual/sysinfo.texi: Likewise.
56807 * manual/time.texi: Likewise.
56808
56809 2013-12-27 Carlos O'Donell <carlos@redhat.com>
56810
56811 * po/sl.po: New file.
56812
56813 2013-12-27 Mike Frysinger <vapier@gentoo.org>
56814
56815 * .gitignore: Add core/.gdbinit/.gdb_history.
56816
56817 2013-12-27 Allan McRae <allan@archlinux.org>
56818
56819 [BZ #16369]
56820 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
56821 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
56822
56823 2013-12-24 Brooks Moses <bmoses@google.com>
56824
56825 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
56826 all compilers that claim C++98 compliance, not just GCC.
56827 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
56828 Likewise.
56829
56830 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
56831
56832 * NEWS: Restore accidentally deleted bug-fix entries.
56833
56834 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
56835 Ondřej Bílka <neleai@seznam.cz>
56836
56837 [BZ #15073]
56838 * malloc/malloc.c (_int_free): Perform sanity check only if we
56839 have_lock.
56840
56841 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
56842
56843 [BZ #12986]
56844 * manual/stdio.texi (String Input Conversions): Clarify that character
56845 classes are not supported.
56846
56847 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56848
56849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56850
56851 2013-12-22 Joseph Myers <joseph@codesourcery.com>
56852
56853 [BZ #16337]
56854 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
56855 Calculate results for small negative arguments directly rather
56856 than using reflection formula with special underflow handling.
56857
56858 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
56859 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
56860 sysdeps/unix/bsd/bsd4.4/syscalls.list.
56861 (fchflags): Likewise.
56862 (revoke): Likewise.
56863 (setlogin): Likewise.
56864 (sigaltstack): Likewise.
56865 (wait4): Likewise.
56866 (sigblock): Remove.
56867 (sigsetmask): Likewise.
56868 (wait3): Likewise.
56869 (waitpid): Likewise.
56870 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
56871 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
56872 file.
56873 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
56874 * sysdeps/unix/bsd/Makefile: ... here.
56875 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
56876 * sysdeps/unix/bsd/Versions: ... here.
56877 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
56878 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
56879 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
56880 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
56881 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
56882 * sysdeps/unix/bsd/sigblock.c: ... here.
56883 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
56884 * sysdeps/unix/bsd/sigsetmask.c: ... here.
56885 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
56886 * sysdeps/unix/bsd/sigvec.c: ... here.
56887 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
56888 * sysdeps/unix/bsd/tcdrain.c: ... here.
56889 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
56890 * sysdeps/unix/bsd/tcgetattr.c: ... here.
56891 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
56892 * sysdeps/unix/bsd/tcsetattr.c: ... here.
56893 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
56894 * sysdeps/unix/bsd/wait.c: ... here.
56895 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
56896 * sysdeps/unix/bsd/wait3.c: ... here.
56897 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
56898 * sysdeps/unix/bsd/waitpid.c: ... here.
56899
56900 2013-12-21 Joseph Myers <joseph@codesourcery.com>
56901
56902 [BZ #16356]
56903 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
56904 round-to-nearest for [!USE_AS_EXPM1L].
56905 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
56906 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
56907 more tests of exp and exp10. Expect some exp10 tests to miss
56908 exceptions or fail in directed rounding modes.
56909 * math/auto-libm-test-out: Regenerated.
56910 * math/libm-test.inc (exp10_tonearest_test_data): New array.
56911 (exp10_test_tonearest): New function.
56912 (exp10_towardzero_test_data): New array.
56913 (exp10_test_towardzero): New function.
56914 (exp10_downward_test_data): New array.
56915 (exp10_test_downward): New function.
56916 (exp10_upward_test_data): New array.
56917 (exp10_test_upward): New function.
56918 (main): Call the new functions.
56919 * sysdeps/i386/fpu/libm-test-ulps: Update.
56920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56921
56922 2013-12-20 Joseph Myers <joseph@codesourcery.com>
56923
56924 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
56925 asinh, atan, atan2, atanh, cbrt, cos and cosh.
56926 * math/auto-libm-test-out: Regenerated.
56927 * math/libm-test.inc (acosh_test_data): Add more tests.
56928 (atanh_test_data): Likewise.
56929 (ceil_test_data): Likewise.
56930 (copysign_test_data): Likewise.
56931 * sysdeps/i386/fpu/libm-test-ulps: Update.
56932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56933
56934 * timezone/checktab.awk: Update from tzcode 2013i.
56935 * timezone/private.h: Likewise.
56936 * timezone/scheck.c: Likewise.
56937 * timezone/tzfile.h: Likewise.
56938 * timezone/tzselect.ksh: Likewise.
56939 * timezone/zdump.c: Likewise.
56940 * timezone/zic.c: Likewise.
56941
56942 * math/auto-libm-test-in: Add tests of cpow.
56943 * math/auto-libm-test-out: Regenerated.
56944 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
56945 * math/gen-auto-libm-tests.c (func_calc_method): Add value
56946 mpc_cc_c.
56947 (func_calc_desc): Add mpc_cc_c union field.
56948 (test_functions): Add cpow.
56949 (special_fill_2pi): New function.
56950 (special_real_inputs): Add 2pi.
56951 (calc_generic_results): Handle mpc_cc_c.
56952 * sysdeps/i386/fpu/libm-test-ulps: Update.
56953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56954
56955 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
56956 csqrt, ctan and ctanh.
56957 * math/auto-libm-test-out: Regenerated.
56958 * math/libm-test.inc (TEST_COND_x86_64): New macro.
56959 (TEST_COND_x86): Likewise.
56960 (ccos_test_data): Use AUTO_TESTS_c_c.
56961 (ccosh_test_data): Likewise.
56962 (cexp_test_data): Likewise.
56963 (clog_test_data): Likewise.
56964 (csqrt_test_data): Likewise.
56965 (ctan_test_data): Likewise.
56966 (ctan_tonearest_test_data): Likewise.
56967 (ctan_towardzero_test_data): Likewise.
56968 (ctan_downward_test_data): Likewise.
56969 (ctan_upward_test_data): Likewise.
56970 (ctanh_test_data): Likewise.
56971 (ctanh_tonearest_test_data): Likewise.
56972 (ctanh_towardzero_test_data): Likewise.
56973 (ctanh_downward_test_data): Likewise.
56974 (ctanh_upward_test_data): Likewise.
56975 * math/gen-auto-libm-tests.c (func_calc_method): Add value
56976 mpc_c_c.
56977 (func_calc_desc): Add mpc_c_c union field.
56978 (FUNC_mpc_c_c): New macro.
56979 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
56980 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
56981 ctanh.
56982 (special_fill_min_subnorm_p120): New function.
56983 (special_real_inputs): Add min_subnorm_p120.
56984 (calc_generic_results): Handle mpc_c_c.
56985 * sysdeps/i386/fpu/libm-test-ulps: Update.
56986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56987
56988 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
56989
56990 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
56991 (do_sin_slow): New functions.
56992 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
56993 (cslow2, csloww1, csloww2): Use the new functions.
56994
56995 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
56996 Use M to change sign of result instead of X. Assume X is
56997 positive.
56998 (csloww1): Likewise.
56999 (__sin): Adjust.
57000 (__cos): Adjust.
57001
57002 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
57003 arguments A and DA.
57004 (__sin): Adjust.
57005 (__cos): Likewise.
57006
57007 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
57008 (__cos): Likewise.
57009 (sloww1): Don't adjust sign of DX.
57010 (csloww1): Likewise.
57011 (sloww2): Use X directly and don't adjust sign of DX.
57012 (csloww2): Likewise.
57013
57014 2013-12-19 Joseph Myers <joseph@codesourcery.com>
57015
57016 * math/auto-libm-test-in: Add tests of cabs and carg.
57017 * math/auto-libm-test-out: Regenerated.
57018 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
57019 (carg_test_data): Likewise.
57020 * math/gen-auto-libm-tests.c (func_calc_method): Add value
57021 mpc_c_f.
57022 (func_calc_desc): Add mpc_c_f union field.
57023 (test_functions): Add cabs and carg.
57024 (calc_generic_results): Handle mpc_c_f.
57025
57026 * sysdeps/powerpc/powerpc32/libgcc-compat.S
57027 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
57028 as a macro and a compat symbol.
57029 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
57030 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
57031 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
57032 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
57033 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
57034 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
57035 not use .hidden.
57036 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
57037 Likewise.
57038 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
57039 Likewise.
57040 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
57041 Likewise.
57042 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
57043 Likewise.
57044 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
57045 Likewise.
57046 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
57047 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
57048 from GLIBC_2.3.2.
57049
57050 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57051
57052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57053
57054 2013-12-19 Joseph Myers <joseph@codesourcery.com>
57055
57056 * manual/texinfo.tex: Update to version 2013-11-26.10 with
57057 trailing whitespace removed.
57058 * scripts/config.guess: Update to version 2013-11-29.
57059 * scripts/config.sub: Update to version 2013-10-01.
57060
57061 * math/auto-libm-test-in: Add tests of sincos.
57062 * math/auto-libm-test-out: Regenerated.
57063 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
57064 * math/gen-auto-libm-tests.c (func_calc_method): Add value
57065 mpfr_f_11.
57066 (func_calc_desc): Add mpfr_f_11 union field.
57067 (test_functions): Add sincos.
57068 (calc_generic_results): Handle mpfr_f_11.
57069 * sysdeps/i386/fpu/libm-test-ulps: Update.
57070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57071
57072 2013-12-19 Andreas Schwab <schwab@suse.de>
57073
57074 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
57075 CALL_MCOUNT.
57076 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
57077 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
57078 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
57079
57080 2013-12-19 Joseph Myers <joseph@codesourcery.com>
57081
57082 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
57083 * sysdeps/i386/fpu/libm-test-ulps: Update.
57084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57085
57086 [BZ #16293]
57087 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
57088 round-to-nearest mode when using frndint.
57089 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
57090 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
57091 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
57092 Likewise.
57093 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
57094 sinh test to fail.
57095 * math/auto-libm-test-out: Regenerated.
57096 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
57097 (TEST_COND_x86): Likewise.
57098 (expm1_tonearest_test_data): New array.
57099 (expm1_test_tonearest): New function.
57100 (expm1_towardzero_test_data): New array.
57101 (expm1_test_towardzero): New function.
57102 (expm1_downward_test_data): New array.
57103 (expm1_test_downward): New function.
57104 (expm1_upward_test_data): New array.
57105 (expm1_test_upward): New function.
57106 (main): Run the new test functions.
57107 * sysdeps/i386/fpu/libm-test-ulps: Update.
57108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57109
57110 * include/features.h: Update comment documenting feature test
57111 macros. Mention _DEFAULT_SOURCE in comment.
57112 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
57113 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
57114 _BSD_SOURCE and _SVID_SOURCE.
57115 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
57116 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
57117 !_SVID_SOURCE]: Likewise.
57118 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
57119 (__USE_POSIX_IMPLICITLY): Define.
57120 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
57121 (_POSIX_SOURCE): Undefine and redefine.
57122 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
57123 (_POSIX_C_SOURCE): Likewise.
57124 * manual/creature.texi (_DEFAULT_SOURCE): Document.
57125 (Feature Test Macros): Update documentation of default features.
57126
57127 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
57128
57129 * benchtests/Makefile: Add bench-strtok.
57130 * benchtests/bench-strtok.c: New file: strtok benchtest.
57131
57132 2013-12-19 Allan McRae <allan@archlinux.org>
57133
57134 * manual/install.texi: Suppress menu for plain text output.
57135 * INSTALL: Regenerated.
57136
57137 2013-12-18 Brooks Moses <bmoses@google.com>
57138
57139 [BZ #15846]
57140 * misc/getauxval.c: Include errno.h.
57141 (__getauxval): Set errno to ENOENT if the requested type is not
57142 found.
57143 * misc/sys/auxv.h (getauxval): Document that it may set errno;
57144 don't declare with __attribute_const__.
57145 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
57146 * manual/startup.texi: Document that getauxval sets errno.
57147
57148 2013-12-18 Joseph Myers <joseph@codesourcery.com>
57149
57150 * math/auto-libm-test-in: Add tests of jn and yn.
57151 * math/auto-libm-test-out: Regenerated.
57152 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
57153 (yn_test_data): Likewise.
57154 * math/gen-auto-libm-tests.c (func_calc_method): Add value
57155 mpfr_if_f.
57156 (func_calc_desc): Add mpfr_if_f union field.
57157 (FUNC_mpfr_if_f): New macro.
57158 (test_functions): Add jn and yn.
57159 (calc_generic_results): Assert type of second input for
57160 mpfr_ff_f. Handle mpfr_if_f.
57161 (output_for_one_input_case): Disable all checking for arguments
57162 fitting floating-point types in case of an integer argument.
57163 * sysdeps/i386/fpu/libm-test-ulps: Update.
57164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57165
57166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
57167 Don't expect fegetround reference in libm.so.
57168
57169 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
57170
57171 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
57172 $(config-cflags-nofma).
57173
57174 2013-12-18 Joseph Myers <joseph@codesourcery.com>
57175
57176 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
57177 * math/auto-libm-test-out: Regenerated.
57178
57179 [BZ #16338]
57180 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
57181 to determine exponent and adjust argument to have exponent of -1.
57182 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
57183 log2.
57184 * math/auto-libm-test-out: Regenerated.
57185 * sysdeps/i386/fpu/libm-test-ulps: Update.
57186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57187
57188 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
57189
57190 * manual/probes.texi: Remove cases when per-thread arenas are
57191 disabled.
57192
57193 2013-12-18 Andreas Schwab <schwab@suse.de>
57194
57195 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
57196 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
57197 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
57198 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
57199 * sysdeps/i386/i686/multiarch/Makefile: Update.
57200 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
57201
57202 2013-12-17 Joseph Myers <joseph@codesourcery.com>
57203
57204 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
57205 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
57206
57207 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
57208
57209 [BZ #15968]
57210 Support TZ transition times < 00:00:00.
57211 This is needed for version-3 tz-format files; it supports time
57212 stamps past 2037 for America/Godthab (the only entry in the tz
57213 database for which this change is relevant).
57214 * manual/time.texi (TZ Variable): Document transition times
57215 from -167:59:59 through -00:00:01.
57216 * time/tzset.c (tz_rule): Time of day is now signed.
57217 (__tzset_parse_tz): Parse negative time of day.
57218
57219 Document TZ transition times >= 25:00:00.
57220 * manual/time.texi (TZ Variable): Document transition times from
57221 25:00:00 through 167:59:59. These are already supported, and this
57222 support will help with version-3 tz-format files.
57223
57224 * manual/time.texi (TZ Variable): Modernize North America example
57225 to reflect current (i.e., 2007-and-later) daylight saving rules.
57226
57227 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
57228
57229 2013-12-17 Joseph Myers <joseph@codesourcery.com>
57230
57231 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
57232 * sysdeps/unix/bsd/bits/stat.h: Likewise.
57233 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
57234 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
57235 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
57236 * sysdeps/unix/bsd/bsdstat.h: Likewise.
57237 * sysdeps/unix/bsd/clock.c: Likewise.
57238 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
57239 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
57240 * sysdeps/unix/bsd/init-posix.c: Likewise.
57241 * sysdeps/unix/bsd/poll.c: Likewise.
57242 * sysdeps/unix/bsd/ptsname.c: Likewise.
57243 * sysdeps/unix/bsd/seekdir.c: Likewise.
57244 * sysdeps/unix/bsd/setegid.c: Likewise.
57245 * sysdeps/unix/bsd/seteuid.c: Likewise.
57246 * sysdeps/unix/bsd/setgid.c: Likewise.
57247 * sysdeps/unix/bsd/setrgid.c: Likewise.
57248 * sysdeps/unix/bsd/setruid.c: Likewise.
57249 * sysdeps/unix/bsd/setsid.c: Likewise.
57250 * sysdeps/unix/bsd/setuid.c: Likewise.
57251 * sysdeps/unix/bsd/sigaction.c: Likewise.
57252 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
57253 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
57254 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
57255 * sysdeps/unix/bsd/telldir.c: Likewise.
57256 * sysdeps/unix/bsd/times.c: Likewise.
57257 * sysdeps/unix/bsd/usleep.c: Likewise.
57258
57259 * misc/Makefile (install-lib): Remove libbsd-compat.a.
57260 ($(objpfx)libbsd-compat.a): Remove rule.
57261
57262 * include/features.h (__FAVOR_BSD): Do not define.
57263 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
57264 features conflicting with POSIX.
57265 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
57266 (_BSD_SOURCE): Remove description of not being a subset of other
57267 feature test macros.
57268 * manual/job.texi (getpgrp): Do not document BSD version.
57269 (getpgid): Do not document by reference to BSD getpgrp.
57270 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
57271 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
57272 * signal/signal.h [__FAVOR_BSD]: Likewise.
57273 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
57274 instead of making contents conditional on [__FAVOR_BSD].
57275 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
57276
57277 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57278
57279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57280
57281 2013-12-17 Joseph Myers <joseph@codesourcery.com>
57282
57283 [BZ #16314]
57284 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
57285 values below 2**-450, not 2**-500.
57286 * math/auto-libm-test-in: Don't allow spurious underflow from
57287 hypot.
57288 * math/auto-libm-test-out: Regenerated.
57289
57290 [BZ #16316]
57291 [BZ #16330]
57292 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
57293 values of ha and hb and sort them after adjusting subnormal
57294 arguments.
57295 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
57296 Likewise.
57297 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
57298 values of ea and eb and sort them after adjusting subnormal
57299 arguments.
57300 * math/auto-libm-test-in: Do not expect some hypot tests of
57301 subnormals to fail. Add more hypot tests.
57302 * math/auto-libm-test-out: Regenerated.
57303
57304 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57305
57306 [BZ #13304]
57307 * sysdeps/sh/s_fma.c: New file.
57308 * sysdeps/sh/s_fmaf.c: New file.
57309 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
57310 version.
57311 * sysdeps/sh/Implies: Add sh/soft-fp.
57312
57313 2013-12-16 Roland McGrath <roland@hack.frob.com>
57314
57315 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
57316 level of indirection to members `objname', `errstring', `malloced'.
57317 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
57318 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
57319 it as the __longjmp argument (just pass 1 instead).
57320 (_dl_catch_error): Initialize C with argument pointers and address of
57321 volatile local ERRCODE rather than copying values out of C at return.
57322
57323 2013-12-16 Joseph Myers <joseph@codesourcery.com>
57324
57325 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
57326 * math/auto-libm-test-out: Regenerated.
57327 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
57328 (hypot_test_data): Likewise.
57329 (pow_test_data): Likewise.
57330 (pow_tonearest_test_data): Likewise.
57331 * math/gen-auto-libm-tests.c (func_calc_method): Add value
57332 mpfr_ff_f.
57333 (func_calc_desc): Add mpfr_ff_f union field.
57334 (FUNC_mpfr_ff_f): New macro.
57335 (test_functions): Add atan2, hypot and pow.
57336 (special_fill_min): New function.
57337 (special_fill_minus_min): Likewise.
57338 (special_fill_min_subnorm): Likewise.
57339 (special_fill_minus_min_subnorm): Likewise.
57340 (special_real_inputs): Add min, -min, min_subnorm and
57341 -min_subnorm.
57342 (calc_generic_results): Handle mpfr_ff_f.
57343 * sysdeps/i386/fpu/libm-test-ulps: Update.
57344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57345
57346 2013-12-16 Will Newton <will.newton@linaro.org>
57347
57348 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
57349 (Aligned Memory Blocks): Add documentation for aligned_alloc
57350 and suggest it as an alternative to posix_memalign.
57351 (Hooks for Malloc): Document __memalign_hook is also called
57352 for aligned_alloc. (Summary of Malloc): Add summary for
57353 aligned alloc. Document __memalign_hook is also called
57354 for aligned_alloc.
57355
57356 2013-12-16 Will Newton <will.newton@linaro.org>
57357
57358 * manual/memory.texi (Malloc Examples): Clarify default
57359 alignment documentation. Suggest posix_memalign rather
57360 than memalign or valloc.
57361 (Aligned Memory Blocks): Remove suggestion to use memalign
57362 or valloc. Remove obsolete comment about BSD.
57363 Document memalign errno values and mark the function obsolete.
57364 Document posix_memalign returned error codes. Mark valloc
57365 as obsolete. (Hooks for Malloc): __memalign_hook is also
57366 called for posix_memalign and valloc.
57367 (Summary of Malloc): Add posix_memalign to function summary.
57368 __memalign_hook is also called for posix_memalign and valloc.
57369
57370 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
57371
57372 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
57373 TAYLOR_SIN.
57374 (__sin): Adjust.
57375 (__cos): Likewise.
57376 (sloww): Use mynumber union. Expand ternary operator into
57377 if-else statements.
57378 (cslow): use mynumber union.
57379
57380 2013-12-16 Allan McRae <allan@archlinux.org>
57381
57382 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
57383 * configure: Regenerated.
57384
57385 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
57386
57387 [BZ #14120]
57388 * configure.ac: Added --enable-maintainer-mode. Check for
57389 autoconf when enabled.
57390 * configure: Regenerated.
57391
57392 * nscd/nscd.service: New file.
57393 * nscd/nscd.tmpfiles: New file.
57394
57395 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
57396
57397 [BZ #12100]
57398 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
57399 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
57400 * sysdeps/x86_64/multiarch/strstr.c: ... here.
57401 (strstr): Add __strstr_sse2_unaligned ifunc.
57402 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
57403 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
57404 (strcasestr): Remove __strcasestr_sse42 ifunc.
57405 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
57406 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
57407 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
57408
57409 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57410
57411 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
57412 * sysdeps/sh/bits/fenv.h: ... here.
57413 * sysdeps/sh/sh4/fpu/bits: Remove directory.
57414
57415 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57416
57417 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
57418
57419 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
57420 hypotf multiarch implementations.
57421 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
57422 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
57423 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
57424 multiarch hypot for PPC64.
57425 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
57426 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
57427 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
57428 multiarch hypotf for PPC64.
57429
57430 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
57431 modff multiarch implementations.
57432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
57433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
57434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
57435 multiarch modf for PPC64.
57436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
57437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
57438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
57439 multiarch modff for PPC64.
57440
57441 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
57442 and logl multiarch implementations.
57443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
57444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
57445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
57446 multiarch logb for PPC64.
57447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
57448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
57449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
57450 multiarch logb for PPC64.
57451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
57452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
57453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
57454 multiarch logb for PPC64.
57455
57456 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
57457 isinff multiarch implementation.
57458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
57459 file.
57460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
57461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
57462 multiarch isinf for PPC64.
57463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
57464 file.
57465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
57466 multiarch isinff for PPC64.
57467
57468 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
57469 finitef multiarch implementation.
57470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
57471 file.
57472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
57473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
57474 multiarch finite for PPC64.
57475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
57476 file.
57477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
57478 multiarch finitef for PPC64.
57479
57480 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
57481 lrint multiarch implementation.
57482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
57483 file.
57484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
57485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
57486 multiarch llrint for PPC64.
57487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
57488 multiarch lrint for PPC64.
57489
57490 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
57491 copysignf multiarch implementation.
57492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
57493 file.
57494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
57495 file.
57496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
57497 multiarch copysign for PPC64.
57498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
57499 multiarch copysignf for PPC64.
57500
57501 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
57502 multiarch implementation.
57503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
57504 file.
57505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
57506 file.
57507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
57508 file.
57509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
57510 file.
57511 multiarch llround for PPC64.
57512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
57513 multiarch trunc for PPC64.
57514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
57515 multiarch truncf for PPC64.
57516
57517 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
57518 multiarch implementation.
57519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
57520 file.
57521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
57522 file.
57523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
57524 file.
57525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
57526 file.
57527 multiarch llround for PPC64.
57528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
57529 multiarch round for PPC64.
57530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
57531 multiarch roundf for PPC64.
57532
57533 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
57534 multiarch implementation.
57535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
57536 file.
57537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
57538 file.
57539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
57540 file.
57541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
57542 file.
57543 multiarch llround for PPC64.
57544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
57545 multiarch floor for PPC64.
57546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
57547 multiarch floorf for PPC64.
57548
57549 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
57550 multiarch implementation.
57551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
57552 file.
57553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
57554 file.
57555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
57556 file.
57557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
57558 file.
57559 multiarch llround for PPC64.
57560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
57561 multiarch ceil for PPC64.
57562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
57563 multiarch ceilf for PPC64.
57564
57565 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
57566 multiarch implementation.
57567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
57568 file.
57569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
57570 file.
57571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
57572 file.
57573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
57574 multiarch llround for PPC64.
57575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
57576 multiarch lround for PPC64.
57577
57578 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
57579 multiarch implementation.
57580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
57581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
57582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
57583 file.
57584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
57585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
57586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
57587 multiarch isnan for PPC64.
57588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
57589 multiarch isnanf for PPC64.
57590
57591 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
57592 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
57593 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
57594 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
57595 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
57596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
57597
57598 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
57599 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57600 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57601 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57602
57603 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
57604 multiarch implementations.
57605 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57606 (__libc_ifunc_impl_list): Likewise.
57607 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
57608 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
57609 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
57610 multiarch stpcpy for PPC64.
57611
57612 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
57613 multiarch implementations.
57614 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57615 (__libc_ifunc_impl_list): Likewise.
57616 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
57617 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
57618 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
57619 multiarch strcpy for PPC64.
57620
57621 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
57622 redefine function name.
57623 (_wordcopy_fwd_dest_aligned): Likewise.
57624 (_wordcopy_bwd_aligned): Likewise.
57625 (_wordcopy_bwd_dest_aligned): Likewise.
57626 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
57627 multiarch implementations.
57628 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57629 (__libc_ifunc_impl_list): Likewise.
57630 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
57631 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
57632 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
57633 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
57634 multiarch wcscpy for PPC64.
57635
57636 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
57637 multiarch implementations.
57638 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57639 (__libc_ifunc_impl_list): Likewise.
57640 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
57641 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
57642 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
57643 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
57644 multiarch wcscpy for PPC64.
57645
57646 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
57647 multiarch implementations.
57648 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57649 (__libc_ifunc_impl_list): Likewise.
57650 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
57651 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
57652 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
57653 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
57654 multiarch wcsrchr for PPC64.
57655
57656 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
57657 multiarch implementations.
57658 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57659 (__libc_ifunc_impl_list): Likewise.
57660 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
57661 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
57662 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
57663 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
57664 multiarch wcschr for PPC64.
57665
57666 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
57667 multiarch implementations.
57668 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57669 (__libc_ifunc_impl_list): Likewise.
57670 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
57671 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
57672 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
57673 multiarch strchrnul for PPC64.
57674
57675 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
57676 implementations.
57677 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57678 (__libc_ifunc_impl_list): Likewise.
57679 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
57680 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
57681 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
57682 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
57683 strchr for PPC64.
57684
57685 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
57686 implementations.
57687 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57688 (__libc_ifunc_impl_list): Likewise.
57689 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
57690 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
57691 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
57692 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
57693 strncmp for PPC64.
57694
57695 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
57696 multiarch implementations.
57697 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57698 (__libc_ifunc_impl_list): Likewise.
57699 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
57700 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
57701 strncasecmp for PPC64.
57702 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
57703 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
57704 multiarch strncasecmp_l for PPC64.
57705
57706 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
57707 multiarch implementations.
57708 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
57709 (__libc_ifunc_impl_list): Likewise.
57710 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
57711 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
57712 multiarch strcasecmp for PPC64.
57713 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
57714 file.
57715 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
57716 multiarch strcasecmp_l for PPC64.
57717
57718 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
57719 implementations.
57720 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57721 (__libc_ifunc_impl_list): Likewise.
57722 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
57723 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
57724 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
57725 strnlen for PPC64.
57726
57727 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
57728 implementations.
57729 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57730 (__libc_ifunc_impl_list): Likewise.
57731 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
57732 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
57733 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
57734 strlen for PPC64.
57735
57736 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
57737 implementations.
57738 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57739 (__libc_ifunc_impl_list): Likewise.
57740 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
57741 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
57742 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
57743 rawmemrchr for PPC64.
57744
57745 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
57746 implementation.
57747 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57748 (__libc_ifunc_impl_list): Likewise.
57749 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
57750 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
57751 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
57752 memrchr for PPC64.
57753
57754 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
57755 implementation.
57756 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57757 (__libc_ifunc_impl_list): Likewise.
57758 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
57759 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
57760 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
57761 memchr for PPC64.
57762
57763 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
57764 implementation.
57765 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57766 (__libc_ifunc_impl_list): Likewise.
57767 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
57768 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
57769 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
57770 mempcpy for PPC64.
57771
57772 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
57773 avoid cretion of __bzero symbol.
57774 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
57775 Likewise.
57776 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
57777 Likewise.
57778 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
57779 Likewise.
57780 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
57781 multiarch implementations.
57782 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57783 (__libc_ifunc_impl_list): Likewise.
57784 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
57785 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
57786 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
57787 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
57788 bzero for PPC32.
57789 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
57790 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
57791 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
57792 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
57793 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
57794 memset for PPC64.
57795 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
57796
57797 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
57798 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
57799 implementations.
57800 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57801 (__libc_ifunc_impl_list): Likewise.
57802 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
57803 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
57804 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
57805 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
57806 memcmp for PPC64.
57807
57808 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
57809 multiarch for POWER/PPC64.
57810 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
57811 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
57812 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
57813 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
57814 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
57815 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
57816 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
57817 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
57818 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
57819 memcpy for PPC64.
57820
57821 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
57822 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
57823 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
57824 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
57825 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
57826 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
57827 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
57828 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
57829 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
57830 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
57831 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
57832 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
57833 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
57834 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
57835 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
57836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
57837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
57838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
57839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
57840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
57841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
57842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
57843
57844 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57845
57846 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
57847
57848 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
57849
57850 * benchtests/Makefile (bench): Add exp2 and log2.
57851 (LDLIBS-bench-exp2): Add -lm.
57852 (LDLIBS-bench-log2): Likewise.
57853 * benchtests/exp2-inputs: New inputs file.
57854 * benchtests/log2-inputs: New inputs file.
57855 * benchtests/log-inputs: Add new inputs.
57856 * benchtests/tan-inputs: Likewise.
57857
57858 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
57859
57860 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
57861 definition...
57862 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
57863 (csloww2): ... from here.
57864
57865 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
57866 instead of structures.
57867 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
57868 (POLYNOMIAL): Likewise.
57869 (TAYLOR_SLOW): Likewise.
57870 (__sin): Likewise.
57871 (__cos): Likewise.
57872 (slow1): Likewise.
57873 (slow2): Likewise.
57874 (sloww): Likewise.
57875 (sloww1); Likewise.
57876 (sloww2): Likewise.
57877 (bsloww1): Likewise.
57878 (bsloww2): Likewise.
57879 (cslow2): Likewise.
57880 (csloww): Likewise.
57881 (csloww1): Likewise.
57882 (csloww2): Likewise.
57883
57884 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
57885
57886 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57887 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
57888 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
57889 * malloc/hooks.c (realloc_check): Likewise.
57890
57891 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
57892 * malloc/arena.c: Remove PER_THREAD conditional.
57893 [!PER_THREAD]: Remove code.
57894 (ptmalloc_unlock_all2): Likewise.
57895 (ptmalloc_init): Likewise.
57896 (_int_new_arena): Likewise.
57897 (arena_get2): Likewise.
57898 * malloc/hooks.c (__malloc_get_state): Likewise.
57899 (__malloc_set_state): Likewise.
57900 * malloc/malloc.c: Likewise.
57901 (struct malloc_state): Likewise.
57902 (struct malloc_par): Likewise.
57903 (__libc_realloc): Likewise.
57904 (__libc_mallopt): Likewise.
57905
57906 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57907
57908 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
57909
57910 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
57911
57912 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
57913 macro to a function. Check for zero perturb_byte.
57914 (_int_malloc, _int_free): Remove zero perturb_byte checks.
57915
57916 * malloc/malloc.c: (force_reg): Remove.
57917 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
57918 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
57919 force_reg by atomic_forced_read.
57920 * malloc/arena.c (ptmalloc_init): Likewise.
57921 * malloc/hooks.c (top_check): Likewise.
57922
57923 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57924
57925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57926
57927 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
57928
57929 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57930
57931 2013-12-08 Joseph Myers <joseph@codesourcery.com>
57932
57933 * math/auto-libm-test-in: Add tests of lgamma.
57934 * math/auto-libm-test-out: Regenerated.
57935 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
57936 (M_LOG_2_SQRT_PIl): Likewise.
57937 (lgamma_test_data): Use AUTO_TESTS_f_f1.
57938 * math/gen-auto-libm-tests.c (func_calc_method): Add value
57939 mpfr_f_f1.
57940 (func_calc_desc): Add mpfr_f_f1 union field.
57941 (ARGS1): New macro.
57942 (ARGS2): Likewise.
57943 (ARGS3): Likewise.
57944 (ARGS4): Likewise.
57945 (RET1): Likewise.
57946 (RET2): Likewise.
57947 (CALC): Likewise.
57948 (FUNC): Likewise.
57949 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
57950 (test_functions): Add lgamma.
57951 (calc_generic_results): Handle mpfr_f_f1.
57952 * sysdeps/i386/fpu/libm-test-ulps: Update.
57953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57954
57955 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57956
57957 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
57958 __mpn_add_n for PowerPC64/POWER7.
57959 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
57960 __mpn_sub_n for PowerPC64/POWER7.
57961
57962 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
57963 __mpn_addmul_1 for PowerPC64.
57964 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
57965 __mpn_submul_1 for PowerPC64.
57966 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
57967 for PowerPC64.
57968 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
57969 for PowerPC64.
57970
57971 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
57972
57973 [BZ #15089]
57974 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
57975
57976 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57977
57978 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
57979
57980 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
57981 add multiarch folders.
57982 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
57983 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
57984 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
57985 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
57986 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
57987 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
57988 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
57989 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
57990 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
57991 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
57992 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
57993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
57994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
57995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
57996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
57997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
57998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
57999
58000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
58001 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
58002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
58003 New file.
58004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
58005 New file.
58006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
58007 multiarch __ieee754_hypot for PowerPC32.
58008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
58009 New file.
58010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
58011 New file.
58012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
58013 multiarch __ieee754_hypotf for PowerPC32.
58014
58015 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
58016 long_double_symbol only if __logbl is defined.
58017 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
58018 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
58019 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
58020 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
58021 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
58022 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
58023 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
58024 path for implementation.
58025 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
58026 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
58027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
58028 logb, and logbl multiarch implementations for PowerPC32.
58029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
58030 file.
58031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
58032 file.
58033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
58034 multiarch logb for PowerPC32.
58035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
58036 file.
58037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
58038 file.
58039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
58040 multiarch logbf for PowerPC32.
58041 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
58042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
58043 file.
58044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
58045 multiarch logbl implementation for PowerPC32.
58046
58047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
58048 and modff multiarch implementations.
58049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
58050 New file.
58051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
58052 New file.
58053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
58054 multiarch modf for PowerPC32.
58055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
58056 New file.
58057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
58058 New file.
58059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
58060 multiarch modff for PowerPC32.
58061
58062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
58063 and lrintf multiarch implementations.
58064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
58065 New file.
58066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
58067 New file.
58068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
58069 multiarch lrint for PowerPC32.
58070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
58071 file: multiarch lrintf for PowerPC32.
58072
58073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
58074 and lroundf multiarch implementations.
58075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
58076 New file.
58077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
58078 New file.
58079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
58080 New file.
58081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
58082 multiarch lround for PowerPC32.
58083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
58084 file: multiarch lroundf for PowerPC32.
58085
58086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
58087 copysign and copysignf multiarch implementations.
58088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
58089 New file.
58090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
58091 New file.
58092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
58093 file: multiarch copysign for PowerPC32.
58094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
58095 file: multiarch copysignf for PowerPC32.
58096
58097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
58098 and truncf multiarch implementations.
58099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
58100 New file.
58101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
58102 file.
58103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
58104 multiarch trunc for PowerPC32.
58105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
58106 New file.
58107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
58108 New file.
58109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
58110 multiarch truncf for PowerPC32.
58111
58112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
58113 and roundf multiarch implementations.
58114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
58115 New file.
58116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
58117 file.
58118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
58119 multiarch round for PowerPC32.
58120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
58121 New file.
58122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
58123 New file.
58124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
58125 multiarch roundf for PowerPC32.
58126
58127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
58128 and floorf multiarch implementations.
58129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
58130 New file.
58131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
58132 file.
58133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
58134 multiarch floor for PowerPC32.
58135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
58136 New file.
58137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
58138 New file.
58139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
58140 multiarch floorf for PowerPC32.
58141
58142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
58143 and ceilf multiarch implementations.
58144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
58145 New file.
58146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
58147 file.
58148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
58149 multiarch ceil for PowerPC32.
58150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
58151 New file.
58152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
58153 file.
58154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
58155 multiarch ceilf for PowerPC32.
58156
58157 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
58158 is defined.
58159 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
58160 FINITEF is defined.
58161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
58162 and finitef multiarch implementations.
58163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
58164 New file.
58165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
58166 file.
58167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
58168 multiarch finite for PowerPC32.
58169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
58170 New file.
58171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
58172 file: multiarch finitef for PowerPC32.
58173
58174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
58175 and isinff multiarch implementations.
58176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
58177 file.
58178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
58179 file.
58180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
58181 multiarch isinf for PowerPC32.
58182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
58183 New file.
58184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
58185 multiarch isinff for PowerPC32.
58186
58187 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
58188 alias when __isnan is defined.
58189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
58190 and isnanf multiarch implementations.
58191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
58192 file.
58193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
58194 file.
58195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
58196 file.
58197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
58198 file.
58199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
58200 multiarch isnan for PowerPC32.
58201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
58202 New file.
58203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
58204 New file.
58205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
58206 multiarch isnanf for PowerPC32.
58207
58208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
58209 and sqrtf multiarch implementations.
58210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
58211 file.
58212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
58213 file.
58214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
58215 multiarch sqrt for PowerPC32.
58216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
58217 file.
58218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
58219 file.
58220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
58221 multiarch sqrtf for PowerPC32.
58222
58223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
58224 and llroundf multiarch implementations.
58225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
58226 New file.
58227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
58228 New file.
58229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
58230 New file.
58231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
58232 file: multiarch llround for PowerPC32.
58233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
58234 file: multiarch llroundf for PowerPC32.
58235
58236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
58237 multiarch PowerPC32 fpu implementations.
58238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
58239 New file.
58240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
58241 New file.
58242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
58243 multiarch llrint for PowerPC32.
58244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
58245 New file.
58246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
58247 New file.
58248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
58249 file.
58250
58251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
58252
58253 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
58254 file.
58255 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
58256 file.
58257 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
58258 file.
58259 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
58260 multiarch wordcopy for PPC32.
58261 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
58262 wordcopy objects.
58263 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58264 (__libc_ifunc_impl_list): Likewise.
58265 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
58266 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
58267 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
58268 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
58269 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
58270 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
58271
58272 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
58273 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
58274 file.
58275 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
58276 file.
58277 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
58278 file.
58279 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
58280 multiarch wcscpy for PPC32.
58281 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
58282 multiarch objects.
58283 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58284 (__libc_ifunc_impl_list): Likewise.
58285 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
58286 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
58287 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
58288 sysdeps/powerpc/power6/wcscpy.c.
58289
58290 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
58291 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
58292 file.
58293 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
58294 file.
58295 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
58296 file.
58297 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
58298 multiarch wcsrchr for PPC32.
58299 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
58300 multiarch objects.
58301 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58302 (__libc_ifunc_impl_list): Likewise.
58303 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
58304 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
58305 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
58306 sysdeps/powerpc/power6/wcsrchr.c.
58307
58308 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
58309 file.
58310 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
58311 file.
58312 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
58313 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
58314 multiarch wcschr for PPc32.
58315 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
58316 multiarch objects.
58317 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58318 (__libc_ifunc_impl_list): Likewise.
58319 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
58320 * sysdeps/powerpc/power6/wcschr.c: ... to here.
58321 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
58322 sysdeps/powerpc/power6/wcschr.c.
58323
58324 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
58325 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
58326 file.
58327 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
58328 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
58329 file: multiarch strchr for PPC32.
58330 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
58331 multiarch objects.
58332 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58333 (__libc_ifunc_impl_list): Likewise.
58334
58335 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
58336 name.
58337 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
58338 file.
58339 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
58340 file.
58341 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
58342 multiarch strchrnul for PPC32.
58343 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
58344 multiarch objects.
58345 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58346 (__libc_ifunc_impl_list): Likewise.
58347
58348 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
58349 file.
58350 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
58351 multiarch strncasecmp for PPC32.
58352 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
58353 file.
58354 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
58355 multiarch strncasecmp_l for PPC32.
58356 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
58357 strncasecmp multiarch objects.
58358 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58359 (__libc_ifunc_impl_list): Likewise.
58360
58361 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
58362 file.
58363 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
58364 multiarch strncasecmp for PPC32.
58365 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
58366 New file.
58367 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
58368 multiarch strcasecmp_l for PPC32.
58369 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
58370 multiarch objects.
58371 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58372 (__libc_ifunc_impl_list): Likewise.
58373
58374 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
58375 file.
58376 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
58377 file.
58378 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
58379 multiarch strncmp for PPC32.
58380 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
58381 multiarch objects.
58382 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58383 (__libc_ifunc_impl_list): Likewise.
58384
58385 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
58386 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
58387 file.
58388 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
58389 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
58390 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
58391 multiarch objects.
58392 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58393 (__libc_ifunc_impl_list): Likewise.
58394
58395 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
58396 file.
58397 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
58398 file.
58399 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
58400 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
58401 multiarch objects.
58402 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58403 (__libc_ifunc_impl_list): Likewise.
58404
58405 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
58406 file.
58407 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
58408 file.
58409 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
58410 multiarch rawmemchr for PPC32.
58411 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
58412 multiarch objects.
58413 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58414 (__libc_ifunc_impl_list): Likewise.
58415
58416 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
58417 file.
58418 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
58419 file.
58420 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
58421 file: memrchr multiarch for PPC32.
58422 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
58423 multiarch objects.
58424 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58425 (__libc_ifunc_impl_list): Likewise.
58426
58427 * string/memchr.c (__memchr): Using macro to redefine symbol name.
58428 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
58429 file.
58430 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
58431 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
58432 multiarch memchr for PPC32.
58433 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
58434 multiarch objects.
58435 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58436 (__libc_ifunc_impl_list): Likewise.
58437
58438 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
58439 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
58440 file.
58441 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
58442 file.
58443 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
58444 file: multiarch mempcpy for PPC32.
58445 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
58446 multiarch objects.
58447 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58448 (__libc_ifunc_impl_list): Likewise.
58449
58450 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
58451 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
58452 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
58453 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
58454 multiarch bzero for PPC32.
58455 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
58456 file.
58457 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
58458 file.
58459 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
58460 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
58461 file: multiarch memset for PPC32.
58462 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
58463 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
58464 memset multiarch objects.
58465 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58466 (__libc_ifunc_impl_list): Likewise.
58467
58468 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
58469 file.
58470 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
58471 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
58472 memcmp for PPC32.
58473 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
58474 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
58475 multiarch objects.
58476 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58477 (__libc_ifunc_impl_list): Likewise.
58478
58479 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
58480 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
58481 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
58482 file.
58483 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
58484 file.
58485 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
58486 file.
58487 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
58488 multiarch memcpy for PPC32.
58489 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
58490 multiarch objects.
58491 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58492 (__libc_ifunc_impl_list): Likewise.
58493
58494 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
58495 support multiarch for POWER/PPC32.
58496 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
58497 Likewise.
58498 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
58499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
58500 Implies file to make multiarch folder appers before the fpu and
58501 default folder for power4 configuration.
58502
58503 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
58504
58505 * scripts/bench.pl: Append volatile keyword to type.
58506
58507 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58508
58509 * sysdeps/sh/sotruss-lib.c: New file.
58510 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
58511
58512 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58513
58514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58515
58516 2013-12-05 Joseph Myers <joseph@codesourcery.com>
58517
58518 [BZ #6810]
58519 * math/w_tgamma.c: Include <errno.h>.
58520 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
58521 * math/w_tgammaf.c: Include <errno.h>.
58522 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
58523 * math/w_tgammal.c: Include <errno.h>.
58524 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
58525 * math/auto-libm-test-in: Do not allow missing errno on tgamma
58526 underflow. Add more tgamma tests.
58527 * math/auto-libm-test-out: Regenerated.
58528 * sysdeps/i386/fpu/libm-test-ulps: Update.
58529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58530
58531 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
58532 sin, sinh, tan, tanh, tgamma, y0 and y1.
58533 * math/auto-libm-test-out: Regenerated.
58534 * math/libm-test.inc (TEST_COND_x86_64): New macro.
58535 (TEST_COND_x86): Likewise.
58536 (M_E2l): Remove macro.
58537 (M_E3l): Likewise.
58538 (M_2_SQRT_PIl): Likewise.
58539 (M_SQRT_PIl): Likewise.
58540 (M_1_DIV_El): Likewise.
58541 (log_test_data): Use AUTO_TESTS_f_f.
58542 (log10_test_data): Likewise.
58543 (log1p_test_data): Likewise.
58544 (log2_test_data): Likewise.
58545 (sin_test_data): Likewise.
58546 (sin_tonearest_test_data): Likewise.
58547 (sin_towardzero_test_data): Likewise.
58548 (sin_downward_test_data): Likewise.
58549 (sin_upward_test_data): Likewise.
58550 (sinh_test_data): Likewise.
58551 (sinh_tonearest_test_data): Likewise.
58552 (sinh_towardzero_test_data): Likewise.
58553 (sinh_downward_test_data): Likewise.
58554 (sinh_upward_test_data): Likewise.
58555 (tan_test_data): Likewise.
58556 (tan_tonearest_test_data): Likewise.
58557 (tan_towardzero_test_data): Likewise.
58558 (tan_downward_test_data): Likewise.
58559 (tan_upward_test_data): Likewise.
58560 (tanh_test_data): Likewise.
58561 (tgamma_test_data): Likewise.
58562 (y0_test_data): Likewise.
58563 (y1_test_data): Likewise.
58564 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
58565 (special_real_inputs): Add pi/4.
58566 * sysdeps/i386/fpu/libm-test-ulps: Update.
58567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58568
58569 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58570
58571 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
58572 "longjmp_target" static probes.
58573 (__longjmp): Rename to __longjmp_symbol.
58574 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
58575 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
58576 on which longjmp to generate.
58577 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
58578 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
58579 probe.
58580 (__sigsetjmp): Rename to __sigsetjmp_symbol.
58581 (__sigjmp_save): Rename to __sigjmp_save_symbol.
58582 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
58583 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
58584 and __sigjmp_save_symbol based on which sigsetjmp to generated.
58585 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
58586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
58587 __longjmp_symbol based on which __longjmp to generate.
58588 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
58589 probe.
58590 (setjmp): Rename to setjmp_symbol.
58591 (__sigsetjmp): Rename to __sigsetjmp_symbol.
58592 (_setjmp): Rename to _setjmp_symbol.
58593 (__sigsetjmp): Rename to __sigsetjmp_symbol.
58594 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
58595 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
58596 which setjmp to generate.
58597 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
58598 "longjmp_target" static probes.
58599
58600 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
58601
58602 * benchtests/README: Add note about output arguments.
58603 * benchtests/bench-sincos.c: Remove file.
58604 * benchtests/sincos-inputs: New file.
58605 * scripts/bench.pl: Identify output arguments and define
58606 static variables for them.
58607
58608 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
58609
58610 [BZ #15941]
58611 * Makefile (INSTALL): Add install-plain.texi as the primary
58612 dependency.
58613 * manual/install-plain.texi: New file.
58614 * manual/install.texi: Include node directive only for
58615 non-plaintext output.
58616
58617 2013-12-04 Joseph Myers <joseph@codesourcery.com>
58618
58619 * stdlib/longlong.h: Update from GCC.
58620
58621 [BZ #6807]
58622 [BZ #15901]
58623 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
58624 * math/w_j0f.c (y0f): Likewise.
58625 * math/w_j0l.c (__y0l): Likewise.
58626 * math/w_j1.c (y1): Likewise.
58627 * math/w_j1f.c (y1f): Likewise.
58628 * math/w_j1l.c (__y1l): Likewise.
58629 * math/w_jn.c (yn): Likewise.
58630 * math/w_jnf.c (ynf): Likewise.
58631 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
58632 Bessel function pole errors in _POSIX_ mode. Use NAN as return
58633 value for Bessel function domain errors outside _SVID_ mode.
58634 Adjust sign of return value for yn (negative integer, 0).
58635 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
58636 by zero in return for negative x and set sign appropriately for
58637 negative n.
58638 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
58639 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
58640 * math/libm-test.inc (y0_test_data): Add more tests and adjust
58641 expectations in error cases.
58642 (y1_test_data): Likewise.
58643 (yn_test_data): Likewise.
58644 * sysdeps/i386/fpu/libm-test-ulps: Update.
58645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58646
58647 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
58648
58649 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
58650 "64" to "64-v1". Add "64-v2".
58651 (abi-64-options): Rename to ...
58652 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
58653 (abi-64-condition): Rename to ...
58654 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
58655 (abi-64-ld-soname): Rename to ...
58656 (abi-64-v1-ld-soname): ... this.
58657 (abi-64-v2-options): Define.
58658 (abi-64-v2-condition): Likewise.
58659 (abi-64-v2-ld-soname): Likewise.
58660 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
58661 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
58662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
58663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
58664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
58665
58666 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
58667 Alan Modra <amodra@gmail.com>
58668
58669 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
58670 New versions for use with the ELFv2 ABI.
58671 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
58672 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
58673 declaration.
58674 (struct La_ppc64v2_retval): Likewise.
58675 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
58676 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
58677 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
58678 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
58679 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
58680 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
58681 Do not save or restore CR.
58682 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
58683 (_dl_profile_resolve): Do no save or restore CR. Support extended
58684 return values for ELFv2 ABI. Fix location of FPR return registers.
58685 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
58686 updated values for _CALL_ELF == 2.
58687 (La_regs, La_retval, int_retval): Likewise.
58688
58689 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
58690
58691 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
58692 (FRAME_MIN_SIZE_PARM): Likewise.
58693 (FRAME_BACKCHAIN): Likewise.
58694 (FRAME_CR_SAVE): Likewise.
58695 (FRAME_LR_SAVE): Likewise.
58696 (FRAME_TOC_SAVE): Likewise.
58697 (FRAME_PARM_SAVE): Likewise.
58698 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
58699 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
58700 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
58701 (call_mcount_parm_offset): New macro.
58702 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
58703 (PROF): Use symbolic stack frame offsets.
58704 (TAIL_CALL_SYSCALL_ERROR): Likewise.
58705 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
58706 Redefine in terms of FRAME_MIN_SIZE.
58707 (_dl_runtime_resolve): Use symbolic stack frame offsets.
58708 (_dl_profile_resolve): Likewise. Update comment.
58709 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
58710 symbols stack frame offsets.
58711 (__sigsetjmp): Likewise.
58712 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
58713 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
58714 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
58715 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
58716
58717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
58718 (FRAME_BACKCHAIN): Remove.
58719 (FRAME_CR_SAVE): Likewise.
58720 (FRAME_LR_SAVE): Likewise.
58721 (FRAME_COMPILER_DW): Likewise.
58722 (FRAME_LINKER_DW): Likewise.
58723 (FRAME_TOC_SAVE): Likewise.
58724 (FRAME_PARM_SAVE): Likewise.
58725 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
58726 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
58727 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
58728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
58729 (CHECK_SP): Use symbolic stack frame offsets.
58730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
58731 zone" instead of caller's parameter save area for temp storage.
58732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
58733 Likewise. Also, use symbolic stack frame offsets.
58734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
58735 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
58736 our own stack frame instead of the caller's.
58737 (__socket): Use symbolic stack frame offsets.
58738
58739 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
58740 Alan Modra <amodra@gmail.com>
58741
58742 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
58743 Define.
58744 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
58745 (PPC64_LOCAL_ENTRY_OFFSET): Define.
58746 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
58747 New function.
58748 (elf_machine_fixup_plt): Call it.
58749 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
58750 reloc arguments.
58751 (elf_machine_rela): Update call to elf_machine_plt_conflict.
58752 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
58753 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
58754 r2 before calling target.
58755
58756 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
58757 Alan Modra <amodra@gmail.com>
58758
58759 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
58760 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
58761 versions of macros to support ELFv2 ABI.
58762 (LOCALENTRY): New macro.
58763 (ENTRY, EALIGN): Use it.
58764 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
58765 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
58766 fall through into ENTRY entry point.
58767 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
58768 Only define if _CALL_ELF != 2.
58769
58770 (elf_machine_matches_host): Verify ABI version matches.
58771 (RTLD_START): Use LOCALENTRY.
58772 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
58773 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
58774 (PLT_ENTRY_WORDS): New macro.
58775 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
58776 (elf_machine_runtime_setup): Support ELFv2 ABI.
58777 (elf_machine_fixup_plt): Likewise.
58778 (elf_machine_plt_conflict): Likewise.
58779 (resolve_ifunc): Likewise.
58780 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
58781 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
58782 Likewise.
58783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
58784 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
58785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58786 (makecontext): Support ELFv2 ABI.
58787 * elf/elf.h (EF_PPC64_ABI): Define.
58788
58789 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
58790
58791 * sysdeps/powerpc/powerpc64/sysdep.h
58792 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
58793 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
58794 (ENTRY) [ASSEMBLER]: ... but instead here ...
58795 (EALIGN) [ASSEMBLER]: ... and here.
58796 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
58797 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
58798 (ENTRY_2) [!ASSEMBLER]: Use it.
58799 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
58800 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
58801 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
58802 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
58803 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
58804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
58805 Use PPC64_LOAD_FUNCPTR.
58806
58807 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
58808
58809 2013-12-04 Alan Modra <amodra@gmail.com>
58810
58811 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
58812 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
58813 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
58814 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
58815
58816 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
58817 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
58818 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
58819 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
58820 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
58821 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
58822
58823 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
58824
58825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58826 (__makecontext): Fix incorrect CFI when backtracing out of
58827 context created via makecontext.
58828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
58829 (__setcontext): Fix incorrect CFI during switch to new context.
58830 (__novec_setcontext): Likewise.
58831
58832 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
58833
58834 [BZ #4772]
58835 * time/strptime_l.c (__strptime_internal): Allow modifiers
58836 in strptime.
58837 * time/tst-strptime.c (day_tests): Add testcase.
58838
58839 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
58840
58841 * scripts/bench.pl: Skip over blank lines.
58842
58843 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
58844
58845 [BZ #926]
58846 * manual/time.texi (Calendar Time): Clarify what timezone functions
58847 use.
58848
58849 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58850
58851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58852
58853 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
58854
58855 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
58856 implementation.
58857 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
58858 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
58859 * debug/memset_chk.c (__memset_chk): Likewise.
58860 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
58861 * debug/strncpy_chk.c: Likewise.
58862
58863 2013-12-03 Joseph Myers <joseph@codesourcery.com>
58864
58865 [BZ #15268]
58866 [BZ #15425]
58867 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
58868 (__ieee754_exp): For possibly underflowing results, check size of
58869 result and force underflow exception if required.
58870 * math/auto-libm-test-in: Add more tests of exp.
58871 * math/auto-libm-test-out: Regenerated.
58872 * sysdeps/i386/fpu/libm-test-ulps: Update.
58873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58874
58875 [BZ #16283]
58876 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
58877 * math/w_exp2f.c (__exp2f): Likewise.
58878 * math/w_exp2l.c (__exp2l): Likewise.
58879 * math/auto-libm-test-in: Do not allow missing errno on exp2
58880 underflow.
58881 * math/auto-libm-test-out: Regenerated.
58882
58883 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
58884
58885 [BZ #16274]
58886 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
58887 handle filename validation.
58888 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
58889 (do_open): Delete.
58890
58891 2013-12-03 Joseph Myers <joseph@codesourcery.com>
58892
58893 [BZ #6786]
58894 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
58895 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
58896 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
58897 <float.h>.
58898 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
58899 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
58900 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
58901 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
58902 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
58903 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
58904 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
58905 * math/auto-libm-test-in: Don't allow missing errno from erfc.
58906 Add more erfc tests.
58907 * math/auto-libm-test-out: Regenerated.
58908 * sysdeps/i386/fpu/libm-test-ulps: Update.
58909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58910
58911 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
58912 exp2, expm1, j0 and j1.
58913 * math/auto-libm-test-out: Regenerated.
58914 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
58915 (erfc_test_data): Likewise.
58916 (exp_test_data): Likewise.
58917 (exp_tonearest_test_data): Likewise.
58918 (exp_towardzero_test_data): Likewise.
58919 (exp_downward_test_data): Likewise.
58920 (exp_upward_test_data): Likewise.
58921 (exp10_test_data): Likewise.
58922 (exp2_test_data): Likewise.
58923 (expm1_test_data): Likewise.
58924 (j0_test_data): Likewise.
58925 (j1_test_data): Likewise.
58926 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
58927 (input_flag_type): Add flag_xfail_rounding.
58928 (input_flags): Add xfail-rounding.
58929 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
58930 (output_for_one_input_case): Handle flag_xfail_rounding.
58931 * sysdeps/i386/fpu/libm-test-ulps: Update.
58932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58933
58934 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
58935
58936 [BZ #16289]
58937 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
58938 division by 0.
58939
58940 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
58941
58942 [BZ #16195]
58943 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
58944 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
58945 (STAP_PROBE0): New macro.
58946 (STAP_PROBE1): Likewise.
58947 (STAP_PROBE2): Likewise.
58948 (STAP_PROBE3): Likewise.
58949 (STAP_PROBE4): Likewise.
58950
58951 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
58952
58953 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
58954
58955 2013-12-02 Steve Ellcey <sellcey@mips.com>
58956
58957 * benchtests/Makefile (bench): Add sqrt.
58958 (LDLIBS-bench-sqrt): New.
58959 * benchtests/sqrt-input: New.
58960
58961 2013-12-02 Pavel Simerda <psimerda@redhat.com>
58962
58963 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
58964 (GAIH_EAI): Likewise.
58965 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
58966 (gaih_inet): Likewise.
58967 (getaddrinfo): Don't use GAIH_EAI.
58968
58969 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
58970 (struct gaih): Remove definition.
58971
58972 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
58973
58974 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
58975 Use HERRNOP directly.
58976
58977 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58978
58979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58980
58981 2013-11-30 Joseph Myers <joseph@codesourcery.com>
58982
58983 * math/gen-auto-libm-tests.c (test_functions): Add more
58984 single-argument functions.
58985 (special_fill_pi_2): New function.
58986 (special_fill_minus_pi_2): Likewise.
58987 (special_fill_pi_6): Likewise.
58988 (special_fill_minus_pi_6): Likewise.
58989 (special_fill_pi_3): Likewise.
58990 (special_fill_2pi_3): Likewise.
58991 (special_fill_e): Likewise.
58992 (special_fill_1_e): Likewise.
58993 (special_fill_e_minus_1): Likewise.
58994 (special_real_inputs): Add more special inputs.
58995 (output_for_one_input_case): Do not require ERANGE on underflow to
58996 zero if round-to-nearest result does not underflow to zero, unless
58997 exact results required.
58998 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
58999 atan, atanh, cbrt, cos and cosh.
59000 * math/auto-libm-test-out: Regenerated.
59001 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
59002 (acos_tonearest_test_data): Likewise.
59003 (acos_towardzero_test_data): Likewise.
59004 (acos_downward_test_data): Likewise.
59005 (acos_upward_test_data): Likewise.
59006 (acosh_test_data): Likewise.
59007 (asin_test_data): Likewise.
59008 (asin_tonearest_test_data): Likewise.
59009 (asin_towardzero_test_data): Likewise.
59010 (asin_upward_test_data): Likewise.
59011 (asinh_test_data): Likewise.
59012 (atan_test_data): Likewise.
59013 (atanh_test_data): Likewise.
59014 (cbrt_test_data): Likewise.
59015 (cos_test_data): Likewise.
59016 (cos_tonearest_test_data): Likewise.
59017 (cos_towardzero_test_data): Likewise.
59018 (cos_downward_test_data): Likewise.
59019 (cos_upward_test_data): Likewise.
59020 (cosh_test_data): Likewise.
59021 (cosh_tonearest_test_data): Likewise.
59022 (cosh_towardzero_test_data): Likewise.
59023 (cosh_downward_test_data): Likewise.
59024 (cosh_upward_test_data): Likewise.
59025 * sysdeps/i386/fpu/libm-test-ulps: Update.
59026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59027
59028 2013-11-29 Joseph Myers <joseph@codesourcery.com>
59029
59030 [BZ #6787]
59031 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
59032 * math/w_exp10f.c (__exp10f): Likewise.
59033 * math/w_exp10l.c (__exp10l): Likewise.
59034 * math/libm-test.inc (exp10_test_data): Add more tests and expect
59035 errno settings in existing tests.
59036
59037 [BZ #14032]
59038 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
59039 precision control set to double precision.
59040 * sysdeps/i386/fpu/w_sqrt.c: New file.
59041 * math/auto-libm-test-in: Add more tests.
59042 * math/auto-libm-test-out: Update.
59043
59044 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
59045 (sqrt_test_tonearest): New function.
59046 (sqrt_towardzero_test_data): New variable.
59047 (sqrt_test_towardzero): New function.
59048 (sqrt_downward_test_data): New variable.
59049 (sqrt_test_downward): New function.
59050 (sqrt_upward_test_data): New variable.
59051 (sqrt_test_upward): New function.
59052 (main): Call the new functions.
59053
59054 * math/gen-auto-libm-tests.c: New file.
59055 * math/auto-libm-test-in: Likewise.
59056 * math/auto-libm-test-out: New generated file.
59057 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
59058 variables.
59059 (%beautify): Add generated representations of zero.
59060 (top level): Set $auto_input and call parse_auto_input.
59061 (beautify): Remove trailing "f" from hex float constants.
59062 (parse_args): Handle XFAIL_TEST.
59063 (convert_condition): New function.
59064 (or_value): Likewise.
59065 (or_cond_value): Likewise.
59066 (generate_testfile): Handle AUTO_TESTS_* lines.
59067 (parse_auto_input): New function.
59068 * math/libm-test.inc (XFAIL_TEST): New macro.
59069 (ERRNO_UNCHANGED): Update value.
59070 (ERRNO_EDOM): Likewise.
59071 (ERRNO_ERANGE): Likewise.
59072 (IGNORE_RESULT): Likewise.
59073 (TEST_COND_flt_32): New macro.
59074 (TEST_COND_dbl_64): Likewise.
59075 (TEST_COND_ldbl_96_intel): Likewise.
59076 (TEST_COND_ldbl_96_m68k): Likewise.
59077 (TEST_COND_ldbl_128): Likewise.
59078 (TEST_COND_ldbl_128ibm): Likewise.
59079 (TEST_COND_long32): Likewise.
59080 (TEST_COND_long64): Likewise.
59081 (TEST_COND_before_rounding): Likewise.
59082 (TEST_COND_after_rounding): Likewise.
59083 (enable_test): Handle XFAIL_TEST flag.
59084 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
59085 with finite results.
59086 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
59087 auto-libm-test-out.
59088
59089 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
59090 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59091
59092 [BZ #16214]
59093 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
59094 __tls_get_addr_internal instead of __tls_get_offset in order to
59095 avoid GOT pointer dependency. Make rtld export
59096 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
59097 __tls_get_addr since we are a __tls_get_offset platform.
59098 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
59099 GOT pointer being set up before.
59100 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
59101
59102 2013-11-28 Joseph Myers <joseph@codesourcery.com>
59103
59104 * manual/math.texi (Errors in Math Functions): Document accuracy
59105 goals.
59106
59107 [BZ #15004]
59108 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
59109 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
59110 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59111 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59112 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59113 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59114 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59115 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
59116 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
59117 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59118 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59119 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59120 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59121 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59122 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59123 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
59124
59125 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
59126 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
59127 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
59128 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
59129 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
59130 Likewise.
59131 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
59132 Likewise.
59133 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
59134 Likewise.
59135 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
59136 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
59137 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
59138 atomic-feupdateenv and flt-rounds.
59139 * sysdeps/powerpc/nofpu/Versions (libc): Add
59140 __atomic_feholdexcept, __atomic_feclearexcept,
59141 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
59142 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
59143 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
59144 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
59145 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
59146 here.
59147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
59148 Update.
59149
59150 * manual/arith.texi (FP Exceptions): Document that exceptions may
59151 not be raised when matherr is used.
59152 (Math Error Reporting): Document overflow in directed rounding
59153 modes. Document that errno may not be set when finite values are
59154 returned on overflow. Document intent to set errno on underflow
59155 only for underflow to zero.
59156
59157 [BZ #16271]
59158 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
59159 round-to-nearest then adjust result for other rounding modes.
59160 * include/fenv.h (fegetround): Use libm_hidden_proto.
59161 * math/fegetround.c (fegetround): Use libm_hidden_def.
59162 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
59163 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
59164 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
59165 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
59166 Likewise.
59167 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
59168 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
59169 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
59170 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
59171
59172 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
59173
59174 [BZ #16077]
59175 * nss/Versions (libnss_files): Add
59176 _nss_files_gethostbyname3_r.
59177 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
59178 New function.
59179 (HOST_DB_LOOKUP): Remove macro.
59180 (_nss_files_gethostbyname_r): Implement function without the
59181 HOST_DB_LOOKUP macro.
59182 (_nss_files_gethostbyname2_r): Likewise.
59183
59184 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
59185
59186 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
59187
59188 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
59189
59190 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
59191 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
59192 warning.
59193
59194 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59195
59196 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
59197 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
59198 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
59199 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
59200 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
59201 __fe_nomask_env_priv and attribute_hidden.
59202 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
59203 (libc_feupdateenv_test_ppc): Likewise.
59204 (libc_feresetround_ppc): Likewise.
59205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59206 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
59207 compat_symbol macro.
59208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59209 (__fe_nomask_env): Likewise.
59210 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
59211
59212 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
59213
59214 * string/Makefile: Remove ifunc tests.
59215 * string/test-string.h: Define TEST_IFUNC.
59216 * string/test-bcopy-ifunc.c: Remove.
59217 * string/test-bzero-ifunc.c: Likewise.
59218 * string/test-memccpy-ifunc.c: Likewise.
59219 * string/test-memchr-ifunc.c: Likewise.
59220 * string/test-memcmp-ifunc.c: Likewise.
59221 * string/test-memcpy-ifunc.c: Likewise.
59222 * string/test-memmem-ifunc.c: Likewise.
59223 * string/test-memmove-ifunc.c: Likewise.
59224 * string/test-mempcpy-ifunc.c: Likewise.
59225 * string/test-memrchr-ifunc.c: Likewise.
59226 * string/test-memset-ifunc.c: Likewise.
59227 * string/test-rawmemchr-ifunc.c: Likewise.
59228 * string/test-stpcpy-ifunc.c: Likewise.
59229 * string/test-stpncpy-ifunc.c: Likewise.
59230 * string/test-strcasecmp-ifunc.c: Likewise.
59231 * string/test-strcasestr-ifunc.c: Likewise.
59232 * string/test-strcat-ifunc.c: Likewise.
59233 * string/test-strchr-ifunc.c: Likewise.
59234 * string/test-strchrnul-ifunc.c: Likewise.
59235 * string/test-strcmp-ifunc.c: Likewise.
59236 * string/test-strcpy-ifunc.c: Likewise.
59237 * string/test-strcspn-ifunc.c: Likewise.
59238 * string/test-strlen-ifunc.c: Likewise.
59239 * string/test-strncasecmp-ifunc.c: Likewise.
59240 * string/test-strncat-ifunc.c: Likewise.
59241 * string/test-strncmp-ifunc.c: Likewise.
59242 * string/test-strncpy-ifunc.c: Likewise.
59243 * string/test-strnlen-ifunc.c: Likewise.
59244 * string/test-strpbrk-ifunc.c: Likewise.
59245 * string/test-strrchr-ifunc.c: Likewise.
59246 * string/test-strspn-ifunc.c: Likewise.
59247 * string/test-strstr-ifunc.c: Likewise.
59248
59249 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
59250
59251 * benchtests/Makefile: Remove ifunc tests.
59252 * benchtests/bench-string.h: Define TEST_IFUNC.
59253 * benchtests/bench-bcopy-ifunc.c: Remove.
59254 * benchtests/bench-bzero-ifunc.c: Likewise.
59255 * benchtests/bench-memccpy-ifunc.c: Likewise.
59256 * benchtests/bench-memchr-ifunc.c: Likewise.
59257 * benchtests/bench-memcmp-ifunc.c: Likewise.
59258 * benchtests/bench-memcpy-ifunc.c: Likewise.
59259 * benchtests/bench-memmem-ifunc.c: Likewise.
59260 * benchtests/bench-memmove-ifunc.c: Likewise.
59261 * benchtests/bench-mempcpy-ifunc.c: Likewise.
59262 * benchtests/bench-memrchr-ifunc.c: Likewise.
59263 * benchtests/bench-memset-ifunc.c: Likewise.
59264 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
59265 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
59266 * benchtests/bench-stpcpy-ifunc.c: Likewise.
59267 * benchtests/bench-stpncpy-ifunc.c: Likewise.
59268 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
59269 * benchtests/bench-strcasestr-ifunc.c: Likewise.
59270 * benchtests/bench-strcat-ifunc.c: Likewise.
59271 * benchtests/bench-strchr-ifunc.c: Likewise.
59272 * benchtests/bench-strchrnul-ifunc.c: Likewise.
59273 * benchtests/bench-strcmp-ifunc.c: Likewise.
59274 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
59275 * benchtests/bench-strcpy-ifunc.c: Likewise.
59276 * benchtests/bench-strcspn-ifunc.c: Likewise.
59277 * benchtests/bench-strlen-ifunc.c: Likewise.
59278 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
59279 * benchtests/bench-strncat-ifunc.c: Likewise.
59280 * benchtests/bench-strncmp-ifunc.c: Likewise.
59281 * benchtests/bench-strncpy-ifunc.c: Likewise.
59282 * benchtests/bench-strnlen-ifunc.c: Likewise.
59283 * benchtests/bench-strpbrk-ifunc.c: Likewise.
59284 * benchtests/bench-strrchr-ifunc.c: Likewise.
59285 * benchtests/bench-strsep-ifunc.c: Likewise.
59286 * benchtests/bench-strspn-ifunc.c: Likewise.
59287 * benchtests/bench-strstr-ifunc.c: Likewise.
59288
59289 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
59290
59291 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
59292
59293 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
59294
59295 * resolv/netdb.h: Use __glibc_reserved instead __unused.
59296 * rt/aio.h: Likewise.
59297 * sysdeps/gnu/bits/utmp.h: Likewise.
59298 * sysdeps/gnu/bits/utmpx.h: Likewise.
59299 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
59300 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
59301 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
59302 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
59303 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
59304 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
59305 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
59306 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
59307 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
59308 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
59309 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
59310 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
59311 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
59312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
59313 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
59314 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
59315 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
59316 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
59317 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
59318 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
59319 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
59320 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
59321 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
59322 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
59323 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
59324 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59325 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
59326 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
59327 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
59328 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
59329 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
59330 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
59331 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
59332 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
59333 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
59334 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
59335 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
59336 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
59337 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
59338 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
59339 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
59340 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
59341
59342 2013-11-25 Carlos O'Donell <carlos@redhat.com>
59343
59344 [BZ #16245]
59345 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
59346 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
59347
59348 2013-11-25 Joseph Myers <joseph@codesourcery.com>
59349
59350 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
59351 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
59352 Likewise.
59353
59354 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59355
59356 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
59357 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
59358 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
59359 (__fesetround): Remove define.
59360 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
59361 rounding and exceptions handling.
59362 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
59363 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
59364 (__fe_nomask_env): Likewise.
59365 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
59366 __fegetround instead of fegetround.
59367 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
59368 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
59369
59370 2013-11-21 Roland McGrath <roland@hack.frob.com>
59371
59372 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
59373 it's there.
59374
59375 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
59376
59377 2013-11-21 Meador Inge <meadori@codesourcery.com>
59378
59379 [BZ #11157]
59380 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
59381 (encrypt_r): Likewise.
59382 * malloc/obstack.h (obstack_free): Likewise.
59383 * posix/unistd.h (encrypt): Likewise.
59384
59385 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
59386
59387 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
59388 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
59389 DL_CALL_DT_FINI() that call the functions directly.
59390 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
59391 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
59392 * elf/dl-fini.c: Likewise.
59393
59394 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
59395
59396 * malloc/hooks.c (memalign_check): Add alignment rounding.
59397 * malloc/malloc.c (_mid_memalign): New function.
59398 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
59399 Implement by calling _mid_memalign.
59400 * manual/probes.texi (Memory Allocation Probes): Remove
59401 memory_valloc_retry and memory_pvalloc_retry.
59402
59403 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
59404
59405 * locale/programs/locarchive.c (open_archive): Add const
59406 qualifier to ARCHIVEFNAME and copy default fname to
59407 DEFAULT_FNAME.
59408
59409 [BZ #15601]
59410 * libio/tst-widetext.input: Rename Oriya to Odia.
59411 * locale/iso-639.def: Likewise.
59412
59413 * manual/probes.texi (Mathematical Function Probes): Add
59414 documentation for sin, cos, asin and acos probes.
59415 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
59416 (__sin32): Add slowasin probe.
59417 (__cos32): Add slowacos probe.
59418 (__mpsin): Add slowsin probe.
59419 (__mpcos): Add slowcos probe.
59420
59421 2013-11-19 Joseph Myers <joseph@codesourcery.com>
59422
59423 [BZ #15483]
59424 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
59425 thread-local __sim_exceptions_thread and global
59426 __sim_exceptions_global.
59427 (__sim_disabled_exceptions): Change to thread-local
59428 __sim_disabled_exceptions_thread and global
59429 __sim_disabled_exceptions_global.
59430 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
59431 and global __sim_round_mode_global.
59432 (__simulate_exceptions): Use thread-local floating-point state and
59433 set global state from it as needed.
59434 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
59435 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
59436 __sim_round_mode_thread.
59437 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
59438 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
59439 and global __sim_exceptions_global.
59440 (__sim_disabled_exceptions): Change to thread-local
59441 __sim_disabled_exceptions_thread and global
59442 __sim_disabled_exceptions_global.
59443 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
59444 and global __sim_round_mode_global.
59445 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
59446 (SIM_SET_GLOBAL): Likewise.
59447 * sysdeps/powerpc/soft-fp/sfp-machine.h
59448 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
59449 __sim_round_mode_thread.
59450 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
59451 __sim_disabled_exceptions_thread.
59452 (__sim_exceptions): Change to __sim_exceptions_thread.
59453 (__sim_disabled_exceptions): Change to
59454 __sim_disabled_exceptions_thread.
59455 (__sim_round_mode): Change to __sim_round_mode_thread.
59456 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
59457 thread-local floating-point state and set global state from it as
59458 needed.
59459 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
59460 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
59461 (__sim_disabled_exceptions): Remove extern declaration.
59462 (feenableexcept): Use thread-local floating-point state and set
59463 global state from it as needed.
59464 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
59465 extern declaration.
59466 (__sim_disabled_exceptions): Likewise.
59467 (__sim_round_mode): Likewise.
59468 (__fegetenv): Use thread-local floating-point state.
59469 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
59470 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
59471 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
59472 floating-point state and set global state from it as needed.
59473 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
59474 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
59475 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
59476 Likewise.
59477 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
59478 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
59479 Likewise.
59480 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
59481 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
59482 Use __sim_round_mode_thread.
59483 * math/test-fenv-tls.c: New file.
59484 * math/Makefile (tests): Add test-fenv-tls.
59485 ($(objpfx)test-fenv-tls): Depend on
59486 $(common-objpfx)nptl/libpthread.so.
59487
59488 2013-11-19 Andreas Schwab <schwab@suse.de>
59489
59490 * locale/programs/locale.c (show_info): Decode wordarray elements.
59491 * locale/categories.def (LC_MONETARY): Add element for
59492 _NL_MONETARY_CRNCYSTR.
59493 * locale/C-monetary.c (conversion_rate): New variable.
59494 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
59495 element.
59496
59497 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
59498
59499 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
59500 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
59501
59502 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
59503
59504 * elf/Makefile (tst-auxv): New test.
59505 * elf/tst-auxv.c: New
59506 * elf/rtld.c (dl_main): Adjust AT_EXECFN
59507
59508 2013-11-18 Joseph Myers <joseph@codesourcery.com>
59509
59510 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
59511 (hidden_proto): Caller changed.
59512 (hidden_tls_proto): New macro.
59513 (libc_hidden_tls_proto): Likewise.
59514 (rtld_hidden_tls_proto): Likewise.
59515 (libm_hidden_tls_proto): Likewise.
59516 (libresolv_hidden_tls_proto): Likewise.
59517 (librt_hidden_tls_proto): Likewise.
59518 (libdl_hidden_tls_proto): Likewise.
59519 (libnss_files_hidden_tls_proto): Likewise.
59520 (libnsl_hidden_tls_proto): Likewise.
59521 (libnss_nisplus_hidden_tls_proto): Likewise.
59522 (libutil_hidden_tls_proto): Likewise.
59523
59524 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
59525
59526 [BZ #10253]
59527 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
59528 (decompose_rpath): Defer expansion to fillin_rpath.
59529 (_dl_init_paths): Pass linkmap to fillin_rpath.
59530
59531 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
59532
59533 * benchtests/Makefile: Add strsep.
59534 * benchtests/bench-strsep.c: New file: strsep benchtest.
59535 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
59536
59537 2013-11-18 Andreas Schwab <schwab@suse.de>
59538
59539 * locale/programs/locale.c (show_info) [case byte]: Check for
59540 '\377' instead of '\177'.
59541 * locale/C-monetary.c (not_available): Always use "\377".
59542 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
59543 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
59544 detect unavailable sign_posn locale elements.
59545 * locale/localeconv.c (__localeconv): For grouping and
59546 mon_grouping handle "\177" and "\377" like no grouping.
59547 (INT_ELEM): New macro. Use it to set all numeric members.
59548 * locale/programs/ld-monetary.c (monetary_read)
59549 <tok_mon_grouping>: Normalize single -1 to the empty string.
59550 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
59551 Likewise.
59552
59553 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
59554
59555 [BZ #16055]
59556 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
59557 when we match (nil).
59558 * stdio-common/tst-sscanf.c (struct test): Add testcase.
59559
59560 2013-11-16 Joseph Myers <joseph@codesourcery.com>
59561
59562 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
59563 (NO_TEST_INLINE): Update value.
59564 (ERRNO_UNCHANGED): Likewise.
59565 (ERRNO_EDOM): Likewise.
59566 (ERRNO_ERANGE): Likewise.
59567 (IGNORE_RESULT): Likewise.
59568 (check_float_internal): Check signs of NaN results if
59569 TEST_NAN_SIGN used.
59570 (check_complex): Pass TEST_NAN_SIGN flag through to second
59571 check_float_internal call.
59572 (copysign_test_data): Add tests with quiet NaNs as second
59573 argument. Use TEST_NAN_SIGN.
59574 (fabs_test_data): Add test of negative quiet NaN argument. Use
59575 TEST_NAN_SIGN.
59576 (signbit_test_data): Add tests of quiet NaN argument.
59577 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
59578
59579 * math/gen-libm-test.pl (show_exceptions): Take extra argument
59580 $ignore_result.
59581 (parse_args): Handle function results specified as IGNORE.
59582 * math/libm-test.inc (IGNORE_RESULT): New macro.
59583 (check_float_internal): Do not check numerical result if flag
59584 IGNORE_RESULT set.
59585 (check_complex): Pass through IGNORE_RESULT to second
59586 check_float_internal call.
59587 (check_int): Do not check numerical result if flag IGNORE_RESULT
59588 set.
59589 (check_long): Likewise.
59590 (check_bool): Likewise.
59591 (check_longlong): Likewise.
59592 (lrint_test_data): Add tests of infinite and NaN arguments.
59593 (lrint_tonearest_test_data): Likewise.
59594 (lrint_towardzero_test_data): Likewise.
59595 (lrint_downward_test_data): Likewise.
59596 (lrint_upward_test_data): Likewise.
59597 (llrint_test_data): Likewise.
59598 (llrint_tonearest_test_data): Likewise.
59599 (llrint_towardzero_test_data): Likewise.
59600 (llrint_downward_test_data): Likewise.
59601 (llrint_upward_test_data): Likewise.
59602 (lround_test_data): Likewise.
59603 (llround_test_data): Likewise.
59604
59605 * math/libm-test.inc (NO_TEST_INLINE): New macro.
59606 (ERRNO_UNCHANGED): Update value.
59607 (ERRNO_EDOM): Likewise.
59608 (ERRNO_ERANGE): Likewise.
59609 (NO_TEST_INLINE_FLOAT): New macro.
59610 (NO_TEST_INLINE_DOUBLE): Likewise.
59611 (enable_test): New function.
59612 (RUN_TEST_f_f): Check enable_test before running test.
59613 (RUN_TEST_2_f): Likewise.
59614 (RUN_TEST_fff_f): Likewise.
59615 (RUN_TEST_c_f): Likewise.
59616 (RUN_TEST_f_f1): Likewise.
59617 (RUN_TEST_fF_f1): Likewise.
59618 (RUN_TEST_fI_f1): Likewise.
59619 (RUN_TEST_ffI_f1): Likewise.
59620 (RUN_TEST_c_c): Likewise.
59621 (RUN_TEST_cc_c): Likewise.
59622 (RUN_TEST_f_i): Likewise.
59623 (RUN_TEST_f_i_tg): Likewise.
59624 (RUN_TEST_ff_i_tg): Likewise.
59625 (RUN_TEST_f_b): Likewise.
59626 (RUN_TEST_f_b_tg): Likewise.
59627 (RUN_TEST_f_l): Likewise.
59628 (RUN_TEST_f_L): Likewise.
59629 (RUN_TEST_fFF_11): Likewise.
59630 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
59631 conditionals.
59632 (cosh_test_data): Likewise.
59633 (exp_test_data): Likewise.
59634 (expm1_test_data): Likewise.
59635 (hypot_test_data): Likewise.
59636 (pow_test_data): Likewise.
59637 (sinh_test_data): Likewise.
59638 (tanh_test_data): Likewise.
59639 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
59640 flags argument.
59641
59642 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
59643 tests with quiet NaN input and output.
59644 (acosh_test_data): Likewise.
59645 (asin_test_data): Likewise.
59646 (asinh_test_data): Likewise.
59647 (atan_test_data): Likewise.
59648 (atanh_test_data): Likewise.
59649 (atan2_test_data): Likewise.
59650 (cbrt_test_data): Likewise.
59651 (cos_test_data): Likewise.
59652 (cosh_test_data): Likewise.
59653 (erf_test_data): Likewise.
59654 (erfc_test_data): Likewise.
59655 (exp_test_data): Likewise.
59656 (exp10_test_data): Likewise.
59657 (exp2_test_data): Likewise.
59658 (expm1_test_data): Likewise.
59659 (hypot_test_data): Likewise.
59660 (j0_test_data): Likewise.
59661 (j1_test_data): Likewise.
59662 (jn_test_data): Likewise.
59663 (lgamma_test_data): Likewise.
59664 (log_test_data): Likewise.
59665 (log10_test_data): Likewise.
59666 (log1p_test_data): Likewise.
59667 (log2_test_data): Likewise.
59668 (pow_test_data): Likewise.
59669 (scalb_test_data): Likewise.
59670 (sin_test_data): Likewise.
59671 (sincos_test_data): Likewise.
59672 (sinh_test_data): Likewise.
59673 (tan_test_data): Likewise.
59674 (tanh_test_data): Likewise.
59675 (tgamma_test_data): Likewise.
59676 (y0_test_data): Likewise.
59677 (y1_test_data): Likewise.
59678 (yn_test_data): Likewise.
59679
59680 [BZ #16167]
59681 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
59682 argument being NaN and avoid computations with second argument in
59683 that case.
59684 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
59685 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
59686 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
59687
59688 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
59689
59690 * locale/iso-639.def: Add Chitwani Tharu (the).
59691
59692 2013-11-14 Andreas Schwab <schwab@suse.de>
59693
59694 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
59695 word instead of empty string.
59696
59697 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59698
59699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59700 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
59701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59702 (__fe_nomask_env): Likewise.
59703
59704 2013-11-13 Steve Ellcey <sellcey@mips.com>
59705
59706 * benchtests/bench-timing.h: Include time.h.
59707
59708 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
59709
59710 [BZ #15997]
59711 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
59712 to 3.4.0 for x32.
59713 * sysdeps/unix/sysv/linux/configure: Regenerated.
59714
59715 2013-11-13 Joseph Myers <joseph@codesourcery.com>
59716
59717 [BZ #16151]
59718 * stdlib/strtod_l.c (round_and_return): Do not consider
59719 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
59720 exponent one less than half the least subnormal exponent.
59721 * stdlib/test-strtod-round-data: Add more tests.
59722 * stdlib/tst-strtod-round.c (tests): Regenerated.
59723
59724 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59725
59726 [BZ #14143]
59727 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
59728 (__fe_mask_env): Likewise.
59729 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
59730 libm_hidden_proto and add function prototype.
59731 (__fe_mask_env): Add function prototype.
59732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59733 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
59734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
59735 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
59736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59737 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
59738
59739 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
59740
59741 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
59742 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
59743
59744 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
59745
59746 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
59747 of htab_find_slot().
59748
59749 2013-11-11 David S. Miller <davem@davemloft.net>
59750
59751 [BZ #16150]
59752 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
59753 symbol in the non-vis3 case in static builds.
59754 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
59755 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
59756 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
59757 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
59758
59759 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
59760
59761 [BZ #387]
59762 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
59763 it is empty.
59764
59765 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59766
59767 * benchtests/Makefile: Add bench-strtod.
59768 * benchtests/bench-strtod.c: New file: strtod benchtest
59769
59770 2013-11-11 Andreas Schwab <schwab@suse.de>
59771
59772 [BZ #16153]
59773 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
59774 terminating NUL in key length.
59775
59776 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59777
59778 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
59779 Add artificial ODP entry for vDSO symbol for PPC64.
59780 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
59781 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
59782
59783 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
59784
59785 [BZ #15374]
59786 * nss/getent.c (services_keys): Recognize services starting with digit.
59787
59788 2013-11-06 David S. Miller <davem@davemloft.net>
59789
59790 [BZ #15985]
59791 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
59792 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
59793
59794 2013-11-06 Will Newton <will.newton@linaro.org>
59795
59796 * manual/memory.texi (Malloc Examples): Remove register
59797 keyword from examples.
59798
59799 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
59800
59801 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
59802
59803 2013-11-04 Joseph Myers <joseph@codesourcery.com>
59804
59805 [BZ #6981]
59806 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
59807 depending on [__GCC_IEC_559 > 0].
59808 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
59809 depending on [__GCC_IEC_559_COMPLEX > 0].
59810
59811 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
59812
59813 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
59814 to iso-639.def.
59815
59816 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
59817
59818 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
59819
59820 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
59821
59822 [BZ #16112]
59823 * malloc/malloc (malloc_info): Do not handle first bin as
59824 special case.
59825
59826 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
59827
59828 * locale/iso-639.def: Add Central Nahuatl (nhn).
59829
59830 2013-11-01 Bruno Haible <bruno@clisp.org>
59831
59832 [BZ #7003]
59833 * manual/math.texi (BSD Random): Specify range upper bound as
59834 in POSIX.
59835
59836 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
59837
59838 * locale/iso-639.def: Add Meadow Mari (mhr).
59839
59840 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
59841
59842 [BZ #14752], [BZ #15763]
59843 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
59844 Validate name.
59845 * rt/tst_shm.c: Add test for escaping directory.
59846
59847 2013-10-31 Andreas Schwab <schwab@suse.de>
59848
59849 [BZ #15917]
59850 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
59851 followed by 'x' as part of digit sequence.
59852 * stdio-common/tst-sscanf.c (double_tests2): New tests.
59853
59854 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
59855
59856 [BZ #16037]
59857 * configure.ac: allow GNU Make 4.0 and greater.
59858 * configure: Regenerated.
59859
59860 2013-10-30 Will Newton <will.newton@linaro.org>
59861
59862 [BZ #16038]
59863 * malloc/hooks.c (memalign_check): Limit alignment to the
59864 maximum representable power of two.
59865 * malloc/malloc.c (__libc_memalign): Likewise.
59866 * malloc/tst-memalign.c (do_test): Add test for very
59867 large alignment values.
59868 * malloc/tst-posix_memalign.c (do_test): Likewise.
59869
59870 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
59871
59872 [BZ #11087]
59873 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
59874 (munmap_chunk): Likewise.
59875 (mremap_chunk): Likewise.
59876
59877 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
59878
59879 [BZ #15799]
59880 * stdlib/div.c (div): Remove obsolete code.
59881 * stdlib/ldiv.c (ldiv): Likewise.
59882 * stdlib/lldiv.c (lldiv): Likewise.
59883
59884 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
59885
59886 [BZ #16071]
59887 * nss/nss_files/files-XXX.c (get_contents_ret): New
59888 enumerator.
59889 (get_contents): New function.
59890 (internal_getent): Use it. Expand size of LINEBUFLEN.
59891
59892 2013-10-30 Mike Frysinger <vapier@gentoo.org>
59893
59894 * configure.in: Moved to ...
59895 * configure.ac: ... here. Change reference to configure.in
59896 to configure.ac.
59897 * sysdeps/arm/preconfigure.ac: ... here.
59898 configure.in to configure.ac.
59899 * sysdeps/gnu/configure.in: Moved to ...
59900 * sysdeps/gnu/configure.ac: ... here.
59901 * sysdeps/i386/configure.in: Moved to ...
59902 * sysdeps/i386/configure.ac: ... here.
59903 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
59904 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
59905 * sysdeps/mach/configure.in: Moved to ...
59906 * sysdeps/mach/configure.ac: ... here.
59907 * sysdeps/mach/hurd/configure.in: Moved to ...
59908 * sysdeps/mach/hurd/configure.ac: ... here.
59909 * sysdeps/powerpc/configure.in: Moved to ...
59910 * sysdeps/powerpc/configure.ac: ... here.
59911 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
59912 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
59913 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
59914 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
59915 * sysdeps/s390/s390-32/configure.in: Moved to ...
59916 * sysdeps/s390/s390-32/configure.ac: ... here.
59917 * sysdeps/s390/s390-64/configure.in: Moved to ...
59918 * sysdeps/s390/s390-64/configure.ac: ... here.
59919 * sysdeps/sh/configure.in: Moved to ...
59920 * sysdeps/sh/configure.ac: ... here.
59921 * sysdeps/sparc/configure.in: Moved to ...
59922 * sysdeps/sparc/configure.ac: ... here.
59923 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
59924 * sysdeps/unix/sysv/linux/configure.ac: ... here.
59925 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
59926 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
59927 * sysdeps/x86_64/configure.in: Moved to ...
59928 * sysdeps/x86_64/configure.ac: ... here.
59929 * sysdeps/x86_64/preconfigure.in: Moved to ...
59930 * sysdeps/x86_64/preconfigure.ac: ... here.
59931 * aclocal.m4: Change reference to configure.in to configure.ac.
59932 * config.h.in: Likewise.
59933 * manual/install.texi: Likewise.
59934 * manual/maint.texi: Likewise.
59935 * Makefile: Likewise.
59936 * malloc/Makefile: Likewise.
59937 * nscd/Makefile: Likewise.
59938 * Makeconfig: Change reference to configure.in and
59939 preconfigure.in to configure.ac and preconfigure.ac
59940 respectively.
59941 * INSTALL: Regenerated.
59942 * configure: Likewise.
59943 * sysdeps/gnu/configure: Likewise.
59944 * sysdeps/i386/configure: Likewise.
59945 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
59946 * sysdeps/mach/configure: Likewise.
59947 * sysdeps/mach/hurd/configure: Likewise.
59948 * sysdeps/powerpc/configure: Likewise.
59949 * sysdeps/powerpc/powerpc32/configure: Likewise.
59950 * sysdeps/powerpc/powerpc64/configure: Likewise.
59951 * sysdeps/s390/s390-32/configure: Likewise.
59952 * sysdeps/s390/s390-64/configure: Likewise.
59953 * sysdeps/sh/configure: Likewise.
59954 * sysdeps/sparc/configure: Likewise.
59955 * sysdeps/unix/sysv/linux/configure: Likewise.
59956 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
59957 * sysdeps/x86_64/configure: Likewise.
59958 * sysdeps/x86_64/preconfigure: Likewise.
59959
59960 2013-10-29 Andreas Schwab <schwab@suse.de>
59961
59962 * stdio-common/Makefile (tst-swscanf-ENV): Define.
59963
59964 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
59965
59966 * benchtests/pow-inputs: Add new inputs.
59967
59968 * benchtests/exp-inputs: Add new inputs.
59969
59970 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
59971 conditional check for return value.
59972 (__cos32): Likewise.
59973
59974 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59975
59976 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
59977 to provide a boost for large inputs with word alignment.
59978 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
59979 implementation based on optimized PPC64 strcpy.
59980 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
59981 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
59982 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
59983 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
59984
59985 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
59986
59987 [BZ #2801]
59988 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
59989
59990 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
59991
59992 [BZ #14876]
59993 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
59994 * time/tst-strptime.c (day_tests): Add testcase.
59995
59996 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
59997
59998 [BZ #14029]
59999 * manual/pattern.texi: Acknowledge that fnmatch can fail.
60000
60001 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
60002
60003 [BZ #16074]
60004 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
60005 MAP_FAILED on error.
60006
60007 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
60008
60009 [BZ #16072]
60010 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
60011 heap for large requests.
60012
60013 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
60014
60015 [BZ #9954]
60016 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
60017 result if the result has no associated interface.
60018 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
60019 interface for all 127.X.Y.Z addresses.
60020
60021 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
60022
60023 * locale/iso-639.def: Add Ligurian (lij)
60024
60025 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
60026
60027 [BZ #15825]
60028 * sunrpc/rpc_main.c: Document rpcgen -5.
60029
60030 2013-10-19 Michael Stahl <mstahl@redhat.com>
60031
60032 * elf/rtld.c (do_preload): Print the reason why preloading failed.
60033
60034 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
60035
60036 [BZ #10278]
60037 * posix/glob.c: Match only directories when trailing slash is present.
60038 * posix/tst-gnuglob.c (my_opendir): Do not open files.
60039 (main): Add testcase.
60040
60041 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
60042
60043 [BZ #15670]
60044 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
60045
60046 2013-10-18 Carlos O'Donell <carlos@redhat.com>
60047
60048 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
60049 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
60050 AUTH_DES and cindex for FIPS 140-2.
60051 (DES Encryption): Add cindex FIPS 46-3.
60052
60053 * locale/locarchive.h (struct locarhandle): Add fname.
60054 * locale/programs/localedef.c (main): Pass ARGV[remaining]
60055 if an optional argument was specified to --list-archive,
60056 otherwise NULL.
60057 * locale/programs/locarchive.c (show_archive_content): Take new
60058 argument fname and pass it via ah.fname to open_archive.
60059 * locale/programs/localedef.h: Update decl.
60060 (open_archive): If AH->fname is non-null, open that file
60061 rather than the default file name, and don't ignore ENOENT.
60062 (create_archive): Set AH.fname to NULL.
60063 (delete_locales_from_archive): Likewise.
60064 (add_locales_to_archive): Likewise.
60065 * locale/programs/locfile.c (write_all_categories): Likewise.
60066
60067 2013-10-18 Joseph Myers <joseph@codesourcery.com>
60068 Aldy Hernandez <aldyh@redhat.com>
60069
60070 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
60071 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
60072 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
60073 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
60074 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
60075 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
60076 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
60077 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
60078 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
60079 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
60080 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
60081 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
60082 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
60083 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
60084 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
60085 Likewise.
60086 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
60087 Likewise.
60088 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
60089 Likewise.
60090 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
60091 Likewise.
60092 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
60093 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
60094 Likewise.
60095 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
60096 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
60097 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
60098 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
60099 Likewise.
60100 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
60101 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
60102 * sysdeps/powerpc/preconfigure: Likewise.
60103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
60104 Likewise.
60105 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
60106 Replace contents of file by #include of <fenv_libc.h>.
60107 * sysdeps/powerpc/soft-fp/sfp-machine.h
60108 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
60109 and <sys/prctl.h>.
60110 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
60111 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
60112 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
60113 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
60114 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
60115 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
60116 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
60117 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
60118 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
60119 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
60120 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
60121 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
60122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
60123 Allow copysignl PLT reference to be missing.
60124
60125 2013-10-18 Richard Sandiford <richard@codesourcery.com>
60126 Joseph Myers <joseph@codesourcery.com
60127
60128 [BZ #15948]
60129 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
60130 single character.
60131 (add_to_tablewc): Assert sequence of wide characters is nonempty.
60132
60133 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
60134
60135 * elf/tst-tls-dlinfo.c: Don't include tls.h.
60136 * elf/tst-tls1.c: Likewise.
60137 * elf/tst-tls10.h: Likewise.
60138 * elf/tst-tls14.c: Likewise.
60139 * elf/tst-tls2.c: Likewise.
60140 * elf/tst-tls3.c: Likewise.
60141 * elf/tst-tls4.c: Likewise.
60142 * elf/tst-tls5.c: Likewise.
60143 * elf/tst-tls6.c: Likewise.
60144 * elf/tst-tls7.c: Likewise.
60145 * elf/tst-tls8.c: Likewise.
60146 * elf/tst-tls9.c: Likewise.
60147 * elf/tst-tlsmod1.c: Likewise.
60148 * elf/tst-tlsmod13.c: Likewise.
60149 * elf/tst-tlsmod13a.c: Likewise.
60150 * elf/tst-tlsmod14a.c: Likewise.
60151 * elf/tst-tlsmod16a.c: Likewise.
60152 * elf/tst-tlsmod16b.c: Likewise.
60153 * elf/tst-tlsmod2.c: Likewise.
60154 * elf/tst-tlsmod3.c: Likewise.
60155 * elf/tst-tlsmod4.c: Likewise.
60156 * elf/tst-tlsmod5.c: Likewise.
60157 * elf/tst-tlsmod6.c: Likewise.
60158
60159 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
60160
60161 [BZ #12486]
60162 * malloc/malloc.c: remove checks for statistics.
60163
60164 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
60165
60166 [BZ #15277]
60167 * inet/inet_net.c (inet_network): Detect additional invalid strings.
60168 * inet/tst-network.c: Add testcase.
60169
60170 2013-10-17 Andreas Schwab <schwab@suse.de>
60171
60172 [BZ #15218]
60173 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
60174 to determine canonical name.
60175
60176 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
60177
60178 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
60179 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
60180 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60181 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60182 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60183 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60184 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60185 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60186 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
60187 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60188 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
60189 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60190 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60191 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60192 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60193 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60194 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60195 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60196 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
60197 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60198 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60199 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60200 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
60201 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
60202 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
60203 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60204 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60205 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
60206 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60207 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
60208 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60209 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60210 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
60211 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60212 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
60213 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60214 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60215 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
60216 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
60217 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60218 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
60219 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
60220 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
60221 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
60222 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
60223 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60224 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
60225 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
60226 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
60227 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
60228 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
60229 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60230 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
60231 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
60232 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60233 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
60234 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60235 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
60236
60237 2013-10-17 Joseph Myers <joseph@codesourcery.com>
60238
60239 [BZ #16041]
60240 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
60241 make result into a quiet NaN.
60242
60243 2013-10-16 Joseph Myers <joseph@codesourcery.com>
60244
60245 * soft-fp/adddf3.c: Fix horizontal whitespace.
60246 * soft-fp/addsf3.c: Likewise.
60247 * soft-fp/addtf3.c: Likewise.
60248 * soft-fp/divdf3.c: Likewise.
60249 * soft-fp/divsf3.c: Likewise.
60250 * soft-fp/divtf3.c: Likewise.
60251 * soft-fp/double.h: Likewise.
60252 * soft-fp/eqdf2.c: Likewise.
60253 * soft-fp/eqsf2.c: Likewise.
60254 * soft-fp/eqtf2.c: Likewise.
60255 * soft-fp/extenddftf2.c: Likewise.
60256 * soft-fp/extended.h: Likewise.
60257 * soft-fp/extendsfdf2.c: Likewise.
60258 * soft-fp/extendsftf2.c: Likewise.
60259 * soft-fp/extendxftf2.c: Likewise.
60260 * soft-fp/fixdfdi.c: Likewise.
60261 * soft-fp/fixdfsi.c: Likewise.
60262 * soft-fp/fixdfti.c: Likewise.
60263 * soft-fp/fixsfdi.c: Likewise.
60264 * soft-fp/fixsfsi.c: Likewise.
60265 * soft-fp/fixsfti.c: Likewise.
60266 * soft-fp/fixtfdi.c: Likewise.
60267 * soft-fp/fixtfsi.c: Likewise.
60268 * soft-fp/fixtfti.c: Likewise.
60269 * soft-fp/fixunsdfdi.c: Likewise.
60270 * soft-fp/fixunsdfsi.c: Likewise.
60271 * soft-fp/fixunsdfti.c: Likewise.
60272 * soft-fp/fixunssfdi.c: Likewise.
60273 * soft-fp/fixunssfsi.c: Likewise.
60274 * soft-fp/fixunssfti.c: Likewise.
60275 * soft-fp/fixunstfdi.c: Likewise.
60276 * soft-fp/fixunstfsi.c: Likewise.
60277 * soft-fp/fixunstfti.c: Likewise.
60278 * soft-fp/floatdidf.c: Likewise.
60279 * soft-fp/floatdisf.c: Likewise.
60280 * soft-fp/floatditf.c: Likewise.
60281 * soft-fp/floatsidf.c: Likewise.
60282 * soft-fp/floatsisf.c: Likewise.
60283 * soft-fp/floatsitf.c: Likewise.
60284 * soft-fp/floattidf.c: Likewise.
60285 * soft-fp/floattisf.c: Likewise.
60286 * soft-fp/floattitf.c: Likewise.
60287 * soft-fp/floatundidf.c: Likewise.
60288 * soft-fp/floatundisf.c: Likewise.
60289 * soft-fp/floatunditf.c: Likewise.
60290 * soft-fp/floatunsidf.c: Likewise.
60291 * soft-fp/floatunsisf.c: Likewise.
60292 * soft-fp/floatunsitf.c: Likewise.
60293 * soft-fp/floatuntidf.c: Likewise.
60294 * soft-fp/floatuntisf.c: Likewise.
60295 * soft-fp/floatuntitf.c: Likewise.
60296 * soft-fp/fmadf4.c: Likewise.
60297 * soft-fp/fmasf4.c: Likewise.
60298 * soft-fp/fmatf4.c: Likewise.
60299 * soft-fp/gedf2.c: Likewise.
60300 * soft-fp/gesf2.c: Likewise.
60301 * soft-fp/getf2.c: Likewise.
60302 * soft-fp/ledf2.c: Likewise.
60303 * soft-fp/lesf2.c: Likewise.
60304 * soft-fp/letf2.c: Likewise.
60305 * soft-fp/muldf3.c: Likewise.
60306 * soft-fp/mulsf3.c: Likewise.
60307 * soft-fp/multf3.c: Likewise.
60308 * soft-fp/negdf2.c: Likewise.
60309 * soft-fp/negsf2.c: Likewise.
60310 * soft-fp/negtf2.c: Likewise.
60311 * soft-fp/op-1.h: Likewise.
60312 * soft-fp/op-2.h: Likewise.
60313 * soft-fp/op-4.h: Likewise.
60314 * soft-fp/op-8.h: Likewise.
60315 * soft-fp/op-common.h: Likewise.
60316 * soft-fp/quad.h: Likewise.
60317 * soft-fp/single.h: Likewise.
60318 * soft-fp/soft-fp.h: Likewise.
60319 * soft-fp/sqrtdf2.c: Likewise.
60320 * soft-fp/sqrtsf2.c: Likewise.
60321 * soft-fp/sqrttf2.c: Likewise.
60322 * soft-fp/subdf3.c: Likewise.
60323 * soft-fp/subsf3.c: Likewise.
60324 * soft-fp/subtf3.c: Likewise.
60325 * soft-fp/truncdfsf2.c: Likewise.
60326 * soft-fp/trunctfdf2.c: Likewise.
60327 * soft-fp/trunctfsf2.c: Likewise.
60328 * soft-fp/trunctfxf2.c: Likewise.
60329 * soft-fp/unorddf2.c: Likewise.
60330 * soft-fp/unordsf2.c: Likewise.
60331 * soft-fp/unordtf2.c: Likewise.
60332
60333 2013-10-15 Joseph Myers <joseph@codesourcery.com>
60334
60335 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
60336 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
60337
60338 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
60339
60340 * elf/dl-libc.c: Clear initfini list after freeing.
60341
60342 2013-10-14 Joseph Myers <joseph@codesourcery.com>
60343
60344 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
60345 * soft-fp/addsf3.c: Likewise.
60346 * soft-fp/addtf3.c: Likewise.
60347 * soft-fp/divdf3.c: Likewise.
60348 * soft-fp/divsf3.c: Likewise.
60349 * soft-fp/divtf3.c: Likewise.
60350 * soft-fp/double.h: Likewise.
60351 * soft-fp/eqdf2.c: Likewise.
60352 * soft-fp/eqsf2.c: Likewise.
60353 * soft-fp/eqtf2.c: Likewise.
60354 * soft-fp/extenddftf2.c: Likewise.
60355 * soft-fp/extended.h: Likewise.
60356 * soft-fp/extendsfdf2.c: Likewise.
60357 * soft-fp/extendsftf2.c: Likewise.
60358 * soft-fp/extendxftf2.c: Likewise.
60359 * soft-fp/fixdfdi.c: Likewise.
60360 * soft-fp/fixdfsi.c: Likewise.
60361 * soft-fp/fixdfti.c: Likewise.
60362 * soft-fp/fixsfdi.c: Likewise.
60363 * soft-fp/fixsfsi.c: Likewise.
60364 * soft-fp/fixsfti.c: Likewise.
60365 * soft-fp/fixtfdi.c: Likewise.
60366 * soft-fp/fixtfsi.c: Likewise.
60367 * soft-fp/fixtfti.c: Likewise.
60368 * soft-fp/fixunsdfdi.c: Likewise.
60369 * soft-fp/fixunsdfsi.c: Likewise.
60370 * soft-fp/fixunsdfti.c: Likewise.
60371 * soft-fp/fixunssfdi.c: Likewise.
60372 * soft-fp/fixunssfsi.c: Likewise.
60373 * soft-fp/fixunssfti.c: Likewise.
60374 * soft-fp/fixunstfdi.c: Likewise.
60375 * soft-fp/fixunstfsi.c: Likewise.
60376 * soft-fp/fixunstfti.c: Likewise.
60377 * soft-fp/floatdidf.c: Likewise.
60378 * soft-fp/floatdisf.c: Likewise.
60379 * soft-fp/floatditf.c: Likewise.
60380 * soft-fp/floatsidf.c: Likewise.
60381 * soft-fp/floatsisf.c: Likewise.
60382 * soft-fp/floatsitf.c: Likewise.
60383 * soft-fp/floattidf.c: Likewise.
60384 * soft-fp/floattisf.c: Likewise.
60385 * soft-fp/floattitf.c: Likewise.
60386 * soft-fp/floatundidf.c: Likewise.
60387 * soft-fp/floatundisf.c: Likewise.
60388 * soft-fp/floatunsidf.c: Likewise.
60389 * soft-fp/floatunsisf.c: Likewise.
60390 * soft-fp/floatuntidf.c: Likewise.
60391 * soft-fp/floatuntisf.c: Likewise.
60392 * soft-fp/floatuntitf.c: Likewise.
60393 * soft-fp/fmadf4.c: Likewise.
60394 * soft-fp/fmasf4.c: Likewise.
60395 * soft-fp/fmatf4.c: Likewise.
60396 * soft-fp/gedf2.c: Likewise.
60397 * soft-fp/gesf2.c: Likewise.
60398 * soft-fp/getf2.c: Likewise.
60399 * soft-fp/ledf2.c: Likewise.
60400 * soft-fp/lesf2.c: Likewise.
60401 * soft-fp/letf2.c: Likewise.
60402 * soft-fp/muldf3.c: Likewise.
60403 * soft-fp/mulsf3.c: Likewise.
60404 * soft-fp/multf3.c: Likewise.
60405 * soft-fp/negdf2.c: Likewise.
60406 * soft-fp/negsf2.c: Likewise.
60407 * soft-fp/negtf2.c: Likewise.
60408 * soft-fp/op-1.h: Likewise.
60409 * soft-fp/op-2.h: Likewise.
60410 * soft-fp/op-4.h: Likewise.
60411 * soft-fp/op-8.h: Likewise.
60412 * soft-fp/op-common.h: Likewise.
60413 * soft-fp/quad.h: Likewise.
60414 * soft-fp/single.h: Likewise.
60415 * soft-fp/soft-fp.h: Likewise.
60416 * soft-fp/sqrtdf2.c: Likewise.
60417 * soft-fp/sqrtsf2.c: Likewise.
60418 * soft-fp/sqrttf2.c: Likewise.
60419 * soft-fp/subdf3.c: Likewise.
60420 * soft-fp/subsf3.c: Likewise.
60421 * soft-fp/subtf3.c: Likewise.
60422 * soft-fp/truncdfsf2.c: Likewise.
60423 * soft-fp/trunctfdf2.c: Likewise.
60424 * soft-fp/trunctfsf2.c: Likewise.
60425 * soft-fp/trunctfxf2.c: Likewise.
60426 * soft-fp/unorddf2.c: Likewise.
60427 * soft-fp/unordsf2.c: Likewise.
60428 * soft-fp/unordtf2.c: Likewise.
60429
60430 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
60431
60432 [BZ #15672]
60433 * misc/error.c (error_tail): Fix possible buffer overflow.
60434
60435 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
60436
60437 [BZ #13028]
60438 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
60439 address.
60440
60441 2013-10-14 P. J. McDermott <pj@pehjota.net>
60442
60443 [BZ #832]
60444 * elf/ldd.bash.in (try_trace): New function. Delete previous code
60445 testing pipefail option.
60446
60447 2013-10-12 Joseph Myers <joseph@codesourcery.com>
60448
60449 * soft-fp/double.h: Indent preprocessor directives inside #if.
60450 * soft-fp/extended.h: Likewise.
60451 * soft-fp/op-2.h: Likewise.
60452 * soft-fp/op-4.h: Likewise.
60453 * soft-fp/op-common.h: Likewise.
60454 * soft-fp/quad.h: Likewise.
60455 * soft-fp/single.h: Likewise.
60456 * soft-fp/soft-fp.h: Likewise.
60457
60458 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
60459
60460 * iconv/iconv_prog.c: Fix typos.
60461 * stdio-common/psiginfo-data.h: Likewise.
60462
60463 2013-10-12 Reuben Thomas <rrt@sc3d.org>
60464
60465 [BZ #15764]
60466 * locale/setlocale.c: Fix typo.
60467
60468 2013-10-12 Joseph Myers <joseph@codesourcery.com>
60469
60470 [BZ #16036]
60471 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
60472 signaling NaN arguments.
60473 * soft-fp/unordsf2.c (__unordsf2): Likewise.
60474 * soft-fp/unordtf2.c (__unordtf2): Likewise.
60475
60476 [BZ #14910]
60477 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
60478 unordered operands.
60479 * soft-fp/gesf2.c (__gesf2): Likewise.
60480 * soft-fp/getf2.c (__getf2): Likewise.
60481 * soft-fp/ledf2.c (__ledf2): Likewise.
60482 * soft-fp/lesf2.c (__lesf2): Likewise.
60483 * soft-fp/letf2.c (__letf2): Likewise.
60484
60485 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
60486 * soft-fp/eqsf2.c (__eqsf2): Likewise.
60487 * soft-fp/eqtf2.c (__eqtf2): Likewise.
60488 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
60489 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
60490 * soft-fp/fixdfti.c (__fixdfti): Likewise.
60491 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
60492 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
60493 * soft-fp/fixsfti.c (__fixsfti): Likewise.
60494 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
60495 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
60496 * soft-fp/fixtfti.c (__fixtfti): Likewise.
60497 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
60498 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
60499 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
60500 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
60501 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
60502 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
60503 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
60504 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
60505 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
60506 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
60507 * soft-fp/floatdisf.c (__floatdisf): Likewise.
60508 * soft-fp/floatsisf.c (__floatsisf): Likewise.
60509 * soft-fp/floattidf.c (__floattidf): Likewise.
60510 * soft-fp/floattisf.c (__floattisf): Likewise.
60511 * soft-fp/floattitf.c (__floattitf): Likewise.
60512 * soft-fp/floatundidf.c (__floatundidf): Likewise.
60513 * soft-fp/floatundisf.c (__floatundisf): Likewise.
60514 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
60515 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
60516 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
60517 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
60518 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
60519 * soft-fp/gesf2.c (__gesf2): Likewise.
60520 * soft-fp/getf2.c (__getf2): Likewise.
60521 * soft-fp/ledf2.c (__ledf2): Likewise.
60522 * soft-fp/lesf2.c (__lesf2): Likewise.
60523 * soft-fp/letf2.c (__letf2): Likewise.
60524
60525 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
60526 Undefine and redefine.
60527 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
60528 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
60529 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
60530 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
60531 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60532 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
60533 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60534 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
60535 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60536 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
60537 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60538 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
60539 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60540 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
60541 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60542
60543 [BZ #16032]
60544 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
60545 without decrementing exponent if mantissa >= that for the
60546 denominator, not >.
60547 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
60548 denominator, not >. Decrement exponent in < case instead of
60549 incrementing in >= case.
60550 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
60551 without decrementing exponent if mantissa >= that for the
60552 denominator, not >.
60553
60554 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
60555 computing saturated result for unsigned overflow.
60556
60557 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
60558 Jeff Law <law@redhat.com>
60559
60560 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
60561 (atan2Mp): Add systemtap probe marker.
60562 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
60563 (__ieee754_log): Add systemtap probe marker.
60564 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
60565 (atanMp): Add systemtap probe marker.
60566 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
60567 (tanMp): Add systemtap probe marker.
60568 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
60569 (__slowexp): Add systemtap probe marker.
60570 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
60571 (__slowpow): Add systemtap probe marker.
60572 * manual/probes.texi: Document probes.
60573
60574 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
60575
60576 [BZ #15362]
60577 * libio/fileops.c (_IO_new_file_write): Return count of bytes
60578 written.
60579 (_IO_new_file_xsputn): Don't return EOF if nothing has been
60580 written.
60581 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
60582 written to buffer but not flushed.
60583 * libio/iofwrite_u.c: Likewise.
60584 * libio/iopadn.c: Return bytes returned even if EOF was
60585 encountered.
60586 * libio/iowpadn.c: Likewise.
60587 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
60588 if _IO_padn does not write the whole buffer.
60589 [!COMPILE_WPRINTF] (PAD): Likewise.
60590
60591 2013-10-10 David S. Miller <davem@davemloft.net>
60592
60593 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
60594 directory block.
60595
60596 2013-10-10 Joseph Myers <joseph@codesourcery.com>
60597
60598 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
60599 instead of FSF address.
60600 * soft-fp/fixdfti.c: Likewise.
60601 * soft-fp/fixsfti.c: Likewise.
60602 * soft-fp/fixtfti.c: Likewise.
60603 * soft-fp/fixunsdfti.c: Likewise.
60604 * soft-fp/fixunssfti.c: Likewise.
60605 * soft-fp/fixunstfti.c: Likewise.
60606 * soft-fp/floattidf.c: Likewise.
60607 * soft-fp/floattisf.c: Likewise.
60608 * soft-fp/floattitf.c: Likewise.
60609 * soft-fp/floatuntidf.c: Likewise.
60610 * soft-fp/floatuntisf.c: Likewise.
60611 * soft-fp/floatuntitf.c: Likewise.
60612 * soft-fp/trunctfxf2.c: Likewise.
60613
60614 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
60615 * soft-fp/fixdfti.c: Likewise.
60616 * soft-fp/fixsfti.c: Likewise.
60617 * soft-fp/fixtfti.c: Likewise.
60618 * soft-fp/fixunsdfti.c: Likewise.
60619 * soft-fp/fixunssfti.c: Likewise.
60620 * soft-fp/fixunstfti.c: Likewise.
60621 * soft-fp/floattidf.c: Likewise.
60622 * soft-fp/floattisf.c: Likewise.
60623 * soft-fp/floattitf.c: Likewise.
60624 * soft-fp/floatuntidf.c: Likewise.
60625 * soft-fp/floatuntisf.c: Likewise.
60626 * soft-fp/floatuntitf.c: Likewise.
60627 * soft-fp/trunctfxf2.c: Likewise.
60628
60629 2013-10-10 David S. Miller <davem@davemloft.net>
60630
60631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60632
60633 2013-10-10 Joseph Myers <joseph@codsourcery.com>
60634
60635 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
60636 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
60637 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
60638 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
60639 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
60640 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
60641 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
60642
60643 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
60644 for NaNs before doing comparisons on argument.
60645 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
60646 Likewise.
60647
60648 2013-10-10 Will Newton <will.newton@linaro.org>
60649
60650 * malloc/hooks.c (memalign_check): Ensure the value of bytes
60651 passed to _int_memalign does not overflow.
60652
60653 2013-10-10 Torvald Riegel <triegel@redhat.com>
60654
60655 * scripts/bench.pl: Add include-sources directive.
60656 * benchtests/README: Update documentation.
60657
60658 2013-10-10 Joseph Myers <joseph@codesourcery.com>
60659
60660 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
60661 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
60662 instead of FP_INIT_ROUNDMODE.
60663 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
60664 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
60665
60666 [BZ #16034]
60667 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
60668 copy class of input value.
60669 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
60670 not handle exceptions.
60671 * soft-fp/negsf2.c (__negsf2): Likewise.
60672 * soft-fp/negtf2.c (__negtf2): Likewise.
60673 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
60674
60675 2013-10-09 Joseph Myers <joseph@codesourcery.com>
60676
60677 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
60678 semicolon. From Linux kernel.
60679
60680 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
60681
60682 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
60683
60684 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
60685
60686 [BZ #156]
60687 * manual/socket.texi: Added statement about buffer
60688 for gethostbyname2_r.
60689
60690 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
60691
60692 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
60693 Use .p2align directive instead, throughout.
60694 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
60695 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
60696 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
60697 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60698 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60699 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
60700 * sysdeps/x86_64/strchr.S: Likewise.
60701 * sysdeps/x86_64/strrchr.S: Likewise.
60702
60703 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
60704
60705 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
60706
60707 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
60708
60709 * sysdeps/generic/math_private.h (__mpsin1): Remove
60710 declaration.
60711 (__mpcos1): Likewise.
60712 (__mpsin): New argument __range_reduce.
60713 (__mpcos): Likewise.
60714 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60715 (slow): Use __mpsin and __mpcos.
60716 (slow1): Likewise.
60717 (slow2): Likewise.
60718 (sloww): Likewise.
60719 (sloww1): Likewise.
60720 (sloww2): Likewise.
60721 (bsloww): Likewise.
60722 (bsloww1): Likewise.
60723 (bsloww2): Likewise.
60724 (cslow2): Likewise.
60725 (csloww): Likewise.
60726 (csloww1): Likewise.
60727 (csloww2): Likewise.
60728 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
60729 range_reduce. Merge in __mpsin1.
60730 (__mpcos): Likewise.
60731 (__mpsin1): Remove.
60732 (__mpcos1): Likewise.
60733
60734 2013-10-07 Joseph Myers <joseph@codesourcery.com>
60735
60736 * locale/loadlocale.c (_nl_intern_locale_data): Use
60737 LOCFILE_ALIGNED_P.
60738 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
60739 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
60740 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
60741 obstack data is appropriately aligned.
60742 (obstack_int32_grow_fast): Likewise.
60743 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
60744 * locale/programs/locfile.c (add_locale_uint32): Likewise.
60745 (add_locale_uint32_array): Likewise.
60746
60747 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
60748
60749 * benchtests/Makefile: Remove ARGLIST and RET variables.
60750 ($(objpfx)bench-%.c): Pass only function name to the script.
60751 * benchtests/README: Update documentation.
60752 * benchtests/acos-inputs: Add new directives.
60753 * benchtests/acosh-inputs: Likewise.
60754 * benchtests/asin-inputs: Likewise.
60755 * benchtests/asinh-inputs: Likewise.
60756 * benchtests/atan-inputs: Likewise.
60757 * benchtests/atanh-inputs: Likewise.
60758 * benchtests/cos-inputs: Likewise.
60759 * benchtests/cosh-inputs: Likewise.
60760 * benchtests/exp-inputs: Likewise.
60761 * benchtests/log-inputs: Likewise.
60762 * benchtests/pow-inputs: Likewise.
60763 * benchtests/rint-inputs: Likewise.
60764 * benchtests/sin-inputs: Likewise.
60765 * benchtests/sinh-inputs: Likewise.
60766 * benchtests/tan-inputs: Likewise.
60767 * benchtests/tanh-inputs: Likewise.
60768 * scripts/bench.pl: Add support for new directives.
60769
60770 2013-10-07 Alan Modra <amodra@gmail.com>
60771
60772 * README: Fix careless merge.
60773
60774 2013-10-05 Alan Modra <amodra@gmail.com>
60775
60776 * NEWS: Mention powerpc64le support and bugs fixed.
60777 * README: Both big-endian and little-endian powerpc64 supported.
60778
60779 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
60780
60781 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
60782 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
60783 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
60784 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
60785
60786 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
60787
60788 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
60789 match prototype.
60790
60791 2013-10-04 Joseph Myers <joseph@codesourcery.com>
60792
60793 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
60794 Move -mhard-float appending from
60795 ports/sysdeps/powerpc/powerpc32/Makefile.
60796 [$(with-fp) = yes] (ASFLAGS): Likewise.
60797 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
60798 * sysdeps/powerpc/nofpu: Move directory from
60799 ports/sysdeps/powerpc/nofpu.
60800 * sysdeps/powerpc/soft-fp: Move directory from
60801 ports/sysdeps/powerpc/soft-fp.
60802 * sysdeps/powerpc/powerpc32/405: Move directory from
60803 ports/sysdeps/powerpc/powerpc32/405.
60804 * sysdeps/powerpc/powerpc32/440: Move directory from
60805 ports/sysdeps/powerpc/powerpc32/440.
60806 * sysdeps/powerpc/powerpc32/464: Move directory from
60807 ports/sysdeps/powerpc/powerpc32/464.
60808 * sysdeps/powerpc/powerpc32/476: Move directory from
60809 ports/sysdeps/powerpc/powerpc32/476.
60810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
60811 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
60812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
60813 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
60814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
60815 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
60816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
60817 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
60818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
60819 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
60820 * README: Update for powerpc-*-linux-gnu software floating point
60821 support in libc.
60822
60823 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
60824 case to powerpc/powerpc32*.
60825 * sysdeps/unix/sysv/linux/configure: Regenerated.
60826
60827 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
60828 (_FPU_MASK_OM): Define as 0x04.
60829 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
60830 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
60831 0x00c10080.
60832 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
60833 0x0000003c.
60834 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
60835
60836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
60837 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
60838 getcontext_e500.
60839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
60840 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
60841 setcontext_e500.
60842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
60843 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
60844 and setcontext_e500.
60845
60846 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
60847
60848 * locale/iso-3166.def: Update iso-1366.def and related occurrences
60849
60850 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
60851
60852 * manual/threads.texi (Default Thread Attributes): Fix typo.
60853
60854 2013-10-04 Will Newton <will.newton@linaro.org>
60855
60856 * malloc/Makefile: Add tst-memalign.
60857 * malloc/tst-memalign.c: New file.
60858
60859 * malloc/tst-posix_memalign.c: Add comments.
60860 (do_test): Add comments and call free on all potentially
60861 allocated pointers. Add space after cast.
60862
60863 * malloc/tst-pvalloc.c: Add comments.
60864 (do_test): Add comments and call free on all potentially
60865 allocated pointers. Remove duplicate check for NULL pointer.
60866 Add space after cast.
60867
60868 * malloc/tst-valloc.c: Add comments.
60869 (do_test): Add comments and call free on all potentially
60870 allocated pointers. Remove duplicate check for NULL pointer.
60871 Add space after cast.
60872
60873 2013-10-04 Alan Modra <amodra@gmail.com>
60874
60875 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
60876 Use stdint types in rather than __attribute__((mode())).
60877 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
60878
60879 2013-10-04 Alan Modra <amodra@gmail.com>
60880
60881 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
60882 Correct handling of unaligned relocs for little-endian.
60883 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
60884
60885 2013-10-04 Alan Modra <amodra@gmail.com>
60886
60887 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
60888 * configure: Regenerate.
60889 * nptl/shlib-versions: Powerpc*le starts at 2.18.
60890 * shlib-versions: Likewise.
60891
60892 2013-10-04 Alan Modra <amodra@gmail.com>
60893
60894 * string/tester.c (test_memrchr): Increment reported test cycle.
60895
60896 2013-10-04 Alan Modra <amodra@gmail.com>
60897
60898 * string/test-memcpy.c (do_one_test): When reporting errors, print
60899 string address and don't overrun end of string.
60900
60901 2013-10-04 Alan Modra <amodra@gmail.com>
60902
60903 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
60904 insrdi. Make better use of reg selection to speed exit slightly.
60905 Schedule entry path a little better. Remove useless "are we done"
60906 checks on entry to main loop. Handle wrapping around zero address.
60907 Correct main loop count. Handle single left-over word from main
60908 loop inline rather than by using loop_small. Remove extra word
60909 case in loop_small caused by wrong loop count. Add little-endian
60910 support.
60911 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
60912 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
60913 cache hint.
60914 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
60915 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
60916 support. Avoid rlwimi.
60917 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
60918
60919 2013-10-04 Alan Modra <amodra@gmail.com>
60920
60921 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
60922 insrdi. Formatting.
60923 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
60924 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
60925 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
60926 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
60927 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
60928 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
60929
60930 2013-10-04 Alan Modra <amodra@gmail.com>
60931
60932 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
60933 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
60934 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
60935 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
60936 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
60937 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
60938 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
60939 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
60940 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
60941 use of regs. Use power7 mtocrf. Tidy function tails.
60942
60943 2013-10-04 Alan Modra <amodra@gmail.com>
60944
60945 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
60946 Formatting. Consistently use rXXX register defines or rN defines.
60947 Use early exit labels that avoid restoring unused non-volatile regs.
60948 Make cr field use more consistent with rWORDn compares. Rename
60949 regs used as shift registers for unaligned loop, using rN defines
60950 for short lifetime/multiple use regs.
60951 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
60952 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
60953 addi 1,1,64 to pop stack frame. Simplify return value code.
60954 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
60955
60956 2013-10-04 Alan Modra <amodra@gmail.com>
60957
60958 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
60959 support. Correct typos, formatting. Optimize tail. Use insrdi
60960 rather than rlwimi.
60961 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
60962 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
60963 little-endian support. Correct typos.
60964 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
60965 rather than rlwimi.
60966 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
60967 in loop and entry code to keep "and." results.
60968 (strchr): Add little-endian support. Comment. Move cntlzd
60969 earlier in tail.
60970 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
60971
60972 2013-10-04 Alan Modra <amodra@gmail.com>
60973
60974 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
60975 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
60976 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
60977 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
60978
60979 2013-10-04 Alan Modra <amodra@gmail.com>
60980
60981 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
60982 (rTMP): Define as r11.
60983 (strcmp): Add little-endian support. Optimise tail.
60984 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
60985 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
60986 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
60987 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60988 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
60989 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60990 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60991
60992 2013-10-04 Alan Modra <amodra@gmail.com>
60993
60994 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
60995 little-endian support. Remove unnecessary "are we done" tests.
60996 Handle "s" wrapping around zero and extremely large "size".
60997 Correct main loop count. Handle single left-over word from main
60998 loop inline rather than by using small_loop. Correct comments.
60999 Delete "zero" tail, use "end_max" instead.
61000 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
61001
61002 2013-10-04 Alan Modra <amodra@gmail.com>
61003
61004 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
61005 support. Don't branch over align.
61006 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
61007 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
61008 support. Rearrange tmp reg use to suit. Comment.
61009 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
61010
61011 2013-10-04 Alan Modra <amodra@gmail.com>
61012
61013 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
61014
61015 2013-10-04 Alan Modra <amodra@gmail.com>
61016
61017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
61018 conditional form of branch and link when obtaining pc.
61019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
61020
61021 2013-10-04 Alan Modra <amodra@gmail.com>
61022
61023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
61024 HIWORD/LOWORD.
61025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
61026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
61027
61028 2013-10-04 Alan Modra <amodra@gmail.com>
61029
61030 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
61031 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
61032 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
61033 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
61034 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
61035 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
61036 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
61037 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
61038 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
61039 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
61040
61041 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
61042 Alistair Popple <alistair@ozlabs.au.ibm.com>
61043 Alan Modra <amodra@gmail.com>
61044
61045 [BZ #15723]
61046 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
61047 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
61048 _dl_hwcap access for little-endian.
61049 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
61050 destroy vmx regs when saving unaligned.
61051 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
61052 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
61053 destroy vmx regs when saving unaligned.
61054
61055 2013-10-04 Alan Modra <amodra@gmail.com>
61056
61057 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
61058 Don't use a union to pack hi/low value.
61059
61060 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
61061
61062 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
61063 for little-endian.
61064 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
61065 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
61066 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
61067 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
61068 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
61069
61070 2013-10-04 Alan Modra <amodra@gmail.com>
61071
61072 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
61073 constants to usual value for .cst8 section, and remove redundant
61074 high address load.
61075 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
61076 constant for 0x1p52. Load little-endian words of double from
61077 correct stack offsets.
61078
61079 2013-10-04 Alan Modra <amodra@gmail.com>
61080
61081 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
61082 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
61083 words of double from correct stack offsets.
61084 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
61085 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
61086 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
61087 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
61088 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
61089 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
61090 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
61091 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
61092 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
61093 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
61094 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
61095 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
61096 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
61097 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
61098 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
61099 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
61100 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
61101
61102 2013-10-04 Alan Modra <amodra@gmail.com>
61103
61104 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
61105 64-bit int/double union.
61106 (_FPU_SETCW): Likewise.
61107 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
61108 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
61109
61110 2013-10-04 Alan Modra <amodra@gmail.com>
61111
61112 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
61113 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
61114
61115 2013-10-04 Alan Modra <amodra@gmail.com>
61116
61117 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
61118 use vector int constants.
61119 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
61120
61121 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
61122
61123 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
61124 array with long long.
61125 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
61126 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
61127 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
61128 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
61129 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
61130 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
61131 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
61132 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
61133 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
61134 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
61135 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
61136 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
61137 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
61138
61139 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
61140
61141 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
61142 (__signbit): Likewise. Correct for little-endian.
61143 (__signbitl): Call __signbit.
61144 (lrint): Correct for little-endian.
61145 (lrintf): Call lrint.
61146
61147 2013-10-04 Alan Modra <amodra@gmail.com>
61148
61149 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
61150 union 32-bit int array member with 64-bit int array.
61151 (t515, tm256): Double rather than long double.
61152 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
61153
61154 2013-10-04 Alan Modra <amodra@gmail.com>
61155
61156 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
61157 Delete.
61158 (IEEE854_LONG_DOUBLE_BIAS): Delete.
61159 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
61160 version of math_ldbl.h.
61161
61162 2013-10-04 Alan Modra <amodra@gmail.com>
61163
61164 [BZ #15734], [BZ #15735]
61165 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
61166 all uses of ieee875 long double macros and unions. Simplify test
61167 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
61168 ldbl_extract_mantissa value for ix,iy exponents. Properly
61169 normalize after ldbl_extract_mantissa, and don't add hidden bit
61170 already handled. Don't treat low word of ieee854 mantissa like
61171 low word of IBM long double and mask off bit when testing for
61172 zero.
61173 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
61174 all uses of ieee875 long double macros and unions. Simplify tests
61175 for 0.0L and inf. Correct double adjustment of k. Delete dead code
61176 adjusting ha,hb. Simplify code setting kld. Delete two600 and
61177 two1022, instead use their values. Recognise that tests for large
61178 "a" and small "b" are mutually exclusive. Rename vars. Comment.
61179 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
61180 Rewrite all uses of ieee875 long double macros and unions. Simplify
61181 test for 0.0L and nan. Correct negation.
61182 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
61183 ieee875 long double macros and unions. Correct output for large
61184 magnitude x. Correct absolute value calculation.
61185 (__erfcl): Likewise.
61186 * math/libm-test.inc: Add tests for errors discovered in IBM long
61187 double versions of fmodl, remainderl, erfl and erfcl.
61188
61189 2013-10-04 Alan Modra <amodra@gmail.com>
61190
61191 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
61192 all uses of ieee854 long double macros and unions. Simplify tests
61193 for long doubles that are fully specified by the high double.
61194 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
61195 Likewise.
61196 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
61197 Remove dead code too.
61198 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
61199 (__ieee754_ynl): Likewise.
61200 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
61201 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
61202 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
61203 Remove dead code too.
61204 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
61205 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
61206 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
61207 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
61208 Simplify.
61209 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
61210 Simplify.
61211 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
61212 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
61213 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
61214 Comment on variable precision.
61215 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
61216 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
61217 Likewise.
61218 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
61219 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
61220 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
61221 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
61222 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
61223
61224 2013-10-04 Alan Modra <amodra@gmail.com>
61225
61226 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
61227 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
61228 all uses of ieee854 long double macros and unions.
61229 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
61230 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
61231 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
61232 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
61233 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
61234 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
61235 Likewise.
61236 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
61237 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
61238 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
61239 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
61240 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
61241 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
61242 Simplify sign and nan test too.
61243 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
61244 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
61245 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
61246 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
61247 Likewise.
61248 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
61249 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
61250 Likewise.
61251 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61252 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
61253 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
61254 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
61255 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
61256 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
61257
61258 2013-10-04 Alan Modra <amodra@gmail.com>
61259
61260 * stdio-common/printf_size.c (__printf_size): Don't use
61261 union ieee854_long_double in fpnum union.
61262 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
61263 signbit macro to retrieve sign from long double.
61264 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
61265 retrieve sign from long double.
61266 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
61267 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
61268 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
61269 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
61270 * math/test-misc.c (main): Don't use union ieee854_long_double.
61271
61272 2013-10-04 Alan Modra <amodra@gmail.com>
61273
61274 [BZ #15680]
61275 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
61276 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
61277 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
61278 calculation. Remove unnecessary test for denormal exponent.
61279 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
61280 Correct handling of denormals. Avoid undefined shift behaviour.
61281 Correct normalisation of low mantissa when low double is denormal.
61282 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
61283 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
61284 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
61285 Correct normalisation of low mantissa. Test for overflow of high
61286 mantissa and normalise.
61287 (ldbl_nearbyint): Use more readable constant for two52.
61288 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
61289 (__mpn_construct_long_double): Fix test for overflow of high
61290 mantissa and correct normalisation. Avoid undefined shift.
61291
61292 2013-10-04 Alan Modra <amodra@gmail.com>
61293
61294 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
61295 (union ibm_extended_long_double): Define as an array of ieee754_double.
61296 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
61297 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
61298 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
61299 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
61300 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61301 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
61302 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
61303 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
61304 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
61305 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
61306 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
61307
61308 2013-10-03 Joseph Myers <joseph@codesourcery.com>
61309
61310 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
61311 page size instead of calling getpagesize.
61312
61313 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
61314 (LOCFILE_ALIGN_MASK): Likewise.
61315 (LOCFILE_ALIGN_UP): Likewise.
61316 (LOCFILE_ALIGNED_P): Likewise.
61317 * locale/programs/ld-collate.c (collate_output): Use the new
61318 macros instead of __alignof__ (int32_t).
61319 * locale/weight.h (findidx): Likewise.
61320
61321 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
61322
61323 [BZ #431]
61324 * manual/string.texi: Fix strncat and wcsncat.
61325
61326 2013-10-03 Brooks Moses <bmoses@google.com>
61327
61328 [BZ #15915]
61329 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
61330 * Makerules: ...here, and adjust associated comments.
61331
61332 2013-10-02 Will Newton <will.newton@linaro.org>
61333
61334 * malloc/Makefile: Add tst-pvalloc.
61335 * malloc/tst-pvalloc.c: New file.
61336
61337 2013-10-02 Will Newton <will.newton@linaro.org>
61338
61339 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
61340 improve test coverage.
61341
61342 2013-10-02 Will Newton <will.newton@linaro.org>
61343
61344 * malloc/Makefile: Add tst-posix_memalign.
61345 * malloc/tst-posix_memalign.c: New file.
61346
61347 2013-10-01 Eric Blake <eblake@redhat.com>
61348
61349 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
61350 Use __THROWNL rather than __THROW on static functions.
61351
61352 2013-09-30 Petr Machata <pmachata@redhat.com>
61353
61354 * elf/elf.h (R_AARCH64_ABS16): New macro.
61355 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
61356 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
61357 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
61358 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
61359 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
61360 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
61361 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
61362 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
61363 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
61364 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
61365 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
61366 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
61367 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
61368 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
61369 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
61370 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
61371 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
61372 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
61373 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
61374 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
61375 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
61376 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
61377 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
61378 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
61379 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
61380 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
61381 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
61382 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
61383 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
61384 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
61385 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
61386 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
61387 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
61388 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
61389 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
61390 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
61391 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
61392 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
61393 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
61394 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
61395 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
61396 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
61397 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
61398 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
61399 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
61400 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
61401 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
61402 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
61403 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
61404 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
61405 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
61406 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
61407 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
61408 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
61409 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
61410 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
61411 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
61412 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
61413 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
61414 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
61415 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
61416 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
61417 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
61418 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
61419 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
61420 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
61421 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
61422 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
61423 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
61424 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
61425 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
61426 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
61427 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
61428 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
61429 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
61430 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
61431 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
61432 (R_AARCH64_TLSDESC_LDR): Likewise.
61433 (R_AARCH64_TLSDESC_ADD): Likewise.
61434 (R_AARCH64_TLSDESC_CALL): Likewise.
61435
61436 2013-09-30 Andreas Schwab <schwab@suse.de>
61437
61438 [BZ #15048]
61439 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
61440 the nss database lookup.
61441 * nscd/initgrcache.c (addinitgroupsX): Likewise.
61442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61443
61444 2013-09-28 Mike Frysinger <vapier@gentoo.org>
61445
61446 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
61447
61448 2013-09-28 P. J. McDermott <pj@pehjota.net>
61449
61450 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
61451 ${Bash-specific parameter/pattern/string} parameter expansion.
61452 * sysdeps/unix/make-syscalls.sh: Likewise.
61453
61454 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
61455
61456 * sysdeps/sh/stackguard-macros.h: New file.
61457
61458 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
61459
61460 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
61461 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
61462 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
61463 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
61464 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61465 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
61466
61467 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61468
61469 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
61470 Fix thread ID register.
61471
61472 2013-09-25 Joseph Myers <joseph@codesourcery.com>
61473
61474 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
61475 [POSIX || UNIX98]: Require rather than permitting all symbols from
61476 <time.h>.
61477 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
61478 element of struct sched_param.
61479 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
61480 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
61481 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
61482 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
61483 constant.
61484
61485 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
61486
61487 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
61488 argument calculation.
61489
61490 2013-09-24 Joseph Myers <joseph@codesourcery.com>
61491
61492 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
61493 Expect macro.
61494 [POSIX] (pthread_attr_t): Do not require type.
61495 [POSIX] (pthread_cond_t): Likewise.
61496 [POSIX] (pthread_condattr_t): Likewise.
61497 [POSIX] (pthread_key_t): Likewise.
61498 [POSIX] (pthread_mutex_t): Likewise.
61499 [POSIX] (pthread_mutexattr_t): Likewise.
61500 [POSIX] (pthread_once_t): Likewise.
61501 [POSIX] (pthread_t): Likewise.
61502 [POSIX-based standards] (pthread_atfork): Expect function.
61503
61504 2013-09-24 Joseph Myers <joseph@codesourcery.com>
61505 Richard Sandiford <richard@codesourcery.com>
61506
61507 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
61508 (swap_endianness_p): New extern variable.
61509 (set_big_endian): New inline function.
61510 (maybe_swap_uint32): Likewise.
61511 (maybe_swap_uint32_array): Likewise.
61512 (maybe_swap_uint32_obstack): Likewise.
61513 * locale/programs/locfile.c: Include <stdbool.h>.
61514 (swap_endianness_p): New variable.
61515 (add_locale_uint32): Call maybe_swap_uint32.
61516 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
61517 (write_locale_data): Call maybe_swap_uint32_array.
61518 * locale/programs/ld-collate.c (obstack_int32_grow): Call
61519 maybe_swap_uint32.
61520 (obstack_int32_grow_fast): Likewise.
61521 (output_weightwc): Call maybe_swap_uint32_obstack.
61522 (collate_output): Likewise.
61523 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
61524 (OPT_LITTLE_ENDIAN): Likewise.
61525 (options): Add --little-endian and --big-endian options.
61526 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
61527 * locale/programs/locarchive.c: Include "locfile.h".
61528 (GET): New macro.
61529 (SET): Likewise.
61530 (INC): Likewise.
61531 (create_archive): Use the new macros to access fields of
61532 structures directly mapped from or written to locale archives.
61533 (oldlocrecentcmp): Likewise.
61534 (enlarge_archive): Likewise.
61535 (insert_name): Likewise.
61536 (add_alias): Likewise.
61537 (add_locale): Likewise.
61538 (delete_locales_from_archive): Likewise.
61539 (show_archive_content): Likewise.
61540 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
61541 locale data.
61542
61543 2013-09-24 Roland McGrath <roland@hack.frob.com>
61544
61545 * manual/freemanuals.texi: Updated from (newly) canonical copy at
61546 http://www.gnu.org/doc/freemanuals.texi.
61547 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
61548
61549 2013-09-24 Will Newton <will.newton@linaro.org>
61550
61551 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
61552 macro.
61553
61554 2013-09-23 Joseph Myers <joseph@codesourcery.com>
61555
61556 * locale/hashval.h (compute_hashval): Interpret bytes of key as
61557 unsigned char.
61558
61559 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
61560
61561 * manual/threads.texi (POSIX Threads): Fix a typo.
61562
61563 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
61564
61565 [BZ #14547]
61566 * string/tst-strcoll-overflow.c: New test case.
61567 * string/Makefile (xtests): Add tst-strcoll-overflow.
61568 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
61569 cache if string sizes may cause integer overflow.
61570
61571 [BZ #14547]
61572 * string/strcoll_l.c (coll_seq): New members rule, idx,
61573 save_idx and back_us.
61574 (get_next_seq_nocache): New function.
61575 (do_compare_nocache): New function.
61576 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
61577 when malloc fails.
61578
61579 2013-09-23 Carlos O'Donell <carlos@redhat.com>
61580
61581 [BZ #15754]
61582 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
61583 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
61584 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
61585
61586 [BZ #15754]
61587 * elf/Makefile (tests): Add tst-ptrguard1.
61588 (tests-static): Add tst-ptrguard1-static.
61589 (tst-ptrguard1-ARGS): Define.
61590 (tst-ptrguard1-static-ARGS): Define.
61591 * elf/tst-ptrguard1.c: New file.
61592 * elf/tst-ptrguard1-static.c: New file.
61593 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
61594 * sysdeps/i386/stackguard-macros.h: Likewise.
61595 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
61596 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
61597 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
61598 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
61599 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
61600 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
61601
61602 2013-09-23 Hector Marco <hecmargi@upv.es>
61603 Ismael Ripoll <iripoll@disca.upv.es>
61604 Carlos O'Donell <carlos@redhat.com>
61605
61606 [BZ #15754]
61607 * sysdeps/generic/stackguard-macros.h: Define
61608 __pointer_chk_guard_local and POINTER_CHK_GUARD.
61609 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
61610 Define __pointer_chk_guard_local.
61611 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
61612 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
61613
61614 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
61615
61616 [BZ #15859]
61617 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
61618
61619 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
61620
61621 * include/string.h (__ffs): Declare as hidden.
61622 * string/ffs.c (__ffs): Define as hidden.
61623 * sysdeps/i386/ffs.c (__ffs): Likewise.
61624 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
61625 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
61626 * sysdeps/s390/ffs.c (__ffs): Likewise.
61627 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
61628
61629 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
61630
61631 * NEWS: Mention malloc probes.
61632
61633 * malloc/arena.c (new_heap): New memory_heap_new probe.
61634 (grow_heap): New memory_heap_more probe.
61635 (shrink_heap): New memory_heap_less probe.
61636 (heap_trim): New memory_heap_free probe.
61637 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
61638 (systrim): New memory_sbrk_less probe.
61639 * manual/probes.texi: Document them.
61640
61641 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
61642 * manual/probes.texi: Document it.
61643
61644 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
61645 (__libc_realloc): Add memory_realloc_retry probe.
61646 (__libc_memalign): Add memory_memalign_retry probe.
61647 (__libc_valloc): Add memory_valloc_retry probe.
61648 (__libc_pvalloc): Add memory_pvalloc_retry probe.
61649 (__libc_calloc): Add memory_calloc_retry probe.
61650 * manual/probes.texi: Document them.
61651
61652 * malloc/arena.c (get_free_list): Add probe
61653 memory_arena_reuse_free_list.
61654 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
61655 and memory_arena_reuse.
61656 (arena_get2) [!PER_THREAD]: Likewise.
61657 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
61658 memory_arena_reuse_realloc.
61659 * manual/probes.texi: Document them.
61660
61661 * malloc/malloc.c (__libc_free): Add
61662 memory_mallopt_free_dyn_thresholds probe.
61663 (__libc_mallopt): Add multiple memory_mallopt probes.
61664 * manual/probes.texi: Document them.
61665
61666 * malloc/malloc.c: Include stap-probe.h.
61667 (__libc_mallopt): Add memory_mallopt probe.
61668 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
61669 * manual/probes.texi: New.
61670 * manual/Makefile (chapters): Add probes.
61671 * manual/threads.texi: Set next node.
61672
61673 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
61674
61675 [BZ #15963, #13985]
61676 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
61677 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
61678 Add `Chinese' to `nan' entry name.
61679
61680 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
61681
61682 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
61683 (POLYNOMIAL): Likewise.
61684 (TAYLOR_SINCOS): Likewise.
61685 (TAYLOR_SLOW): Likewise.
61686 (__sin): Use TAYLOR_SINCOS.
61687 (__cos): Likewise.
61688 (slow): Use TAYLOR_SLOW.
61689 (sloww): Likewise.
61690 (bsloww): Likewise.
61691 (csloww): Likewise.
61692
61693 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61694
61695 * stdlib/strtod_l.c: Fix buffer overrun.
61696
61697 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
61698
61699 * benchtests/Makefile (bench): Add sincos.
61700 * benchtests/bench-sincos.c: New file.
61701
61702 * math/libm-test.inc (cos_test_data): New test inputs.
61703 (sin_test_data): Likewise.
61704
61705 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
61706 macro.
61707 (__sin): Use it.
61708 (__cos): Likewise.
61709 (slow1): Likewise.
61710 (slow2): Likewise.
61711 (sloww1): Likewise.
61712 (sloww2): Likewise.
61713 (bsloww1): Likewise.
61714 (bsloww2): Likewise.
61715 (cslow2): Likewise.
61716 (csloww1): Likewise.
61717 (csloww2): Likewise.
61718
61719 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
61720 function.
61721 (__sin): Use it.
61722 (__cos): Likewise.
61723
61724 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
61725 gotos.
61726 (__cos): Likewise.
61727
61728 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
61729
61730 * config.h.in (HAVE_MIPS_NAN2008): New macro.
61731 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
61732 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
61733 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
61734 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
61735 * elf/cache.c (print_entry): Handle the new cache flags.
61736
61737 2013-09-18 Joseph Myers <joseph@codesourcery.com>
61738 Aldy Hernandez <aldyh@redhat.com>
61739
61740 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
61741 Change condition to [_SOFT_FLOAT].
61742 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
61743 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
61744 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
61745 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
61746 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
61747 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
61748 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
61749 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
61750 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
61751 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
61752 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
61753 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
61754 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
61755 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
61756 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
61757 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
61758 declaration.
61759
61760 2013-09-18 Joseph Myers <joseph@codesourcery.com>
61761
61762 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
61763 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
61764 (__longjmp): Use LOAD_GP to load saved GPRs.
61765 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
61766 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
61767 (__sigsetjmp): Use SAVE_GP to save GPRs.
61768
61769 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
61770 Do not append -msoft-float.
61771 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
61772
61773 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
61774
61775 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
61776
61777 2013-09-17 Joseph Myers <joseph@codesourcery.com>
61778
61779 [BZ #15966]
61780 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
61781 (_FPU_GETCW): Use initial "__" on variable and field names but not
61782 on macro parameter name.
61783 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
61784 parentheses around reference to macro parameter.
61785
61786 2013-09-13 Richard Sandiford <richard@codesourcery.com>
61787
61788 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
61789 prototype.
61790 (ctype_startup): Use uint32_t in cast and sizeof for
61791 ctype->charnames.
61792
61793 2013-09-11 Jia Liu <proljc@gmail.com>
61794
61795 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
61796 __daddr_t_defined.
61797 [__FreeBSD__]: Likewise.
61798
61799 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
61800
61801 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
61802 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
61803 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
61804 (strchr): Remove __strchr_sse42 ifunc selection.
61805 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
61806 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
61807
61808 2013-09-11 Will Newton <will.newton@linaro.org>
61809
61810 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
61811 parameter to RES. Remove hardcoded 1000 value.
61812 * benchtests/bench-skeleton.c (main): Pass RES parameter
61813 to TIMING_INIT and multiply result by 1000.
61814
61815 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61816
61817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61818
61819 2013-09-11 Andreas Schwab <schwab@suse.de>
61820
61821 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
61822 if not defined.
61823 (O_TMPFILE) [__USE_GNU]: Define.
61824 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
61825 Define.
61826
61827 2013-09-11 Will Newton <will.newton@linaro.org>
61828
61829 [BZ #15857]
61830 * malloc/malloc.c (__libc_memalign): Check the value of bytes
61831 does not overflow.
61832
61833 2013-09-11 Will Newton <will.newton@linaro.org>
61834
61835 [BZ #15856]
61836 * malloc/malloc.c (__libc_valloc): Check the value of bytes
61837 does not overflow.
61838
61839 2013-09-11 Will Newton <will.newton@linaro.org>
61840
61841 [BZ #15855]
61842 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
61843 does not overflow.
61844
61845 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
61846
61847 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
61848 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61849 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61850 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61851 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61852
61853 2013-09-10 Allan McRae <allan@archlinux.org>
61854
61855 [BZ #15748]
61856 * manual/arith.texi (Parsing of Floats): Clarify
61857 cross-reference.
61858
61859 [BZ #15849]
61860 * manual/install.texi (Running make install): Mention
61861 --enable-pt-chown.
61862 * INSTALL: Regenerated.
61863
61864 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
61865
61866 * csu/init-first.c (_init): Remove the !SHARED condition around
61867 FPU control word initialization.
61868 * elf/dl-support.c (_dl_fpu_control): New variable.
61869 (_dl_aux_init) <AT_FPUCW>: Initialize it.
61870 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
61871 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
61872 * math/test-fpucw-static.c: New file.
61873 * math/test-fpucw-ieee.c: New file.
61874 * math/test-fpucw-ieee-static.c: New file.
61875 * math/Makefile (tests): Add `test-fpucw-ieee' and
61876 `$(tests-static)'.
61877 (tests-static): New variable.
61878 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
61879 dependency to...
61880 [($(build-shared),yes)]
61881 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
61882 ... this.
61883 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
61884 New dependency.
61885
61886 2013-09-09 Allan McRae <allan@archlinux.org>
61887
61888 [BZ #15939]
61889 * manual/string.texi (Collation Functions): Fix typo in
61890 strcoll example.
61891 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
61892
61893 [BZ #15893]
61894 * stdlib/isomac.c (get_null_defines): Fix memory leak.
61895
61896 [BZ #15892]
61897 * libio/memstream.c (open_memstream): Fix memory leak.
61898 * libio/wmemstream.c (open_wmemstream): Likewise.
61899
61900 [BZ #15895]
61901 * nscd/netgroupcache.c: Fix nesting of ifdefs.
61902
61903 2013-09-09 Will Newton <will.newton@linaro.org>
61904
61905 * malloc/Makefile: Add tst-realloc to tests.
61906 * malloc/tst-realloc.c: New file.
61907
61908 2013-09-09 Allan McRae <allan@archlinux.org>
61909
61910 [BZ #15844]
61911 * COPYING: Update from GNU website to fix FSF address.
61912 * COPYING.LIB: Likewise.
61913
61914 2013-09-06 David S. Miller <davem@davemloft.net>
61915
61916 * po/zh_TW.po: Update Chinese (traditional) translation from
61917 translation project.
61918
61919 2013-09-06 Richard Sandiford <richard@codesourcery.com>
61920 Joseph Myers <joseph@codesourcery.com>
61921
61922 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
61923 "localeinfo.h".
61924 (obstack_chunk_alloc): New macro.
61925 (obstack_chunk_free): Likewise.
61926 (record_offset): New function.
61927 (init_locale_data): Likewise.
61928 (align_locale_data): Likewise.
61929 (add_locale_empty): Likewise.
61930 (add_locale_raw_data): Likewise.
61931 (add_locale_raw_obstack): Likewise.
61932 (add_locale_string): Likewise.
61933 (add_locale_wstring): Likewise.
61934 (add_locale_uint32): Likewise.
61935 (add_locale_uint32_array): Likewise.
61936 (add_locale_char): Likewise.
61937 (start_locale_structure): Likewise.
61938 (end_locale_structure): Likewise.
61939 (start_locale_prelude): Likewise.
61940 (end_locale_prelude): Likewise.
61941 (write_locale_data): Take locale_file structure rather than an
61942 iovec.
61943 * locale/programs/locfile.h: Include "obstack.h".
61944 (struct locale_file): Change to store locale file contents instead
61945 of header.
61946 (init_locale_data): New prototype.
61947 (align_locale_data): Likewise.
61948 (add_locale_empty): Likewise.
61949 (add_locale_raw_data): Likewise.
61950 (add_locale_raw_obstack): Likewise.
61951 (add_locale_string): Likewise.
61952 (add_locale_wstring): Likewise.
61953 (add_locale_uint32): Likewise.
61954 (add_locale_uint32_array): Likewise.
61955 (add_locale_char): Likewise.
61956 (start_locale_structure): Likewise.
61957 (end_locale_structure): Likewise.
61958 (start_locale_prelude): Likewise.
61959 (end_locale_prelude): Likewise.
61960 (write_locale_data): Update prototype.
61961 * locale/programs/3level.h (struct TABLE): Remove result field.
61962 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
61963 Use new locale_file interface.
61964 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
61965 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
61966 * locale/programs/ld-address.c (address_output): Use new
61967 locale_file interface.
61968 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
61969 NO_ADD_LOCALE.
61970 (collate_finish): Don't call collseq_table_finalize.
61971 (collate_output): Use new locale_file interface.
61972 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
61973 in file.
61974 (NO_FINALIZE): Change to NO_ADD_LOCALE.
61975 (TABLE): Move defines earlier in file.
61976 (ELEMENT): Likewise.
61977 (DEFAULT): Likewise.
61978 (wctrans_table_add): Move macro and inline function earlier in
61979 file.
61980 (struct wctype_table): Move type earlier in file.
61981 (add_locale_wctype_table): New static prototype.
61982 (struct locale_ctype_t): Use logical types instead of struct iovec
61983 pointers for members.
61984 (ctype_output): Use new locale_file interface.
61985 (wctype_table_finalize): Change to add_locale_wctype_table. Use
61986 new locale_file interface.
61987 (allocate_arrays): Update for use of new locale_file interface.
61988 * locale/programs/ld-identification.c (identification_output): Use
61989 new locale_file interface.
61990 * locale/programs/ld-measurement.c (measurement_output): Likewise.
61991 * locale/programs/ld-messages.c (messages_output): Likewise.
61992 * locale/programs/ld-monetary.c (monetary_output): Likewise.
61993 * locale/programs/ld-name.c (name_output): Likewise.
61994 * locale/programs/ld-numeric.c (numeric_output): Likewise.
61995 * locale/programs/ld-paper.c (paper_output): Likewise.
61996 * locale/programs/ld-telephone.c (telephone_output): Likewise.
61997 * locale/programs/ld-time.c (time_output): Likewise.
61998
61999 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62000
62001 * benchtests/Makefile: Add memrchr benchmark.
62002 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
62003 benchmark as memrchr.
62004 * benchtests/bench-memrchr-ifunc.c: New file.
62005 * benchtests/bench-memrchr.c: New file.
62006
62007 2013-09-06 Will Newton <will.newton@linaro.org>
62008
62009 * benchtests/Makefile (string-bench): Add memcpy.
62010
62011 2013-09-05 Carlos O'Donell <carlos@redhat.com>
62012 Cong Wang <amwang@redhat.com>
62013
62014 [BZ #15850]
62015 * sysdeps/unix/sysv/linux/bits/in.h
62016 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
62017 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
62018 before __USE_KERNEL_IPV6_DEFS uses.
62019 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
62020 IPPROTO_BEETPH.
62021 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
62022 sockaddr_in6, or ipv6_mreq.
62023
62024 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62025
62026 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
62027 memory access for final bytes in some large inputs.
62028 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
62029
62030 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62031
62032 * string/test-memrchr.c: New file.
62033 * string/test-memrchr-ifunc.c: New file.
62034 * string/Makefile: Add new memrchr testcase.
62035
62036 2013-09-05 Mike Frysinger <vapier@gentoo.org>
62037
62038 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
62039 fanotify_init returns EPERM.
62040
62041 2013-09-04 Joseph Myers <joseph@codesourcery.com>
62042
62043 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
62044 errors.
62045 (top level): Treat second token from macro or constant entries for
62046 allowed headers as allowed.
62047 * include/complex.h: Condition internal declarations on
62048 [!_ISOMAC].
62049 * include/fenv.h: Condition include of <stdbool.h> and internal
62050 declarations on [!_ISOMAC].
62051
62052 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
62053
62054 [BZ #15923]
62055 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
62056
62057 2013-09-04 Joseph Myers <joseph@codesourcery.com>
62058
62059 * configure.in (--enable-versioning): Remove configure option.
62060 (libc_cv_asm_symver_directive): Remove configure test.
62061 (libc_cv_ld_version_script_option): Likewise.
62062 (VERSIONING): Remove variable and AC_SUBST.
62063 (DO_VERSIONING): Remove AC_DEFINE.
62064 * configure: Regenerated.
62065 * config.h.in (DO_VERSIONING): Remove macro.
62066 * Makerules [$(versioning) = yes]: Change conditionals to
62067 [$(build-shared) = yes].
62068 * config.make.in (versioning): Remove variable.
62069 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
62070 [$(build-shared) = yes].
62071 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
62072 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
62073 * elf/Makefile [$(versioning) = yes]: Change conditionals to
62074 [$(build-shared) = yes].
62075 * extra-lib.mk [$(versioning) = yes]: Likewise.
62076 * hurd/Makefile [$(versioning) = yes]: Likewise.
62077 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
62078 [SHARED].
62079 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
62080 [SHARED].
62081 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
62082 [SHARED && !NO_HIDDEN].
62083 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
62084 [SHARED].
62085 [SHARED && DO_VERSIONING]: Likewise..
62086 * libio/Makefile [$(versioning) = yes]: Change conditionals to
62087 [$(build-shared) = yes].
62088 * manual/install.texi (--disable-versioning): Remove
62089 documentation.
62090 * INSTALL: Regenerated.
62091 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
62092 to [SHARED].
62093 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
62094 [$(build-shared) = yes].
62095 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
62096 * sysdeps/i386/i686/multiarch/strstr-c.c
62097 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
62098 [SHARED && !NO_HIDDEN].
62099 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
62100 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
62101 * sysdeps/powerpc/powerpc32/dl-machine.c
62102 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
62103 * sysdeps/powerpc/powerpc32/sysdep.h
62104 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
62105 to [SHARED && PIC && !NO_HIDDEN].
62106 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
62107 conditional to [SHARED].
62108
62109 2013-09-04 Will Newton <will.newton@linaro.org>
62110
62111 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
62112 * benchtests/bench-string.h: Include bench-timing.h instead
62113 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
62114 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
62115 call to HP_TIMING_DIFF_INIT.
62116 * benchtests/bench-memccpy.c: Use bench-timing.h macros
62117 instead of hp-timing.h macros.
62118 * benchtests/bench-memchr.c: Likewise.
62119 * benchtests/bench-memcmp.c: Likewise.
62120 * benchtests/bench-memcpy.c: Likewise.
62121 * benchtests/bench-memmem.c: Likewise.
62122 * benchtests/bench-memmove.c: Likewise.
62123 * benchtests/bench-memset.c: Likewise.
62124 * benchtests/bench-rawmemchr.c: Likewise.
62125 * benchtests/bench-strcasecmp.c: Likewise.
62126 * benchtests/bench-strcasestr.c: Likewise.
62127 * benchtests/bench-strcat.c: Likewise.
62128 * benchtests/bench-strchr.c: Likewise.
62129 * benchtests/bench-strcmp.c: Likewise.
62130 * benchtests/bench-strcpy.c: Likewise.
62131 * benchtests/bench-strcpy_chk.c: Likewise.
62132 * benchtests/bench-strlen.c: Likewise.
62133 * benchtests/bench-strncasecmp.c: Likewise.
62134 * benchtests/bench-strncat.c: Likewise.
62135 * benchtests/bench-strncmp.c: Likewise.
62136 * benchtests/bench-strncpy.c: Likewise.
62137 * benchtests/bench-strnlen.c: Likewise.
62138 * benchtests/bench-strpbrk.c: Likewise.
62139 * benchtests/bench-strrchr.c: Likewise.
62140 * benchtests/bench-strspn.c: Likewise.
62141 * benchtests/bench-strstr.c: Likewise.
62142
62143 2013-09-04 Will Newton <will.newton@linaro.org>
62144
62145 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
62146
62147 2013-09-03 Joseph Myers <joseph@codesourcery.com>
62148
62149 [BZ #15427]
62150 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
62151 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
62152 * math/libm-test.inc (lgamma_test_data): Add more tests.
62153 * sysdeps/i386/fpu/libm-test-ulps: Update.
62154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62155
62156 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
62157
62158 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
62159 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
62160 Add ifunc.
62161 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
62162 Add strcmp-sse2-unaligned
62163 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
62164
62165 2013-09-02 Mike Frysinger <vapier@gentoo.org>
62166
62167 * Versions.def (libc): Add GLIBC_2.19.
62168
62169 2013-09-02 Mike Frysinger <vapier@gentoo.org>
62170
62171 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
62172 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
62173
62174 2013-09-02 Joseph Myers <joseph@codesourcery.com>
62175
62176 [BZ #14155]
62177 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
62178 intermediate calculations in recurrence.
62179 (__ieee754_ynf): Likewise.
62180 * math/libm-test.inc (jn_test_data): Do not allow spurious
62181 underflow exception. Add more tests.
62182 (yn_test_data): Add more tests.
62183 * sysdeps/i386/fpu/libm-test-ulps: Update.
62184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62185
62186 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
62187
62188 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
62189
62190 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
62191
62192 * csu/init-first.c: Fix then/than typos.
62193 * locale/programs/ld-collate.c: Likewise.
62194 * locale/programs/linereader.h: Likewise.
62195 * manual/charset.texi: Likewise.
62196 * manual/filesys.texi: Likewise.
62197 * manual/stdio.texi: Likewise.
62198 * manual/string.texi: Likewise.
62199 * stdlib/fmtmsg.c: Likewise.
62200 * sysdeps/i386/stpncpy.S: Likewise.
62201 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62202 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62203 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62204 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62205
62206 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
62207
62208 * elf/dl-open.c: Fix typos.
62209 * iconvdata/gbbig5.c: Likewise.
62210 * iconvdata/iso-2022-jp.c: Likewise.
62211 * iconv/gconv_int.h: Likewise.
62212 * iconv/loop.c: Likewise.
62213 * nis/rpcsvc/nis.h: Likewise.
62214 * resolv/ns_name.c: Likewise.
62215 * stdio-common/vfscanf.c: Likewise.
62216 * streams/stropts.h: Likewise.
62217 * sunrpc/rpc_thread.c: Likewise.
62218 * sysdeps/i386/strpbrk.S: Likewise.
62219 * sysdeps/ieee754/k_standard.c: Likewise.
62220 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
62221 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62222 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
62223 * sysdeps/mach/hurd/profil.c: Likewise.
62224 * sysdeps/s390/dl-procinfo.h: Likewise.
62225 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
62226 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
62227 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
62228 * sysdeps/x86_64/dl-trampoline.S: Likewise.
62229 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
62230
62231 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
62232
62233 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
62234 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
62235
62236 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
62237
62238 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
62239 aix specific files.
62240 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
62241 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
62242 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
62243 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
62244 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
62245 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
62246 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
62247 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
62248
62249 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
62250 Roland McGrath <roland@hack.frob.com>
62251
62252 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
62253 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
62254
62255 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
62256
62257 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
62258 __executable_start symbol instead of _start.
62259
62260 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
62261
62262 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
62263 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
62264 Move macros to...
62265 * sysdeps/gnu/ldsodefs.h: ... this new file.
62266
62267 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
62268 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
62269 instead of ELFOSABI_LINUX.
62270
62271 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
62272 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
62273 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
62274 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
62275 Likewise.
62276 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
62277 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
62278 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
62279 Likewise.
62280 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
62281 (ibm_extended_long_double): Add ieee_nan member.
62282 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
62283 (do_test): New function.
62284
62285 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
62286 TEST_TRUNC.
62287 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
62288 functions, renamed from truncdfsf_test, trunctfsf_test,
62289 trunctfdf_test.
62290 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
62291 functions.
62292 (do_test): Run all these.
62293
62294 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
62295
62296 * argp/argp-help.c: Fix typos.
62297 * argp/argp-parse.c: Likewise.
62298 * debug/backtracesyms.c: Likewise.
62299 * elf/elf.h: Likewise.
62300 * malloc/malloc.c: Likewise.
62301 * nis/nis_print.c: Likewise.
62302 * resolv/res_comp.c: Likewise.
62303 * stdlib/stdlib.h: Likewise.
62304 * sunrpc/clnt_tcp.c: Likewise.
62305 * sunrpc/clnt_udp.c: Likewise.
62306 * sunrpc/clnt_unix.c: Likewise.
62307 * sysdeps/unix/bsd/ptsname.c: Likewise.
62308 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
62309 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
62310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
62311 Likewise.
62312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
62313 Likewise.
62314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
62315 Likewise.
62316 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
62317
62318 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62319
62320 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
62321 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62322
62323 2013-08-27 Mike Frysinger <vapier@gentoo.org>
62324
62325 [BZ #15897]
62326 * dlfcn/Makefile (tests): Add bug-dl-leaf.
62327 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
62328 ($(objpfx)bug-dl-leaf): New rule.
62329 ($(objpfx)bug-dl-leaf.so): Likewise.
62330 ($(objpfx)bug-dl-leaf.out): Likewise.
62331 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
62332 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
62333 * dlfcn/bug-dl-leaf.c: New test.
62334 * dlfcn/bug-dl-leaf-lib.c: Likewise.
62335 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
62336 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
62337 (dlclose): Likewise.
62338 (dlmopen): Likewise.
62339
62340 2013-08-27 Roland McGrath <roland@hack.frob.com>
62341
62342 * include/netdb.h [!_ISOMAC]:
62343 Don't include <tls.h>.
62344 (h_errno, __libc_h_errno): Move declaration and macros out of
62345 [_LIBC_REENTRANT].
62346
62347 * include/resolv.h [_RESOLV_H_]:
62348 Don't include <tls.h>.
62349 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
62350 * resolv/res_libc.c: Don't include <tls.h>.
62351 (_res): Use __attribute__ ((nocommon)) in place of
62352 __attribute__ ((section (".bss"))).
62353
62354 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
62355 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
62356
62357 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
62358
62359 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
62360 only under [SIOCGIFCONF && SIOCGIFNETMASK].
62361
62362 * resolv/res_mkquery.c: Include <sys/time.h>.
62363
62364 * inet/ifreq.c: Moved to ...
62365 * sysdeps/unix/ifreq.c: ... here.
62366 * inet/ifreq.c: New file, true stub version.
62367
62368 * socket/sa_len.c: New file.
62369 * socket/Makefile (aux): Add it.
62370 * sysdeps/unix/sysv/linux/Makefile
62371 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
62372 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
62373 and #include <socket/sa_len.c>.
62374 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
62375 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
62376
62377 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
62378 * bits/socket.h: ... here.
62379
62380 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
62381 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
62382 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
62383
62384 2013-08-27 Andreas Schwab <schwab@suse.de>
62385
62386 [BZ #15736]
62387 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
62388 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
62389 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
62390 * string/test-strcasecmp.c (test_main): Run tests in several
62391 locales.
62392 * string/test-strncasecmp.c (test_main): Likewise.
62393
62394 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
62395 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
62396 to __strcasecmp_nonascii and __strncasecmp_nonascii.
62397 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
62398 (__strncasecmp_ssse3) [PIC]: Likewise.
62399
62400 2013-08-26 Roland McGrath <roland@hack.frob.com>
62401
62402 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
62403
62404 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
62405 instead of explicitly declaring xdecrypt.
62406 * nis/nss_nis/nis-publickey.c: Likewise.
62407
62408 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
62409
62410 [BZ #15890]
62411 * nscd/aicache.c: Include res_hconf.h.
62412 (addhstaiX): Initialize res_hconf.
62413
62414 2013-08-26 Andreas Schwab <schwab@suse.de>
62415
62416 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
62417 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
62418
62419 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
62420
62421 * nscd/aicache.c (addhstaiX): Fix indentation.
62422
62423 2013-08-25 Mike Frysinger <vapier@gentoo.org>
62424
62425 * configure.ac: Quote $build_pt_chown test.
62426 * configure: Regenerated.
62427
62428 2013-08-23 Joseph Myers <joseph@codesourcery.com>
62429
62430 [BZ #15532]
62431 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
62432 * math/s_cexpf.c (__cexpf): Likewise.
62433 * math/s_cexpl.c (__cexpl): Likewise.
62434 * math/libm-test.inc (cexp_test_data): Correct expected return
62435 value for NaN + i0. Add another test.
62436
62437 2013-08-22 David S. Miller <davem@davemloft.net>
62438
62439 * po/ca.po: Update Catalan translation from translation project.
62440 * po/uk.po: Add Ukrainian translations from translation project.
62441
62442 2013-08-21 Joseph Myers <joseph@codesourcery.com>
62443
62444 [BZ #15797]
62445 * math/s_fdim.c (__fdim): Check for infinite arguments if result
62446 is infinite, not alongside NaN test.
62447 * math/s_fdimf.c (__fdimf): Likewise.
62448 * math/s_fdiml.c (__fdiml): Likewise.
62449 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
62450 errno is unchanged.
62451
62452 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
62453
62454 * argp/argp-help.c: Fix typos.
62455 * crypt/speeds.c: Likewise.
62456 * csu/check_fds.c: Likewise.
62457 * elf/dl-load.c: Likewise.
62458 * elf/dl-open.c: Likewise.
62459 * elf/reldep3.c: Likewise.
62460 * elf/reldep.c: Likewise.
62461 * elf/sprof.c: Likewise.
62462 * iconv/iconv_charmap.c: Likewise.
62463 * iconv/skeleton.c: Likewise.
62464 * iconv/strtab.c: Likewise.
62465 * io/lockf64.c: Likewise.
62466 * libio/libioP.h: Likewise.
62467 * resolv/gai_notify.c: Likewise.
62468 * resolv/ns_name.c: Likewise.
62469 * resolv/ns_samedomain.c: Likewise.
62470 * resolv/res_send.c: Likewise.
62471 * stdlib/random.c: Likewise.
62472 * sunrpc/rpc/xdr.h: Likewise.
62473 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
62474 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
62475 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
62476 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
62477 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
62478 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
62479 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
62480 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
62481 * sysdeps/mach/hurd/check_fds.c: Likewise.
62482 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
62483 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62484 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62485 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
62486 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62487 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
62488 * sysdeps/pthread/aio_notify.c: Likewise.
62489 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
62490 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
62491 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
62492 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
62493 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
62494
62495 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62496
62497 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
62498 version if bit_Slow_SSE4_2 is set.
62499 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62500 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62501
62502 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62503
62504 [BZ #15867]
62505 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
62506 trampoline stack frame information.
62507 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
62508 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
62509 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
62510 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
62511 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
62512 * sysdeps/unix/sysv/linux/powerpc/init-first.c
62513 (_libc_vdso_platform_setup): Initialize the signal trampolines.
62514 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
62515 sa_flags value.
62516 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
62517 interrupting a syscall and set with option SA_SIGINFO.
62518
62519 2013-08-20 Joseph Myers <joseph@codesourcery.com>
62520
62521 [BZ #15531]
62522 * math/s_cproj.c (__cproj): Only return an infinity if one part of
62523 argument is infinite.
62524 * math/s_cprojf.c (__cprojf): Likewise.
62525 * math/s_cprojl.c (__cprojl): Likewise.
62526 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
62527 * math/libm-test.inc (cproj_test_data): Add more tests.
62528
62529 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
62530
62531 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
62532 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
62533 size. Use __ffs to determine corresponding shift.
62534
62535 2013-08-20 Joseph Myers <joseph@codesourcery.com>
62536 Roland McGrath <roland@hack.frob.com>
62537
62538 * Makefile (INSTALL): Remove trailing blank lines from output of
62539 makeinfo.
62540
62541 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62542
62543 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
62544 Align 32 bit compat elf_greg to 8 bytes.
62545
62546 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
62547
62548 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
62549
62550 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
62551
62552 * string/strcoll_l.c (coll_seq): New structure.
62553 (get_next_seq_cached): New function.
62554 (get_next_seq): New function.
62555 (do_compare): New function.
62556 (STRCOLL): Use GNU style definition. Simplify implementation
62557 by using get_next_seq, get_next_seq_cached and do_compare.
62558
62559 2013-08-16 Florian Weimer <fweimer@redhat.com>
62560
62561 [BZ #14699]
62562 CVE-2013-4237
62563 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
62564 member.
62565 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
62566 member.
62567 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
62568 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
62569 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
62570 conditional.
62571 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
62572 GETDENTS_64BIT_ALIGNED.
62573 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62574 * manual/filesys.texi (Reading/Closing Directory): Document
62575 ENAMETOOLONG return value of readdir_r. Recommend readdir more
62576 strongly.
62577 * manual/conf.texi (Limits for Files): Add portability note to
62578 NAME_MAX, PATH_MAX.
62579 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
62580
62581 2013-08-13 Andreas Schwab <schwab@suse.de>
62582
62583 [BZ #15749]
62584 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
62585 of fabs.
62586 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
62587 LDBL_MAX_EXP >= 16384]: Add tests for it.
62588
62589 2013-08-12 David S. Miller <davem@davemloft.net>
62590
62591 * version.h (RELEASE): Set to "development".
62592 (VERSION): Set to "2.18.90".
62593 * NEWS: Add 2.19 section.
62594
62595 2013-08-03 David S. Miller <davem@davemloft.net>
62596
62597 * po/ko.po: Update Korean translation from translation project.
62598
62599 2013-08-01 David S. Miller <davem@davemloft.net>
62600
62601 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
62602 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
62603 Bilka.
62604
62605 2013-07-30 David S. Miller <davem@davemloft.net>
62606
62607 * po/fr.po: Update French translation from translation project.
62608
62609 2013-07-28 David S. Miller <davem@davemloft.net>
62610
62611 * po/cs.po: Update Czech translation from translation project.
62612
62613 * po/sv.po: Update Swedish translation from translation project.
62614
62615 2013-07-27 David S. Miller <davem@davemloft.net>
62616
62617 * po/eo.po: Update Esperanto translation from translation project.
62618
62619 * po/vi.po: Update Vietnamese translation from translation project.
62620
62621 * po/de.po: Update German translation from translation project.
62622
62623 2013-07-26 David S. Miller <davem@davemloft.net>
62624
62625 * po/bg.po: Update Bulgarian translation from translation project.
62626
62627 * po/nl.po: Update Dutch translation from translation project.
62628 * po/pl.po: Update Polish translation from translation project.
62629 * po/ru.po: Update Russian translation from translation project.
62630
62631 2013-07-24 David S. Miller <davem@davemloft.net>
62632
62633 * po/libc.pot: Update.
62634
62635 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62636
62637 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
62638 variable page size.
62639 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
62640 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
62641 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
62642
62643 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62644
62645 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
62646
62647 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
62648 Andreas Schwab <schwab@suse.de>
62649 Roland McGrath <roland@hack.frob.com>
62650 Joseph Myers <joseph@codesourcery.com>
62651 Carlos O'Donell <carlos@redhat.com>
62652
62653 [BZ #15755]
62654 * config.h.in: Define HAVE_PT_CHOWN.
62655 * config.make.in (build-pt-chown): New variable.
62656 * configure.in (--enable-pt_chown): New configure option.
62657 * configure: Regenerate.
62658 * login/Makefile: Include Makeconfig. Build pt_chown only if
62659 build-pt-chown is enabled.
62660 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
62661 pt_chown to fix pty ownership.
62662 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
62663 CLOSE_ALL_FDS.
62664 * manual/install.texi (Configuring and compiling): Mention
62665 --enable-pt_chown. Add @findex for grantpt.
62666 * INSTALL: Regenerate.
62667
62668 2013-07-20 David S. Miller <davem@davemloft.net>
62669
62670 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
62671 difference between 32-bit and 64-bit.
62672
62673 2013-07-15 Carlos O'Donell <carlos@redhat.com>
62674
62675 [BZ #15711]
62676 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
62677 Avoid system header dependency with -ffreestanding.
62678 ($(objpfx)bits/syscall%d): Likewise.
62679
62680 2013-07-13 David S. Miller <davem@davemloft.net>
62681
62682 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
62683 underflows from atanl/atan2l due to bug 15319.
62684 (casinh_test_data): Likewise.
62685
62686 2013-07-07 David S. Miller <davem@davemloft.net>
62687
62688 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
62689
62690 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
62691
62692 * sysdeps/i386/fpu/libm-test-ulps: Update.
62693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62694
62695 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62696
62697 * configure.in (--enable-lock-elision): Fix message text.
62698 * INSTALL: Regenerate.
62699 * configure: Regenerate.
62700
62701 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62702
62703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62704
62705 2013-07-03 Andreas Jaeger <aj@suse.de>
62706
62707 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
62708 define.
62709 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
62710 (ptrace_peeksiginfo_args): Add.
62711 (__ptrace_peeksiginfo_flags): Add.
62712 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62713 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62714 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62715
62716 2013-07-03 Allan McRae <allan@archlinux.org>
62717
62718 * sysdeps/i386/fpu/libm-test-ulps: Update.
62719
62720 2013-07-02 David S. Miller <davem@davemloft.net>
62721
62722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62723
62724 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
62725
62726 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62727
62728 2013-07-02 Joseph Myers <joseph@codesourcery.com>
62729
62730 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
62731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62732
62733 2013-07-02 Andi Kleen <ak@linux.intel.com>
62734
62735 * config.h.in (ENABLE_LOCK_ELISION): Add.
62736 * configure.in (--enable-lock-elision): Add option.
62737 * manual/install.texi: Document --enable lock elision.
62738 * configure: Regenerate
62739 * INSTALL: Regenerate.
62740
62741 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
62742
62743 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
62744 SSE4.2 strcasecmp for libc.a.
62745 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
62746
62747 2013-07-02 Joseph Myers <joseph@codesourcery.com>
62748
62749 [BZ #13304]
62750 * soft-fp/op-common.h (_FP_FMA): New macro.
62751 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
62752 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
62753 (_FP_MUL_MEAT_1_imm): ... here.
62754 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
62755 (_FP_MUL_MEAT_1_wide): ... here.
62756 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
62757 (_FP_MUL_MEAT_1_hard): ... here.
62758 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
62759 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
62760 (_FP_MUL_MEAT_2_wide): ... here.
62761 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
62762 (_FP_MUL_MEAT_2_wide_3mul): ... here.
62763 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
62764 (_FP_MUL_MEAT_2_gmp): ... here.
62765 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
62766 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
62767 (_FP_MUL_MEAT_4_wide): ... here.
62768 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
62769 (_FP_MUL_MEAT_4_gmp): ... here.
62770 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
62771 (_FP_WFRACBITS_DW_S): Likewise.
62772 (_FP_WFRACXBITS_DW_S): Likewise.
62773 (_FP_HIGHBIT_DW_S): Likewise.
62774 (FP_FMA_S): Likewise.
62775 (_FP_FRAC_HIGH_DW_S): Likewise.
62776 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
62777 (_FP_WFRACBITS_DW_D): Likewise.
62778 (_FP_WFRACXBITS_DW_D): Likewise.
62779 (_FP_HIGHBIT_DW_D): Likewise.
62780 (FP_FMA_D): Likewise.
62781 (_FP_FRAC_HIGH_DW_D): Likewise.
62782 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
62783 (_FP_WFRACBITS_DW_E): Likewise.
62784 (_FP_WFRACXBITS_DW_E): Likewise.
62785 (_FP_HIGHBIT_DW_E): Likewise.
62786 (FP_FMA_E): Likewise.
62787 (_FP_FRAC_HIGH_DW_E): Likewise.
62788 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
62789 (_FP_WFRACBITS_DW_Q): Likewise.
62790 (_FP_WFRACXBITS_DW_Q): Likewise.
62791 (_FP_HIGHBIT_DW_Q): Likewise.
62792 (FP_FMA_Q): Likewise.
62793 (_FP_FRAC_HIGH_DW_Q): Likewise.
62794 * soft-fp/fmasf4.c: New file.
62795 * soft-fp/fmadf4.c: Likewise.
62796 * soft-fp/fmatf4.c: Likewise.
62797
62798 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62799
62800 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
62801 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
62802 Silvermont.
62803 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
62804 macro.
62805 (index_Slow_SSE4_2): Likewise.
62806 (index_Prefer_PMINUB_for_stringop): Likewise.
62807 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
62808 bit_Slow_SSE4_2 is set.
62809 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
62810 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62811
62812 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
62813
62814 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
62815 rtld_global._dl_hwcap2.
62816 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
62817 POWER8.
62818 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
62819 POWER8 feature descriptions defined in _dl_hwcap2.
62820 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
62821 string handling for POWER8 feature bits.
62822 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
62823 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
62824 _dl_powerpc_cap_flags.
62825 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
62826 * sysdeps/powerpc/rtld-global-offsets.sym
62827 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
62828 _dl_hwcap2 in the rtld_global_ro structure.
62829
62830 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
62831
62832 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
62833 hardware capabilities in support of AT_HWCAP2.
62834 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
62835 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
62836 GLRO(dl_hwcap2).
62837 (_dl_show_auxv): Add support for calling _dl_procinfo to display
62838 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
62839 explicitly the unknown a_type display mechanism is used.
62840 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
62841 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
62842 struct member.
62843 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
62844 to macro prototype for AT_HWCAP2 support.
62845 * sysdeps/i386/dl-procinfo.h: Likewise.
62846 * sysdeps/s390/dl-procinfo.h: Likewise.
62847 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
62848 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
62849 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
62850 return -1 for unknown a_type display fallback.
62851 * sysdeps/sparc/dl-procinfo.h: Likewise.
62852 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
62853 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
62854
62855 2013-06-28 Joseph Myers <joseph@codesourcery.com>
62856
62857 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
62858 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
62859
62860 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
62861
62862 [BZ #12492]
62863 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
62864 mprotect making __stack_prot writable.
62865
62866 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
62867 Joseph Myers <joseph@codesourcery.com>
62868
62869 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
62870 as being properly aligned.
62871
62872 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
62873
62874 * dlfcn/modstatic5.c: New file.
62875 * dlfcn/tststatic5.c: New file.
62876 * dlfcn/Makefile (tests): Add tststatic5.
62877 (tests-static): Likewise.
62878 (modules-names): Add modstatic5.
62879 (tststatic5-ENV): New variable.
62880 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
62881
62882 [BZ #15022]
62883 * elf/dl-support.c (_dl_main_map): New variable.
62884 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
62885 (_dl_nns, _dl_load_adds): Set to 1.
62886 (_dl_initial_searchlist): Refer to _dl_main_map.
62887 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
62888 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
62889 call to _dl_get_origin.
62890 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
62891 around call_map.
62892 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
62893 * dlfcn/modstatic3.c: New file.
62894 * dlfcn/tststatic3.c: New file.
62895 * dlfcn/tststatic4.c: New file.
62896 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
62897 (tests-static): Likewise.
62898 (modules-names): Add modstatic3.
62899 (tststatic3-ENV, tststatic4-ENV): New variables.
62900 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
62901 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
62902
62903 2013-06-26 Joseph Myers <joseph@codesourcery.com>
62904
62905 * configure.in (CC): Require GCC version 4.4 or later.
62906 * configure: Regenerated.
62907 * manual/install.texi (Tools for Compilation): Update GCC version
62908 requirement.
62909 * INSTALL: Regenerated.
62910
62911 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62912
62913 [BZ #15674]
62914 * string/test-memcmp.c (check2): New.
62915 (main): Call check2.
62916
62917 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
62918
62919 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
62920
62921 [BZ #15022]
62922 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
62923 over to...
62924 (dl_open_worker) [!SHARED]: ... here.
62925
62926 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
62927
62928 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
62929
62930 2013-06-25 Richard Henderson <rth@redhat.com>
62931
62932 * locale/programs/locarchive.c: Include <libc-internal.h>
62933
62934 2013-06-25 Joseph Myers <joseph@codesourcery.com>
62935
62936 * manual/texinfo.tex: Update to version 2013-06-21.17, with
62937 trailing whitespace removed.
62938
62939 2013-06-24 Mike Frysinger <vapier@gentoo.org>
62940
62941 [BZ #10283]
62942 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
62943 * locale/programs/locarchive.c: Include libc-mmap.h.
62944 (prepare_address_space): Take two new outputs (the mmap base and len).
62945 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
62946 values.
62947 (create_archive): Declare new mmap base and len values for
62948 prepare_address_space, and store the result in ah.
62949 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
62950 (enlarge_archive): If ah->mmap_base is not NULL, use that and
62951 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
62952 Declare new mmap base and len values for
62953 prepare_address_space, and store the result in new_ah.
62954 (open_archive): Declare new mmap base and len values for
62955 prepare_address_space, and store the result in ah.
62956 (close_archive): If ah->mmap_base is not NULL, use that and
62957 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
62958 * sysdeps/generic/libc-mmap.h: New file.
62959
62960 2013-06-24 Mike Frysinger <vapier@gentoo.org>
62961
62962 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
62963 (ALIGN_UP): Likewise.
62964 (PTR_ALIGN_DOWN): Likewise.
62965 (PTR_ALIGN_UP): Likewise.
62966
62967 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
62968
62969 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
62970 entry mapped to PPC_PLATFORM_POWER8.
62971 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
62972 POWER8.
62973 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
62974 (_dl_string_platform): Add case for exporting platform position for
62975 POWER8.
62976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
62977 search path to sysdeps/powerpc/powerpc32/power8 directory.
62978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
62979 search path to sysdeps/powerpc/powerpc64/power8 directory.
62980 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
62981 power7 directories.
62982 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
62983 power7 directories.
62984
62985 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
62986
62987 * INSTALL: Regenerate.
62988
62989 * nscd/connections.c (nscd_init): Fix comment.
62990
62991 2013-06-22 Joseph Myers <joseph@codesourcery.com>
62992
62993 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
62994
62995 [BZ #15667]
62996 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
62997 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
62998
62999 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
63000
63001 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
63002 DL_DST_REQ_STATIC.
63003 (DL_DST_REQ_STATIC): Remove macro.
63004
63005 2013-06-21 Joseph Myers <joseph@codesourcery.com>
63006
63007 [BZ #7006]
63008 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
63009 with a shift of 0 bits.
63010
63011 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
63012
63013 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
63014 $(tststatic-ENV).
63015
63016 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
63017
63018 [BZ #15655]
63019 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
63020
63021 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63022
63023 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
63024 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
63025 accepts -fno-tree-loop-distribute-patterns.
63026 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
63027 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
63028 recursive call.
63029 * string/memset.c (memset): Likewise.
63030 * string/test-memmove.c (simple_memmove): Disable loop transformation
63031 to library calls.
63032 * string/test-memset.c (simple_memset): Likewise.
63033 * benchtests/bench-memmove.c (simple_memmove): Likewise.
63034 * benchtests/bench-memset.c (simple_memset): Likewise.
63035 * configure: Regenerated.
63036
63037 2013-06-20 Joseph Myers <joseph@codesourcery.com>
63038
63039 * math/test-misc.c (main): Ignore fesetround failure when failures
63040 of subsequent rounding tests would be ignored.
63041
63042 [BZ #15654]
63043 * math/fedisblxcpt.c (fedisableexcept): Return 0.
63044 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
63045 * math/fegetenv.c (__fegetenv): Return 0.
63046 * math/fegetexcept.c (fegetexcept): Return 0.
63047 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
63048 FE_TONEAREST.
63049 * math/feholdexcpt.c (feholdexcept): Return 0.
63050 * math/fesetenv.c (__fesetenv): Return 0.
63051 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
63052 argument FE_TONEAREST.
63053 * math/feupdateenv.c (__feupdateenv): Return 0.
63054 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
63055
63056 2013-06-18 Roland McGrath <roland@hack.frob.com>
63057
63058 * elf/rtld-Rules (rtld-compile-command.S): New variable.
63059 (rtld-compile-command.s, rtld-compile-command.c): New variables.
63060 ($(objpfx)rtld-%.os rules): Use them.
63061
63062 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63063
63064 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
63065 fields.
63066
63067 2013-06-17 Roland McGrath <roland@hack.frob.com>
63068
63069 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
63070 length of target pattern, then descending length of dependency pattern.
63071 * configure.in (AWK): Require gawk 3.1.2 or newer.
63072 * manual/install.texi (Tools for Compilation): Say that we do.
63073 * configure: Regenerated.
63074
63075 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
63076 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
63077 * scripts/sysd-rules.awk: ... this new script.
63078 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
63079 than a glob-style pattern.
63080
63081 2013-06-17 Joseph Myers <joseph@codesourcery.com>
63082
63083 * math/test-misc.c (main): Do not treat incorrectly rounded
63084 conversions as failure unless ROUNDING_TESTS passes.
63085
63086 2013-06-15 Joseph Myers <joseph@codesourcery.com>
63087
63088 [BZ #15631]
63089 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
63090 restore exception state around main square root computation, then
63091 check for inexactness explicitly.
63092
63093 * math/libm-test.inc (fma_test_data): Add another test.
63094
63095 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
63096
63097 * manual/threads.texi (Non-POSIX Extensions): New document
63098 node. Document pthread_getattr_default_np and
63099 pthread_setattr_default_np.
63100
63101 * Versions.def (libpthread): Add GLIBC_2.18.
63102 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
63103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
63104 Likewise.
63105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63106 Likewise.
63107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63108 Likewise.
63109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63110 Likewise.
63111 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
63112 Likewise.
63113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
63114 Likewise.
63115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
63116 Likewise.
63117 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
63118 Likewise.
63119 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
63120 Likewise.
63121
63122 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
63123
63124 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63125 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
63126
63127 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
63128 H.J. Lu <hjl.tools@gmail.com>
63129
63130 [BZ #15627]
63131 * sysdeps/x86_64/rtld-memset.c: Remove file.
63132 * sysdeps/x86_64/rtld-memset.S: New file.
63133
63134 2013-06-14 Joseph Myers <joseph@codesourcery.com>
63135
63136 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
63137 (test_in_one_mode): Take arguments for whether the rounding mode
63138 is supported for each floating-point type.
63139 (do_test): Pass new arguments to test_in_one_mode using
63140 ROUNDING_TESTS.
63141
63142 2013-06-13 Roland McGrath <roland@hack.frob.com>
63143
63144 * posix/tst-waitid.c (do_test): Distinguish different instances of
63145 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
63146 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
63147 before entering the kernel for waitpid.
63148
63149 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
63150
63151 * NEWS: Fix note on clock function precision. Text by Roland
63152 McGrath.
63153
63154 2013-06-13 Roland McGrath <roland@hack.frob.com>
63155
63156 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
63157 it into place only when and if the sanity check passes.
63158
63159 2013-06-13 Joseph Myers <joseph@codesourcery.com>
63160
63161 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
63162 output for whether conversion result is exact. Take argument
63163 indicating whether type is IBM long double.
63164 (round_for_all): Change need_exact field to ibm_ld.
63165 * stdlib/tst-strtod-round.c (struct exactness): New type.
63166 (struct test): Change bool ld_ok field to struct exactness exact.
63167 (TEST): Update all definitions for change to field.
63168 (tests): Regenerate array contents.
63169 (test_in_one_mode): Take pointer to new field instead of old ld_ok
63170 field value. Check for IBM long double here.
63171 (do_test): Update calls to test_in_one_mode.
63172
63173 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
63174
63175 [BZ #12515]
63176 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
63177 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
63178
63179 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63180
63181 [BZ #15605]
63182 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
63183 generated by the compiler on loop optimizations.
63184 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
63185 general definitions.
63186
63187 2013-06-12 Joseph Myers <joseph@codesourcery.com>
63188
63189 * math/bug-nextafter.c: Include <math-tests.h>.
63190 (main): Only test for exceptions if EXCEPTION_TESTS is true for
63191 the relevant type.
63192 * math/bug-nexttoward.c: Include <math-tests.h>.
63193 (main): Only test for exceptions if EXCEPTION_TESTS is true for
63194 the relevant type.
63195 * math/test-misc.c: Include <math-tests.h>.
63196 (main): Only test for exceptions if EXCEPTION_TESTS is true for
63197 the relevant type.
63198
63199 2013-06-12 Andreas Jaeger <aj@suse.de>
63200
63201 * po/ia.po: Update Interlingua translation from translation
63202 project.
63203
63204 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
63205
63206 * include/fenv.h: Include stdbool.h.
63207 (struct rm_ctx): New structure.
63208 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
63209 Define macro.
63210 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
63211 (SET_RESTORE_ROUNDF): Likewise.
63212 (SET_RESTORE_ROUNDL): Likewise.
63213 (SET_RESTORE_ROUND_NOEX): Likewise.
63214 (SET_RESTORE_ROUND_NOEXF): Likewise.
63215 (SET_RESTORE_ROUND_NOEXL): Likewise.
63216 (SET_RESTORE_ROUND_53BIT): Likewise.
63217 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
63218 (libc_feresetround_noexf_ctx): Likewise.
63219 (libc_feresetround_noexl_ctx): Likewise.
63220 (libc_feholdsetround_53bit_ctx): Likewise.
63221 (libc_feresetround_53bit_ctx): Likewise.
63222 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
63223 (libc_feholdexcept_setround_sse_ctx): New function.
63224 (libc_fesetenv_sse_ctx): Likewise.
63225 (libc_feupdateenv_sse_ctx): Likewise.
63226 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
63227 (libc_feholdexcept_setround_387_ctx): Likewise.
63228 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
63229 (libc_feholdsetround_387_prec_ctx): Likewise.
63230 (libc_feholdsetround_387_ctx): Likewise.
63231 (libc_feholdsetround_387_53bit_ctx): Likewise.
63232 (libc_feholdsetround_sse_ctx): Likewise.
63233 (libc_feresetround_sse_ctx): Likewise.
63234 (libc_feresetround_387_ctx): Likewise.
63235 (libc_feupdateenv_387_ctx): Likewise.
63236 (libc_feholdexcept_setroundf_ctx): Define macro.
63237 (libc_fesetenvf_ctx): Likewise.
63238 (libc_feupdateenvf_ctx): Likewise.
63239 (libc_feholdsetroundf_ctx): Likewise.
63240 (libc_feresetroundf_ctx): Likewise.
63241 (libc_feholdexcept_setround_ctx): Likewise.
63242 (libc_fesetenv_ctx): Likewise.
63243 (libc_feupdateenv_ctx): Likewise.
63244 (libc_feholdsetround_ctx): Likewise.
63245 (libc_feresetround_ctx): Likewise.
63246 (libc_feholdexcept_setroundl_ctx): Likewise.
63247 (libc_feupdateenvl_ctx): Likewise.
63248 (libc_feholdsetroundl_ctx): Likewise.
63249 (libc_feresetroundl_ctx): Likewise.
63250 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
63251 (libc_feresetround_53bit_ctx): Likewise.
63252
63253 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
63254
63255 * locale/iso-639.def: Convert to UTF-8.
63256
63257 2013-06-11 Joseph Myers <joseph@codesourcery.com>
63258
63259 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
63260 (EXCEPTION_TESTS_double): Likewise.
63261 (EXCEPTION_TESTS_long_double): Likewise.
63262 (EXCEPTION_TESTS): Likewise.
63263 * math/libm-test.inc (test_exceptions): Only test exceptions if
63264 EXCEPTION_TESTS (FLOAT).
63265
63266 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
63267
63268 * benchtests/Makefile (string-bench): Add strcpy_chk and
63269 stpcpy_chk.
63270 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
63271 * benchtests/bench-stpcpy_chk.c: New file.
63272 * benchtests/bench-strcpy_chk-ifunc.c: New file.
63273 * benchtests/bench-strcpy_chk.c: New file.
63274 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
63275 code.
63276 (do_test): Likewise.
63277
63278 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
63279
63280 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
63281 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
63282 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
63283 with tabs where appropriate.
63284 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
63285 dl-procinfo.h.
63286 [PPC_PLATFORM_PPC440]: Likewise.
63287 [PPC_PLATFORM_PPC464]: Likewise.
63288 [PPC_PLATFORM_PPC476]: Likewise.
63289 (_dl_string_platform): Add support for detecting ppc405, ppc440,
63290 ppc464, and ppc476 platform strings merging from ports/
63291 dl-procinfo.h.
63292
63293 2013-06-11 Andreas Schwab <schwab@suse.de>
63294
63295 [BZ #14991]
63296 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
63297 (from_ucs4_idx): Regenerate.
63298 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
63299 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
63300 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
63301 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
63302 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
63303 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
63304 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
63305 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
63306 from FROM_LOOP and TO_LOOP specific macros.
63307 (BODY): Handle combining characters.
63308 * iconvdata/BIG5HKSCS.irreversible: Update.
63309 * iconvdata/BIG5HKSCS.precomposed: New file.
63310 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
63311 characters.
63312 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
63313
63314 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
63315
63316 * include/sys/time.h: Fix indentation and add copyright header.
63317
63318 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
63319 (do_test): Likewise.
63320 * string/test-memchr.c (do_one_test): Likewise.
63321 (do_test): Likewise.
63322 * string/test-memcmp.c (do_one_test): Likewise.
63323 (do_test): Likewise.
63324 * string/test-memcpy.c (do_one_test): Likewise.
63325 (do_test): Likewise.
63326 * string/test-memmem.c (do_one_test): Likewise.
63327 (do_test): Likewise.
63328 (do_random_tests): Likewise.
63329 * string/test-memmove.c (do_one_test): Likewise.
63330 (do_test): Likewise.
63331 * string/test-memset.c (do_one_test): Likewise.
63332 (do_test): Likewise.
63333 * string/test-rawmemchr.c (do_one_test): Likewise.
63334 (do_test): Likewise.
63335 * string/test-strcasecmp.c (do_one_test): Likewise.
63336 (do_test): Likewise.
63337 * string/test-strcasestr.c (do_one_test): Likewise.
63338 (do_test): Likewise.
63339 * string/test-strcat.c (do_one_test): Likewise.
63340 (do_test): Likewise.
63341 * string/test-strchr.c (do_one_test): Likewise.
63342 (do_test): Likewise.
63343 * string/test-strcmp.c (do_one_test): Likewise.
63344 (do_test): Likewise.
63345 * string/test-strcpy.c (do_one_test): Likewise.
63346 (do_test): Likewise.
63347 * string/test-string.h: Likewise.
63348 (test_init): Likewise.
63349 * string/test-strlen.c (do_one_test): Likewise.
63350 (do_test): Likewise.
63351 * string/test-strncasecmp.c (do_one_test): Likewise.
63352 (do_test): Likewise.
63353 * string/test-strncat.c (do_one_test): Likewise.
63354 (do_test): Likewise.
63355 * string/test-strncmp.c (do_one_test): Likewise.
63356 (do_test_limit): Likewise.
63357 (do_test): Likewise.
63358 * string/test-strncpy.c (do_one_test): Likewise.
63359 (do_test): Likewise.
63360 * string/test-strnlen.c (do_one_test): Likewise.
63361 (do_test): Likewise.
63362 * string/test-strpbrk.c (do_one_test): Likewise.
63363 (do_test): Likewise.
63364 * string/test-strrchr.c (do_one_test): Likewise.
63365 (do_test): Likewise.
63366 * string/test-strspn.c (do_one_test): Likewise.
63367 (do_test): Likewise.
63368 * string/test-strstr.c (do_one_test): Likewise.
63369 (do_test): Likewise.
63370
63371 * benchtests/Makefile (string-bench): Add string benchmarks.
63372 * benchtests/bench-bcopy-ifunc.c: New file.
63373 * benchtests/bench-bcopy.c: New file.
63374 * benchtests/bench-bzero-ifunc.c: New file.
63375 * benchtests/bench-bzero.c: New file.
63376 * benchtests/bench-memccpy-ifunc.c: New file.
63377 * benchtests/bench-memccpy.c: New file.
63378 * benchtests/bench-memchr-ifunc.c: New file.
63379 * benchtests/bench-memchr.c: New file.
63380 * benchtests/bench-memcmp-ifunc.c: New file.
63381 * benchtests/bench-memcmp.c: New file.
63382 * benchtests/bench-memmem-ifunc.c: New file.
63383 * benchtests/bench-memmem.c: New file.
63384 * benchtests/bench-memmove-ifunc.c: New file.
63385 * benchtests/bench-memmove.c: New file.
63386 * benchtests/bench-mempcpy-ifunc.c: New file.
63387 * benchtests/bench-mempcpy.c: New file.
63388 * benchtests/bench-memset-ifunc.c: New file.
63389 * benchtests/bench-memset.c: New file.
63390 * benchtests/bench-rawmemchr-ifunc.c: New file.
63391 * benchtests/bench-rawmemchr.c: New file.
63392 * benchtests/bench-stpcpy-ifunc.c: New file.
63393 * benchtests/bench-stpcpy.c: New file.
63394 * benchtests/bench-stpncpy-ifunc.c: New file.
63395 * benchtests/bench-stpncpy.c: New file.
63396 * benchtests/bench-strcasecmp-ifunc.c: New file.
63397 * benchtests/bench-strcasecmp.c: New file.
63398 * benchtests/bench-strcasestr-ifunc.c: New file.
63399 * benchtests/bench-strcasestr.c: New file.
63400 * benchtests/bench-strcat-ifunc.c: New file.
63401 * benchtests/bench-strcat.c: New file.
63402 * benchtests/bench-strchr-ifunc.c: New file.
63403 * benchtests/bench-strchr.c: New file.
63404 * benchtests/bench-strchrnul-ifunc.c: New file.
63405 * benchtests/bench-strchrnul.c: New file.
63406 * benchtests/bench-strcmp-ifunc.c: New file.
63407 * benchtests/bench-strcmp.c: New file.
63408 * benchtests/bench-strcpy-ifunc.c: New file.
63409 * benchtests/bench-strcpy.c: New file.
63410 * benchtests/bench-strcspn-ifunc.c: New file.
63411 * benchtests/bench-strcspn.c: New file.
63412 * benchtests/bench-strlen-ifunc.c: New file.
63413 * benchtests/bench-strlen.c: New file.
63414 * benchtests/bench-strncasecmp-ifunc.c: New file.
63415 * benchtests/bench-strncasecmp.c: New file.
63416 * benchtests/bench-strncat-ifunc.c: New file.
63417 * benchtests/bench-strncat.c: New file.
63418 * benchtests/bench-strncmp-ifunc.c: New file.
63419 * benchtests/bench-strncmp.c: New file.
63420 * benchtests/bench-strncpy-ifunc.c: New file.
63421 * benchtests/bench-strncpy.c: New file.
63422 * benchtests/bench-strnlen-ifunc.c: New file.
63423 * benchtests/bench-strnlen.c: New file.
63424 * benchtests/bench-strpbrk-ifunc.c: New file.
63425 * benchtests/bench-strpbrk.c: New file.
63426 * benchtests/bench-strrchr-ifunc.c: New file.
63427 * benchtests/bench-strrchr.c: New file.
63428 * benchtests/bench-strspn-ifunc.c: New file.
63429 * benchtests/bench-strspn.c: New file.
63430 * benchtests/bench-strstr-ifunc.c: New file.
63431 * benchtests/bench-strstr.c: New file.
63432
63433 * benchtests/Makefile: Disable parallel execution of targets.
63434 (string-bench): Add memcpy.
63435 (benchset): New variable to store a list of benchmark sets.
63436 (bench-func): Renamed from bench.
63437 (bench-set): New target.
63438 (bench): Depend on bench-func and bench-set.
63439 * benchtests/README: Add section on benchmark sets.
63440 * benchtests/bench-memcpy-ifunc.c: New file.
63441 * benchtests/bench-memcpy.c: New file.
63442 * benchtests/bench-string.h: New file.
63443
63444 2013-06-11 Andreas Schwab <schwab@suse.de>
63445
63446 [BZ #15577]
63447 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
63448 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
63449 values in the triple.
63450 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
63451 terminator in the group key.
63452
63453 2013-06-11 Andreas Jaeger <aj@suse.de>
63454
63455 * po/zh_TW.po: Update Chinese (traditional) translation from
63456 translation project.
63457
63458 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
63459
63460 * include/time.h (__clock_gettime): Add libc_hidden_proto.
63461 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
63462 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
63463 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
63464 (clock_getcpuclockid): Likewise.
63465 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
63466 Add weak_alias and libc_hidden_def.
63467 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
63468 * rt/clock_gettime.c (clock_gettime): Rename to
63469 __clock_gettime. Add weak_alias and libc_hidden_def.
63470 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
63471 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
63472 __clock_nanosleep. Add weak_alias and libc_hidden_def.
63473 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
63474 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
63475 Likewise.
63476 * rt/clock_settime.c (clock_settime): Rename to
63477 __clock_settime. Add weak_alias and libc_hidden_def.
63478 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
63479
63480 2013-06-10 Joseph Myers <joseph@codesourcery.com>
63481
63482 * mach/err_boot.sub: Remove trailing whitespace.
63483 * mach/err_ipc.sub: Likewise.
63484 * mach/err_mach.sub: Likewise.
63485
63486 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
63487 (ROUNDING_TESTS_double): Likewise.
63488 (ROUNDING_TESTS_long_double): Likewise.
63489 (ROUNDING_TESTS): Likewise.
63490 * math/libm-test.inc: Include <math-tests.h>.
63491 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
63492 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
63493 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
63494 (IF_ROUND_INIT_FE_UPWARD): Likewise.
63495
63496 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
63497
63498 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
63499 of assigning.
63500
63501 2013-06-08 Joseph Myers <joseph@codesourcery.com>
63502
63503 * sysdeps/gnu/errlist.awk: Do not generate space at end of
63504 otherwise empty TRANS lines.
63505 * sysdeps/gnu/errlist.c: Regenerated.
63506
63507 * catgets/gencat.c (error_print): Use (void) in function
63508 definition.
63509 * crypt/crypt_util.c (__init_des): Likewise.
63510 * crypt/speeds.c (Stop): Likewise.
63511 (main): Likewise.
63512 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
63513 * inet/ruserpass.c (token): Likewise.
63514 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
63515 * intl/localealias.c (extend_alias_table): Likewise.
63516 * intl/plural-exp.c (init_germanic_plural): Likewise.
63517 * libio/fcloseall.c (__fcloseall): Likewise.
63518 * libio/genops.c (_IO_flush_all): Likewise.
63519 (_IO_flush_all_linebuffered): Likewise.
63520 (_IO_cleanup): Likewise.
63521 (_IO_iter_begin): Likewise.
63522 (_IO_iter_end): Likewise.
63523 (_IO_list_lock): Likewise.
63524 (_IO_list_unlock): Likewise.
63525 (_IO_list_resetlock): Likewise.
63526 * libio/getchar.c (getchar): Likewise.
63527 * libio/getchar_u.c (getchar_unlocked): Likewise.
63528 * libio/getwchar.c (getwchar): Likewise.
63529 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
63530 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
63531 * login/getpt.c (__getpt): Likewise.
63532 * login/tst-utmp.c (main): Likewise.
63533 * malloc/hooks.c (__malloc_check_init): Likewise.
63534 * malloc/malloc.c (__malloc_stats): Likewise.
63535 * malloc/mtrace.c (tr_break): Likewise.
63536 (mtrace): Likewise.
63537 (muntrace): Likewise.
63538 * misc/fstab.c (endfsent): Likewise.
63539 * misc/getclktck.c (__getclktck): Likewise.
63540 * misc/getdtsz.c (__getdtablesize): Likewise.
63541 * misc/gethostid.c (gethostid): Likewise.
63542 * misc/getpagesize.c (__getpagesize): Likewise.
63543 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
63544 (__get_nprocs): Likewise.
63545 (__get_phys_pages): Likewise.
63546 (__get_avphys_pages): Likewise.
63547 * misc/getttyent.c (getttyent): Likewise.
63548 (setttyent): Likewise.
63549 (endttyent): Likewise.
63550 * misc/getusershell.c (getusershell): Likewise.
63551 (endusershell): Likewise.
63552 (setusershell): Likewise.
63553 (initshells): Likewise.
63554 * misc/hsearch.c (__hdestroy): Likewise.
63555 * misc/sync.c (sync): Likewise.
63556 * misc/syslog.c (closelog_internal): Likewise.
63557 (closelog): Likewise.
63558 * misc/ttyslot.c (ttyslot): Likewise.
63559 * misc/vhangup.c (vhangup): Likewise.
63560 * posix/fork.c (__fork): Likewise.
63561 * posix/getegid.c (__getegid): Likewise.
63562 * posix/geteuid.c (__geteuid): Likewise.
63563 * posix/getgid.c (__getgid): Likewise.
63564 * posix/getpid.c (__getpid): Likewise.
63565 * posix/getppid.c (__getppid): Likewise.
63566 * posix/getuid.c (__getuid): Likewise.
63567 * posix/pause.c (pause): Likewise.
63568 * posix/setpgrp.c (setpgrp): Likewise.
63569 * posix/setsid.c (__setsid): Likewise.
63570 * posix/test-vfork.c (noop): Likewise.
63571 * resolv/gethnamaddr.c (_endhtent): Likewise.
63572 (_gethtent): Likewise.
63573 (ht_endhostent): Likewise.
63574 (gethostent): Likewise.
63575 (dns_service): Likewise.
63576 * stdlib/drand48.c (drand48): Likewise.
63577 * stdlib/lrand48.c (lrand48): Likewise.
63578 * stdlib/mrand48.c (mrand48): Likewise.
63579 * stdlib/rand.c (rand): Likewise.
63580 * stdlib/random.c (__random): Likewise.
63581 * stdlib/setenv.c (clearenv): Likewise.
63582 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
63583 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
63584 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
63585 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
63586 (__get_nprocs): Likewise.
63587 (__get_phys_pages): Likewise.
63588 (__get_avphys_pages): Likewise.
63589 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
63590 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
63591 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
63592 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
63593 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
63594 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
63595 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
63596 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
63597 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
63598 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
63599 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
63600 * sysdeps/mach/hurd/sync.c (sync): Likewise.
63601 * sysdeps/posix/clock.c (clock): Likewise.
63602 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
63603 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
63604 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
63605 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
63606 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
63607 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
63608 (__get_nprocs_conf): Likewise.
63609 (__get_phys_pages): Likewise.
63610 (__get_avphys_pages): Likewise.
63611 * time/clock.c (clock): Likewise.
63612 * time/tzset.c (__tzname_max): Likewise.
63613
63614 2013-06-07 Joseph Myers <joseph@codesourcery.com>
63615
63616 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
63617 (__bswap_32): Do not use "register".
63618 * crypt/crypt.c (_ufc_doit_r): Likewise.
63619 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
63620 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
63621 * gmon/gmon.c (__monstartup): Likewise.
63622 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
63623 * hurd/hurdmalloc.c (more_memory): Likewise.
63624 (malloc): Likewise.
63625 (free): Likewise.
63626 (realloc): Likewise.
63627 (malloc_fork_prepare): Likewise.
63628 (malloc_fork_parent): Likewise.
63629 (malloc_fork_child): Likewise.
63630 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
63631 (_svcauth_des): Likewise.
63632 * inet/inet_lnaof.c (inet_lnaof): Likewise.
63633 * inet/inet_net.c (inet_network): Likewise.
63634 * inet/inet_netof.c (inet_netof): Likewise.
63635 * inet/rcmd.c (__validuser2_sa): Likewise.
63636 * io/fts.c (fts_open): Likewise.
63637 (fts_load): Likewise.
63638 (fts_close): Likewise.
63639 (fts_read): Likewise.
63640 (fts_children): Likewise.
63641 (fts_build): Likewise.
63642 (fts_stat): Likewise.
63643 (fts_sort): Likewise.
63644 (fts_alloc): Likewise.
63645 (fts_lfree): Likewise.
63646 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
63647 (_IO_file_xsgetn): Likewise.
63648 (_IO_file_xsgetn_mmap): Likewise.
63649 * libio/iofopncook.c (_IO_cookie_read): Likewise.
63650 (_IO_cookie_write): Likewise.
63651 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
63652 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
63653 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
63654 * malloc/obstack.c (_obstack_begin): Likewise.
63655 (_obstack_begin_1): Likewise.
63656 (_obstack_newchunk): Likewise.
63657 (_obstack_allocated_p): Likewise.
63658 (obstack_free): Likewise.
63659 (_obstack_memory_used): Likewise.
63660 * misc/getttyent.c (getttynam): Likewise.
63661 (getttyent): Likewise.
63662 (skip): Likewise.
63663 (value): Likewise.
63664 * misc/getusershell.c (initshells): Likewise.
63665 * misc/syslog.c (__vsyslog_chk): Likewise.
63666 * misc/ttyslot.c (ttyslot): Likewise.
63667 * nis/nis_hash.c (__nis_hash): Likewise.
63668 * posix/fnmatch_loop.c (FCT): Likewise.
63669 * posix/getconf.c (print_all): Likewise.
63670 (main): Likewise.
63671 * posix/getopt.c (exchange): Likewise.
63672 * posix/glob.c (globfree): Likewise.
63673 (prefix_array): Likewise.
63674 (__glob_pattern_type): Likewise.
63675 * resolv/arpa/nameser.h (NS_GET16): Likewise.
63676 (NS_GET32): Likewise.
63677 (NS_PUT16): Likewise.
63678 (NS_PUT32): Likewise.
63679 * resolv/gethnamaddr.c (getanswer): Likewise.
63680 (gethostbyname2): Likewise.
63681 (gethostbyaddr): Likewise.
63682 (_gethtent): Likewise.
63683 (_gethtbyname2): Likewise.
63684 (_gethtbyaddr): Likewise.
63685 * resolv/ns_print.c (dst_s_get_int16): Likewise.
63686 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
63687 * resolv/res_init.c (__res_vinit): Likewise.
63688 (net_mask): Likewise.
63689 * resolv/res_mkquery.c (outchar): Likewise.
63690 (PRINT): Likewise.
63691 * stdio-common/printf_fp.c (outchar): Likewise.
63692 (PRINT): Likewise.
63693 * stdio-common/printf_fphex.c (outchar): Likewise.
63694 (PRINT): Likewise.
63695 * stdio-common/printf_size.c (outchar): Likewise.
63696 (PRINT): Likewise.
63697 * stdio-common/test_rdwr.c (main): Likewise.
63698 * stdio-common/tfformat.c (matches): Likewise.
63699 * stdio-common/vfprintf.c (outchar): Likewise.
63700 (printf_unknown): Likewise.
63701 (buffered_vfprintf): Likewise.
63702 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
63703 * stdio-common/xbug.c (AppendToBuffer): Likewise.
63704 (ReadFile): Likewise.
63705 * stdlib/qsort.c (SWAP): Likewise.
63706 (_quicksort): Likewise.
63707 * stdlib/setenv.c (__add_to_environ): Likewise.
63708 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
63709 * stdlib/strtol_l.c (__strtol_l): Likewise.
63710 * stdlib/tst-strtod.c (main): Likewise.
63711 * stdlib/tst-strtol.c (main): Likewise.
63712 * stdlib/tst-strtoll.c (main): Likewise.
63713 * string/bits/string2.h (__strcmp_cc): Likewise.
63714 (__strcmp_cg): Likewise.
63715 (__strcspn_c1): Likewise.
63716 (__strcspn_c2): Likewise.
63717 (__strcspn_c3): Likewise.
63718 (__strspn_c1): Likewise.
63719 (__strspn_c2): Likewise.
63720 (__strspn_c3): Likewise.
63721 (__strsep_1c): Likewise.
63722 (__strsep_2c): Likewise.
63723 (__strsep_3c): Likewise.
63724 * string/memccpy.c (__memccpy): Likewise.
63725 * string/stpcpy.c (__stpcpy): Likewise.
63726 * string/strcmp.c (strcmp): Likewise.
63727 * string/strrchr.c (strrchr): Likewise.
63728 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
63729 Likewise.
63730 * sysdeps/mach/hurd/getcwd.c
63731 (_hurd_canonicalize_directory_name_internal): Likewise.
63732 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
63733 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
63734 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
63735 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
63736 Likewise, in both definitions.
63737 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
63738 definitions.
63739 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
63740 64] (__bswap_64): Likewise.
63741 * time/test_time.c (main): Likewise.
63742 * time/tzfile.c (__tzfile_read): Likewise.
63743 (__tzfile_compute): Likewise.
63744 * time/tzset.c (__tzset_parse_tz): Likewise.
63745 (tzset_internal): Likewise.
63746 (compute_change): Likewise.
63747 * wcsmbs/wcscat.c (__wcscat): Likewise.
63748 * wcsmbs/wcschr.c (wcschr): Likewise.
63749 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
63750 * wcsmbs/wcscspn.c (wcscspn): Likewise.
63751 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
63752 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
63753 * wcsmbs/wcsspn.c (wcsspn): Likewise.
63754 * wcsmbs/wcsstr.c (wcsstr): Likewise.
63755 * wcsmbs/wmemchr.c (wmemchr): Likewise.
63756 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
63757 * wcsmbs/wmemset.c (wmemset): Likewise.
63758
63759 2013-06-06 Joseph Myers <joseph@codesourcery.com>
63760
63761 * scripts/config.guess: Update to version 2013-05-16.
63762 * scripts/config.sub: Update to version 2013-04-24.
63763 * scripts/install-sh: Update to version 2011-11-20.07.
63764 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
63765 * scripts/move-if-change: Update to version 2012-01-06 07:23.
63766
63767 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
63768
63769 * debug/fgetws_u_chk.c: Fix leading whitespaces.
63770 * elf/sln.c: Likewise.
63771 * hurd/hurd/ioctl.h: Likewise.
63772 * hurd/hurdmalloc.c: Likewise.
63773 * hurd/xattr.c: Likewise.
63774 * include/shlib-compat.h: Likewise.
63775 * inet/ruserpass.c: Likewise.
63776 * libio/iofgets_u.c: Likewise.
63777 * libio/iofgetws_u.c: Likewise.
63778 * locale/programs/ld-identification.c: Likewise.
63779 * locale/programs/ld-time.c: Likewise.
63780 * mach/msg-destroy.c: Likewise.
63781 * nss/nss_files/files-netgrp.c: Likewise.
63782 * resolv/res_data.c: Likewise.
63783 * soft-fp/op-1.h: Likewise.
63784 * soft-fp/op-2.h: Likewise.
63785 * soft-fp/op-4.h: Likewise.
63786 * soft-fp/op-common.h: Likewise.
63787 * stdio-common/printf_fphex.c: Likewise.
63788 * stdlib/strtod_l.c: Likewise.
63789 * sunrpc/rpc/clnt.h: Likewise.
63790 * sysdeps/generic/framestate.c: Likewise.
63791 * sysdeps/i386/bsd-_setjmp.S: Likewise.
63792 * sysdeps/i386/bsd-setjmp.S: Likewise.
63793 * sysdeps/i386/__longjmp.S: Likewise.
63794 * sysdeps/i386/setjmp.S: Likewise.
63795 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63796 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63797 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63798 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
63799 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63800 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
63801 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63802 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63803 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63804 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
63805 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
63806 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
63807 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
63808 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
63809 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
63810 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63811 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
63812 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
63813 * sysdeps/ieee754/support.c: Likewise.
63814 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
63815 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
63816 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
63817 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
63818 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
63819 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
63820 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
63821 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
63822 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
63823 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
63824 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
63825 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
63826 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
63827 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
63828 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
63829 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
63830 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
63831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
63832
63833 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
63834
63835 * posix/transbug.c: Remove executable mode.
63836
63837 2013-06-05 Joseph Myers <joseph@codesourcery.com>
63838
63839 * crypt/speeds.c: Remove trailing whitespace.
63840 * dlfcn/default.c: Likewise.
63841 * elf/ifuncdep2.c: Likewise.
63842 * elf/ifuncmain1.c: Likewise.
63843 * elf/ifuncmain1vis.c: Likewise.
63844 * elf/testobj.h: Likewise.
63845 * elf/tst-stackguard1.c: Likewise.
63846 * gmon/sys/gmon.h: Likewise.
63847 * hurd/hurdmsg.c: Likewise.
63848 * hurd/new-fd.c: Likewise.
63849 * hurd/ports-get.c: Likewise.
63850 * iconvdata/ibm1008_420.c: Likewise.
63851 * inet/tst-getni1.c: Likewise.
63852 * inet/tst-getni2.c: Likewise.
63853 * libio/ioungetc.c: Likewise.
63854 * libio/wfiledoalloc.c: Likewise.
63855 * manual/libm-err-tab.pl: Likewise.
63856 * math/w_dremf.c: Likewise.
63857 * misc/ftruncate.c: Likewise.
63858 * posix/bug-glob2.c: Likewise.
63859 * posix/tst-pcre.c: Likewise.
63860 * posix/wait4.c: Likewise.
63861 * resolv/README: Likewise.
63862 * resolv/res_debug.h: Likewise.
63863 * resolv/tst-inet_ntop.c: Likewise.
63864 * setjmp/bug269-setjmp.c: Likewise.
63865 * soft-fp/extended.h: Likewise.
63866 * soft-fp/op-1.h: Likewise.
63867 * soft-fp/op-2.h: Likewise.
63868 * soft-fp/op-4.h: Likewise.
63869 * soft-fp/op-8.h: Likewise.
63870 * soft-fp/testit.c: Likewise.
63871 * stdio-common/bug16.c: Likewise.
63872 * stdlib/random.c: Likewise.
63873 * sunrpc/rpcsvc/rquota.x: Likewise.
63874 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
63875 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63876 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63877 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63878 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63879 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63880 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63881 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63882 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63883 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63884 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63885 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
63886 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63887 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
63888 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63889 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
63890 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
63891 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63892 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
63893 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63894 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63895 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63896 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
63897 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
63898 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
63899 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
63900 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
63901 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
63902 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63903 * sysdeps/ieee754/s_lib_version.c: Likewise.
63904 * sysdeps/mach/hurd/check_fds.c: Likewise.
63905 * sysdeps/mach/hurd/getsockname.c: Likewise.
63906 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
63907 * sysdeps/mach/hurd/recvfrom.c: Likewise.
63908 * sysdeps/powerpc/bits/link.h: Likewise.
63909 * sysdeps/powerpc/dl-procinfo.c: Likewise.
63910 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
63911 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
63912 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
63913 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
63914 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
63915 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
63916 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
63917 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
63918 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
63919 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
63920 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
63921 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
63922 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
63923 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
63924 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
63925 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
63926 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
63927 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
63928 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
63929 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
63930 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
63931 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
63932 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
63933 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
63934 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
63935 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
63936 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
63937 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
63938 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
63939 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
63940 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
63941 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
63942 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
63943 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
63944 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
63945 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
63946 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
63947 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
63948 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
63949 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
63950 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
63951 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
63952 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
63953 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
63954 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
63955 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
63956 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
63957 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
63958 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
63959 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63960 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63961 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
63962 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
63963 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
63964 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
63965 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
63966 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
63967 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
63968 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
63969 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
63970 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
63971 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
63972 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
63973 * sysdeps/powerpc/sysdep.h: Likewise.
63974 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63975 * sysdeps/s390/s390-64/sub_n.S: Likewise.
63976 * sysdeps/sh/dl-trampoline.S: Likewise.
63977 * sysdeps/sh/memset.S: Likewise.
63978 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
63979 * sysdeps/sh/strlen.S: Likewise.
63980 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
63981 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
63982 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
63983 * sysdeps/sparc/sparc32/rem.S: Likewise.
63984 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
63985 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
63986 * sysdeps/sparc/sparc32/strchr.S: Likewise.
63987 * sysdeps/sparc/sparc32/udiv.S: Likewise.
63988 * sysdeps/sparc/sparc32/urem.S: Likewise.
63989 * sysdeps/sparc/sparc64/add_n.S: Likewise.
63990 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
63991 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
63992 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
63993 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
63994 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
63995 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
63996 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
63997 * sysdeps/unix/bsd/times.c: Likewise.
63998 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
63999 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
64000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
64001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
64002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
64003 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
64004 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
64005 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
64006 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
64007 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
64008 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
64009 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
64010 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
64011 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
64012 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
64013 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
64014 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
64015 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
64016 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
64017 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
64018 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
64019 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
64020 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
64021 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
64022 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
64023 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
64024 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
64025 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64026 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
64027 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
64028 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
64029 * sysdeps/x86_64/strcspn.S: Likewise.
64030
64031 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64032
64033 * locale/C-translit.h: Revert #include <stdint.h> because this is a
64034 generated file. Regenerate properly from gen-translit.pl.
64035 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
64036 locale/C-translit.h.
64037
64038 2013-06-05 Andreas Schwab <schwab@suse.de>
64039
64040 [BZ #15100]
64041 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
64042 week as 6 instead of -1.
64043 * time/tst-strptime.c (day_tests): Add test case.
64044
64045 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
64046
64047 * sysdeps/generic/math_private.h
64048 (libc_feholdexcept_setround_53bit): Replace with
64049 libc_feholdsetround_53bit.
64050 (libc_feupdateenv_53bit): Replace with
64051 libc_feresetround_53bit.
64052 (SET_RESTORE_ROUND_53BIT): Adjust.
64053
64054 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
64055
64056 * string/test-strchrnul.c: Add copyright header.
64057
64058 * posix/tst-getaddrinfo4.c: Increase test timeout.
64059
64060 2013-06-03 Carlos O'Donell <carlos@redhat.com>
64061
64062 [BZ #15536]
64063 * math/libm-test.inc (MAX_EXP): Remove
64064 (MIN_EXP): Define.
64065 (ulp): Use MIN_EXP - MANT_DIG.
64066 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
64067
64068 2013-05-31 Carlos O'Donell <carlos@redhat.com>
64069
64070 * po/be.po: Revert last change.
64071 * po/zh_CN.po: Likewise.
64072 * po/header.pot: Likewise.
64073
64074 2013-05-31 Joseph Myers <joseph@codesourcery.com>
64075
64076 * Makefile ($(common-objpfx)linkobj/libc.so): Define
64077 link-libc-deps to empty as target-specific variable.
64078 * Makerules (link-libc-args): New variable.
64079 (libc-for-link): Likewise.
64080 (link-libc-deps): Likewise.
64081 (lib%.so): Depend on $(link-libc-deps). Link with
64082 $(link-libc-args).
64083 (build-module): Link with $(link-libc-args).
64084 (build-module-asneeded): Likewise.
64085 (build-module-helper-objlist): Filter out $(link-libc-deps) from
64086 list of objects.
64087 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
64088 target-specific variable.
64089 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
64090 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
64091 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
64092 libc.
64093 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
64094 libc and ld.so.
64095 ($(objpfx)libpcprofile.so): Likewise.
64096 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
64097 libc_nonshared.a.
64098 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
64099 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
64100 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
64101 $(link-libc-deps).
64102 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
64103 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
64104 * login/Makefile ($(objpfx)libutil.so): Likewise.
64105 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
64106 * math/Makefile ($(objpfx)libm.so): Likewise.
64107 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
64108 $(objpfx)libnsl.so): Define libc-for-link as target-specific
64109 variable instead of depending directly on libc.
64110 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
64111 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
64112 $(link-libc-deps).
64113 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
64114 libc.
64115 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
64116 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
64117 ($(objpfx)libanl.so): Likewise.
64118 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
64119 ld.so.
64120 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
64121 $(link-libc-deps).
64122 * sysdeps/i386/fpu/Makefile: Remove file.
64123 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
64124 ($(objpfx)libm.so): Remove dependency on ld.so.
64125
64126 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
64127
64128 [BZ # 15553]
64129 * nis/yp_xdr.c (XDRMAXNAME): Define.
64130 (XDRMAXRECORD): Define.
64131 (xdr_domainname): Use XDRMAXNAME.
64132 (xdr_mapname): Likewise.
64133 (xdr_peername): Likewise.
64134 (xdr_keydat): Use XDRMAXRECORD.
64135 (xdr_valdat): Likewise.
64136
64137 2013-05-30 Jeff Law <law@redhat.com>
64138
64139 [BZ #14256]
64140 * manual/errno.texi (ESTALE): Update to account for more than
64141 just NFS file systems.
64142 * sysdeps/gnu/errlist.c: Regenerated.
64143
64144 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
64145
64146 [BZ #15465]
64147 * elf/Makefile (tests): Add tst-null-argv.
64148 (modules-names): Add tst-null-argv-lib.
64149 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
64150 (tst-null-argv-ENV): Set environment for tst-null-argv.
64151 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
64152 (RTLD_PROGNAME): New macro.
64153 * elf/tst-null-argv.c: New test case.
64154 * elf/tst-null-argv-lib.c: Library for test case.
64155 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
64156 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
64157 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
64158 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
64159 * elf/dl-init.c (call_init): Likewise.
64160 (_dl_init): Likewise.
64161 * elf/dl-load.c (print_search_path): Likewise.
64162 (_dl_map_object): Likewise.
64163 * elf/dl-lookup.c (do_lookup_x): Likewise.
64164 (add_dependency): Likewise.
64165 (_dl_lookup_symbol_x): Likewise.
64166 (_dl_debug_bindings): Likewise.
64167 * elf/dl-open.c (_dl_show_scope): Likewise.
64168 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
64169 * elf/dl-version.c (match_symbol): Likewise.
64170 (_dl_check_map_versions): Likewise.
64171 * elf/rtld.c (dl_main): Likewise.
64172 (print_unresolved): Use RTLD_PROGNAME.
64173 (print_missing_version): Likewise.
64174 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
64175 (elf_machine_rela): Likewise.
64176 * sysdeps/powerpc/powerpc32/dl-machine.c
64177 (__process_machine_rela): Likewise.
64178 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64179 Likewise.
64180 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
64181 Likewise.
64182 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
64183 Likewise.
64184 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
64185 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
64186 Likewise.
64187 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
64188 Likewise.
64189 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
64190
64191 2013-05-28 Carlos O'Donell <carlos@redhat.com>
64192
64193 * po/be.po: Add descriptive title.
64194 * po/zh_CN.po: Likewise.
64195 * po/header.pot: Likewise.
64196
64197 2013-05-28 Mike Frysinger <vapier@gentoo.org>
64198
64199 * locale/programs/locarchive.c (create_archive): Inlucde fname in
64200 error message.
64201 (enlarge_archive): Likewise.
64202
64203 2013-05-28 Ben North <ben@redfrontdoor.org>
64204
64205 * manual/arith.texi (frexp): It is the magnitude of the return
64206 value which lies in [0.5, 1), not the return value itself.
64207
64208 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64209
64210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64211
64212 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
64213
64214 * stdio-common/bug26.c (main): Correct fscanf template.
64215
64216 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
64217 declare _dl_skip_args.
64218
64219 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
64220 Don't declare.
64221
64222 * manual/platform.texi: Add missing @end deftypefun.
64223
64224 2013-05-24 Joseph Myers <joseph@codesourcery.com>
64225
64226 [BZ #15529]
64227 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
64228 bit of mantissa of 2^16382.
64229 * math/libm-test.inc (hypot_test_data): Add more tests.
64230
64231 * math/libm-test.inc: Add drem and pow10 to list of tested
64232 functions.
64233 (pow10_test): New function.
64234 (drem_test): Likewise.
64235 (drem_test_tonearest): Likewise.
64236 (drem_test_towardzero): Likewise.
64237 (drem_test_downward): Likewise.
64238 (drem_test_upward): Likewise.
64239 (main): Call the new functions.
64240
64241 * math/libm-test.inc (finite_test_data): Remove.
64242 (finite_test): Run tests from isfinite_test_data.
64243 (gamma_test_data): Remove.
64244 (gamma_test): Run tests from lgamma_test_data.
64245 * sysdeps/i386/fpu/libm-test-ulps: Update.
64246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64247
64248 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64249
64250 * manual/platform.texi: Add PowerPC PPR function set documentation.
64251 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
64252 implementation.
64253
64254 2013-05-24 Carlos O'Donell <carlos@redhat.com>
64255
64256 * math/libm-test.inc (MAX_EXP): Define.
64257 (ULPDIFF): Define.
64258 (ulp): New function.
64259 (check_float_internal): Use ULPDIFF.
64260 (cpow_test): Disable failing test.
64261 (check_ulp): Test ulp() implementation.
64262 (main): Call check_ulp before starting tests.
64263
64264 2013-05-24 Joseph Myers <joseph@codesourcery.com>
64265
64266 * math/gen-libm-test.pl (generate_testfile): Do not handle
64267 START_DATA and END_DATA.
64268 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
64269 END_DATA.
64270 (acos_tonearest_test_data): Likewise.
64271 (acos_towardzero_test_data): Likewise.
64272 (acos_downward_test_data): Likewise.
64273 (acos_upward_test_data): Likewise.
64274 (acosh_test_data): Likewise.
64275 (asin_test_data): Likewise.
64276 (asin_tonearest_test_data): Likewise.
64277 (asin_towardzero_test_data): Likewise.
64278 (asin_downward_test_data): Likewise.
64279 (asin_upward_test_data): Likewise.
64280 (asinh_test_data): Likewise.
64281 (atan_test_data): Likewise.
64282 (atanh_test_data): Likewise.
64283 (atan2_test_data): Likewise.
64284 (cabs_test_data): Likewise.
64285 (cacos_test_data): Likewise.
64286 (cacosh_test_data): Likewise.
64287 (carg_test_data): Likewise.
64288 (casin_test_data): Likewise.
64289 (casinh_test_data): Likewise.
64290 (catan_test_data): Likewise.
64291 (catanh_test_data): Likewise.
64292 (cbrt_test_data): Likewise.
64293 (ccos_test_data): Likewise.
64294 (ccosh_test_data): Likewise.
64295 (ceil_test_data): Likewise.
64296 (cexp_test_data): Likewise.
64297 (cimag_test_data): Likewise.
64298 (clog_test_data): Likewise.
64299 (clog10_test_data): Likewise.
64300 (conj_test_data): Likewise.
64301 (copysign_test_data): Likewise.
64302 (cos_test_data): Likewise.
64303 (cos_tonearest_test_data): Likewise.
64304 (cos_towardzero_test_data): Likewise.
64305 (cos_downward_test_data): Likewise.
64306 (cos_upward_test_data): Likewise.
64307 (cosh_test_data): Likewise.
64308 (cosh_tonearest_test_data): Likewise.
64309 (cosh_towardzero_test_data): Likewise.
64310 (cosh_downward_test_data): Likewise.
64311 (cosh_upward_test_data): Likewise.
64312 (cpow_test_data): Likewise.
64313 (cproj_test_data): Likewise.
64314 (creal_test_data): Likewise.
64315 (csin_test_data): Likewise.
64316 (csinh_test_data): Likewise.
64317 (csqrt_test_data): Likewise.
64318 (ctan_test_data): Likewise.
64319 (ctan_tonearest_test_data): Likewise.
64320 (ctan_towardzero_test_data): Likewise.
64321 (ctan_downward_test_data): Likewise.
64322 (ctan_upward_test_data): Likewise.
64323 (ctanh_test_data): Likewise.
64324 (ctanh_tonearest_test_data): Likewise.
64325 (ctanh_towardzero_test_data): Likewise.
64326 (ctanh_downward_test_data): Likewise.
64327 (ctanh_upward_test_data): Likewise.
64328 (erf_test_data): Likewise.
64329 (erfc_test_data): Likewise.
64330 (exp_test_data): Likewise.
64331 (exp_tonearest_test_data): Likewise.
64332 (exp_towardzero_test_data): Likewise.
64333 (exp_downward_test_data): Likewise.
64334 (exp_upward_test_data): Likewise.
64335 (exp10_test_data): Likewise.
64336 (exp2_test_data): Likewise.
64337 (expm1_test_data): Likewise.
64338 (fabs_test_data): Likewise.
64339 (fdim_test_data): Likewise.
64340 (finite_test_data): Likewise.
64341 (floor_test_data): Likewise.
64342 (fma_test_data): Likewise.
64343 (fma_towardzero_test_data): Likewise.
64344 (fma_downward_test_data): Likewise.
64345 (fma_upward_test_data): Likewise.
64346 (fmax_test_data): Likewise.
64347 (fmin_test_data): Likewise.
64348 (fmod_test_data): Likewise.
64349 (fpclassify_test_data): Likewise.
64350 (frexp_test_data): Likewise.
64351 (gamma_test_data): Likewise.
64352 (hypot_test_data): Likewise.
64353 (ilogb_test_data): Likewise.
64354 (isfinite_test_data): Likewise.
64355 (isgreater_test_data): Likewise.
64356 (isgreaterequal_test_data): Likewise.
64357 (isinf_test_data): Likewise.
64358 (isless_test_data): Likewise.
64359 (islessequal_test_data): Likewise.
64360 (islessgreater_test_data): Likewise.
64361 (isnan_test_data): Likewise.
64362 (isnormal_test_data): Likewise.
64363 (issignaling_test_data): Likewise.
64364 (isunordered_test_data): Likewise.
64365 (j0_test_data): Likewise.
64366 (j1_test_data): Likewise.
64367 (jn_test_data): Likewise.
64368 (ldexp_test_data): Likewise.
64369 (lgamma_test_data): Likewise.
64370 (lrint_test_data): Likewise.
64371 (lrint_tonearest_test_data): Likewise.
64372 (lrint_towardzero_test_data): Likewise.
64373 (lrint_downward_test_data): Likewise.
64374 (lrint_upward_test_data): Likewise.
64375 (llrint_test_data): Likewise.
64376 (llrint_tonearest_test_data): Likewise.
64377 (llrint_towardzero_test_data): Likewise.
64378 (llrint_downward_test_data): Likewise.
64379 (llrint_upward_test_data): Likewise.
64380 (log_test_data): Likewise.
64381 (log10_test_data): Likewise.
64382 (log1p_test_data): Likewise.
64383 (log2_test_data): Likewise.
64384 (logb_test_data): Likewise.
64385 (logb_downward_test_data): Likewise.
64386 (lround_test_data): Likewise.
64387 (llround_test_data): Likewise.
64388 (modf_test_data): Likewise.
64389 (nearbyint_test_data): Likewise.
64390 (nextafter_test_data): Likewise.
64391 (nexttoward_test_data): Likewise.
64392 (pow_test_data): Likewise.
64393 (pow_tonearest_test_data): Likewise.
64394 (pow_towardzero_test_data): Likewise.
64395 (pow_downward_test_data): Likewise.
64396 (pow_upward_test_data): Likewise.
64397 (remainder_test_data): Likewise.
64398 (remainder_tonearest_test_data): Likewise.
64399 (remainder_towardzero_test_data): Likewise.
64400 (remainder_downward_test_data): Likewise.
64401 (remainder_upward_test_data): Likewise.
64402 (remquo_test_data): Likewise.
64403 (rint_test_data): Likewise.
64404 (rint_tonearest_test_data): Likewise.
64405 (rint_towardzero_test_data): Likewise.
64406 (rint_downward_test_data): Likewise.
64407 (rint_upward_test_data): Likewise.
64408 (round_test_data): Likewise.
64409 (scalb_test_data): Likewise.
64410 (scalbn_test_data): Likewise.
64411 (scalbln_test_data): Likewise.
64412 (signbit_test_data): Likewise.
64413 (sin_test_data): Likewise.
64414 (sin_tonearest_test_data): Likewise.
64415 (sin_towardzero_test_data): Likewise.
64416 (sin_downward_test_data): Likewise.
64417 (sin_upward_test_data): Likewise.
64418 (sincos_test_data): Likewise.
64419 (sinh_test_data): Likewise.
64420 (sinh_tonearest_test_data): Likewise.
64421 (sinh_towardzero_test_data): Likewise.
64422 (sinh_downward_test_data): Likewise.
64423 (sinh_upward_test_data): Likewise.
64424 (sqrt_test_data): Likewise.
64425 (tan_test_data): Likewise.
64426 (tan_tonearest_test_data): Likewise.
64427 (tan_towardzero_test_data): Likewise.
64428 (tan_downward_test_data): Likewise.
64429 (tan_upward_test_data): Likewise.
64430 (tanh_test_data): Likewise.
64431 (tgamma_test_data): Likewise.
64432 (trunc_test_data): Likewise.
64433 (y0_test_data): Likewise.
64434 (y1_test_data): Likewise.
64435 (yn_test_data): Likewise.
64436 (significand_test_data): Likewise.
64437
64438 * math/gen-libm-test.pl (@functions): Remove variable.
64439 (generate_testfile): Don't handle START and END lines.
64440 * math/libm-test.inc (START): New macro.
64441 (END): Likewise.
64442 (END_COMPLEX): Likewise.
64443 (acos_test): Use END macro without arguments.
64444 (acos_test_tonearest): Likewise.
64445 (acos_test_towardzero): Likewise.
64446 (acos_test_downward): Likewise.
64447 (acos_test_upward): Likewise.
64448 (acosh_test): Likewise.
64449 (asin_test): Likewise.
64450 (asin_test_tonearest): Likewise.
64451 (asin_test_towardzero): Likewise.
64452 (asin_test_downward): Likewise.
64453 (asin_test_upward): Likewise.
64454 (asinh_test): Likewise.
64455 (atan_test): Likewise.
64456 (atanh_test): Likewise.
64457 (atan2_test): Likewise.
64458 (cabs_test): Likewise.
64459 (cacos_test): Use END_COMPLEX macro without arguments.
64460 (cacosh_test): Likewise.
64461 (carg_test): Use END macro without arguments.
64462 (casin_test): Use END_COMPLEX macro without arguments.
64463 (casinh_test): Likewise.
64464 (catan_test): Likewise.
64465 (catanh_test): Likewise.
64466 (cbrt_test): Use END macro without arguments.
64467 (ccos_test): Use END_COMPLEX macro without arguments.
64468 (ccosh_test): Likewise.
64469 (ceil_test): Use END macro without arguments.
64470 (cexp_test): Use END_COMPLEX macro without arguments.
64471 (cimag_test): Use END macro without arguments.
64472 (clog_test): Use END_COMPLEX macro without arguments.
64473 (clog10_test): Likewise.
64474 (conj_test): Likewise.
64475 (copysign_test): Use END macro without arguments.
64476 (cos_test): Likewise.
64477 (cos_test_tonearest): Likewise.
64478 (cos_test_towardzero): Likewise.
64479 (cos_test_downward): Likewise.
64480 (cos_test_upward): Likewise.
64481 (cosh_test): Likewise.
64482 (cosh_test_tonearest): Likewise.
64483 (cosh_test_towardzero): Likewise.
64484 (cosh_test_downward): Likewise.
64485 (cosh_test_upward): Likewise.
64486 (cpow_test): Use END_COMPLEX macro without arguments.
64487 (cproj_test): Likewise.
64488 (creal_test): Use END macro without arguments.
64489 (csin_test): Use END_COMPLEX macro without arguments.
64490 (csinh_test): Likewise.
64491 (csqrt_test): Likewise.
64492 (ctan_test): Likewise.
64493 (ctan_test_tonearest): Likewise.
64494 (ctan_test_towardzero): Likewise.
64495 (ctan_test_downward): Likewise.
64496 (ctan_test_upward): Likewise.
64497 (ctanh_test): Likewise.
64498 (ctanh_test_tonearest): Likewise.
64499 (ctanh_test_towardzero): Likewise.
64500 (ctanh_test_downward): Likewise.
64501 (ctanh_test_upward): Likewise.
64502 (erf_test): Use END macro without arguments.
64503 (erfc_test): Likewise.
64504 (exp_test): Likewise.
64505 (exp_test_tonearest): Likewise.
64506 (exp_test_towardzero): Likewise.
64507 (exp_test_downward): Likewise.
64508 (exp_test_upward): Likewise.
64509 (exp10_test): Likewise.
64510 (exp2_test): Likewise.
64511 (expm1_test): Likewise.
64512 (fabs_test): Likewise.
64513 (fdim_test): Likewise.
64514 (finite_test): Likewise.
64515 (floor_test): Likewise.
64516 (fma_test): Likewise.
64517 (fma_test_towardzero): Likewise.
64518 (fma_test_downward): Likewise.
64519 (fma_test_upward): Likewise.
64520 (fmax_test): Likewise.
64521 (fmin_test): Likewise.
64522 (fmod_test): Likewise.
64523 (fpclassify_test): Likewise.
64524 (frexp_test): Likewise.
64525 (gamma_test): Likewise.
64526 (hypot_test): Likewise.
64527 (ilogb_test): Likewise.
64528 (isfinite_test): Likewise.
64529 (isgreater_test): Likewise.
64530 (isgreaterequal_test): Likewise.
64531 (isinf_test): Likewise.
64532 (isless_test): Likewise.
64533 (islessequal_test): Likewise.
64534 (islessgreater_test): Likewise.
64535 (isnan_test): Likewise.
64536 (isnormal_test): Likewise.
64537 (issignaling_test): Likewise.
64538 (isunordered_test): Likewise.
64539 (j0_test): Likewise.
64540 (j1_test): Likewise.
64541 (jn_test): Likewise.
64542 (ldexp_test): Likewise.
64543 (lgamma_test): Likewise.
64544 (lrint_test): Likewise.
64545 (lrint_test_tonearest): Likewise.
64546 (lrint_test_towardzero): Likewise.
64547 (lrint_test_downward): Likewise.
64548 (lrint_test_upward): Likewise.
64549 (llrint_test): Likewise.
64550 (llrint_test_tonearest): Likewise.
64551 (llrint_test_towardzero): Likewise.
64552 (llrint_test_downward): Likewise.
64553 (llrint_test_upward): Likewise.
64554 (log_test): Likewise.
64555 (log10_test): Likewise.
64556 (log1p_test): Likewise.
64557 (log2_test): Likewise.
64558 (logb_test): Likewise.
64559 (logb_test_downward): Likewise.
64560 (lround_test): Likewise.
64561 (llround_test): Likewise.
64562 (modf_test): Likewise.
64563 (nearbyint_test): Likewise.
64564 (nextafter_test): Likewise.
64565 (nexttoward_test): Likewise.
64566 (pow_test): Likewise.
64567 (pow_test_tonearest): Likewise.
64568 (pow_test_towardzero): Likewise.
64569 (pow_test_downward): Likewise.
64570 (pow_test_upward): Likewise.
64571 (remainder_test): Likewise.
64572 (remainder_test_tonearest): Likewise.
64573 (remainder_test_towardzero): Likewise.
64574 (remainder_test_downward): Likewise.
64575 (remainder_test_upward): Likewise.
64576 (remquo_test): Likewise.
64577 (rint_test): Likewise.
64578 (rint_test_tonearest): Likewise.
64579 (rint_test_towardzero): Likewise.
64580 (rint_test_downward): Likewise.
64581 (rint_test_upward): Likewise.
64582 (round_test): Likewise.
64583 (scalb_test): Likewise.
64584 (scalbn_test): Likewise.
64585 (scalbln_test): Likewise.
64586 (signbit_test): Likewise.
64587 (sin_test): Likewise.
64588 (sin_test_tonearest): Likewise.
64589 (sin_test_towardzero): Likewise.
64590 (sin_test_downward): Likewise.
64591 (sin_test_upward): Likewise.
64592 (sincos_test): Likewise.
64593 (sinh_test): Likewise.
64594 (sinh_test_tonearest): Likewise.
64595 (sinh_test_towardzero): Likewise.
64596 (sinh_test_downward): Likewise.
64597 (sinh_test_upward): Likewise.
64598 (sqrt_test): Likewise.
64599 (tan_test): Likewise.
64600 (tan_test_tonearest): Likewise.
64601 (tan_test_towardzero): Likewise.
64602 (tan_test_downward): Likewise.
64603 (tan_test_upward): Likewise.
64604 (tanh_test): Likewise.
64605 (tgamma_test): Likewise.
64606 (trunc_test): Likewise.
64607 (y0_test): Likewise.
64608 (y1_test): Likewise.
64609 (yn_test): Likewise.
64610 (significand_test): Likewise.
64611
64612 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
64613
64614 [BZ #15381]
64615 * libio/genops.c (_IO_no_init): Initialize wide struct info.
64616
64617 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
64618
64619 [BZ #14894]
64620 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
64621 __ppc_mdoio and __ppc_mdoom.
64622 * manual/platform.texi: Document new functions __ppc_yield,
64623 __ppc_mdoio and __ppc_mdoom.
64624
64625 2013-05-22 Carlos O'Donell <carlos@redhat.com>
64626
64627 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
64628 (main): Mention "tls" pseudo-hwcap is legacy.
64629 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
64630
64631 2013-05-22 Joseph Myers <joseph@codesourcery.com>
64632
64633 * math/gen-libm-test.pl (parse_args): Output only string of
64634 arguments as text for test name, not full call or descriptions of
64635 tests for extra outputs.
64636 (generate_testfile): Do not pass function name to parse_args.
64637 Generate this_func variable from START.
64638 * math/libm-test.inc (struct test_f_f_data): Rename test_name
64639 field to arg_str.
64640 (struct test_ff_f_data): Likewise.
64641 (test_ff_f_data_nexttoward): Likewise.
64642 (struct test_fi_f_data): Likewise.
64643 (struct test_fl_f_data): Likewise.
64644 (struct test_if_f_data): Likewise.
64645 (struct test_fff_f_data): Likewise.
64646 (struct test_c_f_data): Likewise.
64647 (struct test_f_f1_data): Likewise. Remove field extra_name.
64648 (struct test_fF_f1_data): Likewise.
64649 (struct test_ffI_f1_data): Likewise.
64650 (struct test_c_c_data): Rename test_name field to arg_str.
64651 (struct test_cc_c_data): Likewise.
64652 (struct test_f_i_data): Likewise.
64653 (struct test_ff_i_data): Likewise.
64654 (struct test_f_l_data): Likewise.
64655 (struct test_f_L_data): Likewise.
64656 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
64657 and extra2_name.
64658 (COMMON_TEST_SETUP): New macro.
64659 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
64660 (COMMON_TEST_CLEANUP): Likewise.
64661 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
64662 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
64663 macros.
64664 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
64665 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
64666 macros.
64667 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
64668 (RUN_TEST_fff_f): Take argument string. Call new setup and
64669 cleanup macros.
64670 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
64671 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
64672 macros.
64673 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
64674 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
64675 macros.
64676 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
64677 (RUN_TEST_fF_f1): Take argument string. Call new setup and
64678 cleanup macros.
64679 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
64680 (RUN_TEST_fI_f1): Take argument string. Call new setup and
64681 cleanup macros.
64682 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
64683 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
64684 cleanup macros.
64685 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
64686 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
64687 macros.
64688 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
64689 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
64690 macros.
64691 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
64692 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
64693 macros.
64694 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
64695 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
64696 cleanup macros.
64697 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
64698 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
64699 cleanup macros.
64700 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
64701 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
64702 macros.
64703 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
64704 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
64705 cleanup macros.
64706 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
64707 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
64708 macros.
64709 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
64710 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
64711 macros.
64712 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
64713 (RUN_TEST_fFF_11): Take argument string. Call new setup and
64714 cleanup macros.
64715 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
64716
64717 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
64718
64719 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
64720 to _sifields.sigfault.
64721 (si_addr_lsb): Define new macro.
64722 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
64723 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64724 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
64725
64726 2013-05-03 Carlos O'Donell <carlos at redhat.com>
64727
64728 [BZ #15441]
64729 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
64730 returns -1.
64731 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
64732 null return -1.
64733 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
64734 loading the domain.
64735
64736 2013-05-22 Joseph Myers <joseph@codesourcery.com>
64737
64738 * math/gen-libm-test.pl (parse_args): Do not include expected
64739 result in test name.
64740 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
64741 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64742 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64743 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
64744 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64746
64747 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
64748
64749 * benchtests/Makefile: Sort function entries.
64750
64751 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
64752 tanh, asinh, acosh, atanh.
64753 * benchtests/acos-inputs: New file.
64754 * benchtests/acosh-inputs: New file.
64755 * benchtests/asin-inputs: New file.
64756 * benchtests/asinh-inputs: New file.
64757 * benchtests/atanh-inputs: New file.
64758 * benchtests/cosh-inputs: New file.
64759 * benchtests/log-inputs: New file.
64760 * benchtests/sinh-inputs: New file.
64761 * benchtests/tanh-inputs: New file.
64762
64763 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
64764
64765 [BZ #15339]
64766 * posix/tst-getaddrinfo4.c: New test.
64767 * posix/Makefile (tests): Add it.
64768
64769 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
64770
64771 [BZ #15339]
64772 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
64773 when no services were used.
64774 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
64775 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
64776
64777 2013-05-21 Andreas Schwab <schwab@suse.de>
64778
64779 [BZ #15014]
64780 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
64781 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
64782 successful.
64783 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
64784 redundant variable declarations and reallocation of buffer when
64785 parsing as IPv6 address. Always set NSS status when called from
64786 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
64787 buffer too small. Correct computation of needed size.
64788 * nss/Makefile (tests): Add test-digits-dots.
64789 * nss/test-digits-dots.c: New test.
64790
64791 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
64792
64793 * benchtests/Makefile: Remove instructions for adding
64794 benchmark tests.
64795 * benchtests/README: New file to explain how to execute and
64796 enhance the benchmark tests.
64797
64798 2013-05-21 Andreas Schwab <schwab@suse.de>
64799
64800 [BZ #15493]
64801 * setjmp/Makefile (tests): Add tst-sigsetjmp.
64802 * setjmp/tst-sigsetjmp.c: New test.
64803
64804 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
64805
64806 * sysdeps/x86_64/memset.S (memset): New implementation.
64807 (__bzero): Likewise.
64808 (__memset_tail): New function.
64809
64810 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
64811
64812 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
64813 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
64814 __memcpy_sse2_unaligned ifunc selection.
64815 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
64816 Add memcpy-sse2-unaligned.S.
64817 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
64818 Add: __memcpy_sse2_unaligned.
64819
64820 2013-05-19 Joseph Myers <joseph@codesourcery.com>
64821
64822 [BZ #15490]
64823 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
64824 math_force_eval before restoring floating-point envrionment.
64825 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
64826 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
64827 Likewise.
64828 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
64829 <math_private.h>.
64830 (__nearbyintl): Use math_force_eval before restoring
64831 floating-point environment.
64832 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
64833
64834 * math/gen-libm-test.pl (special_functions): Remove.
64835 (parse_args): Don't handle TEST_extra. Handle functions with no
64836 return value.
64837 * math/libm-test.inc (struct test_sincos_data): Replace with
64838 struct test_fFF_11_data.
64839 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
64840 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
64841 (sincos_test_data): Change element type to struct
64842 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
64843 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
64844 RUN_TEST_LOOP_sincos.
64845 * math/README.libm-test: Don't mention special handling of
64846 individual functions.
64847 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
64848 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64849 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64850 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
64851 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64853
64854 * math/gen-libm-test.pl (get_variable): Remove function.
64855 (parse_args): Don't show pointer parameters to call in test
64856 names. Use "extra output N" in test names for extra outputs
64857 rather than naming variables.
64858
64859 2013-05-18 Joseph Myers <joseph@codesourcery.com>
64860
64861 [BZ #15488]
64862 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
64863 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
64864 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
64865 double tests.
64866 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
64867 disable.
64868 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
64869 check_long_double.
64870
64871 * math/gen-libm-test.pl (@tests): Remove variable.
64872 ($count): Likewise.
64873 (new_test): Remove function.
64874 (show_exceptions): New function.
64875 (special_functions): Use show_exceptions instead of new_test.
64876 (parse_args): Likewise.
64877 (generate_testfile): Pass only function name in generated call to
64878 print_max_error or print_complex_max_error.
64879 (get_ulps): Do not handle complex tests specially.
64880 (output_test): Rename to ...
64881 (get_all_ulps_for_test): ... this. Return a string rather than
64882 printing to a file. Require ulps to be present.
64883 (output_ulps): Generate arrays rather than #defines.
64884 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
64885 (struct ulp_data): New type.
64886 (BUILD_COMPLEX_ULP): Remove macro.
64887 (compare_ulp_data): New function.
64888 (find_ulps): Likewise.
64889 (find_test_ulps): Likewise.
64890 (find_function_ulps): Likewise.
64891 (find_complex_function_ulps): Likewise.
64892 (print_max_error): Determine allowed ulps using
64893 find_function_ulps.
64894 (print_complex_max_error): Determine allowed ulps using
64895 find_complex_function_ulps.
64896 (check_float_internal): Determine max ulps using find_test_ulps.
64897 (check_float): Do not take max_ulp parameter. Update call to
64898 check_float_internal.
64899 (check_complex): Likewise.
64900 (check_int): Do not take max_ulp parameter.
64901 (check_long): Likewise.
64902 (check_bool): Likewise.
64903 (check_longlong): Likewise.
64904 (struct test_f_f_data): Remove max_ulp field.
64905 (struct test_ff_f_data): Likewise.
64906 (struct test_ff_f_data_nexttoward): Likewise.
64907 (struct test_fi_f_data): Likewise.
64908 (struct test_fl_f_data): Likewise.
64909 (struct test_if_f_data): Likewise.
64910 (struct test_fff_f_data): Likewise.
64911 (struct test_c_f_data): Likewise.
64912 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
64913 (struct test_fF_f1_data): Likewise.
64914 (struct test_ffI_f1_data): Likewise.
64915 (struct test_c_c_data): Remove max_ulp field.
64916 (struct test_cc_c_data): Likewise.
64917 (struct test_f_i_data): Likewise.
64918 (struct test_ff_i_data): Likewise.
64919 (struct test_f_l_data): Likewise.
64920 (struct test_f_L_data): Likewise.
64921 (struct test_sincos_data): Likewise.
64922 (RUN_TEST_f_f): Do not handle ulps.
64923 (RUN_TEST_LOOP_f_f): Likewise.
64924 (RUN_TEST_2_f): Likewise.
64925 (RUN_TEST_LOOP_2_f): Likewise.
64926 (RUN_TEST_fff_f): Likewise.
64927 (RUN_TEST_LOOP_fff_f): Likewise.
64928 (RUN_TEST_c_f): Likewise.
64929 (RUN_TEST_LOOP_c_f): Likewise.
64930 (RUN_TEST_f_f1): Likewise.
64931 (RUN_TEST_LOOP_f_f1): Likewise.
64932 (RUN_TEST_fF_f1): Likewise.
64933 (RUN_TEST_LOOP_fF_f1): Likewise.
64934 (RUN_TEST_fI_f1): Likewise.
64935 (RUN_TEST_LOOP_fI_f1): Likewise.
64936 (RUN_TEST_ffI_f1): Likewise.
64937 (RUN_TEST_LOOP_ffI_f1): Likewise.
64938 (RUN_TEST_c_c): Likewise.
64939 (RUN_TEST_LOOP_c_c): Likewise.
64940 (RUN_TEST_cc_c): Likewise.
64941 (RUN_TEST_LOOP_cc_c): Likewise.
64942 (RUN_TEST_f_i): Likewise.
64943 (RUN_TEST_LOOP_f_i): Likewise.
64944 (RUN_TEST_f_i_tg): Likewise.
64945 (RUN_TEST_LOOP_f_i_tg): Likewise.
64946 (RUN_TEST_ff_i_tg): Likewise.
64947 (RUN_TEST_LOOP_ff_i_tg): Likewise.
64948 (RUN_TEST_f_b): Likewise.
64949 (RUN_TEST_LOOP_f_b): Likewise.
64950 (RUN_TEST_f_b_tg): Likewise.
64951 (RUN_TEST_LOOP_f_b_tg): Likewise.
64952 (RUN_TEST_f_l): Likewise.
64953 (RUN_TEST_LOOP_f_l): Likewise.
64954 (RUN_TEST_f_L): Likewise.
64955 (RUN_TEST_LOOP_f_L): Likewise.
64956 (RUN_TEST_sincos): Likewise.
64957 (RUN_TEST_LOOP_sincos): Likewise.
64958
64959 2013-05-17 Joseph Myers <joseph@codesourcery.com>
64960
64961 [BZ #15480]
64962 [BZ #15485]
64963 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
64964 main case of finite arguments, set rounding mode to FE_TONEAREST
64965 and discard exceptions.
64966 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
64967 exceptions.
64968 (remainder_tonearest_test_data): New variable.
64969 (remainder_test_tonearest): New function.
64970 (remainder_towardzero_test_data): New variable.
64971 (remainder_test_towardzero): New function.
64972 (remainder_downward_test_data): New variable.
64973 (remainder_test_downward): New function.
64974 (remainder_upward_test_data): New variable.
64975 (remainder_test_upward): New function.
64976 (main): Call the new test functions.
64977
64978 * math/libm-test.inc (struct test_f_f1_data): Remove field
64979 extra_init.
64980 (struct test_fF_f1_data): Likewise.
64981 (struct test_ffI_f1_data): Likewise.
64982 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
64983 based on value of EXTRA_EXPECTED.
64984 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
64985 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
64986 EXTRA_VAR based on value of EXTRA_EXPECTED.
64987 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
64988 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
64989 EXTRA_VAR based on value of EXTRA_EXPECTED.
64990 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
64991 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
64992 EXTRA_VAR based on value of EXTRA_EXPECTED.
64993 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
64994 * math/gen-libm-test.pl (parse_args): Don't output initializers
64995 for extra output values.
64996
64997 * math/libm-test.inc (check_int): Expect result to be exactly
64998 equal to expected value and do not handle ulps.
64999 (check_long): Likewise.
65000 (check_longlong): Likewise.
65001
65002 * math/libm-test.inc (ceil_test_data): Test for "inexact"
65003 exceptions.
65004 (cimag_test_data): Likewise.
65005 (conj_test_data): Likewise.
65006 (copysign_test_data): Likewise.
65007 (cproj_test_data): Likewise.
65008 (creal_test_data): Likewise.
65009 (fabs_test_data): Likewise.
65010 (fdim_test_data): Likewise.
65011 (finite_test_data): Likewise.
65012 (floor_test_data): Likewise.
65013 (fmax_test_data): Likewise.
65014 (fmin_test_data): Likewise.
65015 (fmod_test_data): Likewise.
65016 (fpclassify_test_data): Likewise.
65017 (frexp_test_data): Likewise.
65018 (ilogb_test_data): Likewise.
65019 (isfinite_test_data): Likewise.
65020 (isgreater_test_data): Likewise.
65021 (isgreaterequal_test_data): Likewise.
65022 (isinf_test_data): Likewise.
65023 (isless_test_data): Likewise.
65024 (islessequal_test_data): Likewise.
65025 (islessgreater_test_data): Likewise.
65026 (isnan_test_data): Likewise.
65027 (isnormal_test_data): Likewise.
65028 (issignaling_test_data): Likewise.
65029 (isunordered_test_data): Likewise.
65030 (ldexp_test_data): Likewise.
65031 (lrint_test_data): Likewise.
65032 (lrint_test_data) [TEST_FLOAT]: Disable one test.
65033 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
65034 (lrint_tonearest_test_data): Test for "inexact" exceptions.
65035 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
65036 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
65037 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
65038 test input.
65039 (lrint_towardzero_test_data): Test for "inexact" exceptions.
65040 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
65041 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
65042 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
65043 that test input.
65044 (lrint_downward_test_data): Test for "inexact" exceptions.
65045 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
65046 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
65047 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
65048 test input.
65049 (lrint_upward_test_data): Test for "inexact" exceptions.
65050 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
65051 test input.
65052 (llrint_test_data): Test for "inexact" exceptions.
65053 (llrint_test_data) [TEST_FLOAT]: Disable one test.
65054 (llrint_tonearest_test_data): Test for "inexact" exceptions.
65055 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
65056 (llrint_towardzero_test_data): Test for "inexact" exceptions.
65057 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
65058 (llrint_downward_test_data): Test for "inexact" exceptions.
65059 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
65060 (llrint_upward_test_data): Test for "inexact" exceptions.
65061 (logb_test_data): Likewise.
65062 (logb_downward_test_data): Likewise.
65063 (nextafter_test_data): Likewise.
65064 (nexttoward_test_data): Likewise.
65065 (remainder_test_data): Likewise.
65066 (remquo_test_data): Likewise.
65067 (scalbn_test_data): Likewise.
65068 (scalbln_test_data): Likewise.
65069 (signbit_test_data): Likewise.
65070 (sqrt_test_data): Likewise.
65071 (significand_test_data): Likewise.
65072
65073 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
65074
65075 [BZ #15424]
65076 * benchtests/bench-modf.c (struct args): Mark arg0 as
65077 volatile.
65078 * scripts/bench.pl: Mark members of struct args as volatile.
65079
65080 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65081
65082 [BZ # 15497]
65083 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
65084 negative infinity on POWER6 or lower.
65085 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
65086
65087 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
65088
65089 [BZ #15442]
65090 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
65091 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
65092 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
65093 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
65094 (_FP_SETQNAN): New macro.
65095 (_FP_SETQNAN_SEMIRAW): Likewise.
65096 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
65097 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
65098 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
65099 (FP_EXTEND): Use _FP_FRAC_SNANP.
65100 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
65101 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
65102 into account.
65103 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
65104 New macro.
65105 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
65106 Likewise.
65107
65108 2013-05-16 Joseph Myers <joseph@codesourcery.com>
65109
65110 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
65111 with DIVIDE_BY_ZERO_EXCEPTION.
65112 (gamma_test_data): Likewise.
65113 (lgamma_test_data): Likewise.
65114 (log_test_data): Likewise.
65115 (log10_test_data): Likewise.
65116 (log2_test_data): Likewise.
65117 (tgamma_test_data): Likewise.
65118
65119 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
65120 (acos_test_tonearest): Likewise.
65121 (acos_test_towardzero): Likewise.
65122 (acos_test_downward): Likewise.
65123 (acos_test_upward): Likewise.
65124 (acosh_test): Likewise.
65125 (asin_test): Likewise.
65126 (asin_test_tonearest): Likewise.
65127 (asin_test_towardzero): Likewise.
65128 (asin_test_downward): Likewise.
65129 (asin_test_upward): Likewise.
65130 (asinh_test): Likewise.
65131 (atan_test): Likewise.
65132 (atanh_test): Likewise.
65133 (atan2_test): Likewise.
65134 (cabs_test): Likewise.
65135 (cacos_test): Likewise.
65136 (cacosh_test): Likewise.
65137 (casin_test): Likewise.
65138 (casinh_test): Likewise.
65139 (catan_test): Likewise.
65140 (catanh_test): Likewise.
65141 (cbrt_test): Likewise.
65142 (ccos_test): Likewise.
65143 (ccosh_test): Likewise.
65144 (cexp_test): Likewise.
65145 (clog_test): Likewise.
65146 (clog10_test): Likewise.
65147 (cos_test): Likewise.
65148 (cos_test_tonearest): Likewise.
65149 (cos_test_towardzero): Likewise.
65150 (cos_test_downward): Likewise.
65151 (cos_test_upward): Likewise.
65152 (cosh_test): Likewise.
65153 (cosh_test_tonearest): Likewise.
65154 (cosh_test_towardzero): Likewise.
65155 (cosh_test_downward): Likewise.
65156 (cosh_test_upward): Likewise.
65157 (cpow_test): Likewise.
65158 (csin_test): Likewise.
65159 (csinh_test): Likewise.
65160 (csqrt_test): Likewise.
65161 (ctan_test): Likewise.
65162 (ctan_test_tonearest): Likewise.
65163 (ctan_test_towardzero): Likewise.
65164 (ctan_test_downward): Likewise.
65165 (ctan_test_upward): Likewise.
65166 (ctanh_test): Likewise.
65167 (ctanh_test_tonearest): Likewise.
65168 (ctanh_test_towardzero): Likewise.
65169 (ctanh_test_downward): Likewise.
65170 (ctanh_test_upward): Likewise.
65171 (erf_test): Likewise.
65172 (erfc_test): Likewise.
65173 (exp_test): Likewise.
65174 (exp_test_tonearest): Likewise.
65175 (exp_test_towardzero): Likewise.
65176 (exp_test_downward): Likewise.
65177 (exp_test_upward): Likewise.
65178 (exp10_test): Likewise.
65179 (exp2_test): Likewise.
65180 (expm1_test): Likewise.
65181 (fmod_test): Likewise.
65182 (gamma_test): Likewise.
65183 (hypot_test): Likewise.
65184 (j0_test): Likewise.
65185 (j1_test): Likewise.
65186 (jn_test): Likewise.
65187 (lgamma_test): Likewise.
65188 (log_test): Likewise.
65189 (log10_test): Likewise.
65190 (log1p_test): Likewise.
65191 (log2_test): Likewise.
65192 (logb_test_downward): Likewise.
65193 (pow_test): Likewise.
65194 (pow_test_tonearest): Likewise.
65195 (pow_test_towardzero): Likewise.
65196 (pow_test_downward): Likewise.
65197 (pow_test_upward): Likewise.
65198 (remainder_test): Likewise.
65199 (remquo_test): Likewise.
65200 (sin_test): Likewise.
65201 (sin_test_tonearest): Likewise.
65202 (sin_test_towardzero): Likewise.
65203 (sin_test_downward): Likewise.
65204 (sin_test_upward): Likewise.
65205 (sincos_test): Likewise.
65206 (sinh_test): Likewise.
65207 (sinh_test_tonearest): Likewise.
65208 (sinh_test_towardzero): Likewise.
65209 (sinh_test_downward): Likewise.
65210 (sinh_test_upward): Likewise.
65211 (sqrt_test): Likewise.
65212 (tan_test): Likewise.
65213 (tan_test_tonearest): Likewise.
65214 (tan_test_towardzero): Likewise.
65215 (tan_test_downward): Likewise.
65216 (tan_test_upward): Likewise.
65217 (tanh_test): Likewise.
65218 (tgamma_test): Likewise.
65219 (y0_test): Likewise.
65220 (y1_test): Likewise.
65221 (yn_test): Likewise.
65222
65223 * math/gen-libm-test.pl (adjust_arg): Remove function.
65224 (special_function): Remove argument $in_func. Only handle
65225 generating output for tables of tests, not inside functions.
65226 (parse_args): Likewise.
65227 (generate_testfile): Remove variable $in_func. Update call to
65228 parse_args.
65229 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
65230 (MINUS_ZERO_INIT): Rename macro to minus_zero.
65231 (PLUS_INFTY_INIT): Rename macro to plus_infty.
65232 (MINUS_INFTY_INIT): Rename macro to minus_infty.
65233 (QNAN_VALUE_INIT): Rename macro to qnan_value.
65234 (MAX_VALUE_INIT): Rename macro to max_value.
65235 (MIN_VALUE_INIT): Rename macro to min_value.
65236 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
65237 (plus_zero): Remove variable.
65238 (minus_zero): Likewise.
65239 (plus_infty): Likewise.
65240 (minus_infty): Likewise.
65241 (qnan_value): Likewise.
65242 (max_value): Likewise.
65243 (min_value): Likewise.
65244 (min_subnorm_value): Likewise.
65245
65246 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
65247
65248 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
65249 uint64_t or uint32_t usage.
65250 * crypt/sha256-block.c: Likewise.
65251 * crypt/sha256-crypt.c: Likewise.
65252 * crypt/sha256.c: Likewise.
65253 * crypt/sha512-block.c: Likewise.
65254 * crypt/sha512-crypt.c: Likewise.
65255 * crypt/sha512.c: Likewise.
65256 * debug/backtrace-tst.c: Likewise.
65257 * debug/pcprofiledump.c: Likewise.
65258 * elf/cache.c: Likewise.
65259 * elf/dl-cache.c: Likewise.
65260 * elf/dl-misc.c: Likewise.
65261 * elf/dl-profile.c: Likewise.
65262 * elf/dl-support.c: Likewise.
65263 * elf/ldconfig.c: Likewise.
65264 * elf/sprof.c: Likewise.
65265 * iconv/dummy-repertoire.c: Likewise.
65266 * iconv/iconv_charmap.c: Likewise.
65267 * iconv/skeleton.c: Likewise.
65268 * iconvdata/8bit-generic.c: Likewise.
65269 * iconvdata/cp737.h: Likewise.
65270 * iconvdata/cp775.h: Likewise.
65271 * iconvdata/ibm1008.h: Likewise.
65272 * iconvdata/ibm1025.h: Likewise.
65273 * iconvdata/ibm1046.h: Likewise.
65274 * iconvdata/ibm1097.h: Likewise.
65275 * iconvdata/ibm1112.h: Likewise.
65276 * iconvdata/ibm1122.h: Likewise.
65277 * iconvdata/ibm1123.h: Likewise.
65278 * iconvdata/ibm1124.h: Likewise.
65279 * iconvdata/ibm1129.h: Likewise.
65280 * iconvdata/ibm1130.h: Likewise.
65281 * iconvdata/ibm1132.h: Likewise.
65282 * iconvdata/ibm1133.h: Likewise.
65283 * iconvdata/ibm1137.h: Likewise.
65284 * iconvdata/ibm1140.h: Likewise.
65285 * iconvdata/ibm1141.h: Likewise.
65286 * iconvdata/ibm1142.h: Likewise.
65287 * iconvdata/ibm1143.h: Likewise.
65288 * iconvdata/ibm1144.h: Likewise.
65289 * iconvdata/ibm1145.h: Likewise.
65290 * iconvdata/ibm1146.h: Likewise.
65291 * iconvdata/ibm1147.h: Likewise.
65292 * iconvdata/ibm1148.h: Likewise.
65293 * iconvdata/ibm1149.h: Likewise.
65294 * iconvdata/ibm1153.h: Likewise.
65295 * iconvdata/ibm1154.h: Likewise.
65296 * iconvdata/ibm1155.h: Likewise.
65297 * iconvdata/ibm1156.h: Likewise.
65298 * iconvdata/ibm1157.h: Likewise.
65299 * iconvdata/ibm1158.h: Likewise.
65300 * iconvdata/ibm1160.h: Likewise.
65301 * iconvdata/ibm1161.h: Likewise.
65302 * iconvdata/ibm1162.h: Likewise.
65303 * iconvdata/ibm1163.h: Likewise.
65304 * iconvdata/ibm1164.h: Likewise.
65305 * iconvdata/ibm1166.h: Likewise.
65306 * iconvdata/ibm1167.h: Likewise.
65307 * iconvdata/ibm12712.h: Likewise.
65308 * iconvdata/ibm1390.h: Likewise.
65309 * iconvdata/ibm1399.h: Likewise.
65310 * iconvdata/ibm16804.h: Likewise.
65311 * iconvdata/ibm4517.h: Likewise.
65312 * iconvdata/ibm4899.h: Likewise.
65313 * iconvdata/ibm4909.h: Likewise.
65314 * iconvdata/ibm4971.h: Likewise.
65315 * iconvdata/ibm5347.h: Likewise.
65316 * iconvdata/ibm803.h: Likewise.
65317 * iconvdata/ibm856.h: Likewise.
65318 * iconvdata/ibm901.h: Likewise.
65319 * iconvdata/ibm902.h: Likewise.
65320 * iconvdata/ibm9030.h: Likewise.
65321 * iconvdata/ibm9066.h: Likewise.
65322 * iconvdata/ibm921.h: Likewise.
65323 * iconvdata/ibm922.h: Likewise.
65324 * iconvdata/ibm9448.h: Likewise.
65325 * iconvdata/isiri-3342.h: Likewise.
65326 * iconvdata/jis0201.h: Likewise.
65327 * include/link.h: Likewise.
65328 * include/netdb.h: Likewise.
65329 * inet/check_native.c: Likewise.
65330 * inet/check_pf.c: Likewise.
65331 * inet/getipv4sourcefilter.c: Likewise.
65332 * inet/getnameinfo.c: Likewise.
65333 * inet/getsourcefilter.c: Likewise.
65334 * inet/htonl.c: Likewise.
65335 * inet/setipv4sourcefilter.c: Likewise.
65336 * inet/setsourcefilter.c: Likewise.
65337 * inet/test-inet6_opt.c: Likewise.
65338 * inet/tst-network.c: Likewise.
65339 * locale/C-collate.c: Likewise.
65340 * locale/C-ctype.c: Likewise.
65341 * locale/C-time.c: Likewise.
65342 * locale/C-translit.h: Likewise.
65343 * locale/loadarchive.c: Likewise.
65344 * locale/programs/3level.h: Likewise.
65345 * locale/programs/charmap.c: Likewise.
65346 * locale/programs/charmap.h: Likewise.
65347 * locale/programs/ld-address.c: Likewise.
65348 * locale/programs/ld-collate.c: Likewise.
65349 * locale/programs/ld-ctype.c: Likewise.
65350 * locale/programs/ld-identification.c: Likewise.
65351 * locale/programs/ld-measurement.c: Likewise.
65352 * locale/programs/ld-messages.c: Likewise.
65353 * locale/programs/ld-monetary.c: Likewise.
65354 * locale/programs/ld-name.c: Likewise.
65355 * locale/programs/ld-numeric.c: Likewise.
65356 * locale/programs/ld-paper.c: Likewise.
65357 * locale/programs/ld-telephone.c: Likewise.
65358 * locale/programs/ld-time.c: Likewise.
65359 * locale/programs/linereader.c: Likewise.
65360 * locale/programs/locale.c: Likewise.
65361 * locale/programs/locarchive.c: Likewise.
65362 * locale/programs/locfile.h: Likewise.
65363 * locale/programs/repertoire.c: Likewise.
65364 * locale/programs/simple-hash.c: Likewise.
65365 * locale/programs/simple-hash.h: Likewise.
65366 * malloc/memusage.c: Likewise.
65367 * malloc/memusagestat.c: Likewise.
65368 * nis/nis_defaults.c: Likewise.
65369 * nis/nis_hash.c: Likewise.
65370 * nis/nis_print.c: Likewise.
65371 * nis/nis_xdr.c: Likewise.
65372 * nscd/connections.c: Likewise.
65373 * nscd/hstcache.c: Likewise.
65374 * nscd/nscd_gethst_r.c: Likewise.
65375 * nscd/nscd_getserv_r.c: Likewise.
65376 * nscd/nscd_helper.c: Likewise.
65377 * nscd/servicescache.c: Likewise.
65378 * nss/makedb.c: Likewise.
65379 * nss/nss_db/db-XXX.c: Likewise.
65380 * nss/nss_db/db-initgroups.c: Likewise.
65381 * nss/nss_db/db-netgrp.c: Likewise.
65382 * nss/nss_files/files-network.c: Likewise.
65383 * nss/nss_files/files-parse.c: Likewise.
65384 * posix/bug-regex5.c: Likewise.
65385 * posix/fnmatch_loop.c: Likewise.
65386 * posix/regcomp.c: Likewise.
65387 * posix/regexec.c: Likewise.
65388 * posix/tst-rfc3484-2.c: Likewise.
65389 * posix/tst-rfc3484-3.c: Likewise.
65390 * posix/tst-rfc3484.c: Likewise.
65391 * resolv/nss_dns/dns-canon.c: Likewise.
65392 * resolv/nss_dns/dns-network.c: Likewise.
65393 * resolv/res_init.c: Likewise.
65394 * resolv/res_mkquery.c: Likewise.
65395 * resolv/tst-aton.c: Likewise.
65396 * stdlib/cxa_atexit.c: Likewise.
65397 * stdlib/cxa_finalize.c: Likewise.
65398 * stdlib/gen-fpioconst.c: Likewise.
65399 * stdlib/strtol_l.c: Likewise.
65400 * string/tst-endian.c: Likewise.
65401 * sunrpc/auth_des.c: Likewise.
65402 * sunrpc/clnt_udp.c: Likewise.
65403 * sunrpc/rtime.c: Likewise.
65404 * sunrpc/svcauth_des.c: Likewise.
65405 * sunrpc/xdr.c: Likewise.
65406 * sunrpc/xdr_intXX_t.c: Likewise.
65407 * sunrpc/xdr_rec.c: Likewise.
65408 * sysdeps/generic/ldconfig.h: Likewise.
65409 * sysdeps/generic/ldsodefs.h: Likewise.
65410 * sysdeps/generic/memusage.h: Likewise.
65411 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
65412 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
65413 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
65414 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
65415 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65416 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65417 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
65418 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
65419 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65420 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65421 * sysdeps/posix/getaddrinfo.c: Likewise.
65422 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65423 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65424 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
65425 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65426 * sysdeps/powerpc/test-gettimebase.c: Likewise.
65427 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
65428 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
65429 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
65430 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
65431 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
65432 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
65433 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
65434 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
65435 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
65436 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
65437 * sysdeps/x86_64/dl-tls.h: Likewise.
65438 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
65439 * time/alt_digit.c: Likewise.
65440 * time/era.c: Likewise.
65441 * wcsmbs/tst-c16c32-1.c: Likewise.
65442
65443 2013-05-16 Joseph Myers <joseph@codesourcery.com>
65444
65445 * math/libm-test.inc (struct test_sincos_data): New type.
65446 (RUN_TEST_LOOP_sincos): New macro.
65447 (sincos_test_data): New variable.
65448 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
65449
65450 2013-05-16 Richard Henderson <rth@redhat.com>
65451
65452 * math/atest-exp2.c (LIMB64): New macro.
65453 (CONSTSZ): New macro.
65454 (mp_exp1, mp_exp_m1, mp_log2): New variables.
65455 (hexdig): Move ...
65456 (print_mpn_fp): ... to function scope.
65457 (read_mpn_hex): Remove.
65458 (get_log2): Remove.
65459 (exp2_mpn): Use mp_log2.
65460 (main): Use mp_exp1.
65461
65462 2013-05-16 Joseph Myers <joseph@codesourcery.com>
65463
65464 * math/libm-test.inc: Remove comment about not testing "inexact"
65465 exceptions.
65466 (INEXACT_EXCEPTION): New macro.
65467 (NO_INEXACT_EXCEPTION): Likewise.
65468 (INVALID_EXCEPTION_OK): Update value.
65469 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65470 (OVERFLOW_EXCEPTION_OK): Likewise.
65471 (UNDERFLOW_EXCEPTION_OK): Likewise.
65472 (IGNORE_ZERO_INF_SIGN): Likewise.
65473 (ERRNO_UNCHANGED): Likewise.
65474 (ERRNO_EDOM): Likewise.
65475 (ERRNO_ERANGE): Likewise.
65476 (test_exceptions): Handle testing "inexact" exceptions.
65477 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
65478 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
65479 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
65480 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
65481 INEXACT_EXCEPTION.
65482 (rint_towardzero_test_data): Likewise.
65483 (rint_downward_test_data): Likewise.
65484 (rint_upward_test_data): Likewise.
65485
65486 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
65487 with OVERFLOW_EXCEPTION.
65488 (exp10_test_data): Likewise.
65489 (exp2_test_data): Likewise.
65490 (expm1_test_data): Likewise.
65491 (lgamma_test_data): Likewise.
65492 (pow_test_data): Likewise.
65493 (tgamma_test_data): Likewise.
65494 (yn_test_data): Remove duplicate test of overflow.
65495
65496 * math/libm-test.inc (struct test_cc_c_data): New type.
65497 (RUN_TEST_LOOP_cc_c): New macro.
65498 (cpow_test_data): New variable.
65499 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
65500
65501 * math/libm-test.inc (struct test_f_L_data): New type.
65502 (RUN_TEST_LOOP_f_L): New macro.
65503 (llrint_test_data): New variable.
65504 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
65505 (llrint_tonearest_test_data): New variable.
65506 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
65507 (llrint_towardzero_test_data): New variable.
65508 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
65509 (llrint_downward_test_data): New variable.
65510 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
65511 (llrint_upward_test_data): New variable.
65512 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
65513 (llround_test_data): New variable.
65514 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
65515
65516 2013-05-13 Peter Collingbourne <pcc@google.com>
65517
65518 * math/atest-exp2.c (get_log2): Remove const attribute.
65519
65520 2013-05-15 Joseph Myers <joseph@codesourcery.com>
65521
65522 * math/libm-test.inc (struct test_f_l_data): New type.
65523 (RUN_TEST_LOOP_f_l): New macro.
65524 (lrint_test_data): New variable.
65525 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
65526 (lrint_tonearest_test_data): New variable.
65527 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
65528 (lrint_towardzero_test_data): New variable.
65529 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
65530 (lrint_downward_test_data): New variable.
65531 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
65532 (lrint_upward_test_data): New variable.
65533 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
65534 (lround_test_data): New variable.
65535 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
65536
65537 2013-05-15 Peter Collingbourne <pcc@google.com>
65538
65539 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
65540 (EXTRACT_WORDS64) Use where appropriate.
65541 (INSERT_WORDS64) Likewise.
65542
65543 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
65544 constraints with x constraints.
65545 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
65546
65547 * malloc/obstack.c (_obstack_compat): Add initializer.
65548
65549 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
65550
65551 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
65552 si_trapno and add si_addr_lsb to _sifields.sigfault.
65553 (si_trapno): Remove macro.
65554 (si_addr_lsb): Define new macro.
65555 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
65556
65557 2013-05-15 Joseph Myers <joseph@codesourcery.com>
65558
65559 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
65560 instead of TEST_f_l.
65561 (llrint_test_tonearest): Likewise.
65562 (llrint_test_towardzero): Likewise.
65563 (llrint_test_downward): Likewise.
65564 (llrint_test_upward): Likewise.
65565 (llround_test): Likewise.
65566
65567 * math/libm-test.inc (struct test_f_i_data): Add comment.
65568 (RUN_TEST_LOOP_f_b): New macro.
65569 (RUN_TEST_LOOP_f_b_tg): Likewise.
65570 (finite_test_data): New variable.
65571 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
65572 (isfinite_test_data): New variable.
65573 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65574 (isinf_test_data): New variable.
65575 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65576 (isnan_test_data): New variable.
65577 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65578 (isnormal_test_data): New variable.
65579 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65580 (issignaling_test_data): New variable.
65581 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65582 (signbit_test_data): New variable.
65583 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65584
65585 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
65586 with INVALID_EXCEPTION.
65587 (acosh_test_data): Likewise.
65588 (asin_test_data): Likewise.
65589 (atanh_test_data): Likewise.
65590 (fmod_test_data): Likewise.
65591 (log_test_data): Likewise.
65592 (log10_test_data): Likewise.
65593 (log2_test_data): Likewise.
65594 (pow_test_data): Likewise.
65595 (sqrt_test_data): Likewise.
65596 (y0_test_data): Likewise.
65597 (y1_test_data): Likewise.
65598 (yn_test_data): Likewise.
65599
65600 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
65601 function contents.
65602
65603 * math/libm-test.inc (struct test_ff_i_data): New type.
65604 (RUN_TEST_LOOP_ff_i_tg): New macro.
65605 (isgreater_test_data): New variable.
65606 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65607 (isgreaterequal_test_data): New variable.
65608 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65609 (isless_test_data): New variable.
65610 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65611 (islessequal_test_data): New variable.
65612 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65613 (islessgreater_test_data): New variable.
65614 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65615 (isunordered_test_data): New variable.
65616 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65617
65618 2013-05-14 David S. Miller <davem@davemloft.net>
65619
65620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
65621
65622 2013-05-14 Joseph Myers <joseph@codesourcery.com>
65623
65624 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
65625
65626 * math/libm-test.inc (struct test_fF_f1_data): Change type of
65627 extra_test to int.
65628 (struct test_f_i_data): Change type of max_ulp to int.
65629
65630 * math/libm-test.inc (test_ffI_f1_data): New type.
65631 (RUN_TEST_LOOP_ffI_f1): New macro.
65632 (remquo_test_data): New variable.
65633 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
65634
65635 * setjmp/tst-setjmp-fp.c: New file.
65636 * setjmp/Makefile (tests): Add tst-setjmp-fp.
65637 (link-libm): New variable.
65638 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
65639
65640 * math/libm-test.inc (struct test_f_i_data): New type.
65641 (RUN_TEST_LOOP_f_i): New macro.
65642 (RUN_TEST_LOOP_f_i_tg): Likewise.
65643 (fpclassify_test_data): New variable.
65644 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
65645 (ilogb_test_data): New variable.
65646 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
65647
65648 * math/libm-test.inc (scalbln_test): Correct function name in END
65649 call.
65650
65651 * math/libm-test.inc (struct test_f_f1_data): Add comment.
65652 (RUN_TEST_LOOP_fI_f1): New macro.
65653 (frexp_test_data): New variable.
65654 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
65655
65656 * math/libm-test.inc (struct test_fF_f1_data): New type.
65657 (RUN_TEST_LOOP_fF_f1): New macro.
65658 (modf_test_data): New variable.
65659 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
65660
65661 * math/libm-test.inc (struct test_f_f1_data): New type.
65662 (RUN_TEST_LOOP_f_f1): New macro.
65663 (gamma_test_data): New variable.
65664 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
65665 (lgamma_test_data): New variable.
65666 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
65667
65668 2013-05-13 Carlos O'Donell <carlos@redhat.com>
65669
65670 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
65671 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
65672 (main): Comment "tls" pseudo-hwcap.
65673
65674 2013-05-13 Joseph Myers <joseph@codesourcery.com>
65675
65676 * math/libm-test.inc (struct test_fl_f_data): New type.
65677 (RUN_TEST_LOOP_fl_f): New variable.
65678 (scalbln_test_data): New variable.
65679 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
65680
65681 * math/libm-test.inc (struct test_fi_f_data): New type.
65682 (RUN_TEST_LOOP_fi_f): New macro.
65683 (ldexp_test_data): New variable.
65684 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
65685 (scalbn_test_data): New variable.
65686 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
65687
65688 * math/libm-test.inc (struct test_c_f_data): New type.
65689 (RUN_TEST_LOOP_c_f): New macro.
65690 (cabs_test_data): New variable.
65691 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
65692 (carg_test_data): New variable.
65693 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
65694 (cimag_test_data): New variable.
65695 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
65696 (creal_test_data): New variable.
65697 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
65698
65699 * math/libm-test.inc (struct test_if_f_data): New type.
65700 (RUN_TEST_LOOP_if_f): New macro.
65701 (jn_test_data): New variable.
65702 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
65703 (yn_test_data): New variable.
65704 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
65705
65706 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
65707
65708 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65709
65710 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
65711 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
65712
65713 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
65714
65715 * benchtests/Makefile (CPPFLAGS-nonlib): Add
65716 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
65717 (bench-deps): Add bench-timing.h.
65718 * benchtests-bench-skeleton.c: Include bench-timing.h.
65719 (main): Use TIMING_* macros instead of clock_gettime.
65720 * benchtests/bench-timing.h: New file.
65721
65722 [BZ #14582]
65723 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
65724 Renamed from _LIB_VERSION.
65725 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
65726
65727 2013-05-12 Joseph Myers <joseph@codesourcery.com>
65728
65729 * math/libm-test.inc (struct test_fff_f_data): New type.
65730 (RUN_TEST_LOOP_fff_f): New macro.
65731 (fma_test_data): New variable.
65732 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
65733 (fma_towardzero_test_data): New variable.
65734 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
65735 (fma_downward_test_data): New variable.
65736 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
65737 (fma_upward_test_data): New variable.
65738 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
65739
65740 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
65741 (struct test_c_c_data): New type.
65742 (RUN_TEST_LOOP_c_c): New macro.
65743 (cacos_test_data): New variable.
65744 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
65745 (cacosh_test_data): New variable.
65746 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
65747 (casin_test_data): New variable.
65748 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
65749 (casinh_test_data): New variable.
65750 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
65751 (catan_test_data): New variable.
65752 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
65753 (catanh_test_data): New variable.
65754 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
65755 (ccos_test_data): New variable.
65756 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
65757 (ccosh_test_data): New variable.
65758 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
65759 (cexp_test_data): New variable.
65760 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
65761 (clog_test_data): New variable.
65762 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
65763 (clog10_test_data): New variable.
65764 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
65765 (conj_test_data): New variable.
65766 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
65767 (cproj_test_data): New variable.
65768 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
65769 (csin_test_data): New variable.
65770 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
65771 (csinh_test_data): New variable.
65772 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
65773 (csqrt_test_data): New variable.
65774 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
65775 (ctan_test_data): New variable.
65776 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
65777 (ctan_tonearest_test_data): New variable.
65778 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
65779 (ctan_towardzero_test_data): New variable.
65780 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
65781 (ctan_downward_test_data): New variable.
65782 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
65783 (ctan_upward_test_data): New variable.
65784 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
65785 (ctanh_test_data): New variable.
65786 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
65787 (ctanh_tonearest_test_data): New variable.
65788 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
65789 (ctanh_towardzero_test_data): New variable.
65790 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
65791 (ctanh_downward_test_data): New variable.
65792 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
65793 (ctanh_upward_test_data): New variable.
65794 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
65795 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
65796 of BUILD_COMPLEX.
65797
65798 * math/libm-test.inc (struct test_ff_f_data): New type.
65799 (struct test_ff_f_data_nexttoward): Likewise.
65800 (RUN_TEST_LOOP_2_f): New macro.
65801 (RUN_TEST_LOOP_ff_f): Likewise.
65802 (atan2_test_data): New variable.
65803 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
65804 (copysign_test_data): New variable.
65805 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
65806 (fdim_test_data): New variable.
65807 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
65808 (fmax_test_data): New variable.
65809 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
65810 (fmin_test_data): New variable.
65811 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
65812 (fmod_test_data): New variable.
65813 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
65814 (hypot_test_data): New variable.
65815 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
65816 (nextafter_test_data): New variable.
65817 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
65818 (nexttoward_test_data): New variable.
65819 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
65820 (pow_test_data): New variable.
65821 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
65822 (pow_tonearest_test_data): New variable.
65823 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
65824 (pow_towardzero_test_data): New variable.
65825 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
65826 (pow_downward_test_data): New variable.
65827 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
65828 (pow_upward_test_data): New variable.
65829 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
65830 (remainder_test_data): New variable.
65831 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
65832 (scalb_test_data): New variable.
65833 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
65834 * sysdeps/i386/fpu/libm-test-ulps: Update.
65835
65836 2013-05-11 Joseph Myers <joseph@codesourcery.com>
65837
65838 * math/libm-test.inc (fma_test): Use max_value instead of local
65839 variable fltmax.
65840 (nextafter_test): Likewise.
65841
65842 * math/libm-test.inc (acos_towardzero_test_data): New variable.
65843 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65844 (acos_downward_test_data): New variable.
65845 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65846 (acos_upward_test_data): New variable.
65847 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65848 (acosh_test_data): New variable.
65849 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
65850 (asin_test_data): New variable.
65851 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
65852 (asin_tonearest_test_data): New variable.
65853 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65854 (asin_towardzero_test_data): New variable.
65855 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65856 (asin_downward_test_data): New variable.
65857 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65858 (asin_upward_test_data): New variable.
65859 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65860 (asinh_test_data): New variable.
65861 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
65862 (atan_test_data): New variable.
65863 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
65864 (atanh_test_data): New variable.
65865 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
65866 (cbrt_test_data): New variable.
65867 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
65868 (ceil_test_data): New variable.
65869 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
65870 (cos_test_data): New variable.
65871 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
65872 (cos_tonearest_test_data): New variable.
65873 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65874 (cos_towardzero_test_data): New variable.
65875 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65876 (cos_downward_test_data): New variable.
65877 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65878 (cos_upward_test_data): New variable.
65879 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65880 (cosh_test_data): New variable.
65881 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
65882 (cosh_tonearest_test_data): New variable.
65883 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65884 (cosh_towardzero_test_data): New variable.
65885 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65886 (cosh_downward_test_data): New variable.
65887 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65888 (cosh_upward_test_data): New variable.
65889 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65890 (erf_test_data): New variable.
65891 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
65892 (erfc_test_data): New variable.
65893 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
65894 (exp_test_data): New variable.
65895 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
65896 (exp_tonearest_test_data): New variable.
65897 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65898 (exp_towardzero_test_data): New variable.
65899 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65900 (exp_downward_test_data): New variable.
65901 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65902 (exp_upward_test_data): New variable.
65903 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65904 (exp10_test_data): New variable.
65905 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
65906 (exp2_test_data): New variable.
65907 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
65908 (expm1_test_data): New variable.
65909 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
65910 (fabs_test_data): New variable.
65911 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
65912 (floor_test_data): New variable.
65913 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
65914 (j0_test_data): New variable.
65915 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
65916 (j1_test_data): New variable.
65917 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
65918 (log_test_data): New variable.
65919 (log_test): Run tests with RUN_TEST_LOOP_f_f.
65920 (log10_test_data): New variable.
65921 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
65922 (log1p_test_data): New variable.
65923 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
65924 (log2_test_data): New variable.
65925 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
65926 (logb_test_data): New variable.
65927 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
65928 (logb_downward_test_data): New variable.
65929 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65930 (nearbyint_test_data): New variable.
65931 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
65932 (rint_test_data): New variable.
65933 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
65934 (rint_tonearest_test_data): New variable.
65935 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65936 (rint_towardzero_test_data): New variable.
65937 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65938 (rint_downward_test_data): New variable.
65939 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65940 (rint_upward_test_data): New variable.
65941 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65942 (round_test_data): New variable.
65943 (round_test): Run tests with RUN_TEST_LOOP_f_f.
65944 (sin_test_data): New variable.
65945 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
65946 (sin_tonearest_test_data): New variable.
65947 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65948 (sin_towardzero_test_data): New variable.
65949 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65950 (sin_downward_test_data): New variable.
65951 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65952 (sin_upward_test_data): New variable.
65953 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65954 (sinh_test_data): New variable.
65955 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
65956 (sinh_tonearest_test_data): New variable.
65957 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65958 (sinh_towardzero_test_data): New variable.
65959 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65960 (sinh_downward_test_data): New variable.
65961 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65962 (sinh_upward_test_data): New variable.
65963 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65964 (sqrt_test_data): New variable.
65965 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
65966 (tan_test_data): New variable.
65967 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
65968 (tan_tonearest_test_data): New variable.
65969 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65970 (tan_towardzero_test_data): New variable.
65971 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65972 (tan_downward_test_data): New variable.
65973 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65974 (tan_upward_test_data): New variable.
65975 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65976 (tanh_test_data): New variable.
65977 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
65978 (tgamma_test_data): New variable.
65979 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
65980 (trunc_test_data): New variable.
65981 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
65982 (y0_test_data): New variable.
65983 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
65984 (y1_test_data): New variable.
65985 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
65986 (significand_test_data): New variable.
65987 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
65988
65989 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
65990
65991 [BZ #12387]
65992 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
65993
65994 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
65995
65996 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
65997
65998 2013-05-10 Andreas Jaeger <aj@suse.de>
65999
66000 [BZ #15448]
66001 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
66002 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
66003
66004 2013-05-10 Joseph Myers <joseph@codesourcery.com>
66005
66006 * math/gen-libm-test.pl (adjust_arg): New function.
66007 (special_functions): Handle generating output in both functions
66008 and arrays.
66009 (parse_args): Likewise.
66010 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
66011 $in_func argument to parse_args.
66012 * math/libm-test.inc (struct test_f_f_data): New type.
66013 (IF_ROUND_INIT_): New macro.
66014 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
66015 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
66016 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
66017 (IF_ROUND_INIT_FE_UPWARD): Likewise.
66018 (ROUND_RESTORE_): Likewise.
66019 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
66020 (ROUND_RESTORE_FE_TONEAREST): Likewise.
66021 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
66022 (ROUND_RESTORE_FE_UPWARD): Likewise.
66023 (RUN_TEST_LOOP_f_f): New macro.
66024 (acos_test_data): New variable.
66025 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
66026 (acos_tonearest_test_data): New variable.
66027 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66028
66029 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
66030
66031 * benchtests/bench-skeleton.c (startup): Fix coding style.
66032
66033 2013-05-10 Joseph Myers <joseph@codesourcery.com>
66034
66035 [BZ #6809]
66036 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
66037 negative infinity argument.
66038 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
66039 negative infinity argument.
66040 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
66041 negative infinity argument.
66042 * math/libm-test.inc (tgamma_test): Expect errno to be set for
66043 domain errors.
66044
66045 2013-05-10 Florian Weimer <fweimer@redhat.com>
66046
66047 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
66048 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
66049 * iconv/iconv_prog.c (main): Likewise.
66050 * locale/programs/charmap-dir.c (charmap_readdir)
66051 (fopen_uncompressed): Likewise.
66052 * locale/programs/locfile.c (siblings_uncached)
66053 (write_locale_data): Use lstat64 instead of lstat.
66054 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
66055 stat.
66056
66057 2013-05-10 Andreas Jaeger <aj@suse.de>
66058
66059 [BZ #15395]
66060 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
66061 localization.
66062 Include <locale.h>.
66063
66064 2013-05-09 Carlos O'Donell <carlos@redhat.com>
66065
66066 * elf/dl-close.c (_dl_close_worker): Add comments.
66067
66068 2013-05-09 Joseph Myers <joseph@codesourcery.com>
66069
66070 [BZ #15359]
66071 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
66072 high part of pi/2.
66073 (__ieee754_rem_pio2l): Update comments.
66074
66075 [BZ #15429]
66076 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
66077 high part of pi/2.
66078 (__ieee754_rem_pio2l): Update comments.
66079
66080 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
66081 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
66082
66083 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
66084 M_PI_4l.
66085
66086 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
66087 (M_PI_34_LOG10El): Likewise.
66088 (M_PI2_LOG10El): Likewise.
66089 (M_PI4_LOG10El): Likewise.
66090 (M_PI_LOG10El): Likewise.
66091
66092 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66093
66094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66095
66096 2013-05-08 Joseph Myers <joseph@codesourcery.com>
66097
66098 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
66099 (MINUS_ZERO_INIT): Likewise.
66100 (PLUS_INFTY_INIT): Likewise.
66101 (MINUS_INFTY_INIT): Likewise.
66102 (QNAN_VALUE_INIT): Likewise.
66103 (MAX_VALUE_INIT): Likewise.
66104 (MIN_VALUE_INIT): Likewise.
66105 (MIN_SUBNORM_VALUE_INIT): Likewise.
66106 (plus_zero): Initialize with PLUS_ZERO_INIT.
66107 (minus_zero): Initialize with MINUS_ZERO_INIT.
66108 (plus_infty): Initialize with PLUS_INFTY_INIT.
66109 (minus_infty): Initialize with MINUS_INFTY_INIT.
66110 (qnan_value): Initialize with QNAN_VALUE_INIT.
66111 (max_value): Initialize with MAX_VALUE_INIT.
66112 (min_value): Initialize with MIN_VALUE_INIT.
66113 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
66114
66115 * math/libm-test.inc (RUN_TEST_if_f): New macro.
66116 (jn_test): Use TEST_if_f instead of TEST_ff_f.
66117 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
66118 (yn_test): Use TEST_if_f instead of TEST_ff_f.
66119
66120 * math/libm-test.inc (RUN_TEST_f_f): New macro.
66121 (RUN_TEST_2_f): Likewise.
66122 (RUN_TEST_ff_f): Likewise.
66123 (RUN_TEST_fi_f): Likewise.
66124 (RUN_TEST_fl_f): Likewise.
66125 (RUN_TEST_fff_f): Likewise.
66126 (RUN_TEST_c_f): Likewise.
66127 (RUN_TEST_f_f1): Likewise.
66128 (RUN_TEST_fF_f1): Likewise.
66129 (RUN_TEST_fI_f1): Likewise.
66130 (RUN_TEST_ffI_f1): Likewise.
66131 (RUN_TEST_c_c): Likewise.
66132 (RUN_TEST_cc_c): Likewise.
66133 (RUN_TEST_f_i): Likewise.
66134 (RUN_TEST_f_i_tg): Likewise.
66135 (RUN_TEST_ff_i_tg): Likewise.
66136 (RUN_TEST_f_b): Likewise.
66137 (RUN_TEST_f_b_tg): Likewise.
66138 (RUN_TEST_f_l): Likewise.
66139 (RUN_TEST_f_L): Likewise.
66140 (RUN_TEST_sincos): Likewise.
66141 * math/gen-libm-test.pl (new_test): Take new argument to indicate
66142 whether to show exceptions. Do not include ");\n" in return
66143 value.
66144 (special_functions): Output call to RUN_TEST_sincos instead of
66145 check_float calls. Update calls to new_test.
66146 (parse_args): Output call to single RUN_TEST_* macro instead of
66147 check_* calls and other assignments. Update calls to new_test.
66148
66149 [BZ #2546]
66150 [BZ #2560]
66151 [BZ #5159]
66152 [BZ #15426]
66153 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
66154 input to result for tgamma overflow.
66155 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
66156 (gamma_coeff): New variable.
66157 (NCOEFF): New macro.
66158 (gamma_positive): New function.
66159 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
66160 underflow here. Use gamma_positive instead of exp (lgamma) for
66161 other arguments.
66162 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
66163 (gamma_coeff): New variable.
66164 (NCOEFF): New macro.
66165 (gammaf_positive): New function.
66166 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
66167 underflow here. Use gamma_positive instead of exp (lgamma) for
66168 other arguments.
66169 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
66170 (gamma_coeff): New variable.
66171 (NCOEFF): New macro.
66172 (gammal_positive): New function.
66173 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
66174 underflow here. Use gamma_positive instead of exp (lgamma) for
66175 other arguments.
66176 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
66177 (gamma_coeff): New variable.
66178 (NCOEFF): New macro.
66179 (gammal_positive): New function.
66180 (__ieee754_gammal_r): Handle positive infinity, overflow and
66181 underflow here. Handle NaN the same as positive infinity. Remove
66182 check x < 0xffffffff for negative integers. Use gamma_positive
66183 instead of exp (lgamma) for other arguments.
66184 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
66185 (gamma_coeff): New variable.
66186 (NCOEFF): New macro.
66187 (gammal_positive): New function.
66188 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
66189 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
66190 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
66191 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
66192 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
66193 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
66194 * sysdeps/generic/math_private.h (__gamma_productf): New
66195 prototype.
66196 (__gamma_product): Likewise.
66197 (__gamma_productl): Likewise.
66198 * math/Makefile (libm-calls): Add gamma_product.
66199 * math/libm-test.inc (tgamma_test): Add more tests.
66200 * sysdeps/i386/fpu/libm-test-ulps: Update.
66201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66202
66203 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
66204
66205 * benchtests/bench-skeleton.c (main): Preheat CPU.
66206
66207 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
66208
66209 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
66210
66211 2013-05-07 Roland McGrath <roland@hack.frob.com>
66212
66213 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
66214 and _dl_skip_args_internal.
66215
66216 2013-05-07 Carlos O'Donell <carlos@redhat.com>
66217
66218 * manual/message.texi (Message Translation): Talk about users.
66219 Message to key mapping impacts design.
66220
66221 2013-05-06 Roland McGrath <roland@hack.frob.com>
66222
66223 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
66224
66225 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
66226
66227 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
66228 * sysdeps/wordsize-64/glob64.c: ... here.
66229
66230 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
66231 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
66232 New macros.
66233
66234 * debug/getlogin_r_chk.c: Moved to ...
66235 * login/getlogin_r_chk.c: ... here.
66236 * debug/Makefile (routines): Move getlogin_r_chk to ...
66237 * login/Makefile (routines): ... here.
66238 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
66239 * login/Versions (libc: GLIBC_2.4): ... here.
66240
66241 * io/poll.c (__poll): Renamed from poll.
66242 Add libc_hidden_def.
66243 (poll): Define as weak alias.
66244
66245 * debug/ptsname_r_chk.c: Moved to ...
66246 * login/ptsname_r_chk.c: ... here.
66247 * debug/Makefile (routines): Move ptsname_r_chk to ...
66248 * login/Makefile (routines): ... here.
66249 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
66250 * login/Versions (libc: GLIBC_2.4): ... here.
66251
66252 * posix/getlogin.c: Moved to ...
66253 * login/getlogin.c: ... here.
66254 * posix/getlogin_r.c: Moved to ...
66255 * login/getlogin_r.c: ... here.
66256 * posix/getlogin_r.c: Moved to ...
66257 * login/getlogin_r.c: ... here.
66258 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
66259 * login/Makefile (routines): ... here.
66260 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
66261 * login/Versions (libc: GLIBC_2.0): ... here.
66262
66263 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
66264 (setrlimit): Define as weak alias.
66265
66266 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
66267 Call __ names for open, ftruncate, and close.
66268 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
66269 (truncate): Define as weak alias.
66270
66271 2013-05-06 Joseph Myers <joseph@codesourcery.com>
66272
66273 * math/gen-libm-test.pl (parse_args): Initialize x before each
66274 test of frexp, modf and remquo.
66275
66276 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
66277 test signgam value.
66278
66279 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66280
66281 [BZ #15418]
66282 [BZ #15419]
66283 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
66284 internal tests.
66285 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66286
66287 2013-05-06 Roland McGrath <roland@hack.frob.com>
66288
66289 * elf/dl-writev.h: New file.
66290 * elf/dl-misc.c: Include it.
66291 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
66292 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
66293
66294 2013-05-04 Joseph Myers <joseph@codesourcery.com>
66295
66296 * math/libm-test.inc (noXFails): Remove variable.
66297 (noXPasses): Likewise.
66298 (BUILD_COMPLEX_INT): Remove macro.
66299 (print_screen): Remove xfail argument.
66300 (print_screen_max_error): Likewise.
66301 (update_stats): Likewise.
66302 (print_max_error): Likewise. Update calls to other affected
66303 functions.
66304 (print_complex_max_error): Likewise.
66305 (test_single_exception): Update calls to print_screen.
66306 (test_single_errno): Likewise.
66307 (check_float_internal): Remove xfail argument. Update calls to
66308 other affected functions.
66309 (check_float): Likewise.
66310 (check_complex): Likewise.
66311 (check_int): Likewise.
66312 (check_long): Likewise.
66313 (check_bool): Likewise.
66314 (check_longlong): Likewise.
66315 (main): Don't print noXFails and noXPasses.
66316 * math/gen-libm-test.pl (top level): Don't mention expected
66317 failure handling in comment.
66318 (new_test): Don't handle expected failures.
66319 (parse_args): Don't mention expected failure handling in comment.
66320 (generate_testfile): Don't handle expected failures.
66321 (parse_ulps): Likewise.
66322 (print_ulps_file): Likewise.
66323 (get_failure): Remove function.
66324 (output_test): Don't handle expected failures.
66325 * make/README.libm-test: Don't mention expected failure handling.
66326
66327 * math/libm-test.inc (plus_zero): Make const. Add initializer.
66328 (minus_zero): Likewise.
66329 (plus_infty): Likewise.
66330 (minus_infty): Likewise.
66331 (qnan_value): Likewise.
66332 (max_value): Likewise.
66333 (min_value): Likewise.
66334 (min_subnorm_value): Likewise.
66335 (initialize): Do not initialize those variables dynamically.
66336
66337 2013-05-03 Roland McGrath <roland@hack.frob.com>
66338
66339 * io/open.c (__open_2): Moved to ...
66340 * io/open_2.c: ... this new file.
66341 * io/open64.c (__open64_2): Moved to ...
66342 * io/open64_2.c: ... this new file.
66343 * io/openat.c (__openat_2): Moved to ...
66344 * io/openat_2.c: ... this new file.
66345 * io/openat64.c (__openat64_2): Moved to ...
66346 * io/openat64_2.c: ... this new file.
66347 * io/Makefile (routines): Add them.
66348 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
66349 * sysdeps/unix/sysv/linux/open_2.c: File removed.
66350 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
66351 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
66352 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
66353 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
66354 (__openat64): Add hidden_ver.
66355 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
66356 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
66357
66358 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
66359 Separately conditionalize setting of GLRO(dl_sysinfo) so
66360 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
66361 as well, but the actual setting is only under [NEED_DL_SYSINFO].
66362
66363 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66364
66365 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
66366 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
66367 definition.
66368 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
66369 * sysdeps/unix/sysv/linux/powerpc/init-first.c
66370 (_libc_vdso_platform_setup): Add __vdso_time initialization.
66371 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
66372 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
66373
66374 2013-05-03 Joseph Myers <joseph@codesourcery.com>
66375
66376 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
66377 test signgam value.
66378
66379 * math/libm-test.inc (hypot_test): Do not use
66380 IGNORE_ZERO_INF_SIGN.
66381
66382 2013-05-03 Andreas Jaeger <aj@suse.de>
66383
66384 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
66385 Linux 3.9.
66386 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
66387 (PF_MAX): Adjust for VSOCK change.
66388
66389 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66390
66391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66392
66393 2013-05-02 Carlos O'Donell <carlos@redhat.com>
66394
66395 [BZ #15264]
66396 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
66397 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
66398 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
66399
66400 2013-05-02 David S. Miller <davem@davemloft.net>
66401
66402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66403
66404 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
66405
66406 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
66407
66408 2013-05-01 Roland McGrath <roland@hack.frob.com>
66409
66410 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
66411
66412 2013-05-01 Richard Smith <richard@metafoo.co.uk>
66413
66414 [BZ #14952]
66415 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
66416 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
66417 Use __attribute__ ((__gnu_inline__)).
66418 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
66419 Don't use __attribute__ ((__gnu_inline__)).
66420
66421 2013-05-01 Joseph Myers <joseph@codesourcery.com>
66422
66423 [BZ #15423]
66424 * math/s_catan.c (__catan): Handle small real or imaginary part of
66425 input specially to avoid spurious underflow.
66426 * math/s_catanf.c (__catanf): Likewise.
66427 * math/s_catanh.c (__catanh): Likewise.
66428 * math/s_catanhf.c (__catanhf): Likewise.
66429 * math/s_catanhl.c (__catanhl): Likewise.
66430 * math/s_catanl.c (__catanl): Likewise.
66431 * math/libm-test.inc (catan_test): Add more tests.
66432 (catanh_test): Likewise.
66433 * sysdeps/i386/fpu/libm-test-ulps: Update.
66434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66435
66436 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66437
66438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66439
66440 2013-04-30 Joseph Myers <joseph@codesourcery.com>
66441
66442 [BZ #15416]
66443 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
66444 accurately for denominator in atan2.
66445 * math/s_catanf.c (__catanf): Likewise.
66446 * math/s_catanh.c (__catanh): Likewise.
66447 * math/s_catanhf.c (__catanhf): Likewise.
66448 * math/s_catanhl.c (__catanhl): Likewise.
66449 * math/s_catanl.c (__catanl): Likewise.
66450 * math/libm-test.inc (catan_test): Add more tests.
66451 (catanh_test): Likewise.
66452 * sysdeps/i386/fpu/libm-test-ulps: Update.
66453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66454
66455 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
66456
66457 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
66458
66459 * benchtests/Makefile (bench): Remove slow benchmarks.
66460 * benchtests/atan-inputs: Add slow benchmark inputs.
66461 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
66462 (BENCH_FUNC): Accept variant offset.
66463 (VARIANT): Define.
66464 * benchtests/bench-skeleton.c (main): Run benchmark for each
66465 variant.
66466 * benchtests/cos-inputs: Add slow benchmark inputs.
66467 * benchtests/exp-inputs: Likewise.
66468 * benchtests/pow-inputs: Likewise.
66469 * benchtests/sin-inputs: Likewise.
66470 * benchtests/slowatan-inputs: Remove.
66471 * benchtests/slowatan.c: Remove.
66472 * benchtests/slowcos-inputs: Remove.
66473 * benchtests/slowcos.c: Remove.
66474 * benchtests/slowexp-inputs: Remove.
66475 * benchtests/slowexp.c: Remove.
66476 * benchtests/slowpow-inputs: Remove.
66477 * benchtests/slowpow.c: Remove.
66478 * benchtests/slowsin-inputs: Remove.
66479 * benchtests/slowsin.c: Remove.
66480 * benchtests/slowtan-inputs: Remove.
66481 * benchtests/slowtan.c: Remove.
66482 * benchtests/tan-inputs: Add slow benchmark inputs.
66483 * scripts/bench.pl: Parse comments and directives.
66484
66485 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
66486 in CPPFLAGS.
66487 ($(objpfx)bench-%.c): Remove *-ITER.
66488 * benchtests/bench-modf.c: Remove definition of ITER.
66489 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
66490 (main): Loop for DURATION seconds instead of fixed number of
66491 iterations.
66492 * scripts/bench.pl: Don't expect iterations in parameters.
66493
66494 2013-04-29 Roland McGrath <roland@hack.frob.com>
66495
66496 * io/fchdir.c (__fchdir): Renamed from fchdir.
66497 (fchdir): Define as weak alias.
66498
66499 2013-04-29 Joseph Myers <joseph@codesourcery.com>
66500
66501 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
66502 (ERRNO_EDOM): Likewise.
66503 (ERRNO_ERANGE): Likewise.
66504 (noErrnoTests): New variable.
66505 (init_max_error): Set errno to 0.
66506 (test_single_errno): New function.
66507 (test_errno): Likewise.
66508 (check_float_internal): Call test_errno. Set errno to 0.
66509 (check_complex): Refer to errno tests in comment.
66510 (check_int): Call test_errno. Set errno to 0.
66511 (check_long): Likewise.
66512 (check_bool): Likewise.
66513 (check_longlong): Likewise.
66514 (cos_test): Use ERRNO_* flags for errno tests instead of
66515 check_int.
66516 (expm1_test): Likewise.
66517 (fmod_test): Likewise.
66518 (ilogb_test): Likewise.
66519 (lgamma_test): Likewise.
66520 (pow_test): Likewise.
66521 (remainder_test): Likewise.
66522 (sin_test): Likewise.
66523 (tan_test): Likewise.
66524 (yn_test): Likewise.
66525 (initialize): Set errno to 0.
66526 (main): Print number of errno tests.
66527 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
66528
66529 2013-04-29 Andreas Jaeger <aj@suse.de>
66530
66531 [BZ #15084]
66532 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
66533 and RES_USEVC.
66534
66535 [BZ #15085]
66536 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
66537 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
66538 unimplemented.
66539
66540 [BZ #15380]
66541 * stdlib/random.c (__initstate): Return NULL if
66542 __initstate fails.
66543
66544 [BZ #15086]
66545 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
66546 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
66547 RES_SNGLKUPREOP.
66548
66549 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66550
66551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66552
66553 2013-04-29 Joseph Myers <joseph@codesourcery.com>
66554
66555 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
66556 of individual tests.
66557 (casin_test): Likewise.
66558 (casinh_test): Likewise.
66559
66560 2013-04-27 Joseph Myers <joseph@codesourcery.com>
66561
66562 [BZ #15409]
66563 * math/s_catan.c (__catan): Handle arguments with large real or
66564 imaginary part separately without squaring.
66565 * math/s_catanf.c (__catanf): Likewise.
66566 * math/s_catanh.c (__catanh): Likewise.
66567 * math/s_catanhf.c (__catanhf): Likewise.
66568 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
66569 and redefine.
66570 (__catanhl): Handle arguments with large real or imaginary part
66571 separately without squaring.
66572 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
66573 and redefine.
66574 (__catanl): Handle arguments with large real or imaginary part
66575 separately without squaring.
66576 * math/libm-test.inc (catan_test): Add more tests.
66577 (catanh_test): Likewise.
66578 * sysdeps/i386/fpu/libm-test-ulps: Update.
66579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66580
66581 2013-04-27 Andreas Jaeger <aj@suse.de>
66582
66583 [BZ #15007]
66584 * stdlib/stdlib.h: Update guards for qecvt.
66585 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
66586 <stdlib.h>.
66587
66588 2013-04-27 Allan McRae <allan@archlinux.org>
66589
66590 * sysdeps/i386/fpu/libm-test-ulps: Update.
66591
66592 2013-04-26 Joseph Myers <joseph@codesourcery.com>
66593
66594 [BZ #15406]
66595 * math/s_catan.c: Include <float.h>.
66596 (__catan): Ensure underflow exception occurs for underflowed
66597 result.
66598 * math/s_catanf.c: Include <float.h>.
66599 (__catanf): Ensure underflow exception occurs for underflowed
66600 result.
66601 * math/s_catanh.c: Include <float.h>.
66602 (__catanh): Ensure underflow exception occurs for underflowed
66603 result.
66604 * math/s_catanhf.c: Include <float.h>.
66605 (__catanhf): Ensure underflow exception occurs for underflowed
66606 result.
66607 * math/s_catanhl.c: Include <float.h>.
66608 (__catanhl): Ensure underflow exception occurs for underflowed
66609 result.
66610 * math/s_catanl.c: Include <float.h>.
66611 (__catanl): Ensure underflow exception occurs for underflowed
66612 result.
66613 * math/libm-test.inc (catan_test): Add more tests.
66614 (catanh_test): Likewise.
66615
66616 [BZ #15405]
66617 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
66618 underflowed result.
66619 * math/s_ccoshf.c (__ccoshf): Likewise.
66620 * math/s_ccoshl.c (__ccoshl): Likewise.
66621 * math/s_csin.c (__csin): Likewise.
66622 * math/s_csinf.c (__csinf): Likewise.
66623 * math/s_csinh.c (__csinh): Likewise.
66624 * math/s_csinhf.c (__csinhf): Likewise.
66625 * math/s_csinhl.c (__csinhl): Likewise.
66626 * math/s_csinl.c (__csinl): Likewise.
66627 * math/libm-test.inc (ccos_test): Add more tests.
66628 (ccosh_test): Likewise.
66629 (csin_test): Likewise.
66630 (csinh_test): Likewise.
66631
66632 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66633
66634 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
66635 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
66636 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
66637 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
66638 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
66639 powerpc/power5+/fpu folders.
66640 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
66641
66642
66643 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
66644
66645 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66646
66647 2013-04-25 Joseph Myers <joseph@codesourcery.com>
66648
66649 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
66650 additions to variable.
66651 [$(config-machine) = x86_64] (modules-names): Likewise.
66652 ($(objpfx)tst-audit3): Remove dependency.
66653 ($(objpfx)tst-audit3.out): Likewise.
66654 ($(objpfx)tst-audit4): Likewise.
66655 ($(objpfx)tst-audit4.out): Likewise.
66656 ($(objpfx)tst-audit5): Likewise.
66657 ($(objpfx)tst-audit5.out): Likewise.
66658 ($(objpfx)tst-audit6): Likewise.
66659 ($(objpfx)tst-audit6.out): Likewise.
66660 ($(objpfx)tst-audit7): Likewise.
66661 ($(objpfx)tst-audit7.out): Likewise.
66662 (tst-audit3-ENV): Remove variable.
66663 (tst-audit4-ENV): Likewise.
66664 (tst-audit5-ENV): Likewise.
66665 (tst-audit6-ENV): Likewise.
66666 (tst-audit7-ENV): Likewise.
66667 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
66668 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
66669 addition to variable.
66670 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
66671 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
66672 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
66673 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
66674 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
66675 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
66676 tst-audit3, tst-audit4 and tst-audit5.
66677 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
66678 tst-audit6 and tst-audit7.
66679 [$(subdir) = elf] (modules-names): Add audit modules for those
66680 tests.
66681 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
66682 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
66683 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
66684 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
66685 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
66686 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
66687 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
66688 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
66689 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
66690 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
66691 [$(subdir) = elf] (tst-audit3-ENV): New variable.
66692 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
66693 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
66694 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
66695 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
66696 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
66697 Likewise.
66698 [$(subdir) = elf && $(config-cflags-avx) = yes]
66699 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
66700 [$(subdir) = elf && $(config-cflags-avx) = yes]
66701 (CFLAGS-tst-auditmod4a.c): Likewise.
66702 [$(subdir) = elf && $(config-cflags-avx) = yes]
66703 (CFLAGS-tst-auditmod4b.c): Likewise.
66704 [$(subdir) = elf && $(config-cflags-avx) = yes]
66705 (CFLAGS-tst-auditmod6b.c): Likewise.
66706 [$(subdir) = elf && $(config-cflags-avx) = yes]
66707 (CFLAGS-tst-auditmod6c.c): Likewise.
66708 [$(subdir) = elf && $(config-cflags-avx) = yes]
66709 (CFLAGS-tst-auditmod7b.c): Likewise.
66710 * elf/tst-audit3.c: Move to ...
66711 * sysdeps/x86_64/tst-audit3.c: ... here.
66712 * elf/tst-audit4.c: Move to ...
66713 * sysdeps/x86_64/tst-audit4.c: ... here.
66714 * elf/tst-audit5.c: Move to ...
66715 * sysdeps/x86_64/tst-audit5.c: ... here.
66716 * elf/tst-audit6.c: Move to ...
66717 * sysdeps/x86_64/tst-audit6.c: ... here.
66718 * elf/tst-audit7.c: Move to ...
66719 * sysdeps/x86_64/tst-audit7.c: ... here.
66720 * elf/tst-auditmod3a.c: Move to ...
66721 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
66722 * elf/tst-auditmod3b.c: Move to ...
66723 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
66724 * elf/tst-auditmod4a.c: Move to ...
66725 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
66726 * elf/tst-auditmod4b.c: Move to ...
66727 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
66728 * elf/tst-auditmod5a.c: Move to ...
66729 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
66730 * elf/tst-auditmod5b.c: Move to ...
66731 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
66732 * elf/tst-auditmod6a.c: Move to ...
66733 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
66734 * elf/tst-auditmod6b.c: Move to ...
66735 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
66736 * elf/tst-auditmod6c.c: Move to ...
66737 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
66738 * elf/tst-auditmod7a.c: Move to ...
66739 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
66740 * elf/tst-auditmod7b.c: Move to ...
66741 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
66742
66743 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
66744
66745 [BZ #15366]
66746 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
66747 define unconditionally.
66748 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
66749 define unconditionally.
66750 (INT8_C, INT16_C, etc.): Likewise.
66751
66752 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
66753
66754 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
66755 __ehdr_start with hidden visibility.
66756
66757 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
66758
66759 2013-04-24 Carlos O'Donell <carlos@redhat.com>
66760
66761 * math/libm-test.inc (cos_test): Use accurate hex constants.
66762 (sincost_test): Likewise.
66763
66764 2013-04-24 Joseph Myers <joseph@codesourcery.com>
66765
66766 * math/libm-test.inc (catan_test): Add more tests.
66767 (catanh_test): Likewise.
66768
66769 * math/s_catanf.c (__catanf): Use suffixed floating-point
66770 constants.
66771 * math/s_catanhf.c (__catanhf): Likewise.
66772 * math/s_catanhl.c (__catanhl): Likewise.
66773 * math/s_catanl.c (__catanl): Likewise.
66774
66775 [BZ #15394]
66776 * math/s_catan.c (__catan): Calculate imaginary part of result
66777 with log1p not log unless computing log of number close to 0.
66778 * math/s_catanf.c (__catanf): Likewise.
66779 * math/s_catanl.c (__catanl): Likewise.
66780 * math/s_catanh.c (__catanh): Calculate real part of result with
66781 log1p not log unless computing log of number close to 0.
66782 * math/s_catanhf.c (__catanhf): Likewise.
66783 * math/s_catanhl.c (__catanhl): Likewise.
66784 * math/libm-test.inc (catan_test): Add more tests.
66785 (catanh_test): Likewise.
66786 * sysdeps/i386/fpu/libm-test-ulps: Update.
66787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66788
66789 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
66790
66791 * benchtests/Makefile: Mention files in which fast and slow
66792 paths of math functions are implemented.
66793
66794 2013-04-23 Roland McGrath <roland@hack.frob.com>
66795
66796 * sysdeps/posix/timespec_get.c: New file.
66797
66798 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66799
66800 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
66801 POWER.
66802 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
66803 for POWER.
66804 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
66805 powerpc/power5/fpu folders.
66806 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
66807 * benchtests/Makefile: Add modf testcase.
66808 * benchtests/bench-modf.c: New file: Benchmark test for mo
66809
66810 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
66811
66812 [BZ #14888]
66813 * time/Makefile (tests): Add tst-strptime-whitespace.
66814 * time/strptime_l.c (get_number): Use ISSPACE.
66815 (__strptime_internal): Likewise.
66816 * time/tst-strptime-whitespace.c: New test case.
66817
66818 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
66819
66820 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
66821 member.
66822 (_nss_files_init): Set it here.
66823
66824 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
66825
66826 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
66827 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
66828 unsigned.
66829
66830 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
66831
66832 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
66833
66834 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
66835
66836 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
66837 size just once.
66838
66839 2013-04-21 David S. Miller <davem@davemloft.net>
66840
66841 * po/ru.po: Update Russion translation from translation project.
66842
66843 2013-04-17 Adam Conrad <adconrad@0c3.net>
66844
66845 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
66846 and setfsgid.
66847
66848 2013-04-17 Carlos O'Donell <carlos@redhat.com>
66849
66850 * configure.in: Remove i386 configure warning. Remove i386 case.
66851 * configure: Regenerate.
66852 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
66853 Add example to error message.
66854 * sysdeps/i386/configure: Regenerate.
66855
66856 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
66857
66858 * benchtests/Makefile (bench): Add cos, tan, slowcos and
66859 slowtan.
66860 * benchtests/cos-inputs: New file.
66861 * benchtests/slowcos-inputs: New file.
66862 * benchtests/slowcos.c: New file.
66863 * benchtests/slowtan-inputs: New file.
66864 * benchtests/slowtan.c: New file.
66865 * benchtests/tan-inputs: New file.
66866
66867 2013-04-16 Roland McGrath <roland@hack.frob.com>
66868
66869 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
66870 considered kosher.
66871
66872 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
66873
66874 * benchtests/Makefile: Include cppflags-iterator.mk to add
66875 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
66876
66877 * Makefile.in (bench-clean): New target.
66878 * benchtests/Makefile (bench-clean): Likewise.
66879
66880 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
66881
66882 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
66883
66884 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
66885
66886 * stdio-common/tstdiomisc.c: Fix coding-style violation.
66887
66888 2013-04-15 Andreas Schwab <schwab@suse.de>
66889
66890 * nscd/grpcache.c (cache_addgr): Properly check for short write.
66891 * nscd/initgrcache.c (addinitgroupsX): Likewise.
66892 * nscd/pwdcache.c (cache_addpw): Likewise.
66893 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
66894 more than recsize.
66895
66896 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
66897
66898 * benchtests/Makefile (bench): Write all output to
66899 bench-out.tmp together.
66900
66901 2013-04-15 Andreas Schwab <schwab@suse.de>
66902
66903 * nscd/nscd.c (main): Don't fork again after closing files.
66904
66905 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
66906
66907 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
66908
66909 * benchtests/Rules (bench-deps): Collect dependencies into a
66910 single variable. Add Makefile to dependencies.
66911 ($(objpfx)bench-%.c): Depend on bench-deps.
66912
66913 2013-04-12 Roland McGrath <roland@hack.frob.com>
66914 Xavier Roche <roche+kml2@exalead.com>
66915
66916 [BZ #15361]
66917 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
66918 just that it's a file descriptor.
66919 * manual/llio.texi (Synchronizing AIO Operations): Update description
66920 for EBADF error from aio_fsync.
66921
66922 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
66923
66924 * Rules (bench): Move target definition...
66925 * benchtests/Makefile: ... here.
66926
66927 2013-04-11 Carlos O'Donell <carlos@redhat.com>
66928
66929 * math/libm-test.inc (cos_test): Fix PI/2 test.
66930 (sincos_test): Likewise.
66931 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
66932 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
66933
66934 2013-04-11 Andreas Schwab <schwab@suse.de>
66935
66936 [BZ #13988]
66937 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
66938 accept exponent character only when digits were seen.
66939 * stdio-common/Makefile (tests): Add bug26.
66940 * stdio-common/bug26.c: New file.
66941
66942 [BZ #14293]
66943 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
66944 non-freeable.
66945
66946 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
66947
66948 * Makeconfig (rtld-prefix): Define built linker prefix.
66949 * Rules (run-bench): Use it.
66950 * math/Makefile (run-regen-ulps): Likewise.
66951
66952 * Rules (bench): Remove eval.
66953
66954 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
66955 Roland McGrath <roland@hack.frob.com>
66956 Ondrej Bilka <neleai@seznam.cz>
66957
66958 [BZ #15346]
66959 * time/getdate.c: Include ctype.h and alloca.h.
66960 (__getdate_r): Trim leading and trailing spaces of input.
66961 * time/tst-getdate.c (tests): Add tests with leading and
66962 trailing spaces.
66963
66964 2013-04-08 Roland McGrath <roland@hack.frob.com>
66965
66966 [BZ #14280]
66967 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
66968 when computing value.
66969
66970 2013-04-06 Carlos O'Donell <carlos@redhat.com>
66971
66972 * math/README.libm-test (How can I generate "libm-test-ulps"?):
66973 Use testrun.sh to run libm tests.
66974
66975 [BZ #15309]
66976 * elf/dl-open.c (dl_open_worker): memset all of seen array.
66977
66978 2013-04-06 Marko Myllynen <myllynen@redhat.com>
66979
66980 [BZ #15264]
66981 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
66982
66983 2013-04-06 Carlos O'Donell <carlos@redhat.com>
66984
66985 * Makefile.in (regen-ulps): New target.
66986 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
66987 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
66988 [ifneq (no,$(PERL)] (regen-ulps): New target.
66989 [ifeq (no,$(PERL)] (regen-ulps): New target.
66990 * math/libm-test.inc (ulps_file_name): Define.
66991 (output_dir): New variable.
66992 (options): Add "output-dir" option.
66993 (parse_opt): Handle 'o' case.
66994 (main): If output_dir is non-NULL use it as a prefix
66995 otherwise use "".
66996 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
66997
66998 2013-04-06 Carlos O'Donell <carlos@redhat.com>
66999
67000 [BZ #10060, #10062]
67001 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
67002 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
67003 fail configure if __sync_val_compare_and_swap is not inlined.
67004 * sysdeps/i386/configure: Regenerate.
67005 * configure.in: Build for i686 when configured for i386.
67006 * configure: Regenerate.
67007 * README: Remove i386 reference.
67008
67009 2013-04-06 Carlos O'Donell <carlos@redhat.com>
67010
67011 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
67012 * sysdeps/s390/s390-64/sysdep.h: Likewise.
67013
67014 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
67015
67016 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
67017 (lmsnanval): New variables.
67018 (F): Add conversion tests.
67019 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
67020 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
67021
67022 * stdio-common/tstdiomisc.c (F): Properly collect individual
67023 tests' results.
67024
67025 [BZ #14686, #15336]
67026 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
67027 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
67028 Instead, use input NaN values or generate a qNaN by arithmetic
67029 operation. Also fix bugs to comply with the standard.
67030 * math/libm-test.inc (remainder_test): Add more tests.
67031
67032 [BZ #15335, #15342]
67033 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
67034 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
67035 input NaN values or generate a qNaN by arithmetic operation.
67036
67037 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
67038 unreachable code.
67039
67040 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
67041 definitions.
67042
67043 2013-04-03 Joseph Myers <joseph@codesourcery.com>
67044
67045 [BZ #14478]
67046 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
67047 underflowed result.
67048 * math/s_cexpf.c (__cexpf): Likewise.
67049 * math/s_cexpl.c (__cexpl): Likewise.
67050 * math/libm-test.inc (cexp_test): Add more tests.
67051
67052 2013-04-03 Andreas Schwab <schwab@suse.de>
67053
67054 [BZ #15330]
67055 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
67056 order arrays from heap if bigger than alloca cutoff.
67057
67058 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
67059
67060 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
67061 (SNAN_TESTS_double): Refer to GCC PR56831.
67062 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
67063 GCC PR56828.
67064
67065 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
67066
67067 * Rules (bench): Move bench.out after the run is complete.
67068
67069 * Rules (bench): Echo currently running benchmark.
67070
67071 * benchtests/Makefile (bench): Add atan and slowatan.
67072 * benchtests/atan-inputs: New file.
67073 * benchtests/slowatan-inputs: New file.
67074 * benchtests/slowatan.c: New file.
67075
67076 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
67077 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
67078 its value.
67079
67080 [BZ #15305]
67081 * sysdeps/unix/sysv/linux/kernel-features.h
67082 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
67083 __ASSUME_XFS_RESTRICTED_CHOWN.
67084 * sysdeps/unix/sysv/linux/pathconf.c
67085 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
67086 Save and restore errno.
67087
67088 2013-04-02 Joseph Myers <joseph@codesourcery.com>
67089
67090 [BZ #15327]
67091 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
67092 arguments using __kernel_casinh.
67093 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
67094 arguments using __kernel_casinhf.
67095 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
67096 arguments using __kernel_casinhl.
67097 * math/libm-test.inc (cacosh_test): Add more tests.
67098 * sysdeps/i386/fpu/libm-test-ulps: Update.
67099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67100
67101 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
67102
67103 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
67104 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
67105
67106 * bench/Makefile (bench): Add sin and slowsin.
67107 * benchtests/sin-inputs: New file.
67108 * benchtests/slowsin-inputs: New file.
67109 * benchtests/slowsin.c: New file.
67110
67111 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
67112 (bench): Add slowexp and slowpow.
67113 (exp-ITER): Increase iterations.
67114 (pow-ITER): Likewise.
67115 * benchtests/exp-inputs: Change input.
67116 * benchtests/pow-inputs: Likewise.
67117 * benchtests/slowexp-inputs: New file.
67118 * benchtests/slowexp.c: New file.
67119 * benchtests/slowpow-inputs: New file.
67120 * benchtests/slowpow.c: New file.
67121
67122 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67123
67124 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
67125 instructions.
67126 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
67127 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
67128 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
67129 * benchtests/Makefile: Add rint benchtest.
67130 * benchtests/rint-inputs: Input for rint benchtest.
67131
67132 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
67133
67134 * Versions.def (libm): Add GLIBC_2.18.
67135 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
67136 hidden libm prototypes.
67137 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
67138 * math/Makefile (libm-calls): Add s_issignaling.
67139 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
67140 __issignalingf, __issignalingl. Adjust all libm.abilist files.
67141 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
67142 declaration.
67143 * math/math.h [__USE_GNU] (issignaling): New macro.
67144 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
67145 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
67146 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
67147 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
67148 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
67149 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
67150 * manual/arith.texi (issignaling): New section.
67151 * manual/libm-err-tab.pl (@all_functions): Update comment.
67152 * math/gen-libm-test.pl (parse_args): Apply special handling for
67153 issignaling.
67154 * math/libm-test.inc (print_float, issignaling_test): New
67155 functions.
67156 (check_float_internal): Add issignaling checks.
67157 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
67158 default definition.
67159 * sysdeps/powerpc/math-tests.h: New file.
67160 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
67161 tests.
67162 * math/test-snan.c (TEST_FUNC): Likewise.
67163
67164 2013-03-30 David S. Miller <davem@davemloft.net>
67165
67166 * po/de.po: Update from translation team.
67167
67168 2013-03-30 Joseph Myers <joseph@codesourcery.com>
67169
67170 [BZ #10357]
67171 * math/k_casinh.c (__kernel_casinh): Handle arguments with
67172 imaginary part less than 1.0 and real part less than 0.5
67173 specially.
67174 * math/k_casinhf.c (__kernel_casinhf): Likewise.
67175 * math/k_casinhl.c (__kernel_casinhl): Likewise.
67176 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
67177 (cacos_test): Add more tests.
67178 (casin_test): Likewise.
67179 (casinh_test): Likewise.
67180 * sysdeps/i386/fpu/libm-test-ulps: Update.
67181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67182
67183 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
67184
67185 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
67186 ONE with its value.
67187
67188 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
67189 (__pow_mp): Replace ONE and MONE with their values.
67190 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
67191 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
67192 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
67193 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
67194 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
67195 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
67196
67197 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
67198
67199 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
67200 (__pow_mp): Replace ZERO and MZERO with their values.
67201 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
67202 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
67203 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
67204 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
67205 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
67206 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
67207 (__sqr): Likewise.
67208
67209 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
67210
67211 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
67212
67213 2013-03-28 Roland McGrath <roland@hack.frob.com>
67214
67215 * include/stdlib.h [!SHARED] (__call_tls_dtors):
67216 Declare with __attribute__ ((weak)).
67217 * stdlib/exit.c (__libc_atexit) [!SHARED]:
67218 Call __call_tls_dtors only if it's not NULL.
67219
67220 2013-03-28 Roland McGrath <roland@hack.frob.com>
67221
67222 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
67223 didn't do it already, then set _dl_phdr and _dl_phnum based on the
67224 magic __ehdr_start linker symbol if it's defined.
67225 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
67226 them up here if it was already done.
67227
67228 * elf/dl-support.c (_dl_phdr): Make pointer to const.
67229 (_dl_aux_init): Use const in cast when setting it.
67230 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
67231 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
67232 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
67233
67234 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
67235 Declare them here.
67236 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
67237 * csu/libc-tls.c: Nor here.
67238 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
67239
67240 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
67241 (__libc_message): Never call vsyslog.
67242
67243 2013-03-28 Alan Modra <amodra@gmail.com>
67244
67245 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
67246 Define as empty.
67247 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
67248 Likewise.
67249
67250 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67251
67252 [BZ #15214]
67253 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
67254 underflow.
67255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67256
67257 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
67258
67259 [BZ #15304]
67260 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
67261 Don't add gid passed as argument.
67262
67263 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
67264
67265 2013-03-27 Joseph Myers <joseph@codesourcery.com>
67266
67267 [BZ #15307]
67268 * math/k_casinh.c (__kernel_casinh): Handle arguments with
67269 imaginary part between 1.0 and 1.5 and real part less than 0.5
67270 specially.
67271 * math/k_casinhf.c (__kernel_casinhf): Likewise.
67272 * math/k_casinhl.c (__kernel_casinhl): Likewise.
67273 * math/libm-test.inc (cacos_test): Add more tests.
67274 (casin_test): Likewise.
67275 (casinh_test): Likewise.
67276 * sysdeps/i386/fpu/libm-test-ulps: Update.
67277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67278
67279 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
67280
67281 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
67282 constants.
67283 (norm): Likewise.
67284 (denorm): Likewise.
67285 (__dbl_mp): Likewise.
67286 (add_magnitudes): Likewise.
67287 (sub_magnitudes): Likewise.
67288 (__add): Likewise.
67289 (__sub): Likewise.
67290 (__mul): Likewise.
67291 (__sqr): Likewise.
67292 (__inv): Likewise.
67293 (__dvd): Likewise.
67294
67295 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
67296 commented code.
67297 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
67298 (__dubcos): Likewise.
67299 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
67300 (__ieee754_acos): Likewise.
67301 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
67302 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
67303 (__exp1): Likewise.
67304 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
67305 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
67306 (log1): Likewise.
67307 (my_log2): Likewise.
67308 (checkint): Likewise.
67309 * sysdeps/ieee754/dbl-64/e_remainder.c
67310 (__ieee754_remainder): Likewise.
67311 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
67312 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
67313 (bsloww): Likewise.
67314 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
67315
67316 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
67317 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
67318 MANTISSA_STORE_T to store computations on mantissa. Use
67319 macros for rounding and division.
67320 (denorm): Likewise.
67321 (__dbl_mp): Likewise.
67322 (add_magnitudes): Likewise.
67323 (sub_magnitudes): Likewise.
67324 (__mul): Likewise.
67325 (__sqr): Likewise.
67326 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
67327 powers of two in terms of TWOPOW macro.
67328 (mp_no): Make type of mantissa as MANTISSA_T.
67329 [!RADIXI]: Define RADIXI.
67330 [!TWO52]: Define TWO52.
67331 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
67332
67333 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67334
67335 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
67336 llroundl symbol when building for PPC32.
67337
67338 2013-03-24 Mark H Weaver <mhw@netris.org>
67339
67340 * manual/arith.texi (Normalization Functions): Fix prototypes for
67341 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
67342
67343 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67344
67345 [BZ #13889]
67346 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
67347 high value to check if expl overflow.
67348 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
67349 to check for underflow and overflow.
67350 * math/libm-test.inc: Add exp test.
67351
67352 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
67353
67354 [BZ #11120]
67355 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
67356 with NOT_IN_libc.
67357
67358 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67359
67360 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
67361 symbol.
67362
67363 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
67364
67365 * math/gen-libm-test.pl (parse_args, special_functions): Properly
67366 wrap blocks consisting of several statements.
67367
67368 * sysdeps/generic/math-tests.h: New file.
67369 * sysdeps/i386/fpu/math-tests.h: Likewise.
67370 * math/test-snan.c: Include it.
67371 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
67372
67373 2013-03-21 Joseph Myers <joseph@codesourcery.com>
67374
67375 [BZ #15285]
67376 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
67377 (__ieee754_j0l): Do not improve calculations using cos of twice
67378 input for inputs above LDBL_MAX / 2.0L.
67379 (__ieee754_y0l): Likewise.
67380 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
67381 (__ieee754_j1l): Do not improve calculations using cos of twice
67382 input for inputs above LDBL_MAX / 2.0L.
67383 (__ieee754_y1l): Likewise.
67384 * math/libm-test.inc (j0_test): Add another test.
67385 (j1_test): Likewise.
67386 (y0_test): Likewise.
67387 (y1_test): Likewise.
67388 * sysdeps/i386/fpu/libm-test-ulps: Update.
67389
67390 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
67391
67392 * Rules ($(objpfx)bench-%.c): Include code from a C source
67393 file.
67394
67395 2013-03-21 Joseph Myers <joseph@codesourcery.com>
67396
67397 [BZ #15287]
67398 * math/k_casinh.c (__kernel_casinh): Handle arguments with
67399 imaginary part 1.0 and real part less than 0.5 specially.
67400 * math/k_casinhf.c (__kernel_casinhf): Likewise.
67401 * math/k_casinhl.c (__kernel_casinhl): Likewise.
67402 * math/libm-test.inc (cacos_test): Add more tests.
67403 (casin_test): Likewise.
67404 (casinh_test): Likewise.
67405 * sysdeps/i386/fpu/libm-test-ulps: Update.
67406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67407
67408 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
67409
67410 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
67411 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
67412
67413 2013-03-20 Joseph Myers <joseph@codesourcery.com>
67414
67415 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
67416 * config.make.in (config-cflags-sse4): Remove variable.
67417 (config-cflags-avx): Likewise.
67418 (config-cflags-sse2avx): Likewise.
67419 (config-cflags-novzeroupper): Likewise.
67420 (config-asflags-i686): Likewise.
67421 (have-mfma4): Likewise.
67422 (have-as-vis3): Likewise.
67423 (MIG): Likewise.
67424 * configure.in (MIG): Do not AC_SUBST.
67425 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
67426 (libc_cv_cc_sse4): Do not AC_SUBST.
67427 (libc_cv_cc_avx): Likewise.
67428 (libc_cv_cc_sse2avx): Likewise.
67429 (libc_cv_cc_novzeroupper): Likewise.
67430 (libc_cv_cc_fma4): Likewise.
67431 (libc_cv_as_i686): Likewise.
67432 (libc_cv_sparc_as_vis3): Likewise.
67433 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
67434 LIBC_CONFIG_VAR.
67435 (config-asflags-i686): Likewise.
67436 (config-cflags-avx): Likewise.
67437 (config-cflags-sse2avx): Likewise.
67438 (have-mfma4): Likewise.
67439 (config-cflags-novzeroupper): Likewise.
67440 * sysdeps/mach/configure.in (MIG): Likewise.
67441 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
67442 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
67443 LIBC_CONFIG_VAR.
67444 (config-cflags-avx): Likewise.
67445 (config-cflags-sse2avx): Likewise.
67446 (have-mfma4): Likewise.
67447 (config-cflags-novzeroupper): Likewise.
67448 * configure: Regenerated.
67449 * sysdeps/i386/configure: Likewise.
67450 * sysdeps/mach/configure: Likewise.
67451 * sysdeps/sparc/configure: Likewise.
67452 * sysdeps/x86_64/configure: Likewise.
67453
67454 2013-03-20 Roland McGrath <roland@hack.frob.com>
67455
67456 [BZ #14812]
67457 * locale/programs/localedef.c (options): Put N_ translation marker
67458 on argument names, not just descriptions.
67459
67460 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
67461
67462 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
67463
67464 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
67465
67466 [BZ #14176]
67467 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
67468
67469 2013-03-19 Roland McGrath <roland@hack.frob.com>
67470
67471 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
67472 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
67473 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
67474 [!BEFORE_ABORT] (before_abort): New function.
67475 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
67476 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
67477 (writev_for_fatal): New function.
67478 (WRITEV_FOR_FATAL): New macro; call that.
67479 (backtrace_and_maps): New function.
67480 (BEFORE_ABORT): New macro; call that.
67481 (struct str_list): Type removed.
67482 (__libc_message, __libc_fatal): Functions removed.
67483 Include <sysdeps/posix/libc_fatal.c> instead.
67484
67485 2013-03-19 Joseph Myers <joseph@codesourcery.com>
67486
67487 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
67488 constants.
67489 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
67490 double constants.
67491
67492 2013-03-19 Andreas Schwab <schwab@suse.de>
67493
67494 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
67495 * sysdeps/gnu/configure: Regenerate.
67496
67497 * configure.in: Substitute libc_cv_rtlddir.
67498 * configure: Regenerate.
67499 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
67500 * Makeconfig (rtlddir, inst_rtlddir): New variables.
67501 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
67502 * elf/Makefile (install-others, CFLAGS-interp.c)
67503 (ldso_install, common-ldd-rewrite): Likewise.
67504 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
67505 $(inst_slibdir)/$(rtld-installed-name).
67506 * scripts/rellns-sh: Add -p option.
67507 * Makerules (make-shlib-link): Use rellns-sh to get relative name
67508 for source.
67509
67510 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
67511
67512 * manual/nptl.texi: Renamed to ...
67513 * manual/threads.texi: ... this.
67514 * manual/Makefile (chapters): Update.
67515
67516 2013-03-18 Roland McGrath <roland@hack.frob.com>
67517
67518 [BZ #14812]
67519 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
67520 on argument names, not just descriptions.
67521 * malloc/memusagestat.c (options): Likewise.
67522 * nss/getent.c (options): Likewise.
67523
67524 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
67525
67526 [BZ #14812]
67527 * iconv/iconv_prog.c (options): Put N_ translation marker
67528 on argument names, not just descriptions.
67529 * iconv/iconvconfig.c (options): Likewise.
67530
67531 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
67532
67533 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
67534 implementation which is faster on all x86_64 architectures.
67535 Tested on AMD, Intel Nehalem, SNB, IVB.
67536 * sysdeps/x86_64/strnlen.S: Likewise.
67537
67538 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
67539 Remove all multiarch strlen and strnlen versions.
67540 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
67541 Remove strlen and strnlen related parts.
67542
67543 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
67544 Inline strlen part.
67545 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
67546
67547 * sysdeps/x86_64/multiarch/strlen.S: Remove.
67548 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
67549 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
67550 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
67551 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
67552 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
67553
67554 2013-03-17 Carlos O'Donell <carlos@redhat.com>
67555
67556 * manual/memory.texi (Malloc Tunable Parameters):
67557 Sort parameters alphabetically. Add comments for missing entries.
67558
67559 2013-03-17 David S. Miller <davem@davemloft.net>
67560
67561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67562
67563 2013-03-16 Joseph Myers <joseph@codesourcery.com>
67564
67565 [BZ #15283]
67566 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
67567 for arguments at most half maximum finite value.
67568 * math/libm-test.inc (j0_test): Add more tests.
67569 (j1_test): Likewise.
67570 (y0_test): Likewise.
67571 (y1_test): Likewise.
67572 * sysdeps/i386/fpu/libm-test-ulps: Update.
67573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67574
67575 [BZ #14155]
67576 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
67577 1 / x and functions P and Q for arguments above 0x1p256L.
67578 (__ieee754_y0l): Likewise.
67579 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
67580 (__ieee754_y1l): Likewise.
67581 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
67582 (j1_test): Likewise.
67583 (y0_test): Likewise.
67584 (y1_test): Likewise.
67585
67586 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
67587
67588 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
67589 variable.
67590
67591 2013-03-15 Roland McGrath <roland@hack.frob.com>
67592
67593 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
67594 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
67595 zero since it's initialized to EXEC_PAGESIZE.
67596
67597 * sysdeps/unix/sysv/linux/ldsodefs.h
67598 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
67599 * sysdeps/generic/ldsodefs.h: ... here.
67600
67601 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
67602
67603 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
67604
67605 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
67606 math/test-snan.c.
67607 * math/test-snan.c: Renamed from
67608 sysdeps/powerpc/fpu/test-powerpc-snan.c.
67609 * math/Makefile (tests): Add test-snan.
67610 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
67611 test-powerpc-snan.
67612
67613 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
67614 SUFFIX. Initialize qNaN_var with __builtin_nan family of
67615 functions.
67616 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
67617 __builtin_nan family of functions.
67618 * math/libm-test.inc (initialize): Initialize qnan_value with
67619 __builtin_nan family of functions.
67620 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
67621 Remove variables.
67622 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
67623 Remove functions.
67624 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
67625 storage class. Initialize qNaN_var and sNaN_var with
67626 __builtin_nan and __builtin_nans families of functions,
67627 respectively.
67628
67629 * math/libm-test.inc (acosh_test): Also test with qNaN input.
67630 (sqrt_test): Remove duplicate test with qNaN input.
67631 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
67632 (round_test, signbit_test, significand_test): Note missing +/-Inf
67633 as well as qNaN tests.
67634
67635 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
67636 qNaN_var. Fix a few strings, too.
67637 * math/libm-test.inc (nan_value): Rename to qnan_value.
67638 * math/gen-libm-test.pl (%beautify): Adjust to that.
67639 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
67640 * math/test-misc.c (main): Likewise.
67641 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
67642 to __qnan_bytes, and __qnan_union, respectively.
67643 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
67644 Likewise.
67645 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
67646 and lqnanval, respectively.
67647 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
67648 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
67649 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
67650 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
67651
67652 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
67653 * math/test-misc.c (main) [__x86_64__]: Enable test for long
67654 doubles.
67655
67656 * math/test-misc.c (main): Fix copy'n'pastos.
67657 * misc/tst-efgcvt.c (special): Likewise.
67658
67659 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
67660 Remove declarations.
67661
67662 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
67663
67664 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
67665 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
67666 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
67667 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
67668
67669 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67670
67671 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
67672 macro to return vdso values correctly in IFUNC implementations.
67673 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
67674 Optimization by using IFUNC.
67675
67676 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
67677 Richard Henderson <rth@redhat.com>
67678 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
67679
67680 * Makefile.in (bench): New target.
67681 * NEWS: Mention the benchmark framework.
67682 * Rules (bench): Likewise.
67683 (binaries-bench): Generate binaries for functions to
67684 benchmark.
67685 * benchtests/Makefile: New makefile for benchmark tests.
67686 * benchtests/bench-skeleton.c: New skeleton file for benchmark
67687 programs.
67688 * benchtests/exp-inputs: New input file for EXP function.
67689 * benchtests/pow-inputs: New input file for POW function.
67690 * scripts/bench.pl: New script to generate source files for
67691 benchmark programs.
67692
67693 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
67694
67695 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
67696 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
67697 computations on mantissa. Use macros for rounding and
67698 division.
67699 (denorm): Likewise.
67700 (__dbl_mp): Likewise.
67701 (add_magnitudes): Likewise.
67702 (sub_magnitudes): Likewise.
67703 (__mul): Likewise.
67704 (__sqr): Likewise.
67705 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
67706 powers of two in terms of TWOPOW macro.
67707 (mp_no): Make type of mantissa as MANTISSA_T.
67708 [!RADIXI]: Define RADIXI.
67709 [!TWO52]: Define TWO52.
67710 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
67711
67712 * manual/nptl.texi (cindex): Modify threads to pthreads.
67713
67714 2013-03-15 Joseph Myers <joseph@codesourcery.com>
67715
67716 * sysdeps/x86_64/preconfigure: Regenerated.
67717
67718 2013-03-14 Joseph Myers <joseph@codesourcery.com>
67719
67720 [BZ #14155]
67721 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
67722 0x1p28 and above.
67723 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
67724 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
67725 0x1p28 and above.
67726 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
67727 * math/libm-test.inc (j0_test): Do not allow one spurious
67728 underflow exception.
67729 (y1_test): Likewise.
67730
67731 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
67732
67733 * manual/Makefile (chapters): Add nptl.
67734 * manual/debug.texi (Debugging Support): Add link to Threads
67735 chapter.
67736 * manual/nptl.texi: New file.
67737
67738 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
67739
67740 2013-03-14 Petr Baudis <pasky@ucw.cz>
67741
67742 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
67743 for non-NULL pointer before the memory validity test. Pointed
67744 out by Holger Brunck <holger.brunck@keymile.com>.
67745
67746 2013-03-13 Andreas Schwab <schwab@suse.de>
67747
67748 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
67749 instead of .os.
67750
67751 2013-03-13 Joseph Myers <joseph@codesourcery.com>
67752
67753 * timezone/zic.c: Update from tzcode 2013b.
67754
67755 2013-03-12 Carlos O'Donell <carlos@redhat.com>
67756
67757 * manual/install.texi (Configuring and compiling):
67758 Mention i686 and i586.
67759 * INSTALL: Regenerate.
67760
67761 2013-03-12 Roland McGrath <roland@hack.frob.com>
67762
67763 * sysdeps/init_array/elf-init.c: New file.
67764 * csu/elf-init.c
67765 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
67766 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
67767
67768 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
67769 __gmon_start__ as global, but as static with a .preinit_array pointer.
67770 * sysdeps/init_array/gmon-start.c: New file. Use that.
67771 * sysdeps/init_array/crti.S: New file, empty except for comments.
67772 * sysdeps/init_array/crtn.S: Likewise.
67773
67774 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
67775
67776 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
67777 definining bcopy.
67778 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67779 Remove Prefer_SSE_for_memop.
67780 * sysdeps/x86_64/multiarch/init-arch.h: Remove
67781 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
67782 HAS_PREFER_SSE_FOR_MEMOP.
67783 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
67784 memset-x86-64.
67785 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
67786 Remove bzero, memset ifunc support.
67787 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
67788 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
67789 * sysdeps/x86_64/multiarch/memset.S: Likewise.
67790 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
67791
67792 2013-03-11 Andreas Schwab <schwab@suse.de>
67793
67794 [BZ #15234]
67795 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
67796 by SHLIB_COMPAT.
67797 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
67798 (GLIBC_2.16): Remove pthread_atfork.
67799
67800 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
67801
67802 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
67803 (ptestcases.h): Likewise.
67804
67805 2013-03-08 Roland McGrath <roland@hack.frob.com>
67806
67807 * Makeconfig ($(common-objpfx)config.status): Depend on
67808 sysdeps/*/preconfigure{,.in} too.
67809
67810 2013-03-08 Joseph Myers <joseph@codesourcery.com>
67811
67812 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
67813 (__free_hook): Use void * instead of __malloc_ptr_t.
67814 (__malloc_hook): Likewise.
67815 (__realloc_hook): Likewise.
67816 (__memalign_hook): Likewise.
67817 (__after_morecore_hook): Likewise.
67818 * malloc/arena.c (save_malloc_hook): Likewise.
67819 (save_free_hook): Likewise.
67820 * malloc/hooks.c (malloc_hook_ini): Likewise.
67821 (realloc_hook_ini): Likewise.
67822 (memalign_hook_ini): Likewise.
67823 * malloc/malloc.c (malloc_hook_ini): Likewise.
67824 (realloc_hook_ini): Likewise.
67825 (memalign_hook_ini): Likewise.
67826 (__free_hook): Likewise.
67827 (__malloc_hook): Likewise.
67828 (__realloc_hook): Likewise.
67829 (__memalign_hook): Likewise.
67830 (__libc_malloc): Likewise.
67831 (__libc_free): Likewise.
67832 (__libc_realloc): Likewise.
67833 (__libc_memalign): Likewise.
67834 (__libc_valloc): Likewise.
67835 (__libc_pvalloc): Likewise.
67836 (__libc_calloc): Likewise.
67837 (__posix_memalign): Likewise.
67838 * malloc/morecore.c (__sbrk): Likewise.
67839 (__default_morecore): Likewise.
67840
67841 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
67842
67843 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
67844 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
67845 __malloc_ptrdiff_t.
67846
67847 * malloc/malloc.h (__malloc_size_t): Remove macro.
67848 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
67849 __malloc_size_t.
67850 (old_memalign_hook): Likewise.
67851 (old_realloc_hook): Likewise.
67852 (struct hdr): Likewise.
67853 (flood): Likewise.
67854 (mallochook): Likewise.
67855 (memalignhook): Likewise.
67856 (reallochook): Likewise.
67857 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
67858 (tr_old_realloc_hook): Likewise.
67859 (tr_old_memalign_hook): Likewise.
67860 (tr_mallochook): Likewise.
67861 (tr_reallochook): Likewise.
67862 (tr_memalignhook): Likewise.
67863
67864 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67865
67866 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
67867 default_ldbl_pack and using as default implementation.
67868 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
67869 implementation.
67870 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
67871 redundant definition.
67872 (ldbl_insert_mantissa): Likewise.
67873 (ldbl_canonicalize): Likewise.
67874 (ldbl_nearbyint): Likewise.
67875 (ldbl_pack): Rename to ldbl_pack_ppc.
67876 (ldbl_unpack): Rename to ldbl_unpack_ppc.
67877 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
67878 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
67879
67880 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
67881
67882 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
67883 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
67884 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
67885 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
67886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
67887 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
67888 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
67889 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
67890
67891 2013-03-07 Andreas Jaeger <aj@suse.de>
67892
67893 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67894 bits/mman-linux.h.
67895
67896 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
67897
67898 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
67899 Include mpa.h and declare __MPEXP.
67900 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
67901 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
67902 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
67903 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
67904 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
67905 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
67906 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
67907
67908 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
67909 (__slowpow): Use long double EXPL and LOGL functions to
67910 compute POW.
67911 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
67912 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
67913 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
67914 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
67915 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
67916 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
67917
67918 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
67919 intermediate variable to calculate exponent.
67920 (__sqr): Likewise.
67921 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
67922 Likewise.
67923 (__sqr): Likewise.
67924
67925 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
67926 [!NO__SQR]: Define __sqr.
67927 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
67928 and NO__SQR. Remove all code except __mul and __sqr. Include
67929 sysdeps/ieee754/dbl-64/mpa.c.
67930 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67931
67932 [BZ #12723]
67933 * posix/Makefile (tests): Add tst-pathconf.
67934 * posix/tst-pathconf.c: New test case.
67935 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
67936 _PC_PIPE_BUF.
67937 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
67938
67939 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
67940
67941 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
67942
67943 2013-03-06 Andreas Jaeger <aj@suse.de>
67944
67945 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
67946 definition via __MAP_ANONYMOUS.
67947
67948 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
67949 it's not part of Linux headers.
67950
67951 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
67952 (MAP_HUGE_MASK): Define.
67953
67954 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
67955 Define.
67956 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
67957 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
67958 Define.
67959 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
67960 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
67961 Define.
67962 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
67963 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
67964 Define.
67965 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
67966
67967 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
67968 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
67969 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
67970 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
67971 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
67972 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
67973
67974 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
67975 Handle f2fs.
67976
67977 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
67978 Handle f2fs and efivarfs.
67979
67980 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
67981 f2fs.
67982
67983 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
67984 (EFIVARFS_MAGIC): Add.
67985 (F2FS_LINK_MAX): Add.
67986
67987 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
67988
67989 * stdio-common/vfprintf.c: Replace __builtin_expect with
67990 __glibc_unlikely.
67991
67992 2013-03-06 Joseph Myers <joseph@codesourcery.com>
67993
67994 [BZ #13550]
67995 * sysdeps/generic/bp-sym.h: Remove file.
67996 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
67997 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
67998 <bp-sym.h> and <bp-asm.h>.
67999 (__longjmp): Don't use BP_SYM.
68000 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
68001 and <bp-asm.h>.
68002 (memcpy): Don't use BP_SYM.
68003 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
68004 <bp-sym.h> and <bp-asm.h>.
68005 (memcpy): Don't use BP_SYM.
68006 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
68007 <bp-asm.h>.
68008 (memcpy): Don't use BP_SYM.
68009 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
68010 <bp-asm.h>.
68011 (memset): Don't use BP_SYM.
68012 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68013 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68014 (__bzero): Don't use BP_SYM.
68015 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68016 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68017 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
68018 <bp-sym.h> and <bp-asm.h>.
68019 (memcmp): Don't use BP_SYM. Remove comment about bounded
68020 pointers.
68021 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
68022 <bp-sym.h> and <bp-asm.h>.
68023 (memcpy): Don't use BP_SYM.
68024 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
68025 <bp-sym.h> and <bp-asm.h>.
68026 (memset): Don't use BP_SYM.
68027 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68028 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68029 (__bzero): Don't use BP_SYM.
68030 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68031 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68032 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
68033 <bp-sym.h> and <bp-asm.h>.
68034 (strncmp): Don't use BP_SYM. Remove comment about bounded
68035 pointers.
68036 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
68037 <bp-sym.h> and <bp-asm.h>.
68038 (memcpy): Don't use BP_SYM.
68039 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
68040 <bp-sym.h> and <bp-asm.h>.
68041 (memset): Don't use BP_SYM.
68042 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68043 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68044 (__bzero): Don't use BP_SYM.
68045 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68046 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68047 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
68048 <bp-sym.h> and <bp-asm.h>.
68049 (__memchr): Don't use BP_SYM.
68050 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
68051 <bp-sym.h> and <bp-asm.h>.
68052 (memcmp): Don't use BP_SYM. Remove comment about bounded
68053 pointers.
68054 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
68055 <bp-sym.h> and <bp-asm.h>.
68056 (memcpy): Don't use BP_SYM.
68057 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
68058 <bp-sym.h> and <bp-asm.h>.
68059 (__mempcpy): Don't use BP_SYM.
68060 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
68061 <bp-sym.h> and <bp-asm.h>.
68062 (__memrchr): Don't use BP_SYM.
68063 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
68064 <bp-sym.h> and <bp-asm.h>.
68065 (memset): Don't use BP_SYM.
68066 (__bzero): Likewise.
68067 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
68068 <bp-sym.h> and <bp-asm.h>.
68069 (__rawmemchr): Don't use BP_SYM.
68070 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
68071 <bp-sym.h> and <bp-asm.h>.
68072 (__STRCMP): Don't use BP_SYM.
68073 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
68074 <bp-sym.h> and <bp-asm.h>.
68075 (strchr): Don't use BP_SYM.
68076 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
68077 <bp-sym.h> and <bp-asm.h>.
68078 (__strchrnul): Don't use BP_SYM.
68079 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
68080 <bp-sym.h> and <bp-asm.h>.
68081 (strlen): Don't use BP_SYM.
68082 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
68083 <bp-sym.h> and <bp-asm.h>.
68084 (strncmp): Don't use BP_SYM. Remove comment about bounded
68085 pointers.
68086 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
68087 <bp-sym.h> and <bp-asm.h>.
68088 (__strnlen): Don't use BP_SYM.
68089 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
68090 <bp-sym.h> and <bp-asm.h>.
68091 (__GI__setjmp): Don't use BP_SYM.
68092 (_setjmp): Likewise.
68093 (__sigsetjmp): Likewise.
68094 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
68095 (L(start_addresses)): Don't use BP_SYM.
68096 (_start): Likewise.
68097 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
68098 <bp-asm.h>.
68099 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
68100 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
68101 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68102 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68103 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
68104 <bp-asm.h>.
68105 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
68106 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
68107 about bounded pointers.
68108 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
68109 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68110 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
68111 <bp-asm.h>.
68112 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
68113 about bounded pointers. Remove GKM FIXME comments.
68114 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
68115 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
68116 <bp-asm.h>.
68117 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
68118 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
68119 Remove GKM FIXME comments.
68120 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68121 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68122 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
68123 <bp-asm.h>.
68124 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
68125 about bounded pointers. Remove GKM FIXME comment.
68126 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
68127 and <bp-asm.h>.
68128 (strncmp): Don't use BP_SYM. Remove comment about bounded
68129 pointers.
68130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
68131 <bp-sym.h> and <bp-asm.h>.
68132 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
68133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
68134 <bp-sym.h> and <bp-asm.h>.
68135 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
68136 comment.
68137
68138 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
68139
68140 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
68141 call free(NULL).
68142
68143 2013-03-05 David S. Miller <davem@davemloft.net>
68144
68145 * po/es.po: Update from translation team.
68146
68147 2013-03-05 Andreas Jaeger <aj@suse.de>
68148
68149 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
68150 <bits/mman-linux.h>.
68151 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
68152 is fine.
68153 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
68154 <bits/mman-linux.h> to end of file.
68155 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
68156 is fine.
68157 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
68158 <bits/mman-linux.h> to end of file.
68159 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
68160 is fine.
68161 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
68162 <bits/mman-linux.h> to end of file.
68163
68164 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
68165 (MCL_CURRENT, MCL_FUTURE): Define here.
68166
68167 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68168
68169 [BZ #15232]
68170 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
68171 attribute_hidden.
68172 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
68173
68174 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68175
68176 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
68177 fourth parameter needed for rt_sigprocmask syscall.
68178 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
68179 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
68180 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
68181 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
68182 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
68183 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
68184
68185 2013-03-04 Joseph Myers <joseph@codesourcery.com>
68186
68187 [BZ #13550]
68188 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
68189 comment about bounded pointers.
68190 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
68191 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
68192
68193 2013-03-04 Andreas Jaeger <aj@suse.de>
68194
68195 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
68196 common definitions.
68197
68198 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
68199 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
68200 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
68201 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68202 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
68203 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68204
68205 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68206
68207 [BZ #15055]
68208 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
68209 __ieee754_sqrl instead of __sqrl.
68210
68211 2013-03-01 Joseph Myers <joseph@codesourcery.com>
68212
68213 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
68214 * sysdeps/powerpc/fpu_control.h: ... here.
68215 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
68216 * sysdeps/powerpc/bits/fenvinline.h: ... here.
68217 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
68218 * sysdeps/powerpc/bits/mathinline.h: ... here.
68219
68220 2013-03-01 Roland McGrath <roland@hack.frob.com>
68221
68222 * elf/dl-hwcaps.c (_dl_important_hwcaps):
68223 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
68224 to just [NEED_DL_SYSINFO_DSO].
68225 * elf/dl-support.c: Likewise.
68226 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
68227 * elf/rtld.c (dl_main): Likewise.
68228 * elf/setup-vdso.h (setup_vdso): Likewise.
68229 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
68230 * sysdeps/unix/sysv/linux/dl-sysdep.c
68231 (_dl_discover_osversion): Likewise.
68232
68233 2013-03-01 Carlos O'Donell <carlos@redhat.com>
68234
68235 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
68236 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
68237
68238 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
68239
68240 * NEWS: Mention libm performance improvements and non-x86 PI
68241 futex support.
68242
68243 * csu/libc-start.c (__pthread_initialize_minimal): Change
68244 function arguments.
68245 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
68246
68247 2013-02-28 Joseph Myers <joseph@codesourcery.com>
68248
68249 [BZ #13550]
68250 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
68251 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
68252 <bp-sym.h> and <bp-asm.h>.
68253 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
68254 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
68255 and <bp-asm.h>.
68256 (memcpy): Don't use BP_SYM.
68257 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
68258 <bp-asm.h>.
68259 (__mpn_add_n): Don't use BP_SYM.
68260 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
68261 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
68262 and <bp-asm.h>.
68263 (__mpn_addmul_1): Don't use BP_SYM.
68264 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68265 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
68266 <bp-sym.h>.
68267 (_setjmp): Don't use BP_SYM.
68268 (__novmx_setjmp): Likewise.
68269 (__GI__setjmp): Likewise.
68270 (__vmx_setjmp): Likewise.
68271 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
68272 <bp-sym.h>.
68273 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
68274 (__bzero): Don't use BP_SYM.
68275 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68276 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68277 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
68278 <bp-sym.h> and <bp-asm.h>.
68279 (memcpy): Don't use BP_SYM.
68280 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
68281 <bp-sym.h> and <bp-asm.h>.
68282 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
68283 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
68284 <bp-sym.h> and <bp-asm.h>.
68285 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
68286 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
68287 <bp-asm.h>.
68288 (__mpn_lshift): Don't use BP_SYM.
68289 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68290 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
68291 <bp-asm.h>.
68292 (memset): Don't use BP_SYM.
68293 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68294 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68295 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
68296 <bp-asm.h>.
68297 (__mpn_mul_1): Don't use BP_SYM.
68298 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68299 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
68300 <bp-sym.h> and <bp-asm.h>.
68301 (memcmp): Don't use BP_SYM.
68302 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
68303 <bp-sym.h> and <bp-asm.h>.
68304 (memcpy): Don't use BP_SYM.
68305 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
68306 <bp-sym.h> and <bp-asm.h>.
68307 (memset): Don't use BP_SYM.
68308 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
68309 <bp-sym.h> and <bp-asm.h>.
68310 (strncmp): Don't use BP_SYM.
68311 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
68312 <bp-sym.h> and <bp-asm.h>.
68313 (memcpy): Don't use BP_SYM.
68314 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
68315 <bp-sym.h> and <bp-asm.h>.
68316 (memset): Don't use BP_SYM.
68317 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
68318 <bp-sym.h> and <bp-asm.h>.
68319 (__memchr): Don't use BP_SYM.
68320 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
68321 <bp-sym.h> and <bp-asm.h>.
68322 (memcmp): Don't use BP_SYM.
68323 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
68324 <bp-sym.h> and <bp-asm.h>.
68325 (memcpy): Don't use BP_SYM.
68326 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
68327 <bp-sym.h> and <bp-asm.h>.
68328 (__mempcpy): Don't use BP_SYM.
68329 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
68330 <bp-sym.h> and <bp-asm.h>.
68331 (__memrchr): Don't use BP_SYM.
68332 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
68333 <bp-sym.h> and <bp-asm.h>.
68334 (memset): Don't use BP_SYM.
68335 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
68336 <bp-sym.h> and <bp-asm.h>.
68337 (__rawmemchr): Don't use BP_SYM.
68338 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
68339 <bp-sym.h> and <bp-asm.h>.
68340 (__STRCMP): Don't use BP_SYM.
68341 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
68342 <bp-sym.h> and <bp-asm.h>.
68343 (strchr): Don't use BP_SYM.
68344 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
68345 <bp-sym.h> and <bp-asm.h>.
68346 (__strchrnul): Don't use BP_SYM.
68347 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
68348 <bp-sym.h> and <bp-asm.h>.
68349 (strlen): Don't use BP_SYM.
68350 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
68351 <bp-sym.h> and <bp-asm.h>.
68352 (strncmp): Don't use BP_SYM.
68353 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
68354 <bp-sym.h> and <bp-asm.h>.
68355 (__strnlen): Don't use BP_SYM.
68356 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
68357 <bp-asm.h>.
68358 (__mpn_rshift): Don't use BP_SYM.
68359 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68360 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
68361 <bp-sym.h> and <bp-asm.h>.
68362 (__sigsetjmp): Don't use BP_SYM.
68363 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
68364 (L(start_addresses)): Don't use BP_SYM.
68365 (_start): Likewise.
68366 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
68367 <bp-asm.h>.
68368 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
68369 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68370 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68371 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
68372 <bp-asm.h>.
68373 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
68374 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
68375 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68376 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
68377 <bp-asm.h>.
68378 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
68379 comments.
68380 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
68381 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
68382 <bp-asm.h>.
68383 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
68384 FIXME comments.
68385 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68386 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68387 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
68388 <bp-asm.h>.
68389 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
68390 comment.
68391 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
68392 and <bp-asm.h>.
68393 (strncmp): Don't use BP_SYM,
68394 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
68395 <bp-asm.h>.
68396 (__mpn_sub_n): Don't use BP_SYM.
68397 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68398 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
68399 and <bp-asm.h>.
68400 (__mpn_submul_1): Don't use BP_SYM.
68401 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
68403 <bp-sym.h> and <bp-asm.h>.
68404 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
68405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
68406 <bp-sym.h> and <bp-asm.h>.
68407 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
68408 comment.
68409
68410 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
68411
68412 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
68413 Use ZK to minimize writes to Z.
68414 (sub_magnitudes): Simplify code a bit.
68415 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
68416 Use ZK to minimize writes to Z.
68417 (sub_magnitudes): Simplify code a bit.
68418
68419 2013-02-27 Roland McGrath <roland@hack.frob.com>
68420
68421 * csu/gmon-start.c: Add special exception to license text.
68422
68423 2013-02-27 Richard Henderson <rth@redhat.com>
68424
68425 * scripts/config.guess: Update from config.git.
68426 * scripts/config.sub: Likewise.
68427
68428 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
68429
68430 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
68431
68432 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
68433
68434 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
68435
68436 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
68437
68438 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
68439
68440 2013-02-26 Roland McGrath <roland@hack.frob.com>
68441
68442 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
68443 [$(build-shared = yes].
68444
68445 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
68446
68447 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
68448 (__mul): Reduce iterations for calculating mantissa.
68449
68450 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
68451 MPTWO.
68452 (__mpranred): Likewise.
68453
68454 [BZ #15160]
68455 * malloc/memusagestat.c (main): Draw graphs for heap and stack
68456 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
68457
68458 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
68459
68460 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
68461 Define __attribute__.
68462
68463 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
68464
68465 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
68466 unused.
68467 * posix/regex_internal.h (__attribute): Remove.
68468 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
68469 (re_string_context_at): Likewise.
68470 (bitset_not): Use __attribute__ and mark function as possibly
68471 unused.
68472 (bitset_merge): Likewise.
68473 (bitset_mask): Likewise.
68474 (re_string_char_size_at): Likewise.
68475 (re_string_wchar_at): Likewise.
68476 (re_string_elem_size_at): Likewise.
68477
68478 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
68479
68480 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
68481 code.
68482 (cc32): Likewise.
68483
68484 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
68485 (__acr): Likewise.
68486 (__cpy): Likewise.
68487 (norm): Likewise.
68488 (denorm): Likewise.
68489 (__dbl_mp): Likewise.
68490 (add_magnitudes): Likewise.
68491 (sub_magnitudes): Likewise.
68492 (__mul): Likewise.
68493 (__inv): Likewise.
68494
68495 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
68496 style.
68497
68498 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
68499 style.
68500
68501 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
68502 code.
68503
68504 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
68505 up changes with default code.
68506 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
68507 Likewise.
68508
68509 2013-02-24 Allan McRae <allan@archlinux.org>
68510
68511 * manual/socket.texi (The Internet Namespace): Order menu items
68512 to match that in the file.
68513
68514 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
68515 node listing of the info page menu.
68516
68517 2013-02-21 Joseph Myers <joseph@codesourcery.com>
68518
68519 [BZ #13550]
68520 * sysdeps/i386/bp-asm.h: Remove file.
68521 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
68522 (PARMS): Do not use macros from bp-asm.h.
68523 (S1): Likewise.
68524 (S2): Likewise.
68525 (SIZE): Likewise.
68526 (__mpn_add_n): Do not use BP_SYM
68527 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
68528 "bp-asm.h".
68529 (PARMS): Do not use macros from bp-asm.h.
68530 (S1): Likewise.
68531 (SIZE): Likewise.
68532 (__mpn_addmul_1): Do not use BP_SYM
68533 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
68534 "bp-asm.h".
68535 (PARMS): Do not use macros from bp-asm.h.
68536 (SIGMSK): Likewise.
68537 (_setjmp): Likewise. Do not use BP_SYM.
68538 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
68539 "bp-asm.h".
68540 (PARMS): Do not use macros from bp-asm.h.
68541 (SIGMSK): Likewise.
68542 (setjmp): Likewise. Do not use BP_SYM.
68543 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
68544 "bp-asm.h".
68545 (PARMS): Do not use macros from bp-asm.h.
68546 (__frexp): Do not use BP_SYM.
68547 (frexp): Likewise.
68548 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
68549 "bp-asm.h".
68550 (PARMS): Do not use macros from bp-asm.h.
68551 (__frexpf): Do not use BP_SYM.
68552 (frexpf): Likewise.
68553 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
68554 "bp-asm.h".
68555 (PARMS): Do not use macros from bp-asm.h.
68556 (__frexpl): Do not use BP_SYM.
68557 (frexpl): Likewise.
68558 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
68559 "bp-asm.h".
68560 (PARMS): Do not use macros from bp-asm.h.
68561 (__remquo): Do not use BP_SYM.
68562 (remquo): Likewise.
68563 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
68564 "bp-asm.h".
68565 (PARMS): Do not use macros from bp-asm.h.
68566 (__remquof): Do not use BP_SYM.
68567 (remquof): Likewise.
68568 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
68569 "bp-asm.h".
68570 (PARMS): Do not use macros from bp-asm.h.
68571 (__remquol): Do not use BP_SYM.
68572 (remquol): Likewise.
68573 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
68574 "bp-asm.h".
68575 (PARMS): Do not use macros from bp-asm.h.
68576 (DEST): Likewise.
68577 (SRC): Likewise.
68578 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
68579 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
68580 "bp-asm.h".
68581 (PARMS): Do not use macros from bp-asm.h.
68582 (strlen): Do not use BP_SYM.
68583 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
68584 "bp-asm.h".
68585 (PARMS): Do not use macros from bp-asm.h.
68586 (S1): Likewise.
68587 (S2): Likewise.
68588 (SIZE): Likewise.
68589 (__mpn_add_n): Do not use BP_SYM.
68590 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
68591 "bp-asm.h".
68592 (PARMS): Do not use macros from bp-asm.h.
68593 (S1): Likewise.
68594 (SIZE): Likewise.
68595 (__mpn_addmul_1): Do not use BP_SYM.
68596 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
68597 weak_alias.
68598 (bzero): Likewise.
68599 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
68600 "bp-asm.h".
68601 (PARMS): Do not use macros from bp-asm.h.
68602 (S): Likewise.
68603 (SIZE): Likewise.
68604 (__mpn_lshift): Do not use BP_SYM.
68605 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
68606 "bp-asm.h".
68607 (PARMS): Do not use macros from bp-asm.h.
68608 (DEST): Likewise.
68609 (SRC): Likewise.
68610 (LEN): Likewise.
68611 (memcpy): Likewise. Do not use BP_SYM.
68612 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
68613 libc_hidden_def and weak_alias.
68614 (mempcpy): Do not use BP_SYM in weak_alias.
68615 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
68616 "bp-asm.h".
68617 (PARMS): Do not use macros from bp-asm.h.
68618 (DEST): Likewise.
68619 (LEN): Likewise.
68620 [!BZERO_P] (CHR): Likewise.
68621 (memset): Likewise. Do not use BP_SYM.
68622 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
68623 "bp-asm.h".
68624 (PARMS): Do not use macros from bp-asm.h.
68625 (S1): Likewise.
68626 (SIZE): Likewise.
68627 (__mpn_mul_1): Do not use BP_SYM.
68628 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
68629 "bp-asm.h".
68630 (PARMS): Do not use macros from bp-asm.h.
68631 (S): Likewise.
68632 (SIZE): Likewise.
68633 (__mpn_rshift): Do not use BP_SYM.
68634 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
68635 "bp-asm.h".
68636 (PARMS): Do not use macros from bp-asm.h.
68637 (STR): Likewise.
68638 (CHR): Likewise.
68639 (strchr): Likewise. Do not use BP_SYM.
68640 (index): Do not use BP_SYM in weak_alias.
68641 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
68642 "bp-asm.h".
68643 (PARMS): Do not use macros from bp-asm.h.
68644 (DEST): Likewise.
68645 (SRC): Likewise.
68646 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
68647 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
68648 "bp-asm.h".
68649 (PARMS): Do not use macros from bp-asm.h.
68650 (strlen): Do not use BP_SYM.
68651 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
68652 "bp-asm.h".
68653 (PARMS): Do not use macros from bp-asm.h.
68654 (S1): Likewise.
68655 (S2): Likewise.
68656 (SIZE): Likewise.
68657 (__mpn_sub_n): Do not use BP_SYM.
68658 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
68659 "bp-asm.h".
68660 (PARMS): Do not use macros from bp-asm.h.
68661 (S1): Likewise.
68662 (SIZE): Likewise.
68663 (__mpn_submul_1): Do not use BP_SYM.
68664 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
68665 "bp-asm.h".
68666 (PARMS): Do not use macros from bp-asm.h.
68667 (S1): Likewise.
68668 (S2): Likewise.
68669 (SIZE): Likewise.
68670 (__mpn_add_n): Do not use BP_SYM.
68671 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
68672 weak_alias.
68673 (bzero): Likewise.
68674 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
68675 "bp-asm.h".
68676 (PARMS): Do not use macros from bp-asm.h.
68677 (BLK2): Likewise.
68678 (LEN): Likewise.
68679 (memcmp): Do not use BP_SYM.
68680 (bcmp): Do not use BP_SYM in weak_alias.
68681 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
68682 "bp-asm.h".
68683 (PARMS): Do not use macros from bp-asm.h.
68684 (DEST): Likewise.
68685 (SRC): Likewise.
68686 (LEN): Likewise.
68687 (memcpy): Likewise. Do not use BP_SYM.
68688 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
68689 "bp-asm.h".
68690 (PARMS): Do not use macros from bp-asm.h.
68691 (DEST): Likewise.
68692 (SRC): Likewise.
68693 (LEN): Likewise.
68694 (memmove): Likewise. Do not use BP_SYM.
68695 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
68696 "bp-asm.h".
68697 (PARMS): Do not use macros from bp-asm.h.
68698 (DEST): Likewise.
68699 (SRC): Likewise.
68700 (LEN): Likewise.
68701 (__mempcpy): Likewise. Do not use BP_SYM.
68702 (mempcpy): Do not use BP_SYM in weak_alias.
68703 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
68704 "bp-asm.h".
68705 (PARMS): Do not use macros from bp-asm.h.
68706 (DEST): Likewise.
68707 (LEN): Likewise.
68708 [!BZERO_P] (CHR): Likewise.
68709 (memset): Likewise. Do not use BP_SYM.
68710 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
68711 "bp-asm.h".
68712 (PARMS): Do not use macros from bp-asm.h.
68713 (STR2): Likewise.
68714 (strcmp): Do not use BP_SYM.
68715 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
68716 "bp-asm.h".
68717 (PARMS): Do not use macros from bp-asm.h.
68718 (STR): Likewise.
68719 (DELIM): Likewise.
68720 [USE_AS_STRTOK_R] (SAVE): Likewise.
68721 (FUNCTION): Likewise. Do not use BP_SYM.
68722 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
68723 aliases.
68724 (strtok_r): Likewise.
68725 (__GI___strtok_r): Likewise.
68726 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
68727 (PARMS): Do not use macros from bp-asm.h.
68728 (S): Likewise.
68729 (SIZE): Likewise.
68730 (__mpn_lshift): Do not use BP_SYM.
68731 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
68732 (PARMS): Do not use macros from bp-asm.h.
68733 (STR): Likewise.
68734 (CHR): Likewise.
68735 (__memchr): Do not use BP_SYM.
68736 (memchr): Do not use BP_SYM in weak_alias.
68737 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
68738 (PARMS): Do not use macros from bp-asm.h.
68739 (BLK2): Likewise.
68740 (LEN): Likewise.
68741 (memcmp): Do not use BP_SYM.
68742 (bcmp): Do not use BP_SYM in weak_alias.
68743 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
68744 (PARMS): Do not use macros from bp-asm.h.
68745 (S1): Likewise.
68746 (SIZE): Likewise.
68747 (__mpn_mul_1): Do not use BP_SYM.
68748 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
68749 "bp-asm.h".
68750 (PARMS): Do not use macros from bp-asm.h.
68751 (STR): Likewise.
68752 (CHR): Likewise.
68753 (__rawmemchr): Do not use BP_SYM.
68754 (rawmemchr): Do not use BP_SYM in weak_alias.
68755 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
68756 (PARMS): Do not use macros from bp-asm.h.
68757 (S): Likewise.
68758 (SIZE): Likewise.
68759 (__mpn_rshift): Do not use BP_SYM.
68760 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
68761 (PARMS): Do not use macros from bp-asm.h.
68762 (SIGMSK): Likewise.
68763 (__sigsetjmp): Likewise. Do not use BP_SYM.
68764 * sysdeps/i386/start.S: Do not include "bp-sym.h".
68765 (_start): Do not use BP_SYM.
68766 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
68767 (PARMS): Do not use macros from bp-asm.h.
68768 (DEST): Likewise.
68769 (SRC): Likewise.
68770 (__stpcpy): Likewise. Do not use BP_SYM.
68771 (stpcpy): Do not use BP_SYM in weak_alias.
68772 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
68773 "bp-asm.h".
68774 (PARMS): Do not use macros from bp-asm.h.
68775 (DEST): Likewise.
68776 (SRC): Likewise.
68777 (LEN): Likewise.
68778 (__stpncpy): Likewise. Do not use BP_SYM.
68779 (stpncpy): Do not use BP_SYM in weak_alias.
68780 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
68781 (PARMS): Do not use macros from bp-asm.h.
68782 (STR): Likewise.
68783 (CHR): Likewise.
68784 (strchr): Likewise. Do not use BP_SYM.
68785 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
68786 "bp-asm.h".
68787 (PARMS): Do not use macros from bp-asm.h.
68788 (STR): Likewise.
68789 (CHR): Likewise.
68790 (__strchrnul): Likewise. Do not use BP_SYM.
68791 (strchrnul): Do not use BP_SYM in weak_alias.
68792 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
68793 "bp-asm.h".
68794 (PARMS): Do not use macros from bp-asm.h.
68795 (STOP): Likewise.
68796 (strcspn): Do not use BP_SYM.
68797 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
68798 "bp-asm.h".
68799 (PARMS): Do not use macros from bp-asm.h.
68800 (STR): Likewise.
68801 (STOP): Likewise.
68802 (strpbrk): Likewise. Do not use BP_SYM.
68803 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
68804 "bp-asm.h".
68805 (PARMS): Do not use macros from bp-asm.h.
68806 (STR): Likewise.
68807 (CHR): Likewise.
68808 (strrchr): Likewise. Do not use BP_SYM.
68809 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
68810 (PARMS): Do not use macros from bp-asm.h.
68811 (SKIP): Likewise.
68812 (strspn): Do not use BP_SYM.
68813 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
68814 (PARMS): Do not use macros from bp-asm.h.
68815 (STR): Likewise.
68816 (DELIM): Likewise.
68817 (SAVE): Likewise.
68818 (FUNCTION): Likewise. Do not use BP_SYM.
68819 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
68820 aliases.
68821 (strtok_r): Likewise.
68822 (__GI___strtok_r): Likewise.
68823 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
68824 (PARMS): Do not use macros from bp-asm.h.
68825 (S1): Likewise.
68826 (S2): Likewise.
68827 (SIZE): Likewise.
68828 (__mpn_sub_n): Do not use BP_SYM.
68829 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
68830 "bp-asm.h".
68831 (PARMS): Do not use macros from bp-asm.h.
68832 (S1): Likewise.
68833 (SIZE): Likewise.
68834 (__mpn_submul_1): Do not use BP_SYM.
68835 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
68836 <bp-sym.h>.
68837 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
68838 and <bp-asm.h>.
68839 (PARMS): Do not use macros from bp-asm.h.
68840 (FLAGS): Likewise.
68841 (PTID): Likewise.
68842 (TLS): Likewise.
68843 (CTID): Likewise.
68844 (__clone): Do not use BP_SYM.
68845 (clone): Do not use BP_SYM in weak_alias.
68846 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
68847 and <bp-asm.h>.
68848 (PARMS): Do not use macros from bp-asm.h.
68849 (LEN): Likewise.
68850 (__mmap64): Do not use BP_SYM.
68851 (mmap64): Do not use BP_SYM in weak_alias.
68852 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
68853 <bp-sym.h> and <bp-asm.h>.
68854 (PARMS): Do not use macros from bp-asm.h.
68855 (__posix_fadvise64_l64): Do not use BP_SYM.
68856 * sysdeps/unix/sysv/linux/i386/semtimedop.S
68857 (PARMS): Do not use macros from bp-asm.h.
68858 (NSOPS): Likewise.
68859 (semtimedop): Do not use BP_SYM.
68860 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
68861 and <bp-asm.h>.
68862
68863 2013-02-21 Allan McRae <allan@archlinux.org>
68864
68865 * manual/message.texi (Charset conversion in gettext):
68866 Move @end statement to beginning of line.
68867
68868 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
68869
68870 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
68871 static.
68872 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
68873 Likewise.
68874
68875 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
68876 (denorm): Likewise.
68877 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
68878 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
68879
68880 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68881
68882 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
68883 tail-call to the resolved function if pltexit isn't needed.
68884
68885 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
68886
68887 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
68888 or Y being zero as being unlikely.
68889 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
68890 Likewise.
68891
68892 2013-02-20 Carlos O'Donell <carlos@redhat.com>
68893
68894 * manual/nss.texi (System Databases and Name Service Switch):
68895 Remove frobnicate @pxref.
68896
68897 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
68898
68899 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
68900 __attribute__ ((unused)) to __attribute__ ((__unused__)).
68901
68902 2013-02-20 Petr Machata <pmachata@redhat.com>
68903
68904 * elf/elf.h (R_ARM_TARGET1): New macro.
68905 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
68906 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
68907 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
68908 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
68909 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
68910 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
68911 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
68912 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
68913 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
68914 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
68915 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
68916 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
68917 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
68918 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
68919 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
68920 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
68921 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
68922 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
68923 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
68924 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
68925 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
68926 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
68927 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
68928 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
68929 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
68930 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
68931 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
68932 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
68933 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
68934 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
68935 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
68936 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
68937 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
68938 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
68939 (R_ARM_THM_GOT_BREL12): Likewise.
68940 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
68941 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
68942 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
68943 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
68944 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
68945 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
68946 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
68947 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
68948 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
68949
68950 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
68951
68952 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
68953 __attribute_used__ to __attribute__ ((unused)).
68954
68955 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
68956
68957 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
68958 powerpc mpa.c.
68959 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
68960 comment formatting.
68961 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
68962
68963 2013-02-19 Joseph Myers <joseph@codesourcery.com>
68964
68965 [BZ #13550]
68966 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
68967 Remove macro.
68968 (ENTER): Remove both macro definitions.
68969 (LEAVE): Likewise.
68970 (CHECK_BOUNDS_LOW): Likewise.
68971 (CHECK_BOUNDS_HIGH): Likewise.
68972 (CHECK_BOUNDS_BOTH): Likewise.
68973 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
68974 (RETURN_BOUNDED_POINTER): Likewise.
68975 (RETURN_NULL_BOUNDED_POINTER): Likewise.
68976 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
68977 (POP_ERRNO_LOCATION_RETURN): Likewise.
68978 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
68979 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68980 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
68981 macros.
68982 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68983 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
68984 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
68985 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
68986 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
68987 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
68988 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
68989 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
68990 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
68991 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
68992 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
68993 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
68994 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68995 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
68996 removed macros.
68997 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68998 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
68999 macros.
69000 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69001 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
69002 * sysdeps/i386/i586/memset.S (memset): Likewise.
69003 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
69004 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69005 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
69006 macros.
69007 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69008 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
69009 Change uses of L(2) to L(out).
69010 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
69011 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
69012 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
69013 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69014 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
69015 removed macros.
69016 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69017 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
69018 macros.
69019 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69020 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
69021 (RETURN): Do not use macro LEAVE.
69022 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
69023 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
69024 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
69025 * sysdeps/i386/i686/memset.S (memset): Likewise.
69026 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
69027 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
69028 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69029 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
69030 Likewise.
69031 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69032 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
69033 L(1_2) and L(1_3) into L(1).
69034 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
69035 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
69036 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69037 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
69038 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69039 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
69040 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
69041 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69042 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
69043 macros.
69044 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
69045 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69046 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
69047 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
69048 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
69049 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69050 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
69051 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
69052 * sysdeps/i386/strcspn.S (strcspn): Likewise.
69053 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
69054 * sysdeps/i386/strrchr.S (strrchr): Likewise.
69055 * sysdeps/i386/strspn.S (strspn): Likewise.
69056 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
69057 conditional code.
69058 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69059 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
69060 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
69061 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
69062 L(1_3) into L(1_1).
69063 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
69064 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69065 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
69066 macros.
69067 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69068
69069 2013-02-19 Jakub Jelinek <jakub@redhat.com>
69070
69071 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
69072 macro.
69073
69074 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
69075
69076 * math/atest-exp.c (exp_mpn): Remove ROUND.
69077 * math/atest-exp2.c (exp_mpn): Likewise.
69078 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
69079
69080 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
69081 * stdlib/tst-tls-atexit-lib.c: Likewise.
69082 * stdlib/tst-tls-atexit.c: Likewise.
69083
69084 2013-02-18 Mike Frysinger <vapier@gentoo.org>
69085
69086 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
69087 and __attribute_alloc_size__.
69088
69089 2013-02-18 Mike Frysinger <vapier@gentoo.org>
69090
69091 * include/programs/xmalloc.h: Change __attribute_alloc_size to
69092 __attribute_alloc_size__.
69093 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
69094 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
69095
69096 2013-02-18 Mike Frysinger <vapier@gentoo.org>
69097
69098 * include/programs/xmalloc.h: New file.
69099 * catgets/gencat.c: Include it.
69100 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
69101 * elf/pldd.c: Likewise.
69102 * iconv/iconv_charmap.c: Likewise.
69103 * iconv/iconvconfig.c: Likewise.
69104 * iconv/strtab.c: Likewise.
69105 * locale/programs/locale.c: Likewise.
69106 * locale/programs/localedef.h: Likewise.
69107 * locale/programs/simple-hash.c: Likewise.
69108 * nscd/nscd.h: Likewise.
69109 * nss/makedb.c: Likewise.
69110 * sysdeps/generic/ldconfig.h: Likewise.
69111
69112 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
69113
69114 * Versions.def: Add GLIBC_2.18.
69115 * include/link.h (struct link_map): New member l_tls_dtor_count.
69116 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
69117 (__call_tls_dtors): Likewise.
69118 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
69119 __cxa_thread_atexit_impl.
69120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69121 Likewise.
69122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69123 Likewise.
69124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
69125 Likewise.
69126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
69127 Likewise.
69128 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
69129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
69130 Likewise.
69131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
69132 Likewise.
69133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
69134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
69135 Likewise.
69136 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
69137 (tests): Add test case tst-tls-atexit.
69138 (modules-names): Add shared library for tst-tls-atexit.
69139 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
69140 (GLIBC_PRIVATE): Add __call_tls_dtors.
69141 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
69142 for libstdc++.
69143 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
69144 * stdlib/tst-tls-atexit.c: New test case.
69145 * stdlib/tst-tls-atexit-lib.c: New test case.
69146
69147 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
69148
69149 * elf/Versions (ld): Add _dl_find_dso_for_object.
69150 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
69151 * elf/dl-open.c (_dl_find_dso_for_object): New function.
69152 (dl_open_worker): Use _dl_find_dso_for_object.
69153 * elf/dl-sym.c (do_sym): Likewise.
69154 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
69155
69156 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69157
69158 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
69159 Syntactic changes only.
69160 (_dl_runtime_profile): Do a tail-call to the resolved function.
69161
69162 2013-02-17 Joseph Myers <joseph@codesourcery.com>
69163
69164 [BZ #13550]
69165 * sysdeps/x86_64/bp-asm.h: Remove file.
69166 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
69167 <bp-sym.h> and <bp-asm.h>.
69168 (__clone): Do not use BP_SYM.
69169 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
69170 <bp-sym.h> and <bp-asm.h>.
69171 * sysdeps/unix/x86_64/sysdep.S: Likewise.
69172 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
69173 "bp-asm.h".
69174 (_setjmp): Do not use BP_SYM.
69175 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
69176 "bp-asm.h".
69177 (setjmp): Do not use BP_SYM.
69178 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
69179 libc_hidden_def.
69180 (mempcpy): Do not use BP_SYM in weak_alias.
69181 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
69182 "bp-asm.h".
69183 (strchr): Do not use BP_SYM.
69184 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
69185 "bp-asm.h".
69186 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
69187 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
69188 (_start): Do not use BP_SYM.
69189 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
69190 "bp-asm.h".
69191 (strcat): Do not use BP_SYM.
69192 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
69193 "bp-asm.h".
69194 (STRCMP): Do not use BP_SYM.
69195 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
69196 "bp-asm.h".
69197 (STRCPY): Do not use BP_SYM.
69198 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
69199 "bp-asm.h".
69200 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
69201 "bp-asm.h".
69202 (FUNCTION): Do not use BP_SYM.
69203 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
69204 weak_alias.
69205 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
69206
69207 2013-02-17 Andreas Jaeger <aj@suse.de>
69208
69209 * time/Versions: Sort entries.
69210 * string/Versions: Likewise.
69211 * resolv/Versions: Likewise.
69212 * posix/Versions: Likewise.
69213 * iconv/Versions: Likewise.
69214 * elf/Versions: Likewise.
69215 * wcsmbs/Versions: Likewise.
69216
69217 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69218
69219 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
69220 loop termination condition.
69221
69222 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
69223 variable to calculate EZ.
69224 (__sqr): Likewise.
69225
69226 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
69227 the lower precision input.
69228
69229 2013-02-15 Joseph Myers <joseph@codesourcery.com>
69230
69231 [BZ #13550]
69232 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
69233 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
69234 (run-via-rtld-prefix): Do not handle %-bp tests.
69235 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
69236 (all-object-suffixes): Remove .ob.
69237 (bppfx): Remove variable.
69238 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
69239 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
69240 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
69241 [$(build-bounded) = yes] (libtype.ob): Likewise.
69242 * Makerules (elide-routines.ob): Remove variable.
69243 (do-tests-clean): Do not handle *-bp.out.
69244 (common-mostlyclean): Do not handle *-bp and *-bp.out.
69245 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
69246 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
69247 (tests): Do not include $(tests-bp.out).
69248 (xtests): Do not include $(xtests-bp.out).
69249 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
69250 [$(build-bounded) = yes] ($(addprefix
69251 $(objpfx),$(binaries-bounded))): Remove rule.
69252 ($(objpfx)%-bp.out): Remove rule.
69253 * config.make.in (build-bounded): Remove variable.
69254 * crypt/Makefile [$(build-bounded) = yes]
69255 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
69256 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
69257 append to variable.
69258 [$(build-bounded) = yes] (install-lib): Likewise.
69259 [$(build-bounded) = yes] (generated): Likewise.
69260 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
69261 Remove rule.
69262 * intl/Makefile [$(build-bounded) = yes]
69263 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
69264 * math/Makefile [$(build-bounded) = yes]
69265 ($(tests:%=$(objpfx)%-bp): Likewise.
69266 * misc/Makefile [$(build-bounded) = yes]
69267 ($(objpfx)tst-tsearch-bp): Likewise.
69268 * nptl/Makeconfig (bounded-thread-library): Remove variable.
69269 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
69270 Remove dependency.
69271 * string/Makefile (o-objects.ob): Remove variable.
69272 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
69273 (CFLAGS-.ob): Remove variable.
69274 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
69275 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
69276 both definitions of variable.
69277 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
69278 (ASFLAGS-.ob): Remove variable.
69279
69280 2013-02-14 Joseph Myers <joseph@codesourcery.com>
69281
69282 [BZ #13550]
69283 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
69284 Remove __BOUNDED_POINTERS__ from condition.
69285 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
69286 * string/bits/string2.h [!__NO_STRING_INLINES &&
69287 !__BOUNDED_POINTERS__]: Likewise.
69288 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
69289 Likewise.
69290 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
69291 Remove conditional code.
69292 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
69293 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
69294 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
69295 condition.
69296
69297 [BZ #13550]
69298 * csu/libc-start.c: Do not include <bp-sym.h>.
69299 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
69300 * elf/dl-open.c: Do not include <bp-sym.h>.
69301 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
69302 * math/fegetenv.c: Do not include <bp-sym.h>.
69303 (fegetenv): Do not use BP_SYM in versioned symbols.
69304 * nptl/sysdeps/pthread/bits/libc-lockP.h
69305 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
69306 <bp-sym.h>.
69307 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69308 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
69309 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69310 (__pthread_mutex_destroy): Likewise.
69311 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69312 (__pthread_mutex_lock): Likewise.
69313 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69314 (__pthread_mutex_trylock): Likewise.
69315 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69316 (__pthread_mutex_unlock): Likewise.
69317 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69318 (__pthread_mutexattr_init): Likewise.
69319 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69320 (__pthread_mutexattr_destroy): Likewise.
69321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69322 (__pthread_mutexattr_settype): Likewise.
69323 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69324 (__pthread_rwlock_init): Likewise.
69325 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69326 (__pthread_rwlock_destroy): Likewise.
69327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69328 (__pthread_rwlock_rdlock): Likewise.
69329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69330 (__pthread_rwlock_tryrdlock): Likewise.
69331 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69332 (__pthread_rwlock_wrlock): Likewise.
69333 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69334 (__pthread_rwlock_trywrlock): Likewise.
69335 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69336 (__pthread_rwlock_unlock): Likewise.
69337 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69338 (__pthread_key_create): Likewise.
69339 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69340 (__pthread_setspecific): Likewise.
69341 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69342 (__pthread_getspecific): Likewise.
69343 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
69344 Likewise.
69345 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69346 (_pthread_cleanup_push_defer): Likewise.
69347 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69348 (_pthread_cleanup_pop_restore): Likewise.
69349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69350 (pthread_setcancelstate): Likewise.
69351 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
69352 <bp-sym.h>.
69353 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
69354 (memchr): Do not use BP_SYM in weak_alias.
69355 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
69356 (fegetenv): Do not use BP_SYM in versioned symbols.
69357 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
69358 (fesetenv): Do not use BP_SYM in versioned symbols.
69359 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
69360 (feupdateenv): Do not use BP_SYM in versioned symbols.
69361 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
69362 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
69363 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
69364 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
69365 (open64): Do not use BP_SYM in weak_alias.
69366 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
69367 (fegetenv): Do not use BP_SYM in versioned symbols.
69368 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
69369 (fesetenv): Do not use BP_SYM in versioned symbols.
69370 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
69371 (feupdateenv): Do not use BP_SYM in versioned symbols.
69372 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
69373 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
69374 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
69375 (feraiseexcept): Do not use BP_SYM in versioned symbols.
69376 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
69377 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
69378 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
69379 <bp-sym.h>.
69380 (__libc_start_main): Do not use BP_SYM.
69381
69382 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
69383
69384 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
69385 redundant return line.
69386 (norm): Likewise.
69387 (denorm): Likewise.
69388 (dbl_mp): Likewise.
69389 (sub_magnitudes): Likewise.
69390 (__add): Likewise.
69391 (__sub): Likewise.
69392 (__mul): Likewise.
69393 (__inv): Likewise.
69394 (__dvd): Likewise.
69395 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
69396 (norm): Likewise.
69397 (denorm): Likewise.
69398 (dbl_mp): Likewise.
69399 (sub_magnitudes): Likewise.
69400 (__add): Likewise.
69401 (__sub): Likewise.
69402 (__mul): Likewise.
69403 (__inv): Likewise.
69404 (__dvd): Likewise.
69405
69406 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
69407 instead of __mul.
69408 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
69409 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
69410 (cc32): Likewise.
69411
69412 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
69413 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
69414 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
69415 of __mul for squares.
69416 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
69417 function
69418 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
69419 Likewise.
69420 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
69421 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69422
69423 2013-02-13 Joseph Myers <joseph@codesourcery.com>
69424
69425 [BZ #13550]
69426 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
69427 code.
69428 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
69429 prototype or function definition. Rename ubp_* variables and
69430 parameters. Remove argv definitions conditional on
69431 [__BOUNDED_POINTERS__].
69432 * debug/backtrace.c (__backtrace): Do not use __unbounded.
69433 * elf/dl-runtime.c (_dl_fixup): Likewise.
69434 * include/set-hooks.h (RUN_HOOK): Likewise.
69435 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
69436 definition.
69437 * string/strcpy.c (strcpy): Do not use __unbounded.
69438 * sysdeps/generic/frame.h (struct layout): Likewise.
69439 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
69440 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
69441 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
69442 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
69443 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
69444 (__backtrace): Likewise.
69445 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
69446 use __ptrvalue.
69447 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
69448 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
69449 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
69450 Likewise.
69451 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
69452 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
69453 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
69454 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
69455 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
69456 Do not use __unbounded.
69457 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
69458 Rename __unboundedrlimits parameter to rlimits in prototype.
69459 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
69460 Do not use __unbounded.
69461 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
69462 not use __ptrvalue.
69463 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
69464 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
69465 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
69466 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
69467 __ptrvalue or __unbounded.
69468 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
69469 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
69470 use __unbounded.
69471 (__new_msgctl): Do not use __ptrvalue.
69472 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
69473 __unbounded.
69474 (__libc_msgrcv): Do not use __ptrvalue.
69475 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
69476 startup_info): Do not use __unbounded.
69477 (__libc_start_main): Likewise. Rename ubp_* variables and
69478 parameters. Remove argv definitions conditional on
69479 [__BOUNDED_POINTERS__].
69480 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
69481 __ptrvalue.
69482 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
69483 use __unbounded.
69484 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
69485 or __ptrvalue.
69486 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
69487 use __unbounded.
69488 (__new_shmctl): Do not use __ptrvalue.
69489 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
69490 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
69491 Likewise.
69492 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
69493 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
69494 (__libc_sigaction): Likewise.
69495 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
69496 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
69497 Likewise.
69498 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
69499
69500 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
69501
69502 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
69503
69504 * string/mempcpy.c: Implement by calling memcpy.
69505
69506 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
69507
69508 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
69509
69510 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
69511 evaluation.
69512
69513 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
69514 values in the mantissa.
69515
69516 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
69517 minimize writes to Z.
69518 (sub_magnitudes): Simplify code a bit.
69519
69520 2013-02-12 Roland McGrath <roland@hack.frob.com>
69521
69522 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
69523 from the message. The linker prefixes all warnings with that already.
69524
69525 2013-02-12 Andreas Schwab <schwab@suse.de>
69526
69527 [BZ #15078]
69528 * posix/regexec.c (extend_buffers): Add parameter min_len.
69529 (check_matching): Pass minimum needed length.
69530 (clean_state_log_if_needed): Likewise.
69531 (get_subexp): Likewise.
69532 * posix/Makefile (tests): Add bug-regex34.
69533 (bug-regex34-ENV): Define.
69534 * posix/bug-regex34.c: New file.
69535
69536 [BZ #11561]
69537 * posix/regcomp.c (parse_bracket_exp): When looking up collating
69538 elements compare against the byte sequence of it, not its name.
69539 * posix/Makefile (tests): Add bug-regex35.
69540 (bug-regex35-ENV): Define.
69541 * posix/bug-regex35.c: New file.
69542
69543 2013-02-11 Tom de Vries <tom@codesourcery.com>
69544
69545 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
69546 comment.
69547 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
69548 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
69549 (CHECK_EOL): Add undef.
69550
69551 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
69552
69553 * bits/stdlib-bsearch.h: New file.
69554 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
69555 * stdlib/stdlib.h: Likewise.
69556
69557 2013-02-11 Roland McGrath <roland@hack.frob.com>
69558
69559 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
69560 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
69561 declaration.
69562 * manual/search.texi (Array Search Function): Add missing const in
69563 lfind prototype.
69564 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
69565 declaration to use rlim_t.
69566 (Basic Scheduling Functions): Remove erroneous const from
69567 sched_getparam prototype. Remove erroneous * from
69568 sched_get_priority_max and sched_get_priority_min prototypes.
69569 (Resource Usage): Fix summary @comment on vtimes to refer to
69570 sys/vtimes.h rather than vtimes.h.
69571 Add missing *s in vtimes prototype.
69572 (Limits on Resources): Fix ulimit prototype to return long int.
69573 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
69574 prototypes to use long int rather than double.
69575 (BSD Random): Fix initstate and setstate to use char *, not void *.
69576 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
69577 prototype to make second argument 'struct aiocb64 *const[]'.
69578 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
69579 (Status of AIO Operations): Remove erroneous const in aio_return and
69580 aio_return64 prototypes.
69581 (Synchronizing I/O): Fix sync prototype to return void.
69582 * manual/startup.texi (Suboptions): Remove an erroneous const in
69583 getsubopt prototype.
69584 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
69585 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
69586 use size_t rather than int.
69587 (Scanning All Users): Likewise for getpwent_r.
69588 (Setting Groups): Add missing const to setgroups prototype.
69589 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
69590 * manual/socket.texi (Host Names): Fix gethostbyaddr and
69591 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
69592 'const void *' rather than 'const char *'.
69593 (Host Address Functions): Likewise for inet_ntop.
69594 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
69595 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
69596 ssize_t for return value.
69597 (Sending Data): Likewise for send, sendto, sendmsg.
69598 (Socket Option Functions): Add a missing const in setsockopt prototype.
69599 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
69600 use wchar_t for the argument.
69601 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
69602 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
69603 take no arguments.
69604 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
69605 double/float/long double for second argument.
69606 Fix return types of significand, significandf, significandl.
69607 * manual/filesys.texi (Setting Permissions): Use mode_t for second
69608 argument in fchmod prototype.
69609 (File Owner): Use uid_t and gid_t in fchown prototype.
69610 (File Times): Add const to utimes, futimes, and lutimes prototypes.
69611 (Making Special Files): Use mode_t and dev_t in mknod prototype.
69612 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
69613 use 'const struct dirent **' as argument types to CMP function pointer
69614 argument.
69615 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
69616 (File Times): Fix summary magic @comment for struct utimbuf and utime
69617 to refer to utime.h, not time.h.
69618 * manual/string.texi (Argz Functions): Add missing const in
69619 argz_extract and argz_next prototypes.
69620 (Finding Tokens in a String): Likewise for basename.
69621 (String/Array Comparison): Fix typo in wcscasecmp prototype.
69622 (Copying and Concatenation): Fix typo in wmemmove prototype.
69623 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
69624 (Signal Stack): Remove erroneous const in sigstack prototype.
69625 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
69626 prototype.
69627 (Simple Calendar Time): Likewise for stime.
69628 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
69629 prototype.
69630 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
69631 say sys/sysctl.h instead.
69632 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
69633 and vsyslog prototypes.
69634
69635 2013-02-11 Tom de Vries <tom@codesourcery.com>
69636
69637 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
69638 Remove.
69639
69640 2013-02-11 Roland McGrath <roland@hack.frob.com>
69641
69642 * misc/sys/mman.h: Fix typo in mremap comment.
69643
69644 2013-02-08 Roland McGrath <roland@hack.frob.com>
69645
69646 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
69647 the '\0' terminator.
69648
69649 2013-02-08 Joseph Myers <joseph@codesourcery.com>
69650
69651 [BZ #13550]
69652 * debug/segfault.c: Don't include <bp-checks.h>.
69653 * sysdeps/generic/bp-checks.h: Remove file.
69654 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
69655 (__GETDENTS): Don't use CHECK_N.
69656 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
69657 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
69658 (__getgroups): Don't use CHECK_N.
69659 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
69660 (setgroups): Don't use CHECK_N.
69661 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
69662 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
69663 (__libc_msgrcv): Don't use CHECK_N.
69664 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
69665 (__libc_msgsnd): Don't use CHECK_N.
69666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
69667 <bp-checks.h>.
69668 (__libc_pread): Don't use CHECK_N.
69669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
69670 include <bp-checks.h>.
69671 (__libc_pread64): Don't use CHECK_N.
69672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
69673 include <bp-checks.h>.
69674 (__libc_pwrite): Don't use CHECK_N.
69675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
69676 include <bp-checks.h>.
69677 (__libc_pwrite64): Don't use CHECK_N.
69678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
69679 <bp-checks.h>.
69680 (__libc_pread): Don't use CHECK_N.
69681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
69682 include <bp-checks.h>.
69683 (__libc_pread64): Don't use CHECK_N.
69684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
69685 include <bp-checks.h>.
69686 (__libc_pwrite): Don't use CHECK_N.
69687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
69688 include <bp-checks.h>.
69689 (__libc_pwrite64): Don't use CHECK_N.
69690 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
69691 (do_pread): Don't use CHECK_N.
69692 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
69693 (do_pread64): Don't use CHECK_N.
69694 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
69695 (do_pwrite): Don't use CHECK_N.
69696 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
69697 (do_pwrite64): Don't use CHECK_N.
69698 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
69699 (__libc_readv): Don't use CHECK_N.
69700 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
69701 (semop): Don't use CHECK_N.
69702 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
69703 <bp-checks.h>.
69704 (semtimedop): Don't use CHECK_N.
69705 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
69706 (__libc_pread): Don't use CHECK_N.
69707 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
69708 <bp-checks.h>.
69709 (__libc_pread64): Don't use CHECK_N.
69710 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
69711 <bp-checks.h>.
69712 (__libc_pwrite): Don't use CHECK_N.
69713 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
69714 <bp-checks.h>.
69715 (__libc_pwrite64): Don't use CHECK_N.
69716 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
69717 <bp-checks.h>.
69718 (__libc_msgrcv): Don't use CHECK_N.
69719 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
69720 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
69721 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
69722 (__libc_writev): Don't use CHECK_N.
69723
69724 2013-02-08 Roland McGrath <roland@hack.frob.com>
69725
69726 * string/strcpy.c: Removed unused variable.
69727
69728 * Makeconfig (+sysdep-includes): Define with := rather than =.
69729 Use an existing include/ subdir of each sysdeps dir before it.
69730
69731 2013-02-08 Carlos O'Donell <carlos@redhat.com>
69732
69733 * nscd/connection.c (register_traced_file): Comment function.
69734 [HAVE_INOTIFY] (union __inev): Define.
69735 [HAVE_INOTIFY] (inotify_check_files): New function.
69736 [HAVE_INOTIFY] (clear_db_cache): Likewise.
69737 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
69738 clear_db_cache.
69739 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
69740
69741 2013-02-08 Carlos O'Donell <carlos@redhat.com>
69742
69743 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
69744 loaded if not already and that a failure is permanent.
69745
69746 2013-02-08 Carlos O'Donell <carlos@redhat.com>
69747
69748 [BZ #15006]
69749 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
69750 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
69751
69752 2013-02-08 Joseph Myers <joseph@codesourcery.com>
69753
69754 [BZ #13550]
69755 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
69756 (CHECK_1_NULL_OK): Likewise.
69757 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
69758 (__fxstat): Do not use CHECK_1.
69759 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
69760 <bp-checks.h>.
69761 (___fxstat64): Do not use CHECK_1.
69762 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
69763 <bp-checks.h>.
69764 (__fxstatat): Do not use CHECK_1.
69765 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
69766 <bp-checks.h>.
69767 (__fxstatat64): Do not use CHECK_1.
69768 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
69769 <bp-checks.h>.
69770 (__fxstat): Do not use CHECK_1.
69771 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
69772 <bp-checks.h>.
69773 (__fxstatat): Do not use CHECK_1.
69774 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
69775 <bp-checks.h>.
69776 (__getresgid): Do not use CHECK_1.
69777 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
69778 <bp-checks.h>.
69779 (__getresuid): Do not use CHECK_1.
69780 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
69781 <bp-checks.h>.
69782 (__lxstat): Do not use CHECK_1.
69783 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
69784 <bp-checks.h>.
69785 (__old_msgctl): Do not use CHECK_1.
69786 (__new_msgctl): Likewise.
69787 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
69788 <bp-checks.h>.
69789 (__new_setrlimit): Do not use CHECK_1.
69790 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
69791 <bp-checks.h>.
69792 (__old_shmctl): Do not use CHECK_1.
69793 (__new_shmctl): Likewise.
69794 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
69795 <bp-checks.h>.
69796 (__xstat): Do not use CHECK_1.
69797 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
69798 (__lxstat): Do not use CHECK_1.
69799 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
69800 <bp-checks.h>.
69801 (___lxstat64): Do not use CHECK_1.
69802 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
69803 (__old_msgctl): Do not use CHECK_1.
69804 (__new_msgctl): Likewise.
69805 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
69806 <bp-checks.h>.
69807 (__gettimeofday): Do not use CHECK_1.
69808 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
69809 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
69810 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
69811 <bp-checks.h>.
69812 (__gettimeofday): Do not use CHECK_1.
69813 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
69814 (__old_shmctl): Do not use CHECK_1_NULL_OK.
69815 (__new_shmctl): Do not use CHECK_1.
69816 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
69817 <bp-checks.h>.
69818 (do_sigtimedwait): Do not use CHECK_1.
69819 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
69820 <bp-checks.h>.
69821 (do_sigwaitinfo): Do not use CHECK_1.
69822 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
69823 <bp-checks.h>.
69824 (msgctl): Do not use CHECK_1.
69825 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
69826 <bp-checks.h>.
69827 (shmctl): Do not use CHECK_1.
69828 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
69829 (ustat): Do not use CHECK_1.
69830 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
69831 <bp-checks.h>.
69832 (__fxstat): Do not use CHECK_1.
69833 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
69834 <bp-checks.h>.
69835 (__fxstatat): Do not use CHECK_1.
69836 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
69837 <bp-checks.h>.
69838 (__lxstat): Do not use CHECK_1.
69839 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
69840 <bp-checks.h>.
69841 (__xstat): Do not use CHECK_1.
69842 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
69843 (__xstat): Do not use CHECK_1.
69844 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
69845 (___xstat64): Do not use CHECK_1.
69846
69847 [BZ #13550]
69848 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
69849 definitions.
69850 (CHECK_BOUNDS_HIGH): Likewise.
69851 * string/strcpy.c: Do not include <bp-checks.h>.
69852 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
69853
69854 2013-02-07 Roland McGrath <roland@hack.frob.com>
69855
69856 * nscd/nscd-client.h (__nscd_drop_map_ref):
69857 Add __attribute__ ((unused)).
69858 * nis/nss-nisplus.h (niserr2nss): Likewise.
69859
69860 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
69861 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
69862
69863 * csu/libc-tls.c (init_static_tls, init_slotinfo):
69864 Remove inline keyword.
69865 * include/rounding-mode.h (round_away): Likewise.
69866 * libio/wfileops.c (adjust_wide_data): Likewise.
69867 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
69868 (__m128i_strloadu_tolower): Likewise.
69869 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
69870 (__m128i_strloadu_tolower): Likewise.
69871 * time/mktime.c (ydhms_diff): Likewise.
69872 * locale/elem-hash.h (elem_hash): Likewise.
69873 * locale/setlocale.c (setdata): Likewise.
69874 * posix/regex_internal.h (re_string_char_size_at): Likewise.
69875 (re_string_wchar_at): Likewise.
69876 (bitset_not, bitset_merge, bitset_mask): Likewise.
69877 [!(__GNUC__ > 3)] (inline): Remove macro.
69878 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
69879 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
69880 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
69881 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
69882 * string/memcmp.c (memcmp_bytes): Likewise.
69883 * locale/programs/locarchive.c (compute_hashval): Likewise.
69884 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
69885 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
69886 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
69887 * nss/getent.c (print_rpc, print_protocols): Likewise.
69888 (print_passwd, print_group, print_aliases): Likewise.
69889 * nis/nss-nisplus.h (niserr2nss): Likewise.
69890 * nscd/connections.c (restart_p): Likewise.
69891 Change return type to bool.
69892
69893 2013-02-05 Roland McGrath <roland@hack.frob.com>
69894
69895 * Makeconfig (all-Depend-files): Add existing
69896 $(sorted-subdirs:=/Depend) files.
69897 (all-subdirs): Remove nss.
69898 * sysdeps/unix/inet/Subdirs: Add it here instead.
69899 * hesiod/Depend: New file.
69900
69901 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
69902 instead of calling alloca.
69903
69904 * io/lseek.c (__lseek): Rename to __libc_lseek.
69905 Define __lseek as an alias.
69906
69907 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
69908
69909 2013-02-04 Carlos O'Donell <carlos@redhat.com>
69910
69911 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
69912 else clause and remove check for non-standard endianness.
69913
69914 2013-02-04 David S. Miller <davem@davemloft.net>
69915
69916 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69917
69918 2013-02-04 Joseph Myers <joseph@codesourcery.com>
69919
69920 [BZ #13550]
69921 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
69922 (__ubp_memchr): Remove prototype.
69923 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
69924 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
69925 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
69926 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
69927 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
69928 Remove alias.
69929 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
69930 (__ubp_memchr): Likewise.
69931 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
69932 (__ubp_memchr): Likewise.
69933 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
69934 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
69935 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
69936 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
69937 CHECK_STRING.
69938 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
69939 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
69940 (__getcwd): Do not use CHECK_STRING.
69941 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
69942 <bp-checks.h>.
69943 (__real_chown): Do not use CHECK_STRING.
69944 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
69945 <bp-checks.h>.
69946 (fchownat): Do not use CHECK_STRING.
69947 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
69948 CHECK_STRING.
69949 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
69950 <bp-checks.h>.
69951 (__lchown): Do not use CHECK_STRING.
69952 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
69953 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
69954 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
69955 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
69956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
69957 include <bp-checks.h>.
69958 (truncate64): Do not use CHECK_STRING.
69959 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
69960 <bp-checks.h>.
69961 (__real_chown): Do not use CHECK_STRING.
69962 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
69963 <bp-checks.h>.
69964 (__lchown): Do not use CHECK_STRING.
69965 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
69966 <bp-checks.h>.
69967 (__chown): Do not use CHECK_STRING.
69968 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
69969 <bp-checks.h>.
69970 (truncate64): Do not use CHECK_STRING.
69971 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
69972 Likewise.
69973 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
69974 (__xmknod): Do not use CHECK_STRING.
69975 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
69976 <bp-checks.h>.
69977 (__xmknodat): Do not use CHECK_STRING.
69978 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
69979 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
69980
69981 2013-02-04 Andreas Schwab <schwab@suse.de>
69982
69983 [BZ #14142]
69984 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
69985 * include/netdb.h: Likewise for h_errno.
69986 * elf/tst-stackguard1.c: Include <tls.h>.
69987
69988 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
69989
69990 * elf/link.h (struct link_map): Extend the l_addr comment.
69991 * include/link.h (struct link_map): Likewise.
69992
69993 2013-02-01 Joseph Myers <joseph@codesourcery.com>
69994
69995 [BZ #13550]
69996 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
69997 (BOUNDED_1): Remove macro.
69998 * debug/backtrace.c: Don't include <bp-checks.h>.
69999 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
70000 (__backtrace): Likewise.
70001 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
70002 <bp-checks.h>.
70003 (__backtrace): Don't use BOUNDED_1.
70004 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
70005 <bp-checks.h>.
70006 (__backtrace): Don't use BOUNDED_1.
70007 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
70008 (__backtrace): Don't use BOUNDED_1.
70009 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
70010 (shmat): Don't use BOUNDED_N.
70011
70012 2013-01-31 Joseph Myers <joseph@codesourcery.com>
70013
70014 [BZ #13550]
70015 * sysdeps/generic/bp-start.h: Remove file.
70016 * csu/libc-start.c: Don't include <bp-start.h>.
70017 (LIBC_START_MAIN): Set up __environ directly instead of using
70018 INIT_ARGV_and_ENVIRON.
70019 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
70020 <bp-start.h>.
70021
70022 [BZ #13550]
70023 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
70024 definitions.
70025 (CHECK_FCNTL): Likewise.
70026 (CHECK_N_PAGES): Likewise.
70027
70028 [BZ #13550]
70029 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
70030 definitions.
70031 (CHECK_SIGSET_NULL_OK): Likewise.
70032 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
70033 <bp-checks.h>.
70034 (sigpending): Don't use CHECK_SIGSET.
70035 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
70036 <bp-checks.h>.
70037 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
70038 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
70039 <bp-checks.h>.
70040 (do_sigsuspend): Don't use CHECK_SIGSET.
70041 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
70042 use CHECK_SIGSET.
70043 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
70044 (do_sigwait): Don't use CHECK_SIGSET.
70045 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
70046 use CHECK_SIGSET.
70047 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
70048 include <bp-checks.h>.
70049 (sigpending): Don't use CHECK_SIGSET.
70050 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
70051 include <bp-checks.h>.
70052 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
70053 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
70054 <bp-checks.h>.
70055 (sigpending): Don't use CHECK_SIGSET.
70056 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
70057 <bp-checks.h>.
70058 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
70059
70060 [BZ #13550]
70061 * sysdeps/generic/bp-semctl.h: Remove file.
70062 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
70063 <bp-checks.h> and <bp-semctl.h>.
70064 (__old_semctl): Don't use CHECK_SEMCTL.
70065 (__new_semctl): Likewise.
70066 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
70067 and <bp-semctl.h>.
70068 (__old_semctl): Don't use CHECK_SEMCTL.
70069 (__new_semctl): Likewise.
70070 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
70071 <bp-checks.h> and <bp-semctl.h>.
70072 (__old_semctl): Don't use CHECK_SEMCTL.
70073 (__new_semctl): Likewise.
70074 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
70075 <bp-checks.h> and <bp-semctl.h>.
70076 (semctl): Don't use CHECK_SEMCTL.
70077
70078 [BZ #13550]
70079 * Makerules (elide-bp-thunks): Remove variable.
70080 (elide-routines.oS): Don't use $(elide-bp-thunks).
70081 (elide-routines.os): Likewise.
70082 (elide-routines.o): Likewise.
70083 (elide-routines.op): Likewise.
70084 (elide-routines.og): Likewise.
70085 (objects): Don't use $(bp-thunks).
70086 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
70087 include.
70088 (common-generated): Do not add s-proto-bp.d.
70089 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
70090 (int): Likewise.
70091 (typ): Likewise.
70092 Do not generate makefile rules for bounded-pointer thunks.
70093 * sysdeps/generic/bp-thunks.h: Remove file.
70094 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
70095 * sysdeps/unix/s-proto-bp.S: Likewise.
70096
70097 [BZ #15062]
70098 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
70099 parts of result separately when argument is not close to line from
70100 -i to i and one part of argument is small.
70101 * math/k_casinhf.c (__kernel_casinhf): Likewise.
70102 * math/k_casinhl.c (__kernel_casinhl): Likewise.
70103 * math/libm-test.inc (cacos_test): Add more tests.
70104 (casin_test): Likewise.
70105 (casinh_test): Likewise.
70106 * sysdeps/i386/fpu/libm-test-ulps: Update.
70107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70108
70109 2013-01-31 David S. Miller <davem@davemloft.net>
70110
70111 * po/de.po: Update from translation team.
70112
70113 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
70114
70115 * time/tzfile.c: Include stdint.h for SIZE_MAX.
70116
70117 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
70118
70119 * configure.in (_AC_PROG_CC_C89): New definition.
70120 * configure: Regenerate.
70121
70122 * configure.in (AC_PROG_CPP): New definition.
70123 * configure: Regenerate.
70124
70125 2013-01-23 Joseph Myers <joseph@codesourcery.com>
70126
70127 * debug/tst-backtrace.h: New file.
70128 * debug/tst-backtrace2.c: Include tst-backtrace.h.
70129 (ret): Remove variable.
70130 (x): Likewise.
70131 (FAIL): Remove macro.
70132 (NO_INLINE): Likewise.
70133 (fn1): Use match function instead of strstr.
70134 * debug/tst-backtrace3.c: Include tst-backtrace.h.
70135 (ret): Remove variable.
70136 (x): Likewise.
70137 (FAIL): Remove macro.
70138 (NO_INLINE): Likewise.
70139 (fn): Use match function instead of strstr.
70140 * debug/tst-backtrace4.c: Include tst-backtrace.h.
70141 (ret): Remove variable.
70142 (x): Likewise.
70143 (FAIL): Remove macro.
70144 (NO_INLINE): Likewise.
70145 (handle_signal): Use match function instead of strstr.
70146 * debug/tst-backtrace5.c: Include tst-backtrace.h.
70147 (ret): Remove variable.
70148 (x): Likewise.
70149 (FAIL): Remove macro.
70150 (NO_INLINE): Likewise.
70151 (handle_signal): Use match function instead of strstr.
70152
70153 2013-01-23 Roland McGrath <roland@hack.frob.com>
70154
70155 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
70156
70157 2013-01-23 David S. Miller <davem@davemloft.net>
70158
70159 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
70160 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
70161 argument of CAS if possible.
70162 * sysdeps/sparc/sparc64/bits/atomic.h
70163 (__arch_compare_and_exchange_val_32_acq): Likewise.
70164 (__arch_compare_and_exchange_val_64_acq): Likewise.
70165
70166 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
70167
70168 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
70169 * sysdeps/posix/ulimit.c: ... this.
70170 Include <limits.h>.
70171 * sysdeps/unix/bsd/ulimit.c: Remove file.
70172
70173 2013-01-23 Adam Conrad <adconrad@0c3.net>
70174
70175 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
70176 (LDFLAGS-tst-array5): Likewise.
70177
70178 2013-01-23 Joseph Myers <joseph@codesourcery.com>
70179
70180 [BZ #15036]
70181 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
70182 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
70183 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
70184 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
70185
70186 2013-01-21 David S. Miller <davem@davemloft.net>
70187
70188 * sysdeps/sparc/backtrace.c: New file.
70189 * sysdeps/sparc/sparc32/backtrace.h: New file.
70190 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
70191 * sysdeps/sparc/sparc64/backtrace.h: New file.
70192 * sysdeps/sparc/sparc64/backtrace.c: Delete.
70193 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
70194 -funwind-tables.
70195
70196 2013-01-21 Andreas Schwab <schwab@suse.de>
70197
70198 [BZ #15020]
70199 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
70200 closed its stdout.
70201
70202 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
70203
70204 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
70205 "mpa2.h".
70206 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70207
70208 2013-01-18 Joseph Myers <joseph@codesourcery.com>
70209 Mark Mitchell <mark@codesourcery.com>
70210 Tom de Vries <tom@codesourcery.com>
70211 Paul Pluzhnikov <ppluzhnikov@google.com>
70212
70213 * debug/tst-backtrace2.c: New file.
70214 * debug/tst-backtrace3.c: Likewise.
70215 * debug/tst-backtrace4.c: Likewise.
70216 * debug/tst-backtrace5.c: Likewise.
70217 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
70218 (CFLAGS-tst-backtrace3.c): Likewise.
70219 (CFLAGS-tst-backtrace4.c): Likewise.
70220 (CFLAGS-tst-backtrace5.c): Likewise.
70221 (LDFLAGS-tst-backtrace2): Likewise.
70222 (LDFLAGS-tst-backtrace3): Likewise.
70223 (LDFLAGS-tst-backtrace4): Likewise.
70224 (LDFLAGS-tst-backtrace5): Likewise.
70225 (tests): Add new tests tst-backtrace2, tst-backtrace3,
70226 tst-backtrace4 and tst-backtrace5.
70227
70228 2013-01-18 Anton Blanchard <anton@samba.org>
70229 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
70230
70231 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
70232 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
70233 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
70234 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
70235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
70236 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
70237 "+r" and remove output regs list as redundant. Add explicit inline
70238 asm to specify register of return val to work around compiler codegen
70239 bug. Remove (int) cast on return value. Add return type parameter to
70240 use in macro so that this macro does not truncate return value for
70241 64-bit values.
70242 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
70243 pass to INTERNAL_VSYSCALL_NCS.
70244 (INLINE_VSYSCALL): Add 'long int' as return type to
70245 INTERNAL_VSYSCALL_NCS macro invocation.
70246 (INTERNAL_VSYSCALL): Add 'long int' as return type to
70247 INTERNAL_VSYSCALL_NCS macro invocation.
70248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70249
70250 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
70251
70252 [BZ #14496]
70253 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
70254 Fix application of SIMD FP exception mask.
70255
70256 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
70257 mp_no from a power of two.
70258 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
70259 __mpexp_twomm1. Use __pow_mp.
70260
70261 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
70262 multiplication.
70263
70264 2013-01-17 David S. Miller <davem@davemloft.net>
70265
70266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
70267
70268 2013-01-17 Joseph Myers <joseph@codesourcery.com>
70269
70270 [BZ #15023]
70271 * include/complex.h: Condition contents on [!_COMPLEX_H].
70272 (__kernel_casinhf): New prototype.
70273 (__kernel_casinh): Likewise.
70274 (__kernel_casinhl): Likewise.
70275 * math/Makefile (libm_calls): Add k_casinh.
70276 * math/k_casinh.c: New file.
70277 * math/k_casinhf.c: Likewise.
70278 * math/k_casinhl.c: Likewise.
70279 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
70280 finite nonzero arguments.
70281 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
70282 finite nonzero arguments.
70283 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
70284 finite nonzero arguments.
70285 * math/s_casinh.c: Do not include <float.h>.
70286 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
70287 * math/s_casinhf.c: Do not include <float.h>.
70288 (__casinhf): Move code for finite nonzero arguments to
70289 k_casinhf.c.
70290 * math/s_casinhl.c: Do not include <float.h>.
70291 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
70292 redefine.
70293 (__casinhl): Move code for finite nonzero arguments to
70294 k_casinhl.c.
70295 * math/libm-test.inc (cacos_test): Add more tests.
70296 * sysdeps/i386/fpu/libm-test-ulps: Update.
70297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70298
70299 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
70300
70301 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
70302 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
70303 [!HAVE_MREMAP]: Remove [defined linux] case.
70304 * malloc/arena.c: Do not include <malloc-sysdep.h>.
70305
70306 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
70307
70308 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
70309
70310 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
70311
70312 * elf/elf.h (R_386_SIZE32): New relocation.
70313 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
70314 R_386_SIZE32.
70315 (elf_machine_rela): Likewise.
70316 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
70317 R_X86_64_SIZE64 and R_X86_64_SIZE32.
70318
70319 2013-01-17 Joseph Myers <joseph@codesourcery.com>
70320
70321 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
70322 (FP_FAST_FMA): Do not define.
70323 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
70324 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
70325 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
70326 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
70327 !_SOFT_FLOAT]: Likewise.
70328 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
70329 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
70330 value.
70331 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
70332 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
70333 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
70334 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
70335 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
70336 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
70337 file.
70338
70339 2013-01-16 Andreas Schwab <schwab@suse.de>
70340
70341 [BZ #14327]
70342 * include/stdlib.h (__mktemp): Add declaration.
70343 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
70344 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
70345
70346 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
70347
70348 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
70349 definitions.
70350 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
70351 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
70352 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
70353 definitions here.
70354 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
70355 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
70356 definitions.
70357 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
70358 and ONE.
70359 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
70360 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
70361 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
70362 definitions.
70363 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
70364 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
70365 definitions.
70366 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
70367
70368 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
70369
70370 2013-01-15 David S. Miller <davem@davemloft.net>
70371
70372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70373 trunc{,f} to libm-sysdep_routes.
70374 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
70376 file.
70377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
70378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
70379 file.
70380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
70381 file.
70382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
70383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
70384 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
70385 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
70386 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
70387 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
70388 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
70389 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
70390
70391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70392 nearbyint{,f} to libm-sysdep_routes.
70393 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
70395 New file.
70396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
70397 file.
70398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
70399 New file.
70400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
70401 file.
70402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
70403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
70404 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
70405 file.
70406 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
70407 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
70408 file.
70409 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
70410 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
70411 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
70412
70413 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
70414 libc_feholdexcept and libc_fesetenv.
70415
70416 2013-01-15 Mike Frysinger <vapier@gentoo.org>
70417
70418 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
70419
70420 2013-01-14 David S. Miller <davem@davemloft.net>
70421
70422 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
70423 (SPARC_ASM_VIS2_IFUNC): Likewise.
70424 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
70425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
70426 use of 'siam' instruction.
70427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
70428 Likewise.
70429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
70430 Likewise.
70431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
70432 Likewise.
70433 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
70434 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
70435 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
70436 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
70437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
70438 file.
70439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
70440 file.
70441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
70442 file.
70443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
70444 file.
70445 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
70446 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
70447 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
70448 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
70449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
70450 new VIS2 routines.
70451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70454 Likewise.
70455 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70456 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70457 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70458 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
70460 routines to libm-sysdep_routines.
70461 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70462
70463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70464 fdim/fdimf to libm-sysdep_routines.
70465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
70466 file.
70467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
70468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
70469 file.
70470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
70471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
70472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
70473 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
70474 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
70475 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
70476 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
70477
70478 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
70479
70480 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
70481 to optimize copies.
70482
70483 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
70484 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
70485 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70486
70487 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
70488 local variable MPTWO.
70489 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70490 Likewise.
70491
70492 2013-01-13 Mike Frysinger <vapier@gentoo.org>
70493
70494 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
70495 GLOB_NOESCAPE.
70496
70497 2013-01-13 Mike Frysinger <vapier@gentoo.org>
70498
70499 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
70500
70501 2013-01-13 Mike Frysinger <vapier@gentoo.org>
70502
70503 * manual/pattern.texi (glob_t): Document gl_flags.
70504 (glob64_t): Likewise.
70505
70506 2013-01-11 David S. Miller <davem@davemloft.net>
70507
70508 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
70509 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
70510 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
70511 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
70512 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
70513 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
70514 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
70515 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
70516 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
70517 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
70518 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
70519 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
70520 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
70521
70522 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
70523 sparc V9 rather than using V8 code.
70524 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70525 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70526
70527 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70528 Move to...
70529 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
70530 Here.
70531
70532 2013-01-11 Roland McGrath <roland@hack.frob.com>
70533
70534 [BZ #14941]
70535 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
70536 not in the main loop.
70537 * configure: Regenerated.
70538
70539 2013-01-11 Joseph Myers <joseph@codesourcery.com>
70540
70541 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
70542 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
70543 to just #else.
70544 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
70545 [!__GLIBC_HAVE_LONG_LONG] case.
70546 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
70547 condition to just #else.
70548 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
70549 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
70550 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
70551 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
70552 unconditional.
70553 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
70554 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
70555 #elif condition to just #else.
70556 * sysdeps/unix/sysv/linux/sys/sysmacros.h
70557 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
70558 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
70559 #elif condition to just #else.
70560
70561 2013-01-11 Steve Ellcey <sellcey@mips.com>
70562
70563 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
70564 (EF_MIPS_ARCH_64): Fix value.
70565 (EF_MIPS_ARCH_32R2): New.
70566 (EF_MIPS_ARCH_64R2): New.
70567
70568 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
70569
70570 * Makeconfig (+link-pie-before-libc): New.
70571 (+link-pie-after-libc): Likewise.
70572 (+link-pie-tests): Likewise.
70573 (+link-pie): Rewritten.
70574 (link-before-libc): Remove $(config-LDFLAGS).
70575 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
70576 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
70577 (config-LDFLAGS): Renamed to ...
70578 (rtld-LDFLAGS): This.
70579 (rtld-tests-LDFLAGS): New macro.
70580 (link-libc-rpath-link): Likewise.
70581 (link-libc-tests-rpath-link): Likewise.
70582 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
70583 (link-libc): Prepand $(link-libc-rpath-link).
70584 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
70585 (test-program-prefix): New macro.
70586 (test-via-rtld-prefix): Likewise.
70587 (test-program-cmd): Likewise.
70588 (host-test-program-cmd): Likewise.
70589 * Makefile ($(common-objpfx)testrun.sh): Replace
70590 $(run-program-prefix) with $(test-program-prefix).
70591 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
70592 $(rtld-LDFLAGS).
70593 ($(common-objpfx)shlib.lds): Likewise.
70594 (build-module-helper): Likewise.
70595 ($(common-objpfx)format.lds): Likewise.
70596 * Rules (binaries-pie-tests): New.
70597 (binaries-pie-notests): Likewise.
70598 (binaries-pie): Rewritten.
70599 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
70600 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
70601 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
70602 (make-test-out): Replace $(host-built-program-cmd) with
70603 $(host-test-program-cmd).
70604 * config.make.in (build-hardcoded-path-in-tests): New variable.
70605 * configure.in (--enable-hardcoded-path-in-tests): New configure
70606 option.
70607 (hardcoded_path_in_tests): New AC_SUBST.
70608 * configure: Regenerated.
70609 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
70610 $(built-program-cmd) with $(test-program-cmd).
70611 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
70612 (test_program_cmd): This.
70613 * elf/Makefile ($(objpfx)order.out): Run test with
70614 $(test-program-prefix).
70615 ($(objpfx)order2.out): Likewise.
70616 ($(objpfx)tst-initorder.out): Likewise.
70617 ($(objpfx)tst-initorder2.out): Likewise.
70618 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
70619 $(test-program-cmd).
70620 ($(objpfx)tst-array1-static.out): Likewise.
70621 ($(objpfx)tst-array2.out): Likewise.
70622 ($(objpfx)tst-array3.out): Likewise.
70623 ($(objpfx)tst-array4.out): Likewise.
70624 ($(objpfx)tst-array5.out): Likewise.
70625 ($(objpfx)tst-array5-static.out): Likewise.
70626 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
70627 $(test-program-cmd).
70628 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
70629 $(run-program-prefix) with $(test-program-prefix).
70630 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
70631 (test_program_prefix): This.
70632 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
70633 $(run-program-prefix) with $(test-program-prefix).
70634 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
70635 (test_program_prefix): This.
70636 * iconvdata/tst-tables.sh: Likewise.
70637 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
70638 $(run-program-prefix) with $(test-program-prefix).
70639 ($(objpfx)tst-translit.out): Likewise.
70640 ($(objpfx)tst-gettext2.out): Likewise.
70641 ($(objpfx)tst-gettext4.out): Likewise.
70642 ($(objpfx)tst-gettext6.out): Likewise.
70643 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
70644 (test_program_prefix): This.
70645 * intl/tst-gettext2.sh: Likewise.
70646 * intl/tst-gettext4.sh Likewise.
70647 * intl/tst-gettext6.sh: Likewise.
70648 * intl/tst-translit.sh: Likewise.
70649 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
70650 with $(test-program-cmd).
70651 * libio/Makefile ($(objpfx)test-freopen.out): Replace
70652 $(run-program-prefix) with $(test-program-prefix).
70653 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
70654 (test_program_prefix): This.
70655 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
70656 $(run-program-prefix) with $(test-program-prefix).
70657 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
70658 (test_program_prefix): This.
70659 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
70660 * posix/Makefile ($(objpfx)globtest.out): Replace
70661 $(run-via-rtld-prefix) and $(test-wrapper) with
70662 $(test-program-prefix) and $(test-via-rtld-prefix).
70663 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
70664 $(test-program-prefix).
70665 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
70666 $(host-test-program-cmd).
70667 (tst-spawn-ARGS): Likewise.
70668 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
70669 $(test-program-prefix).
70670 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
70671 (test_via_rtld_prefix): This.
70672 (test_wrapper): Renamed to ...
70673 (test_program_prefix): This.
70674 (run_program_prefix): Replaced by test_program_prefix.
70675 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
70676 (test_program_prefix): This.
70677 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
70678 with $(host-test-program-cmd).
70679 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
70680 $(run-program-prefix) with $(test-program-prefix).
70681 ($(objpfx)tst-printf.out): Likewise.
70682 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
70683 $(test-program-cmd).
70684 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
70685 (test_program_prefix): This.
70686 * stdio-common/tst-unbputc.sh: Likewise.
70687 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
70688 $(run-program-prefix) with $(test-program-prefix).
70689 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
70690 (test_program_prefix): This.
70691 * string/Makefile ($(objpfx)tst-svc.out): Replace
70692 $(built-program-cmd) with $(test-program-cmd).
70693
70694 2013-01-11 Andreas Jaeger <aj@suse.de>
70695
70696 [BZ #15003]
70697 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
70698 value. Sync with Linux 3.7.
70699
70700 2013-01-10 David S. Miller <davem@davemloft.net>
70701
70702 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
70703 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70704 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70705
70706 2013-01-10 Roland McGrath <roland@hack.frob.com>
70707
70708 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
70709 never set.
70710 * configure: Regenerated.
70711
70712 2013-01-10 David S. Miller <davem@davemloft.net>
70713
70714 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
70715 sparc V9 rather than using V8 code.
70716 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70717 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70718
70719 2013-01-10 Roland McGrath <roland@hack.frob.com>
70720
70721 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
70722 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
70723 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
70724 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
70725 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
70726 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
70727 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
70728 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
70729 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
70730 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
70731 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
70732 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
70733 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
70734 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
70735 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
70736 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
70737 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
70738 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
70739 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
70740 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
70741 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
70742 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
70743 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
70744 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
70745 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
70746 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
70747 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
70748
70749 2013-01-10 David S. Miller <davem@davemloft.net>
70750
70751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
70752
70753 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
70754
70755 * posix/Makefile (tests-static): New variable.
70756 (tests): Add $(tests-static).
70757 (tst-exec-static-ARGS): New variable.
70758 (tst-spawn-static-ARGS): Likewise.
70759 * posix/tst-exec-static.c: New file.
70760 * posix/tst-spawn-static.c: Likewise.
70761 * posix/tst-exec.c: Support run directly.
70762 * posix/tst-spawn.c: Likewise.
70763
70764 2013-01-10 Joseph Myers <joseph@codesourcery.com>
70765
70766 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
70767 long.
70768 * math/bits/mathcalls.h (llrint): Likewise.
70769 (llround): Likewise.
70770 * stdlib/stdlib.h (struct drand48_data): Likewise.
70771 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
70772 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
70773 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
70774 Likewise.
70775 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
70776 Likewise.
70777 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
70778 (elf_greg_t): Likewise.
70779 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
70780 (__jmp_buf): Likewise.
70781 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
70782 definitions.
70783 (llrint): Likewise, for all definitions.
70784 (llrintl): Likewise.
70785
70786 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
70787 Remove [__GNUC__] condition.
70788 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
70789 condition to just [__USE_ISOC99].
70790 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
70791
70792 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
70793
70794 [BZ #14200]
70795 * sysdeps/unix/sysv/linux/x86/bits/environments.h
70796 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
70797 defined.
70798 (_POSIX_V6_ILP32_OFF32): Likewise.
70799 (_XBS5_ILP32_OFF32): Likewise.
70800 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
70801 (__ILP32_OFFBIG_LDFLAGS): Likewise.
70802
70803 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
70804
70805 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
70806
70807 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
70808 doubles __mpexp_twomm1. Adjust usage.
70809 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
70810 Remove.
70811
70812 2013-01-10 Andreas Schwab <schwab@suse.de>
70813
70814 [BZ #14964]
70815 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
70816 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
70817
70818 2013-01-09 David S. Miller <davem@davemloft.net>
70819
70820 [BZ #15003]
70821 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
70822 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
70823 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
70824 (TCP_FASTOPEN): Define.
70825 (tcp_repair_opt): New structure.
70826 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
70827 enum values.
70828 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
70829 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
70830 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
70831 (tcp_cookie_transactions): New structure.
70832
70833 2013-01-09 Anton Blanchard <anton@samba.org>
70834
70835 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
70836 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
70837 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
70838 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
70839
70840 2013-01-09 Joseph Myers <joseph@codesourcery.com>
70841
70842 * include/features.h (__USE_ANSI): Remove.
70843
70844 2013-01-09 Roland McGrath <roland@hack.frob.com>
70845
70846 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
70847
70848 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
70849
70850 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
70851
70852 * sysdeps/s390/fpu/libm-test-ulps: Update.
70853
70854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70855
70856 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
70857 (__acr): Likewise.
70858 (__cpy): Likewise.
70859 (norm): Likewise.
70860 (denorm): Likewise.
70861 (__mp_dbl): Likewise.
70862 (__dbl_mp): Likewise.
70863 (add_magnitudes): Likewise.
70864 (sub_magnitudes): Likewise.
70865 (__add): Likewise.
70866 (__sub): Likewise.
70867 (__mul): Likewise.
70868 (__inv): Likewise.
70869 (__dvd): Likewise.
70870 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
70871 (__acr): Likewise.
70872 (__cpy): Likewise.
70873 (norm): Likewise.
70874 (denorm): Likewise.
70875 (__mp_dbl): Likewise.
70876 (__dbl_mp): Likewise.
70877 (add_magnitudes): Likewise.
70878 (sub_magnitudes): Likewise.
70879 (__add): Likewise.
70880 (__sub): Likewise.
70881 (__mul): Likewise.
70882 (__inv): Likewise.
70883 (__dvd): Likewise.
70884 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
70885 (__acr): Likewise.
70886 (__cpy): Likewise.
70887 (norm): Likewise.
70888 (denorm): Likewise.
70889 (__mp_dbl): Likewise.
70890 (__dbl_mp): Likewise.
70891 (add_magnitudes): Likewise.
70892 (sub_magnitudes): Likewise.
70893 (__add): Likewise.
70894 (__sub): Likewise.
70895 (__mul): Likewise.
70896 (__inv): Likewise.
70897 (__dvd): Likewise.
70898
70899 2013-01-08 Joseph Myers <joseph@codesourcery.com>
70900
70901 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
70902 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
70903 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
70904 2 && __USE_EXTERN_INLINES]: Likewise.
70905
70906 2013-01-08 Andreas Jaeger <aj@suse.de>
70907
70908 [BZ #14985]
70909 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
70910 Remove.
70911 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
70912 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
70913
70914 2013-01-07 Anton Blanchard <anton@samba.org>
70915
70916 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
70917 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
70918 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
70919 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
70920 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
70921 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
70922 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
70923 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
70924 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
70925 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70926 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
70927 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
70928 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
70929 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
70930 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
70931 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
70932 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
70933 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
70934 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
70935 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
70936 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
70937 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
70938 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
70939 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
70940 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
70941 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
70942 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
70943 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
70944 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
70945 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
70946 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
70947 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70948 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70949 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
70950 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
70951 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
70952 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
70953 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
70954 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
70955 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
70956 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
70957 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
70958 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
70959
70960 2013-01-07 Joseph Myers <joseph@codesourcery.com>
70961
70962 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
70963 (__MALLOC_PMT): Likewise.
70964 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
70965 [__GNUC__], only on [_LIBC].
70966 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
70967 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
70968 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
70969 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
70970 forward declaration.
70971 (realloc_hook_ini): Likewise.
70972 (memalign_hook_ini): Likewise.
70973 (__libc_memalign): Do not use __MALLOC_PMT in variable
70974 declaration.
70975 (__libc_valloc): Likewise.
70976 (__libc_pvalloc): Likewise.
70977 (__libc_calloc): Likewise.
70978 (__posix_memalign): Likewise.
70979
70980 [BZ #14996]
70981 * math/s_casinh.c: Include <float.h>.
70982 (__casinh): Do not do computation with squaring and square root
70983 for large arguments.
70984 * math/s_casinhf.c: Include <float.h>.
70985 (__casinhf): Do not do computation with squaring and square root
70986 for large arguments.
70987 * math/s_casinhl.c: Include <float.h>.
70988 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
70989 (__casinhl): Do not do computation with squaring and square root
70990 for large arguments.
70991 * math/libm-test.inc (casin_test): Add more tests.
70992 (casinh_test): Likewise.
70993 * sysdeps/i386/fpu/libm-test-ulps: Update.
70994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70995
70996 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
70997
70998 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
70999 (__x86_64_raw_data_cache_size): Likewise.
71000 (__x86_64_data_cache_size_half): Likewise.
71001 (__x86_64_raw_data_cache_size_half): Likewise.
71002 (__x86_64_shared_cache_size): Likewise.
71003 (__x86_64_raw_shared_cache_size): Likewise.
71004 (__x86_64_shared_cache_size_half): Likewise.
71005 (__x86_64_raw_shared_cache_size_half): Likewise.
71006 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
71007 to ...
71008 (__x86_data_cache_size): This.
71009 (__x86_64_raw_data_cache_size): Renamed to ...
71010 (__x86_raw_data_cache_size): This.
71011 (__x86_64_data_cache_size_half): Renamed to ...
71012 (__x86_data_cache_size_half): This.
71013 (__x86_64_raw_data_cache_size_half): Renamed to ...
71014 (__x86_raw_data_cache_size_half): This.
71015 (__x86_64_shared_cache_size): Renamed to ...
71016 (__x86_shared_cache_size): This.
71017 (__x86_64_raw_shared_cache_size): Renamed to ...
71018 (__x86_raw_shared_cache_size): This.
71019 (__x86_64_shared_cache_size_half): Renamed to ...
71020 (__x86_shared_cache_size_half): This.
71021 (__x86_64_raw_shared_cache_size_half): Renamed to ...
71022 (__x86_raw_shared_cache_size_half): This.
71023 * sysdeps/x86_64/memcpy.S: Updated.
71024 * sysdeps/x86_64/memset.S: Likewise.
71025 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
71026 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
71027 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
71028
71029 2013-01-04 David S. Miller <davem@davemloft.net>
71030
71031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71032
71033 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
71034
71035 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
71036 1 to avoid redefinition warning.
71037 (__USE_GNU): Don't define.
71038 (init_signaling_nan): Protoize.
71039
71040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71041
71042 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
71043
71044 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
71045 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
71046 (__cpymn): Likewise.
71047 (norm): Remove commented code.
71048 (denorm): Likewise.
71049 (__mp_dbl): Likewise.
71050 (__inv): Likewise.
71051 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
71052 (__cpymn): Likewise.
71053 (norm): Remove commented code.
71054 (denorm): Likewise.
71055 (__mp_dbl): Likewise.
71056 (__inv): Likewise.
71057
71058 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
71059 mp_no value for 1.0 and 2.0.
71060 (norm): Use RADIXI instead of radixi.d.
71061 (denorm): Likewise.
71062 (__mul): Use 0.0 instead of zero.d.
71063 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
71064 mp_no value for 1.0 and 2.0.
71065 (norm): Use RADIXI instead of radixi.d.
71066 (denorm): Likewise.
71067 (__mul): Use 0.0 instead of zero.d.
71068
71069 2013-01-04 Joseph Myers <joseph@codesourcery.com>
71070
71071 [BZ #14994]
71072 * math/s_casinh.c (__casinh): Reduce finite argument to first
71073 quadrant then set signs of results at the end.
71074 * math/s_casinhf.c (__casinhf): Likewise.
71075 * math/s_casinhl.c (__casinhl): Likewise.
71076 * math/libm-test.inc (casin_test): Add more tests.
71077 (casinh_test): Likewise.
71078 * sysdeps/i386/fpu/libm-test-ulps: Update.
71079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71080
71081 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
71082
71083 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
71084
71085 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
71086
71087 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
71088 declarations.
71089 (denorm): Likewise.
71090 (__mp_dbl): Likewise.
71091 (__inv): Likewise.
71092
71093 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
71094 and adjust the header comment.
71095
71096 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
71097 variable name from declaration.
71098
71099 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
71100
71101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71102 Initialize COMMON_CPUID_INDEX_7 element.
71103 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
71104 (CPUID_RTM): Likewise.
71105 (HAS_RTM): Likewise.
71106 (COMMON_CPUID_INDEX_7): New enum.
71107
71108 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
71109
71110 [BZ #14981]
71111 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
71112 size is zero, record memory as freed.
71113
71114 2013-01-03 Andreas Jaeger <aj@suse.de>
71115
71116 * po/ia.po: Add new Interlingua translation.
71117
71118 2012-01-03 Allan McRae <allan@archlinux.org>
71119
71120 * locale/programs/localedef.c: Fix description of '--posix' flag.
71121
71122 2013-01-02 Joseph Myers <joseph@codesourcery.com>
71123
71124 * NEWS: Update dates in second copyright notice.
71125 * README: Update copyright dates in example.
71126 * manual/libc.texinfo: Update copyright dates.
71127 * scripts/test-installation.pl: Update copyright date in --version
71128 output.
71129
71130 * hurd/ctty-input.c: Fix copyright notice formatting.
71131 * hurd/ctty-output.c: Likewise.
71132 * hurd/dtable.c: Likewise.
71133 * hurd/hurd-raise.c: Likewise.
71134 * hurd/hurdprio.c: Likewise.
71135 * hurd/msgportdemux.c: Likewise.
71136 * misc/sys/file.h: Likewise.
71137 * misc/sys/ioctl.h: Likewise.
71138 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
71139 * sysdeps/mach/hurd/chdir.c: Likewise.
71140 * sysdeps/mach/hurd/fchdir.c: Likewise.
71141 * sysdeps/mach/hurd/rename.c: Likewise.
71142 * sysdeps/mach/hurd/rmdir.c: Likewise.
71143 * sysdeps/mach/hurd/seekdir.c: Likewise.
71144 * sysdeps/mach/hurd/setsid.c: Likewise.
71145 * sysdeps/posix/wait3.c: Likewise.
71146
71147 * All files with FSF copyright notices: Update copyright dates
71148 using scripts/update-copyrights.
71149 * intl/plural.c: Regenerated.
71150 * locale/programs/charmap-kw.h: Likewise.
71151 * locale/programs/locfile-kw.h: Likewise.
71152
71153 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
71154
71155 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
71156 four values.
71157
71158 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
71159 calculation loop and add branch prediction.
71160
71161 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
71162 check access beyond bounds of m1np.
71163
71164 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
71165 MPTWO.
71166 (__inv): Remove local variable MPTWO to use the global
71167 constant.
71168 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
71169 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
71170 variable MPTWO.
71171 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
71172 MP3HALFS static const.
71173
71174 2013-01-01 David S. Miller <davem@davemloft.net>
71175
71176 * po/ca.po: Update from translation team.
71177
71178 2013-01-01 Joseph Myers <joseph@codesourcery.com>
71179
71180 * scripts/update-copyrights: New file.
71181 * Makeconfig: Reformat copyright notice.
71182 * ctype/ctype.h: Likewise.
71183 * debug/swprintf_chk.c: Likewise.
71184 * elf/dl-cache.c: Likewise.
71185 * elf/dl-debug.c: Likewise.
71186 * elf/dl-object.c: Likewise.
71187 * grp/initgroups.c: Likewise.
71188 * hurd/Makefile: Likewise.
71189 * hurd/hurd/signal.h: Likewise.
71190 * hurd/hurdfault.c: Likewise.
71191 * hurd/hurdioctl.c: Likewise.
71192 * hurd/hurdlookup.c: Likewise.
71193 * hurd/intr-msg.c: Likewise.
71194 * iconv/gconv_open.c: Likewise.
71195 * libio/swprintf.c: Likewise.
71196 * locale/lc-ctype.c: Likewise.
71197 * locale/nl_langinfo.c: Likewise.
71198 * mach/Machrules: Likewise.
71199 * mach/Makefile: Likewise.
71200 * malloc/obstack.h: Likewise.
71201 * manual/Makefile: Likewise.
71202 * manual/tsort.awk: Likewise.
71203 * misc/bits/stab.def: Likewise.
71204 * nis/nis_print_group_entry.c: Likewise.
71205 * nis/nis_table.c: Likewise.
71206 * nis/nss_compat/compat-pwd.c: Likewise.
71207 * nis/nss_compat/compat-spwd.c: Likewise.
71208 * po/Makefile: Likewise.
71209 * posix/fnmatch.c: Likewise.
71210 * posix/regex.h: Likewise.
71211 * resolv/Makefile: Likewise.
71212 * resolv/nss_dns/dns-network.c: Likewise.
71213 * resolv/res_hconf.c: Likewise.
71214 * scripts/gen-sorted.awk: Likewise.
71215 * soft-fp/soft-fp.h: Likewise.
71216 * stdio-common/printf.h: Likewise.
71217 * stdlib/monetary.h: Likewise.
71218 * stdlib/random.c: Likewise.
71219 * stdlib/random_r.c: Likewise.
71220 * sysdeps/generic/Makefile: Likewise.
71221 * sysdeps/gnu/Makefile: Likewise.
71222 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71223 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71224 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71225 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71226 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71227 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71228 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71229 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71230 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71231 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71232 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
71233 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
71234 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
71235 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
71236 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
71237 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
71238 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
71239 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71240 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71241 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71242 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71243 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71244 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71245 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
71246 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
71247 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
71248 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
71249 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
71250 * sysdeps/mach/hurd/errnos.awk: Likewise.
71251 * sysdeps/mach/hurd/fork.c: Likewise.
71252 * sysdeps/mach/hurd/getcwd.c: Likewise.
71253 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
71254 * sysdeps/mach/hurd/mmap.c: Likewise.
71255 * sysdeps/mach/hurd/utimes.c: Likewise.
71256 * sysdeps/mach/hurd/xmknod.c: Likewise.
71257 * sysdeps/posix/profil.c: Likewise.
71258 * sysdeps/posix/readdir_r.c: Likewise.
71259 * sysdeps/powerpc/bits/mathdef.h: Likewise.
71260 * sysdeps/powerpc/bits/setjmp.h: Likewise.
71261 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
71262 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
71263 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
71264 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
71265 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71266 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
71267 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71268 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
71269 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71270 * sysdeps/pthread/lio_listio.c: Likewise.
71271 * sysdeps/sparc/dl-procinfo.h: Likewise.
71272 * sysdeps/unix/i386/sysdep.S: Likewise.
71273 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
71274 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
71275 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
71276 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
71277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71278 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
71279 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
71280 * sysdeps/unix/sysv/linux/speed.c: Likewise.
71281 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
71282 * sysdeps/wordsize-32/divdi3.c: Likewise.
71283 * time/sys/time.h: Likewise.
71284 * wcsmbs/Makefile: Likewise.
71285
71286 2013-01-01 David S. Miller <davem@davemloft.net>
71287
71288 * po/fr.po: Update from translation team.
71289
71290 * catgets/gencat.c: Update copyright year.
71291 * csu/version.c: Likewise.
71292 * debug/catchsegv.sh: Likewise.
71293 * debug/pcprofiledump.c: Likewise.
71294 * debug/xtrace.sh: Likewise.
71295 * elf/ldconfig.c: Likewise.
71296 * elf/ldd.bash.in: Likewise.
71297 * elf/pldd.c: Likewise.
71298 * elf/sotruss.ksh: Likewise.
71299 * elf/sprof.c: Likewise.
71300 * iconv/iconv_prog.c: Likewise.
71301 * iconv/iconvconfig.c: Likewise.
71302 * locale/programs/locale.c: Likewise.
71303 * locale/programs/localedef.c: Likewise.
71304 * login/programs/pt_chown.c: Likewise.
71305 * malloc/memusage.sh: Likewise.
71306 * malloc/memusagestat.c: Likewise.
71307 * malloc/mtrace.pl: Likewise.
71308 * nscd/nscd.c: Likewise.
71309 * nss/getent.c: Likewise.
71310 * nss/makedb.c: Likewise.
71311 * posix/getconf.c: Likewise.
71312
71313 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
71314
71315 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
71316 numbers.
71317
71318 2012-12-30 Mike Frysinger <vapier@gentoo.org>
71319
71320 * math/bits/mathcalls.h (modf): Use __nonnull.
71321
71322 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
71323
71324 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
71325 (split): Use macro CN instead of the bare value.
71326 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
71327 could be used.
71328 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
71329 instead of the bare value.
71330 (power1): Likewise.
71331
71332 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
71333
71334 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
71335 __ATAN_TWOM.
71336 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71337
71338 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
71339 their values.
71340 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
71341 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
71342 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
71343 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
71344
71345 2012-12-28 Andreas Jaeger <aj@suse.de>
71346
71347 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
71348 values are from Linux 3.7.
71349
71350 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
71351 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
71352
71353 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
71354
71355 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
71356 TRUE case.
71357
71358 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
71359 (norm): Likewise.
71360 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
71361 variables with preprocessor constants.
71362 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71363 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
71364 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
71365
71366 2012-12-27 Bruno Haible <bruno@clisp.org>
71367
71368 [BZ #14317]
71369 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
71370 only if needed.
71371
71372 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
71373
71374 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
71375 and use variable directly.
71376 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
71377
71378 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
71379 MPONE.
71380 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
71381 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
71382 variable MPONE.
71383 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
71384 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
71385 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
71386 include directive. Remove local variable MPONE.
71387 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
71388 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
71389 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71390
71391 2012-12-25 David S. Miller <davem@davemloft.net>
71392
71393 * version.h (RELEASE): Set to "development".
71394 (VERSION): Set to "2.17.90".
71395 * NEWS: Add 2.18 section.
71396
71397 2012-12-21 David S. Miller <davem@davemloft.net>
71398
71399 * po/hr.po: Update from translation team.
71400
71401 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
71402
71403 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
71404
71405 2012-12-19 Steve Ellcey <sellcey@mips.com>
71406
71407 * NEWS: Mention new memcpy for MIPS.
71408
71409 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
71410
71411 * manual/contrib.texi (Contributors): Spelling correction.
71412
71413 2012-12-15 David S. Miller <davem@davemloft.net>
71414
71415 * po/ru.po: Update from translation team.
71416
71417 2012-12-13 David S. Miller <davem@davemloft.net>
71418
71419 * NEWS: Mention IFUNC testsuite enhancements.
71420
71421 * po/pl.po: Update from translation team.
71422 * po/bg.po: Likewise.
71423
71424 * manual/contrib.texi (Contributors): Update entries for Hongjiu
71425 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
71426
71427 2012-12-11 David S. Miller <davem@davemloft.net>
71428
71429 * po/sv.po: Update from translation team.
71430
71431 * po/vi.po: Update from translation team.
71432
71433 * po/cs.po: Update from translation team.
71434
71435 * po/de.po: Update from translation team.
71436 * po/eo.po: Likewise.
71437 * po/nl.po: Likewise.
71438
71439 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
71440
71441 [BZ #14246]
71442 * manual/argp.texi (Argp Helper Functions): Move node to follow
71443 Argp Parsing State.
71444
71445 [BZ #14872]
71446 * manual/conf.texi (Limits on File System Capacity): Mention if
71447 terminating null is included in the max size.
71448
71449 2012-12-10 Andreas Jaeger <aj@suse.de>
71450
71451 * po/cs.po: Update from translation team.
71452
71453 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
71454
71455 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
71456 void pointer and cast to uintptr_t.
71457 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
71458 path.
71459 * sysdeps/s390/s390-64/memcpy.S: Likewise.
71460 * sysdeps/s390/s390-64/memset.S: Likewise.
71461
71462 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
71463
71464 [BZ #14833]
71465 * menual/message.texi (Message Translation): Fix typos.
71466 (Helper programs for gettext): Likewise.
71467
71468 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
71469
71470 [BZ #14898]
71471 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
71472 Change to -1.
71473
71474 2012-12-07 David S. Miller <davem@davemloft.net>
71475
71476 * po/libc.pot: Update.
71477
71478 2012-12-07 Richard Henderson <rth@redhat.com>
71479
71480 [BZ #10114]
71481 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
71482 normal/normal case to before the switch.
71483 (_FP_DIV): Likewise.
71484
71485 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
71486 Mike Frysinger <vapier@gentoo.org>
71487
71488 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
71489 check for __NR_fadvise64_64.
71490
71491 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
71492
71493 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
71494 0, not just to plain "0" as a statement.
71495 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
71496 with cw.
71497
71498 2012-12-06 Joseph Myers <joseph@codesourcery.com>
71499
71500 * NEWS: Use sourceware.org in Bugzilla URL.
71501
71502 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
71503
71504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
71505 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
71506
71507 * stdio-common/tst-put-error.c (do_test): Add newline to the
71508 padded test to ensure flush.
71509
71510 2012-12-05 Jeff Law <law@redhat.com>
71511
71512 * sunrpc/etc.rpc (fedfs_admin): Add entry.
71513
71514 2012-12-05 Joseph Myers <joseph@codesourcery.com>
71515
71516 * README: Don't refer to ports add-on as distributed separately.
71517 Mention AArch64 in list of systems supported in the ports add-on.
71518
71519 * LICENSES: Add more non-FSF copyright and license notices.
71520
71521 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
71522 ((unused)).
71523
71524 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
71525
71526 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
71527 10000 as width of padded output.
71528
71529 2012-12-04 Joseph Myers <joseph@codesourcery.com>
71530
71531 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
71532
71533 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
71534 variable LX with __attribute__ ((unused)).
71535 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
71536 Likewise.
71537 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
71538 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
71539 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
71540 with __attribute__ ((unused)).
71541
71542 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
71543
71544 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
71545
71546 2012-12-04 Joseph Myers <joseph@codesourcery.com>
71547
71548 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
71549 (CFLAGS-nldbl-acos.c): New variable.
71550 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
71551 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
71552 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
71553 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
71554 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
71555 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
71556 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
71557 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
71558 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
71559 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
71560 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
71561 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
71562 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
71563 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
71564 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
71565 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
71566 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
71567 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
71568 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
71569 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
71570 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
71571 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
71572 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
71573 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
71574 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
71575 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
71576 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
71577 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
71578 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
71579 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
71580 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
71581 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
71582 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
71583 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
71584 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
71585 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
71586 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
71587 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
71588 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
71589 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
71590 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
71591 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
71592 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
71593 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
71594 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
71595 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
71596 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
71597 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
71598 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
71599 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
71600 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
71601 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
71602 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
71603 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
71604 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
71605 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
71606 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
71607 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
71608 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
71609 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
71610 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
71611 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
71612 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
71613 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
71614 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
71615 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
71616 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
71617 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
71618 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
71619 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
71620 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
71621 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
71622 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
71623 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
71624 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
71625 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
71626 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
71627 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
71628 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
71629 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
71630 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
71631 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
71632 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
71633 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
71634 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
71635 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
71636 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
71637 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
71638 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
71639 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
71640 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
71641 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
71642 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
71643 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
71644 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
71645 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
71646 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
71647
71648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
71649 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
71650
71651 [BZ #14914]
71652 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
71653 whole low double instead of just low 47 bits when splitting values
71654 into two parts.
71655
71656 2012-12-03 Allan McRae <allan@archlinux.org>
71657
71658 * manual/stdio.texi (Predefined Printf Handlers): Remove
71659 @hsep and @vsep usage.
71660
71661 2012-12-03 Mike Frysinger <vapier@gentoo.org>
71662
71663 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
71664 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
71665
71666 2012-12-03 Jeff Law <law@redhat.com>
71667
71668 * time/sys/time.h (settimeofday): Do not mark TV argument
71669 as __nonnull.
71670
71671 2012-12-01 Mike Frysinger <vapier@gentoo.org>
71672
71673 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
71674 when currently writing and seek to current position when not.
71675 * libio/Makefile (tests): Remove bug-fclose1.
71676 * libio/bug-fclose1.c: Delete.
71677
71678 2012-12-01 Joseph Myers <joseph@codesourcery.com>
71679
71680 * manual/arith.texi (feenableexcept): Fix typo.
71681 (fedisableexcept): Likewise.
71682
71683 2012-11-30 Roland McGrath <roland@hack.frob.com>
71684
71685 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
71686 second, differently-typed declaration, rather than a cast.
71687
71688 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
71689
71690 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
71691 * include/rpc/svc.h: ... here.
71692
71693 2012-11-30 Aurelien Jarno <aurel32@debian.org>
71694
71695 [BZ #13013]
71696 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
71697 depending n and resplen2 to catch cases where answer
71698 equals answerp2.
71699
71700 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
71701
71702 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
71703 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
71704
71705 2012-11-29 Mike Frysinger <vapier@gentoo.org>
71706
71707 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
71708
71709 2012-11-29 Roland McGrath <roland@hack.frob.com>
71710
71711 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
71712
71713 2012-11-28 Jeff Law <law@redhat.com>
71714
71715 [BZ #13761]
71716 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
71717 dataset_temporary. Track alloca usage into alloca_used.
71718 If dataset is large allocate and release it via malloc/free.
71719
71720 2012-06-04 Florian Weimer <fweimer@redhat.com>
71721
71722 [BZ #14197]
71723 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
71724
71725 2012-11-28 David S. Miller <davem@davemloft.net>
71726
71727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71728
71729 2012-11-28 Joseph Myers <joseph@codesourcery.com>
71730
71731 [BZ #14803]
71732 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
71733 of pi/2 rounded to nearest to 64 bits.
71734 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
71735 nearest to 64 bits.
71736 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
71737 bits.
71738
71739 2012-11-28 Jeff Law <law@redhat.com>
71740 Martin Osvald <mosvald@redhat.com>
71741
71742 [BZ #14889]
71743 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
71744 * sunrpc/svc.c: Include time.h.
71745 (__svc_accept_failed): New function.
71746 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
71747 any reason other than EINTR, call __svc_accept_failed.
71748 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
71749 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
71750
71751 2012-11-28 Andreas Schwab <schwab@suse.de>
71752
71753 * scripts/abilist.awk: Also handle indirect functions in .opd
71754 section.
71755
71756 2012-11-28 Joseph Myers <joseph@codesourcery.com>
71757
71758 [BZ #13881]
71759 * sysdeps/x86/fpu/powl_helper.c: New file.
71760 * sysdeps/x86/fpu/Makefile: Likewise.
71761 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
71762 (p3): New object.
71763 (__ieee754_powl): Use __powl_helper for finite arguments except
71764 integer exponents below 8.
71765 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
71766 (p3): New object.
71767 (__ieee754_powl): Use __powl_helper for finite arguments except
71768 integer exponents below 8.
71769 * math/libm-test.inc (pow_test): Add more tests and enable some
71770 previously disabled tests.
71771 * sysdeps/i386/fpu/libm-test-ulps: Update.
71772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71773
71774 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
71775 Carlos O'Donell <carlos_odonell@mentor.com>
71776
71777 * nss/makedb.c (is_prime): Assert that input is odd and greater
71778 than 4. Note that fact in a comment too.
71779 (next_prime): Add 4 to input.
71780
71781 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
71782
71783 [BZ #11741]
71784 * libio/Makefile (tests): Add test case tst-fwrite-error.
71785 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
71786 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
71787 * libio/tst-fwrite-error.c: New test case.
71788
71789 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
71790
71791 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
71792 before casting to void *.
71793 * include/libc-internal.h (__pointer_type): New macro.
71794 (__integer_if_pointer_type_sub): Likewise.
71795 (__integer_if_pointer_type): Likewise.
71796 (cast_to_integer): Likewise.
71797 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
71798 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
71799 before casting to atomic64_t.
71800 (atomic_exchange_acq): Likewise.
71801 (__arch_exchange_and_add_body): Likewise.
71802 (__arch_add_body): Likewise.
71803 (atomic_add_negative): Likewise.
71804 (atomic_add_zero): Likewise.
71805
71806 2012-11-26 Joseph Myers <joseph@codesourcery.com>
71807
71808 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
71809 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
71810 (add_fdes): Likewise.
71811 (linear_search_fdes): Likewise.
71812 (binary_search_unencoded_fdes): Likewise.
71813
71814 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
71815
71816 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
71817
71818 2012-11-24 Adam Conrad <adconrad@0c3.net>
71819
71820 * configure.in: Autodetect C++ header directories.
71821 * configure: Regenerated.
71822
71823 2012-11-23 Mike Frysinger <vapier@gentoo.org>
71824
71825 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
71826
71827 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
71828
71829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71830
71831 2012-11-22 Joseph Myers <joseph@codesourcery.com>
71832
71833 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
71834 LDBL_MANT_DIG == 106]: Disable some tests.
71835 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
71836 Likewise.
71837 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
71838 Likewise.
71839
71840 [BZ #14871]
71841 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
71842 input for small inputs. Return +/- pi/2 for large inputs.
71843 * math/libm-test.inc (atan_test): Add more tests.
71844
71845 * sysdeps/generic/unwind-dw2-fde-glibc.c
71846 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
71847 __attribute__ ((unused)).
71848
71849 [BZ #14645]
71850 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
71851 x * y if x and y are nonzero and z is zero.
71852
71853 [BZ #14811]
71854 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
71855 nonzero exponents with absolute value below 0x1p-117 to +/-
71856 0x1p-117.
71857
71858 [BZ #14869]
71859 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
71860 up arguments below 2**-450, not just those below 2**-500.
71861 * math/libm-test.inc (hypot_test): Add another test.
71862
71863 [BZ #14868]
71864 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
71865 Return a+b for ratio over 2**120, not 2**60.
71866 * math/libm-test.inc (hypot_test): Add another test.
71867
71868 * math/libm-test.inc (clog_test): Use
71869 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
71870 (clog10_test): Likewise.
71871
71872 [BZ #6778]
71873 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
71874
71875 2012-11-22 Andreas Schwab <schwab@suse.de>
71876
71877 * sysdeps/i386/fpu/libm-test-ulps: Update.
71878
71879 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
71880
71881 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
71882 printf output with newline.
71883
71884 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
71885
71886 [BZ #14865]
71887 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
71888 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
71889 -z nodlopen, -z initfirst and -z execstack support.
71890 * configure: Regenerated.
71891
71892 * elf/elf.h (DF_1_NODIRECT): New macro.
71893 (DF_1_IGNMULDEF): Likewise.
71894 (DF_1_NOKSYMS): Likewise.
71895 (DF_1_NOHDR): Likewise.
71896 (DF_1_EDITED): Likewise.
71897 (DF_1_NORELOC): Likewise.
71898 (DF_1_SYMINTPOSE): Likewise.
71899 (DF_1_GLOBAUDIT): Likewise.
71900 (DF_1_SINGLETON): Likewise.
71901 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
71902 DT_1_SUPPORTED_MASK bits.
71903 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
71904
71905 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
71906
71907 * sysdeps/unix/make-syscalls.sh: Document prefixes.
71908
71909 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
71910
71911 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
71912 macro.
71913
71914 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
71915 (sendmmsg): Move declarations...
71916 * socket/sys/socket.h: ... here.
71917 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
71918 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
71919 include it from...
71920 * socket/recvmmsg.c: ... this new file.
71921 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
71922 (sendmmsg): Rename to __sendmmsg, create weak alias and make
71923 definition of __sendmmsg hidden.
71924 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
71925 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
71926 Move ENOSYS stub into and include it from...
71927 * socket/sendmmsg.c: ... this new file.
71928 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
71929 (sysdep_routines): Move recvmmsg and sendmmsg...
71930 * socket/Makefile (routines): ... here.
71931 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
71932 (GLIBC_PRIVATE): Add __sendmmsg.
71933 * include/sys/socket.h (__sendmmsg): Add declarations.
71934 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
71935 sendmmsg.
71936
71937 2012-11-20 Joseph Myers <joseph@codesourcery.com>
71938
71939 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
71940 variable I1 with __attribute__ ((unused)).
71941 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
71942
71943 2012-11-19 Joseph Myers <joseph@codesourcery.com>
71944
71945 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
71946 DUMMY variables with __attribute__ ((unused)).
71947
71948 * bits/byteswap.h: Include <bits/types.h>.
71949 (__bswap_64): Use __uint64_t instead of unsigned long long int.
71950
71951 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
71952
71953 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
71954 string_t. Do not manually set errno.
71955 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
71956 length with __strnlen. Make sure to both set errno and return it on
71957 failure.
71958
71959 2012-11-19 David S. Miller <davem@davemloft.net>
71960
71961 With help from Joseph Myers.
71962 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
71963 very large arguments properly.
71964 * math/libm-test.inc (atan_test): New tests.
71965 (atan2_test): New tests.
71966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71967 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71968
71969 2012-11-19 Joseph Myers <joseph@codesourcery.com>
71970
71971 [BZ #14856]
71972 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
71973 Define to 3.
71974
71975 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
71976 [POSIX] (EADDRNOTAVAIL): Likewise.
71977 [POSIX] (EAFNOSUPPORT): Likewise.
71978 [POSIX] (EALREADY): Likewise.
71979 [POSIX] (ECONNABORTED): Likewise.
71980 [POSIX] (ECONNREFUSED): Likewise.
71981 [POSIX] (ECONNRESET): Likewise.
71982 [POSIX] (EDESTADDRREQ): Likewise.
71983 [POSIX] (EDQUOT): Likewise.
71984 [POSIX] (EHOSTUNREACH): Likewise.
71985 [POSIX] (EIDRM): Likewise.
71986 [POSIX] (EISCONN): Likewise.
71987 [POSIX] (ELOOP): Likewise.
71988 [POSIX] (EMULTIHOP): Likewise.
71989 [POSIX] (ENETDOWN): Likewise.
71990 [POSIX] (ENETUNREACH): Likewise.
71991 [POSIX] (ENOBUFS): Likewise.
71992 [POSIX] (ENODATA): Likewise.
71993 [POSIX] (ENOLINK): Likewise.
71994 [POSIX] (ENOMSG): Likewise.
71995 [POSIX] (ENOPROTOOPT): Likewise.
71996 [POSIX] (ENOSR): Likewise.
71997 [POSIX] (ENOSTR): Likewise.
71998 [POSIX] (ENOTCONN): Likewise.
71999 [POSIX] (ENOTSOCK): Likewise.
72000 [POSIX] (EOPNOTSUPP): Likewise.
72001 [POSIX] (EOVERFLOW): Likewise.
72002 [POSIX] (EPROTO): Likewise.
72003 [POSIX] (EPROTONOSUPPORT): Likewise.
72004 [POSIX] (EPROTOTYPE): Likewise.
72005 [POSIX] (ESTALE): Likewise.
72006 [POSIX] (ETIME): Likewise.
72007 [POSIX] (ETXTBSY): Likewise.
72008 [POSIX] (EWOULDBLOCK): Likewise.
72009 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
72010 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
72011 [POSIX] (SEEK_CUR): Likewise.
72012 [POSIX] (SEEK_END): Likewise.
72013 [POSIX || UNIX98] (mode_t): Do not require.
72014 [POSIX] (off_t): Likewise.
72015 [POSIX] (pid_t): Likewise.
72016 [POSIX] (sys/stat.h): Do not allow header.
72017 [POSIX] (unistd.h): Likewise.
72018 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
72019 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
72020 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
72021 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
72022 require.
72023 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
72024 sigevent): Specify elements.
72025 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
72026 entry.
72027 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
72028 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
72029
72030 * conform/data/cpio.h-data [POSIX]: Disable whole file.
72031 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
72032 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
72033 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
72034 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
72035 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
72036 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
72037 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
72038 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
72039 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
72040 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
72041 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
72042 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
72043 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
72044 Likewise.
72045 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
72046 Likewise.
72047 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
72048 Likewise.
72049 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
72050 Likewise.
72051 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
72052 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
72053 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
72054 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
72055 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
72056 Specify lower bound on value.
72057 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
72058 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
72059 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
72060 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
72061 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
72062 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
72063 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
72064 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
72065 value.
72066 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
72067 as optional.
72068 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
72069 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
72070 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
72071 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
72072 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
72073 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
72074 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
72075 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
72076 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
72077 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
72078 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
72079 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
72080 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
72081 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
72082 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
72083 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
72084 entry.
72085 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
72086 optional.
72087 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
72088 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
72089 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
72090 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
72091 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
72092 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
72093 Likewise.
72094 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
72095 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
72096 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
72097 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
72098 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
72099 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
72100 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
72101 as optional.
72102 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
72103 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
72104 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
72105 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
72106 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
72107 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
72108 specify as optional.
72109 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
72110 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
72111 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
72112 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
72113 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
72114 [XPG3] (NL_LANGMAX): Likewise.
72115 [POSIX || XPG3] (NL_MSGMAX): Likewise.
72116 [POSIX || XPG3] (NL_NMAX): Likewise.
72117 [POSIX || XPG3] (NL_SETMAX): Likewise.
72118 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
72119 [XPG3] (NZERO): Likewise.
72120 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
72121 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
72122 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
72123 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
72124 (REG_ERANGE): Expect.
72125 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
72126 optional-constant.
72127 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
72128 Use (void) in prototype.
72129 [POSIX] (*_t): Allow.
72130 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
72131 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
72132 (WRDE_BADVAL): Expect.
72133
72134 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
72135 expect.
72136 [XPG3 || XPG4] (O_RSYNC): Likewise.
72137 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
72138 Likewise.
72139 [XPG3 || XPG4] (pthread_sigmask): Likewise.
72140 [XPG3 || XPG4] (sigqueue): Likewise.
72141 [XPG3 || XPG4] (sigtimedwait): Likewise.
72142 [XPG3 || XPG4] (sigwaitinfo): Likewise.
72143 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
72144 [XPG3 || XPG4] (vsnprintf): Likewise.
72145 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
72146 Likewise.
72147 [XPG3 || XPG4] (blksize_t): Likewise.
72148 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
72149 Likewise.
72150 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
72151 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
72152 [XPG3 || XPG4] (struct itimerspec): Likewise.
72153 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
72154 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
72155 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
72156 [XPG3 || XPG4] (clockid_t): Likewise.
72157 [XPG3 || XPG4] (timer_t): Likewise.
72158 [XPG3 || XPG4] (clock_getres): Likewise.
72159 [XPG3 || XPG4] (clock_gettime): Likewise.
72160 [XPG3 || XPG4] (clock_settime): Likewise.
72161 [XPG3 || XPG4] (nanosleep): Likewise.
72162 [XPG3 || XPG4] (timer_create): Likewise.
72163 [XPG3 || XPG4] (timer_delete): Likewise.
72164 [XPG3 || XPG4] (timer_gettime): Likewise.
72165 [XPG3 || XPG4] (timer_getoverrun): Likewise.
72166 [XPG3 || XPG4] (timer_settime): Likewise.
72167 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
72168 [XPG3 || XPG4] (getlogin_r): Likewise.
72169 [XPG3 || XPG4] (pread): Likewise.
72170 [XPG3 || XPG4] (pthread_atfork): Likewise.
72171 [XPG3 || XPG4] (pwrite): Likewise.
72172
72173 [BZ #14835]
72174 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
72175 <bits/siginfo.h>.
72176
72177 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
72178
72179 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
72180 finalizing MALLSTREAM.
72181
72182 * sysdeps/mach/hurd/syncfs.c: New file.
72183
72184 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
72185
72186 [BZ #14719]
72187 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
72188 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
72189 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
72190 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
72191 (_nss_dns_gethostbyname4_r): Likewise.
72192 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
72193 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
72194
72195 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
72196
72197 [BZ #13763]
72198 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
72199
72200 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
72201
72202 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
72203 * elf/cache.c (print_entry): Print ",AArch64" for
72204 FLAG_AARCH64_LIB64
72205
72206 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
72207 * elf/cache.c (print_entry): Print ",hard-float" for
72208 FLAG_ARM_LIBHF.
72209
72210 2012-11-18 David S. Miller <davem@davemloft.net>
72211
72212 With help from Joseph Myers.
72213 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
72214 cutoff to 2**-13.
72215 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
72216 cutoff to 2**-25.
72217 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
72218 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
72219 small.
72220 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
72221 * math/libm-test.inc (y0_test): New tests.
72222 (y1_test): New tests.
72223 * sysdeps/i386/fpu/libm-test-ulps: Update.
72224 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72226
72227 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
72228
72229 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
72230 64-bit targets.
72231 * configure: Regenerated.
72232
72233 2012-11-17 David S. Miller <davem@davemloft.net>
72234
72235 [BZ #14811]
72236 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
72237 nonzero exponents with absolute value below 0x1p-128 to +/-
72238 0x1p-128.
72239
72240 2012-11-17 Joseph Myers <joseph@codesourcery.com>
72241
72242 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
72243
72244 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
72245
72246 * posix/getconf-speclist.c: New file.
72247 * posix/posix-envs.def: Likewise.
72248 * posix/confstr.c (START_ENV_GROUP): New macro.
72249 (END_ENV_GROUP): Likewise.
72250 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
72251 (KNOWN_PRESENT_ENV_STRING): Likewise.
72252 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
72253 (UNKNOWN_ENVIRONMENT): Likewise.
72254 (confstr): Include posix-envs.def instead of handling
72255 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
72256 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
72257 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
72258 (END_ENV_GROUP): Likewise.
72259 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
72260 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
72261 (UNKNOWN_ENVIRONMENT): Likewise.
72262 (__sysconf): Include posix-envs.def instead of handling associated
72263 cases directly here.
72264 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
72265 preprocessing getconf-speclist.c rather than running getconf or
72266 generating empty file.
72267
72268 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
72269
72270 * scripts/check-local-headers.sh: Ignore 'mach' headers.
72271
72272 2012-11-16 Andrej Lajovic <natrij@gmail.com>
72273
72274 [BZ #14672]
72275 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
72276
72277 2012-11-16 David S. Miller <davem@davemloft.net>
72278
72279 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
72280 smaller than LDBL_EPSILON/2.0L, just return xm1.
72281
72282 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
72283
72284 * elf/tst-array1.c (init): Set constructor priority to 1000.
72285 (fini): Set destructor priority to 1000.
72286 * elf/tst-array2dep.c: Likewise.
72287
72288 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
72289
72290 [BZ #11741]
72291 * libio/fileops.c (_IO_new_file_write): Correctly return error.
72292 (_IO_new_file_xsputn): Also return EOF if none of the input
72293 data was written when overflow failed.
72294 * libio/iopadn.c (_IO_padn): Likewise.
72295 * libio/iowpadn.c (_IO_wpadn): Likewise.
72296 * stdio-common/tst-put-error.c: Add copyright notice.
72297 (do_test): Add case for printing padded string.
72298 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
72299 _IO_padn returned error.
72300 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
72301 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
72302 return EOF.
72303
72304 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
72305
72306 * libio/libioP.h: Add comment note that the references to C++
72307 bits are now obsolete.
72308
72309 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
72310
72311 * math/libm-test.inc (check_complex): Use asprintf.
72312
72313 2012-11-14 Joseph Myers <joseph@codesourcery.com>
72314
72315 * debug/pcprofiledump.c (print_version): Update copyright year.
72316 * malloc/memusagestat.c (print_version): Likewise.
72317
72318 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
72319
72320 [BZ #14831]
72321 * elf/Makefile (tests): Add tst-audit8.
72322 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
72323 ($(objpfx)tst-audit8.out): New target.
72324 (tst-audit8-ENV): New variable.
72325 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
72326 audit if l_reloc_result is NULL.
72327 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
72328 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
72329 * elf/tst-audit8.c: New file.
72330
72331 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
72332
72333 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
72334 * misc/Makefile (CFLAGS-select.c): Define.
72335 * posix/Makefile (CFLAGS-pause.c): Define.
72336
72337 2012-11-13 David S. Miller <davem@davemloft.net>
72338
72339 * crypt/Makefile: Move test targets after toplevel Rules
72340 inclusion. Grab any necessary sysdep routines when linking.
72341 * crypt/md5.c (md5_process_block): Remove define, we will always
72342 name it __md5_process_block.
72343 (md5_finish_ctx): Update md5_process_block call.
72344 (md5_stream): Likewise.
72345 (md5_process_bytes): Likewise.
72346 (md5_process_block): Rename to __md5_process_block and move to ...
72347 * crypt/md5-block.c: ... here.
72348 * crypt/sha256.c (sha256_process_block): Move to ...
72349 * crypt/sha256-block.c: ... here.
72350 * crypt/sha512.c (sha512_process_block): Move to ...
72351 * crypt/sha512-block.c: ... here.
72352 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
72353 path.
72354 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
72355 * sysdeps/sparc/sparc64/multiarch/Makefile
72356 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
72357 crypt subdir.
72358 (localedef-aux): Add md5 crypto assembler when in locale subdir.
72359 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
72360 multiarch changes.
72361 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
72362 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
72363 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
72364 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
72365 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
72366 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
72367 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
72368 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
72369 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
72370 file.
72371 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
72372 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
72373 file.
72374 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
72375
72376 2012-11-13 Joseph Myers <joseph@codesourcery.com>
72377
72378 * timezone/tzselect.ksh: Update from tzcode git revision
72379 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
72380 * timezone/zdump.c: Likewise.
72381 * timezone/zic.c: Likewise.
72382 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
72383 in TZVERSION setting, not $(PKGVERSION).
72384 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
72385 REPORT_BUGS_TO settings.
72386
72387 [BZ #14838]
72388 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
72389 macro.
72390
72391 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
72392
72393 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
72394 detection to immediately after _FP_ROUND().
72395 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
72396 bits are 0.
72397
72398 2012-11-11 David S. Miller <davem@davemloft.net>
72399
72400 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
72401 inttypes.h
72402 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
72403 __close rather than their public counterparts.
72404
72405 2012-11-10 Joseph Myers <joseph@codesourcery.com>
72406
72407 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
72408 file.
72409 [UNIX98] (sem_timedwait): Do not expect.
72410 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
72411 [XPG4 || UNIX98] (sockatmark): Do not expect.
72412 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
72413 (clock_getcpuclockid): Do not expect.
72414 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
72415 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
72416 Do not expect.
72417 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
72418 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
72419 [UNIX98] (vwscanf): Likewise.
72420 [UNIX98] (vswscanf): Likewise.
72421
72422 2012-11-09 Joseph Myers <joseph@codesourcery.com>
72423
72424 * timezone/version.h: Remove file.
72425 * timezone/README: Do not refer to version.h.
72426 * timezone/Makefile ($(objpfx)zic.o): New dependency on
72427 $(objpfx)version.h.
72428 ($(objpfx)zdump.o): Likewise.
72429 ($(objpfx)version.h): New target.
72430
72431 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
72432 2012i.
72433 * timezone/README: Don't mention modification to tzselect.ksh.
72434 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
72435 work on unmodified tzselect.ksh. Substitute version numbers in
72436 tzselect.ksh.
72437
72438 * Makefile (format-me): Remove.
72439 (INSTALL): Adjust indentation. Use commands directly instead of
72440 using $(format-me).
72441
72442 * aclocal.m4 (ACX_PKGVERSION): New macro.
72443 (ACX_BUGURL): Likewise.
72444 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
72445 (PKGVERSION): New AC_DEFINE_UNQUOTED.
72446 (REPORT_BUGS_TO): Likewise.
72447 * configure: Regenerated.
72448 * config.h.in (PKGVERSION): New macro.
72449 (REPORT_BUGS_TO): Likewise.
72450 * config.make.in (PKGVERSION): New variable.
72451 (PKGVERSION_TEXI): Likewise.
72452 (REPORT_BUGS_TO): Likewise.
72453 (REPORT_BUGS_TEXI): Likewise.
72454 * Makefile (format-me): Use -I$(common-objpfx)manual.
72455 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
72456 ($(common-objpfx)manual/%): New target.
72457 (manual/%): Remove target.
72458 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
72459 (print_version): Use PKGVERSION.
72460 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
72461 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
72462 and REPORT_BUGS_TO.
72463 ($(objpfx)xtrace): Likewise.
72464 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
72465 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
72466 (print_version): Use PKGVERSION.
72467 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
72468 (do_version): Use PKGVERSION.
72469 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
72470 REPORT_BUGS_TO.
72471 (common-ldd-rewrite): Likewise.
72472 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
72473 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
72474 (print_version): Use PKGVERSION.
72475 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
72476 * elf/pldd.c (argp_program_bug_address): Remove variable.
72477 (more_help): New function.
72478 (argp): Use more_help.
72479 (print_version): Use PKGVERSION.
72480 * elf/sln.c (main): Use PKGVERSION.
72481 (usage): Use REPORT_BUGS_TO.
72482 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
72483 (top level): Use PKGVERSION.
72484 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
72485 (print_version): Use PKGVERSION.
72486 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
72487 (print_version): Use PKGVERSION.
72488 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
72489 (print_version): Use PKGVERSION.
72490 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
72491 (print_version): Use PKGVERSION.
72492 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
72493 (print_version): Use PKGVERSION.
72494 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
72495 (print_version): Use PKGVERSION.
72496 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
72497 and BUGURL.
72498 ($(objpfx)memusage): Likewise.
72499 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
72500 (do_version): Use PKGVERSION.
72501 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
72502 (print_version): Use PKGVERSION.
72503 * malloc/mtrace.pl ($PACKAGE): Remove variable.
72504 ($PKGVERSION): New variable.
72505 ($REPORT_BUGS_TO): Likewise.
72506 (usage): Use $REPORT_BUGS_TO.
72507 (top level): Use $PKGVERSION.
72508 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
72509 ($(objpfx)pkgvers.texi): New rule.
72510 ($(objpfx)stamp-pkgvers): Likewise.
72511 * manual/install.texi: Include pkgvers.texi.
72512 (--with-pkgversion): Document new configure option.
72513 (--with-bugurl): Likewise.
72514 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
72515 than necessarily for this particular distribution. Use
72516 REPORT_BUGS_TO for where to report bugs.
72517 * INSTALL: Regenerated.
72518 * manual/libc.texinfo: Include pkgvers.texi.
72519 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
72520 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
72521 (print_version): Use PKGVERSION.
72522 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
72523 (print_version): Use PKGVERSION.
72524 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
72525 (print_version): Use PKGVERSION.
72526 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
72527 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
72528 macro.
72529 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
72530 (print_version): Use PKGVERSION.
72531 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
72532 (print_version): Use PKGVERSION.
72533 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
72534 and PKGVERSION.
72535
72536 * timezone/checktab.awk: Update from tzcode 2012i.
72537 * timezone/ialloc.c: Likewise.
72538 * timezone/private.h: Likewise.
72539 * timezone/scheck.c: Likewise.
72540 * timezone/tzfile.h: Likewise.
72541 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
72542 (TZVERSION): Hardcode tzcode version number.
72543 * timezone/zdump.c: Update from tzcode 2012i.
72544 * timezone/zic.c: Likewise.
72545 * timezone/version.h: New file.
72546 * timezone/README: Describe version.h. Update upstream location.
72547
72548 [BZ #14824]
72549 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
72550 (mktemp): Enable declaration.
72551 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
72552 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
72553 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
72554 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
72555 Likewise.
72556 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
72557 Likewise.
72558 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
72559 Likewise.
72560 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
72561 Likewise.
72562 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
72563 Likewise.
72564 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
72565 Likewise.
72566
72567 [BZ #14821]
72568 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
72569 offset in buffer as u_int32_t not u_long. Consistently use memcpy
72570 for copies of such integer values.
72571 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
72572 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
72573
72574 2012-11-09 Andreas Jaeger <aj@suse.de>
72575
72576 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
72577 definitions and declarations that are provided by
72578 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
72579
72580 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72581
72582 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
72583 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
72584 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
72585 definition.
72586
72587 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
72588
72589 * elf/elf.h: Update comment before AArch64 relocations.
72590
72591 2012-11-07 David S. Miller <davem@davemloft.net>
72592
72593 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
72594 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
72595 (__start_context): Declare.
72596 (__makecontext_ret): Delete.
72597 (__makecontext): Hook up __start_context instead of
72598 __makecontext_ret.
72599 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
72600 (sysdep_routines): Add __start_context when in stdlib.
72601
72602 2012-11-07 Joseph Myers <joseph@codesourcery.com>
72603
72604 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
72605 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
72606 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
72607 hardcoded "nm".
72608 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
72609 (READELF): New variable. Use it instead of hardcoded "readelf".
72610
72611 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
72612
72613 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
72614 * sysdeps/x86/Makefile: Here.
72615 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
72616 * sysdeps/x86/tst-xmmymm.sh: This.
72617
72618 2012-11-07 Joseph Myers <joseph@codesourcery.com>
72619
72620 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
72621 expectations.
72622 [UNIX98] (pthread_barrier_t): Do not expect.
72623 [UNIX98] (pthread_barrierattr_t): Likewise.
72624 [UNIX98] (pthread_spinlock_t): Likewise.
72625 [UNIX98] (pthread_barrier_destroy): Likewise.
72626 [UNIX98] (pthread_barrier_init): Likewise.
72627 [UNIX98] (pthread_barrier_wait): Likewise.
72628 [UNIX98] (pthread_barrierattr_destroy): Likewise.
72629 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
72630 [UNIX98] (pthread_barrierattr_init): Likewise.
72631 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
72632 [UNIX98] (pthread_getcpuclockid): Likewise.
72633 [UNIX98] (pthread_mutex_timedlock): Likewise.
72634 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
72635 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
72636 [UNIX98] (pthread_sigmask): Likewise.
72637 [UNIX98] (pthread_spin_destroy): Likewise.
72638 [UNIX98] (pthread_spin_init): Likewise.
72639 [UNIX98] (pthread_spin_lock): Likewise.
72640 [UNIX98] (pthread_spin_trylock): Likewise.
72641 [UNIX98] (pthread_spin_unlock): Likewise.
72642 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
72643 Do not expect.
72644 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
72645 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
72646 [XPG3 || XPG4] (pthread_cond_t): Likewise.
72647 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
72648 [XPG3 || XPG4] (pthread_key_t): Likewise.
72649 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
72650 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
72651 [XPG3 || XPG4] (pthread_once_t): Likewise.
72652 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
72653 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
72654 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
72655 [XPG3 || XPG4] (pthread_t): Likewise.
72656
72657 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
72658 not expect.
72659 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
72660
72661 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
72662 Change function return type to int.
72663
72664 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
72665 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
72666 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
72667 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
72668 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
72669 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
72670 [!POSIX] (posix_madvise): Likewise.
72671 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
72672 && !UNIX98].
72673 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
72674 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
72675 (mode_t): Likewise.
72676 (posix_mem_offset): Likewise.
72677 (posix_typed_mem_get_info): Likewise.
72678 (posix_typed_mem_open): Likewise.
72679
72680 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
72681 Change condition to [XOPEN2K8].
72682
72683 * conform/conformtest.pl: Preprocess allow-header data with -x c
72684 instead of from stdin.
72685 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
72686 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
72687 [C99-based standards] (cerfc): Likewise.
72688 [C99-based standards] (cexp2): Likewise.
72689 [C99-based standards] (cexpm1): Likewise.
72690 [C99-based standards] (clog10): Likewise.
72691 [C99-based standards] (clog1p): Likewise.
72692 [C99-based standards] (clog2): Likewise.
72693 [C99-based standards] (clgamma): Likewise.
72694 [C99-based standards] (ctgamma): Likewise.
72695 [C99-based standards] (cerff): Likewise.
72696 [C99-based standards] (cerfcf): Likewise.
72697 [C99-based standards] (cexp2f): Likewise.
72698 [C99-based standards] (cexpm1f): Likewise.
72699 [C99-based standards] (clog10f): Likewise.
72700 [C99-based standards] (clog1pf): Likewise.
72701 [C99-based standards] (clog2f): Likewise.
72702 [C99-based standards] (clgammaf): Likewise.
72703 [C99-based standards] (ctgammaf): Likewise.
72704 [C99-based standards] (cerfl): Likewise.
72705 [C99-based standards] (cerfcl): Likewise.
72706 [C99-based standards] (cexp2l): Likewise.
72707 [C99-based standards] (cexpm1l): Likewise.
72708 [C99-based standards] (clog10l): Likewise.
72709 [C99-based standards] (clog1pl): Likewise.
72710 [C99-based standards] (clog2l): Likewise.
72711 [C99-based standards] (clgammal): Likewise.
72712 [C99-based standards] (ctgammal): Likewise.
72713 * conform/data/inttypes.h-data [C99-based standards]: Include
72714 stdint.h-data. Remove all expectations for stdint.h contents.
72715 [C99-based standards] (PRI*): Do not allow.
72716 [C99-based standards] (SCN*): Likewise.
72717 [C99-based standards] (*_t): Likewise.
72718 [C99-based-standards] (PRId8): Expect macro.
72719 [C99-based-standards] (PRIi8): Likewise.
72720 [C99-based-standards] (PRIo8): Likewise.
72721 [C99-based-standards] (PRIu8): Likewise.
72722 [C99-based-standards] (PRIx8): Likewise.
72723 [C99-based-standards] (PRIX8): Likewise.
72724 [C99-based-standards] (SCNd8): Likewise.
72725 [C99-based-standards] (SCNi8): Likewise.
72726 [C99-based-standards] (SCNo8): Likewise.
72727 [C99-based-standards] (SCNu8): Likewise.
72728 [C99-based-standards] (SCNx8): Likewise.
72729 [C99-based-standards] (PRIdLEAST8): Likewise.
72730 [C99-based-standards] (PRIiLEAST8): Likewise.
72731 [C99-based-standards] (PRIoLEAST8): Likewise.
72732 [C99-based-standards] (PRIuLEAST8): Likewise.
72733 [C99-based-standards] (PRIxLEAST8): Likewise.
72734 [C99-based-standards] (PRIXLEAST8): Likewise.
72735 [C99-based-standards] (SCNdLEAST8): Likewise.
72736 [C99-based-standards] (SCNiLEAST8): Likewise.
72737 [C99-based-standards] (SCNoLEAST8): Likewise.
72738 [C99-based-standards] (SCNuLEAST8): Likewise.
72739 [C99-based-standards] (SCNxLEAST8): Likewise.
72740 [C99-based-standards] (PRIdFAST8): Likewise.
72741 [C99-based-standards] (PRIiFAST8): Likewise.
72742 [C99-based-standards] (PRIoFAST8): Likewise.
72743 [C99-based-standards] (PRIuFAST8): Likewise.
72744 [C99-based-standards] (PRIxFAST8): Likewise.
72745 [C99-based-standards] (PRIXFAST8): Likewise.
72746 [C99-based-standards] (SCNdFAST8): Likewise.
72747 [C99-based-standards] (SCNiFAST8): Likewise.
72748 [C99-based-standards] (SCNoFAST8): Likewise.
72749 [C99-based-standards] (SCNuFAST8): Likewise.
72750 [C99-based-standards] (SCNxFAST8): Likewise.
72751 [C99-based-standards] (PRId16): Likewise.
72752 [C99-based-standards] (PRIi16): Likewise.
72753 [C99-based-standards] (PRIo16): Likewise.
72754 [C99-based-standards] (PRIu16): Likewise.
72755 [C99-based-standards] (PRIx16): Likewise.
72756 [C99-based-standards] (PRIX16): Likewise.
72757 [C99-based-standards] (SCNd16): Likewise.
72758 [C99-based-standards] (SCNi16): Likewise.
72759 [C99-based-standards] (SCNo16): Likewise.
72760 [C99-based-standards] (SCNu16): Likewise.
72761 [C99-based-standards] (SCNx16): Likewise.
72762 [C99-based-standards] (PRIdLEAST16): Likewise.
72763 [C99-based-standards] (PRIiLEAST16): Likewise.
72764 [C99-based-standards] (PRIoLEAST16): Likewise.
72765 [C99-based-standards] (PRIuLEAST16): Likewise.
72766 [C99-based-standards] (PRIxLEAST16): Likewise.
72767 [C99-based-standards] (PRIXLEAST16): Likewise.
72768 [C99-based-standards] (SCNdLEAST16): Likewise.
72769 [C99-based-standards] (SCNiLEAST16): Likewise.
72770 [C99-based-standards] (SCNoLEAST16): Likewise.
72771 [C99-based-standards] (SCNuLEAST16): Likewise.
72772 [C99-based-standards] (SCNxLEAST16): Likewise.
72773 [C99-based-standards] (PRIdFAST16): Likewise.
72774 [C99-based-standards] (PRIiFAST16): Likewise.
72775 [C99-based-standards] (PRIoFAST16): Likewise.
72776 [C99-based-standards] (PRIuFAST16): Likewise.
72777 [C99-based-standards] (PRIxFAST16): Likewise.
72778 [C99-based-standards] (PRIXFAST16): Likewise.
72779 [C99-based-standards] (SCNdFAST16): Likewise.
72780 [C99-based-standards] (SCNiFAST16): Likewise.
72781 [C99-based-standards] (SCNoFAST16): Likewise.
72782 [C99-based-standards] (SCNuFAST16): Likewise.
72783 [C99-based-standards] (SCNxFAST16): Likewise.
72784 [C99-based-standards] (PRId32): Likewise.
72785 [C99-based-standards] (PRIi32): Likewise.
72786 [C99-based-standards] (PRIo32): Likewise.
72787 [C99-based-standards] (PRIu32): Likewise.
72788 [C99-based-standards] (PRIx32): Likewise.
72789 [C99-based-standards] (PRIX32): Likewise.
72790 [C99-based-standards] (SCNd32): Likewise.
72791 [C99-based-standards] (SCNi32): Likewise.
72792 [C99-based-standards] (SCNo32): Likewise.
72793 [C99-based-standards] (SCNu32): Likewise.
72794 [C99-based-standards] (SCNx32): Likewise.
72795 [C99-based-standards] (PRIdLEAST32): Likewise.
72796 [C99-based-standards] (PRIiLEAST32): Likewise.
72797 [C99-based-standards] (PRIoLEAST32): Likewise.
72798 [C99-based-standards] (PRIuLEAST32): Likewise.
72799 [C99-based-standards] (PRIxLEAST32): Likewise.
72800 [C99-based-standards] (PRIXLEAST32): Likewise.
72801 [C99-based-standards] (SCNdLEAST32): Likewise.
72802 [C99-based-standards] (SCNiLEAST32): Likewise.
72803 [C99-based-standards] (SCNoLEAST32): Likewise.
72804 [C99-based-standards] (SCNuLEAST32): Likewise.
72805 [C99-based-standards] (SCNxLEAST32): Likewise.
72806 [C99-based-standards] (PRIdFAST32): Likewise.
72807 [C99-based-standards] (PRIiFAST32): Likewise.
72808 [C99-based-standards] (PRIoFAST32): Likewise.
72809 [C99-based-standards] (PRIuFAST32): Likewise.
72810 [C99-based-standards] (PRIxFAST32): Likewise.
72811 [C99-based-standards] (PRIXFAST32): Likewise.
72812 [C99-based-standards] (SCNdFAST32): Likewise.
72813 [C99-based-standards] (SCNiFAST32): Likewise.
72814 [C99-based-standards] (SCNoFAST32): Likewise.
72815 [C99-based-standards] (SCNuFAST32): Likewise.
72816 [C99-based-standards] (SCNxFAST32): Likewise.
72817 [C99-based-standards] (PRId64): Likewise.
72818 [C99-based-standards] (PRIi64): Likewise.
72819 [C99-based-standards] (PRIo64): Likewise.
72820 [C99-based-standards] (PRIu64): Likewise.
72821 [C99-based-standards] (PRIx64): Likewise.
72822 [C99-based-standards] (PRIX64): Likewise.
72823 [C99-based-standards] (SCNd64): Likewise.
72824 [C99-based-standards] (SCNi64): Likewise.
72825 [C99-based-standards] (SCNo64): Likewise.
72826 [C99-based-standards] (SCNu64): Likewise.
72827 [C99-based-standards] (SCNx64): Likewise.
72828 [C99-based-standards] (PRIdLEAST64): Likewise.
72829 [C99-based-standards] (PRIiLEAST64): Likewise.
72830 [C99-based-standards] (PRIoLEAST64): Likewise.
72831 [C99-based-standards] (PRIuLEAST64): Likewise.
72832 [C99-based-standards] (PRIxLEAST64): Likewise.
72833 [C99-based-standards] (PRIXLEAST64): Likewise.
72834 [C99-based-standards] (SCNdLEAST64): Likewise.
72835 [C99-based-standards] (SCNiLEAST64): Likewise.
72836 [C99-based-standards] (SCNoLEAST64): Likewise.
72837 [C99-based-standards] (SCNuLEAST64): Likewise.
72838 [C99-based-standards] (SCNxLEAST64): Likewise.
72839 [C99-based-standards] (PRIdFAST64): Likewise.
72840 [C99-based-standards] (PRIiFAST64): Likewise.
72841 [C99-based-standards] (PRIoFAST64): Likewise.
72842 [C99-based-standards] (PRIuFAST64): Likewise.
72843 [C99-based-standards] (PRIxFAST64): Likewise.
72844 [C99-based-standards] (PRIXFAST64): Likewise.
72845 [C99-based-standards] (SCNdFAST64): Likewise.
72846 [C99-based-standards] (SCNiFAST64): Likewise.
72847 [C99-based-standards] (SCNoFAST64): Likewise.
72848 [C99-based-standards] (SCNuFAST64): Likewise.
72849 [C99-based-standards] (SCNxFAST64): Likewise.
72850 [C99-based-standards] (PRIdMAX): Likewise.
72851 [C99-based-standards] (PRIiMAX): Likewise.
72852 [C99-based-standards] (PRIoMAX): Likewise.
72853 [C99-based-standards] (PRIuMAX): Likewise.
72854 [C99-based-standards] (PRIxMAX): Likewise.
72855 [C99-based-standards] (PRIXMAX): Likewise.
72856 [C99-based-standards] (SCNdMAX): Likewise.
72857 [C99-based-standards] (SCNiMAX): Likewise.
72858 [C99-based-standards] (SCNoMAX): Likewise.
72859 [C99-based-standards] (SCNuMAX): Likewise.
72860 [C99-based-standards] (SCNxMAX): Likewise.
72861 [C99-based-standards] (PRIdPTR): Likewise.
72862 [C99-based-standards] (PRIiPTR): Likewise.
72863 [C99-based-standards] (PRIoPTR): Likewise.
72864 [C99-based-standards] (PRIuPTR): Likewise.
72865 [C99-based-standards] (PRIxPTR): Likewise.
72866 [C99-based-standards] (PRIXPTR): Likewise.
72867 [C99-based-standards] (SCNdPTR): Likewise.
72868 [C99-based-standards] (SCNiPTR): Likewise.
72869 [C99-based-standards] (SCNoPTR): Likewise.
72870 [C99-based-standards] (SCNuPTR): Likewise.
72871 [C99-based-standards] (SCNxPTR): Likewise.
72872 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
72873 allow.
72874 * conform/data/stdint.h-data: Update comments to clarify
72875 requirements.
72876 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
72877 type.
72878 [C99-based standards] (INT8_MAX): Likewise.
72879 [C99-based standards] (INT16_MIN): Likewise.
72880 [C99-based standards] (INT16_MAX): Likewise.
72881 [C99-based standards] (INT32_MIN): Likewise.
72882 [C99-based standards] (INT32_MAX): Likewise.
72883 [C99-based standards] (INT64_MIN): Likewise.
72884 [C99-based standards] (INT64_MAX): Likewise.
72885 [C99-based standards] (UINT8_MAX): Likewise.
72886 [C99-based standards] (UINT16_MAX): Likewise.
72887 [C99-based standards] (UINT32_MAX): Likewise.
72888 [C99-based standards] (UINT64_MAX): Likewise.
72889 [C99-based standards] (INT_LEAST8_MIN): Likewise.
72890 [C99-based standards] (INT_LEAST8_MAX): Likewise.
72891 [C99-based standards] (INT_LEAST16_MIN): Likewise.
72892 [C99-based standards] (INT_LEAST16_MAX): Likewise.
72893 [C99-based standards] (INT_LEAST32_MIN): Likewise.
72894 [C99-based standards] (INT_LEAST32_MAX): Likewise.
72895 [C99-based standards] (INT_LEAST64_MIN): Likewise.
72896 [C99-based standards] (INT_LEAST64_MAX): Likewise.
72897 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
72898 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
72899 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
72900 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
72901 [C99-based standards] (INT_FAST8_MIN): Likewise.
72902 [C99-based standards] (INT_FAST8_MAX): Likewise.
72903 [C99-based standards] (INT_FAST16_MIN): Likewise.
72904 [C99-based standards] (INT_FAST16_MAX): Likewise.
72905 [C99-based standards] (INT_FAST32_MIN): Likewise.
72906 [C99-based standards] (INT_FAST32_MAX): Likewise.
72907 [C99-based standards] (INT_FAST64_MIN): Likewise.
72908 [C99-based standards] (INT_FAST64_MAX): Likewise.
72909 [C99-based standards] (UINT_FAST8_MAX): Likewise.
72910 [C99-based standards] (UINT_FAST16_MAX): Likewise.
72911 [C99-based standards] (UINT_FAST32_MAX): Likewise.
72912 [C99-based standards] (UINT_FAST64_MAX): Likewise.
72913 [C99-based standards] (INTPTR_MIN): Likewise.
72914 [C99-based standards] (INTPTR_MAX): Likewise.
72915 [C99-based standards] (UINTPTR_MAX): Likewise.
72916 [C99-based standards] (INTMAX_MIN): Likewise.
72917 [C99-based standards] (INTMAX_MAX): Likewise.
72918 [C99-based standards] (UINTMAX_MAX): Likewise.
72919 [C99-based standards] (PTRDIFF_MIN): Likewise.
72920 [C99-based standards] (PTRDIFF_MAX): Likewise.
72921 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
72922 [C99-based standards] (SIZE_MAX): Likewise.
72923 [C99-based standards] (WCHAR_MAX): Likewise.
72924 [C99-based standards] (WINT_MAX): Likewise.
72925 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
72926 constraint on value.
72927 [C99-based standards] (WCHAR_MIN): Likewise.
72928 [C99-based standards] (WINT_MIN): Likewise.
72929 [C99-based standards] (*_t): Allow.
72930 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
72931 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
72932 Include math.h-data and complex.h-data. Remove all expectations
72933 of math.h and complex.h contents.
72934 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
72935 at end of line.
72936 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
72937 (struct tm): Expect tag.
72938 [C99-based-standards] (wcstof): Expect function.
72939 [C99-based-standards] (wcstold): Likewise.
72940 [C99-based-standards] (wcstoll): Likewise.
72941 [C99-based-standards] (wcstoull): Likewise.
72942 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
72943 macro-int-constant. Specify type.
72944 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
72945 constraint on value.
72946 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
72947 Specify type.
72948 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
72949 Specify value.
72950 [ISO C standards]: Do not allow headers.
72951 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
72952 wcs[abcdefghijklmnopqrstuvwxyz]*.
72953 [ISO C standards] (*_t): Do not allow.
72954 * conform/data/wctype.h-data [C99-based standards] (iswblank):
72955 Expect function.
72956 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
72957 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
72958 Specify type.
72959 [ISO C standards]: Do not allow headers.
72960 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
72961 is[abcdefghijklmnopqrstuvwxyz]*.
72962 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
72963 to[abcdefghijklmnopqrstuvwxyz]*.
72964 [ISO C standards] (*_t): Do not allow.
72965 * conform/data/stdalign.h-data: New file.
72966 * conform/data/stdbool.h-data: Likewise.
72967 * conform/data/stdnoreturn.h-data: Likewise.
72968
72969 2012-11-07 Roland McGrath <roland@hack.frob.com>
72970
72971 [BZ #14815]
72972 * manual/filesys.texi (Directory Entries): Typo fix.
72973 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
72974
72975 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
72976
72977 * elf/elf.h (EM_AARCH64): New macro.
72978 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
72979 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
72980 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
72981 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
72982 (R_AARCH64_TLSDESC): Likewise.
72983 (NT_ARM_TLS): Likewise.
72984 (NT_ARM_HW_BREAK): Likewise.
72985 (NT_ARM_HW_WATCH): Likewise.
72986
72987 2012-11-07 Joseph Myers <joseph@codesourcery.com>
72988
72989 [BZ #14811]
72990 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
72991 (__ieee754_powl): Saturate nonzero exponents with absolute value
72992 below 0x1p-79 to +/- 0x1p-79.
72993 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
72994 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
72995 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
72996 nonzero exponents with absolute value below 0x1p-32 to +/-
72997 0x1p-32.
72998 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
72999 (__ieee754_powl): Saturate nonzero exponents with absolute value
73000 below 0x1p-79 to +/- 0x1p-79.
73001 * math/libm-test.inc (pow_test): Add more tests.
73002
73003 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
73004
73005 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
73006 _dl_s390_cap_flags with kernel. Increase string length.
73007 (_dl_s390_platforms): Add z196 and zEC12.
73008
73009 2012-11-07 Joseph Myers <joseph@codesourcery.com>
73010
73011 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
73012 Change XOPEN21K to XOPEN2K.
73013
73014 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
73015
73016 * string/memmove.c: Use memcpy when possible.
73017
73018 2012-11-06 Andreas Jaeger <aj@suse.de>
73019
73020 * po/eo.po: Update from translation team.
73021
73022 2012-11-06 Joseph Myers <joseph@codesourcery.com>
73023
73024 [BZ #14793]
73025 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
73026 exponent and small x and y exponents, scale x or y up. Increase
73027 by 2 the exponent used in scaling up.
73028 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73029 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73030 * math/libm-test.inc (fma_test): Add more tests.
73031 (fma_test_towardzero): Likewise.
73032 (fma_test_downward): Likewise.
73033 (fma_test_upward): Likewise.
73034
73035 2012-11-05 Joseph Myers <joseph@codesourcery.com>
73036
73037 [BZ #14805]
73038 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
73039 fenv_t *.
73040
73041 [BZ #14801]
73042 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
73043 namespace for names of struct fields.
73044 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
73045 fenv_t fields.
73046 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
73047 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
73048
73049 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
73050
73051 [BZ #3665]
73052 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
73053
73054 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
73055
73056 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
73057 PTR_DEMANGLE.
73058
73059 [BZ #5246]
73060 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
73061 PTR_DEMANGLE.
73062
73063 2012-11-04 Joseph Myers <joseph@codesourcery.com>
73064
73065 [BZ #14797]
73066 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
73067 definitely overflow as x * y not x * y + z.
73068 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73069 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73070 * math/libm-test.inc (fma_test): Add more tests.
73071 (fma_test_towardzero): Likewise.
73072 (fma_test_downward): Likewise.
73073 (fma_test_upward): Likewise.
73074
73075 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
73076
73077 [BZ #157]
73078
73079 * include/stub-tag.h: Remove file.
73080 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
73081 '#include' of it.
73082 * manual/maint.texi (Porting): Don't reference it.
73083 * Makerules ($(objpfx)stubs): Likewise.
73084 * dirent/closedir.c: Don't include <stub-tag.h>.
73085 * dirent/dirfd.c: Likewise.
73086 * dirent/fdopendir.c: Likewise.
73087 * dirent/getdents.c: Likewise.
73088 * dirent/getdents64.c: Likewise.
73089 * dirent/opendir.c: Likewise.
73090 * dirent/readdir.c: Likewise.
73091 * dirent/readdir64.c: Likewise.
73092 * dirent/readdir64_r.c: Likewise.
73093 * dirent/readdir_r.c: Likewise.
73094 * dirent/rewinddir.c: Likewise.
73095 * dirent/seekdir.c: Likewise.
73096 * dirent/telldir.c: Likewise.
73097 * gmon/profil.c: Likewise.
73098 * grp/setgroups.c: Likewise.
73099 * inet/if_index.c: Likewise.
73100 * io/access.c: Likewise.
73101 * io/chdir.c: Likewise.
73102 * io/chmod.c: Likewise.
73103 * io/chown.c: Likewise.
73104 * io/close.c: Likewise.
73105 * io/dup.c: Likewise.
73106 * io/dup2.c: Likewise.
73107 * io/dup3.c: Likewise.
73108 * io/euidaccess.c: Likewise.
73109 * io/faccessat.c: Likewise.
73110 * io/fchdir.c: Likewise.
73111 * io/fchmod.c: Likewise.
73112 * io/fchmodat.c: Likewise.
73113 * io/fchown.c: Likewise.
73114 * io/fchownat.c: Likewise.
73115 * io/fcntl.c: Likewise.
73116 * io/flock.c: Likewise.
73117 * io/fstatfs.c: Likewise.
73118 * io/fstatfs64.c: Likewise.
73119 * io/fstatvfs.c: Likewise.
73120 * io/fstatvfs64.c: Likewise.
73121 * io/futimens.c: Likewise.
73122 * io/fxstat.c: Likewise.
73123 * io/fxstat64.c: Likewise.
73124 * io/fxstatat.c: Likewise.
73125 * io/fxstatat64.c: Likewise.
73126 * io/getcwd.c: Likewise.
73127 * io/isatty.c: Likewise.
73128 * io/lchmod.c: Likewise.
73129 * io/lchown.c: Likewise.
73130 * io/link.c: Likewise.
73131 * io/linkat.c: Likewise.
73132 * io/lseek.c: Likewise.
73133 * io/lseek64.c: Likewise.
73134 * io/lxstat64.c: Likewise.
73135 * io/mkdir.c: Likewise.
73136 * io/mkdirat.c: Likewise.
73137 * io/mkfifo.c: Likewise.
73138 * io/mkfifoat.c: Likewise.
73139 * io/open.c: Likewise.
73140 * io/open64.c: Likewise.
73141 * io/openat.c: Likewise.
73142 * io/openat64.c: Likewise.
73143 * io/pipe.c: Likewise.
73144 * io/pipe2.c: Likewise.
73145 * io/poll.c: Likewise.
73146 * io/posix_fadvise.c: Likewise.
73147 * io/posix_fadvise64.c: Likewise.
73148 * io/posix_fallocate.c: Likewise.
73149 * io/posix_fallocate64.c: Likewise.
73150 * io/read.c: Likewise.
73151 * io/readlink.c: Likewise.
73152 * io/readlinkat.c: Likewise.
73153 * io/rmdir.c: Likewise.
73154 * io/sendfile.c: Likewise.
73155 * io/sendfile64.c: Likewise.
73156 * io/statfs.c: Likewise.
73157 * io/statfs64.c: Likewise.
73158 * io/statvfs.c: Likewise.
73159 * io/statvfs64.c: Likewise.
73160 * io/symlink.c: Likewise.
73161 * io/symlinkat.c: Likewise.
73162 * io/ttyname.c: Likewise.
73163 * io/ttyname_r.c: Likewise.
73164 * io/umask.c: Likewise.
73165 * io/unlink.c: Likewise.
73166 * io/unlinkat.c: Likewise.
73167 * io/utime.c: Likewise.
73168 * io/utimensat.c: Likewise.
73169 * io/write.c: Likewise.
73170 * io/xmknod.c: Likewise.
73171 * io/xmknodat.c: Likewise.
73172 * io/xstat.c: Likewise.
73173 * io/xstat64.c: Likewise.
73174 * login/getpt.c: Likewise.
73175 * login/grantpt.c: Likewise.
73176 * login/unlockpt.c: Likewise.
73177 * math/e_acoshl.c: Likewise.
73178 * math/e_acosl.c: Likewise.
73179 * math/e_asinl.c: Likewise.
73180 * math/e_atan2l.c: Likewise.
73181 * math/e_atanhl.c: Likewise.
73182 * math/e_coshl.c: Likewise.
73183 * math/e_expl.c: Likewise.
73184 * math/e_fmodl.c: Likewise.
73185 * math/e_gammal_r.c: Likewise.
73186 * math/e_hypotl.c: Likewise.
73187 * math/e_j0l.c: Likewise.
73188 * math/e_j1l.c: Likewise.
73189 * math/e_jnl.c: Likewise.
73190 * math/e_lgammal_r.c: Likewise.
73191 * math/e_log10l.c: Likewise.
73192 * math/e_log2l.c: Likewise.
73193 * math/e_logl.c: Likewise.
73194 * math/e_powl.c: Likewise.
73195 * math/e_rem_pio2l.c: Likewise.
73196 * math/e_sinhl.c: Likewise.
73197 * math/e_sqrtl.c: Likewise.
73198 * math/fclrexcpt.c: Likewise.
73199 * math/fedisblxcpt.c: Likewise.
73200 * math/feenablxcpt.c: Likewise.
73201 * math/fegetenv.c: Likewise.
73202 * math/fegetexcept.c: Likewise.
73203 * math/fegetround.c: Likewise.
73204 * math/feholdexcpt.c: Likewise.
73205 * math/fesetenv.c: Likewise.
73206 * math/fesetround.c: Likewise.
73207 * math/feupdateenv.c: Likewise.
73208 * math/fgetexcptflg.c: Likewise.
73209 * math/fraiseexcpt.c: Likewise.
73210 * math/fsetexcptflg.c: Likewise.
73211 * math/ftestexcept.c: Likewise.
73212 * math/k_cosl.c: Likewise.
73213 * math/k_rem_pio2l.c: Likewise.
73214 * math/k_sinl.c: Likewise.
73215 * math/k_tanl.c: Likewise.
73216 * math/s_asinhl.c: Likewise.
73217 * math/s_atanl.c: Likewise.
73218 * math/s_cbrtl.c: Likewise.
73219 * math/s_erfl.c: Likewise.
73220 * math/s_expm1l.c: Likewise.
73221 * math/s_log1pl.c: Likewise.
73222 * math/s_tanhl.c: Likewise.
73223 * misc/acct.c: Likewise.
73224 * misc/brk.c: Likewise.
73225 * misc/chflags.c: Likewise.
73226 * misc/chroot.c: Likewise.
73227 * misc/fchflags.c: Likewise.
73228 * misc/fgetxattr.c: Likewise.
73229 * misc/flistxattr.c: Likewise.
73230 * misc/fremovexattr.c: Likewise.
73231 * misc/fsetxattr.c: Likewise.
73232 * misc/fsync.c: Likewise.
73233 * misc/ftruncate.c: Likewise.
73234 * misc/futimes.c: Likewise.
73235 * misc/futimesat.c: Likewise.
73236 * misc/getdomain.c: Likewise.
73237 * misc/getdtsz.c: Likewise.
73238 * misc/gethostid.c: Likewise.
73239 * misc/gethostname.c: Likewise.
73240 * misc/getloadavg.c: Likewise.
73241 * misc/getpagesize.c: Likewise.
73242 * misc/getsysstats.c: Likewise.
73243 * misc/getxattr.c: Likewise.
73244 * misc/gtty.c: Likewise.
73245 * misc/ioctl.c: Likewise.
73246 * misc/lgetxattr.c: Likewise.
73247 * misc/listxattr.c: Likewise.
73248 * misc/llistxattr.c: Likewise.
73249 * misc/lremovexattr.c: Likewise.
73250 * misc/lsetxattr.c: Likewise.
73251 * misc/lutimes.c: Likewise.
73252 * misc/madvise.c: Likewise.
73253 * misc/mincore.c: Likewise.
73254 * misc/mlock.c: Likewise.
73255 * misc/mlockall.c: Likewise.
73256 * misc/mmap.c: Likewise.
73257 * misc/mprotect.c: Likewise.
73258 * misc/msync.c: Likewise.
73259 * misc/munlock.c: Likewise.
73260 * misc/munlockall.c: Likewise.
73261 * misc/munmap.c: Likewise.
73262 * misc/preadv.c: Likewise.
73263 * misc/preadv64.c: Likewise.
73264 * misc/ptrace.c: Likewise.
73265 * misc/pwritev.c: Likewise.
73266 * misc/pwritev64.c: Likewise.
73267 * misc/readv.c: Likewise.
73268 * misc/reboot.c: Likewise.
73269 * misc/remap_file_pages.c: Likewise.
73270 * misc/removexattr.c: Likewise.
73271 * misc/revoke.c: Likewise.
73272 * misc/select.c: Likewise.
73273 * misc/setdomain.c: Likewise.
73274 * misc/setegid.c: Likewise.
73275 * misc/seteuid.c: Likewise.
73276 * misc/sethostid.c: Likewise.
73277 * misc/sethostname.c: Likewise.
73278 * misc/setregid.c: Likewise.
73279 * misc/setreuid.c: Likewise.
73280 * misc/setxattr.c: Likewise.
73281 * misc/sstk.c: Likewise.
73282 * misc/stty.c: Likewise.
73283 * misc/swapoff.c: Likewise.
73284 * misc/swapon.c: Likewise.
73285 * misc/sync.c: Likewise.
73286 * misc/syncfs.c: Likewise.
73287 * misc/syscall.c: Likewise.
73288 * misc/truncate.c: Likewise.
73289 * misc/ualarm.c: Likewise.
73290 * misc/usleep.c: Likewise.
73291 * misc/ustat.c: Likewise.
73292 * misc/utimes.c: Likewise.
73293 * misc/vhangup.c: Likewise.
73294 * misc/writev.c: Likewise.
73295 * posix/_exit.c: Likewise.
73296 * posix/alarm.c: Likewise.
73297 * posix/execve.c: Likewise.
73298 * posix/fexecve.c: Likewise.
73299 * posix/fork.c: Likewise.
73300 * posix/fpathconf.c: Likewise.
73301 * posix/getaddrinfo.c: Likewise.
73302 * posix/getegid.c: Likewise.
73303 * posix/geteuid.c: Likewise.
73304 * posix/getgid.c: Likewise.
73305 * posix/getgroups.c: Likewise.
73306 * posix/getlogin.c: Likewise.
73307 * posix/getlogin_r.c: Likewise.
73308 * posix/getpgid.c: Likewise.
73309 * posix/getpid.c: Likewise.
73310 * posix/getppid.c: Likewise.
73311 * posix/getresgid.c: Likewise.
73312 * posix/getresuid.c: Likewise.
73313 * posix/getsid.c: Likewise.
73314 * posix/getuid.c: Likewise.
73315 * posix/glob64.c: Likewise.
73316 * posix/nanosleep.c: Likewise.
73317 * posix/pathconf.c: Likewise.
73318 * posix/pause.c: Likewise.
73319 * posix/posix_madvise.c: Likewise.
73320 * posix/pread.c: Likewise.
73321 * posix/pread64.c: Likewise.
73322 * posix/pwrite.c: Likewise.
73323 * posix/pwrite64.c: Likewise.
73324 * posix/sched_getaffinity.c: Likewise.
73325 * posix/sched_getp.c: Likewise.
73326 * posix/sched_gets.c: Likewise.
73327 * posix/sched_primax.c: Likewise.
73328 * posix/sched_primin.c: Likewise.
73329 * posix/sched_rr_gi.c: Likewise.
73330 * posix/sched_setaffinity.c: Likewise.
73331 * posix/sched_setp.c: Likewise.
73332 * posix/sched_sets.c: Likewise.
73333 * posix/sched_yield.c: Likewise.
73334 * posix/setgid.c: Likewise.
73335 * posix/setlogin.c: Likewise.
73336 * posix/setpgid.c: Likewise.
73337 * posix/setresgid.c: Likewise.
73338 * posix/setresuid.c: Likewise.
73339 * posix/setsid.c: Likewise.
73340 * posix/setuid.c: Likewise.
73341 * posix/sleep.c: Likewise.
73342 * posix/spawni.c: Likewise.
73343 * posix/sysconf.c: Likewise.
73344 * posix/times.c: Likewise.
73345 * posix/wait.c: Likewise.
73346 * posix/wait3.c: Likewise.
73347 * posix/wait4.c: Likewise.
73348 * posix/waitpid.c: Likewise.
73349 * resolv/gai_sigqueue.c: Likewise.
73350 * resource/getpriority.c: Likewise.
73351 * resource/getrlimit.c: Likewise.
73352 * resource/getrusage.c: Likewise.
73353 * resource/nice.c: Likewise.
73354 * resource/setpriority.c: Likewise.
73355 * resource/setrlimit.c: Likewise.
73356 * resource/ulimit.c: Likewise.
73357 * rt/aio_cancel.c: Likewise.
73358 * rt/aio_fsync.c: Likewise.
73359 * rt/aio_read.c: Likewise.
73360 * rt/aio_sigqueue.c: Likewise.
73361 * rt/aio_suspend.c: Likewise.
73362 * rt/aio_write.c: Likewise.
73363 * rt/clock_getres.c: Likewise.
73364 * rt/clock_gettime.c: Likewise.
73365 * rt/clock_nanosleep.c: Likewise.
73366 * rt/clock_settime.c: Likewise.
73367 * rt/lio_listio.c: Likewise.
73368 * rt/mq_close.c: Likewise.
73369 * rt/mq_getattr.c: Likewise.
73370 * rt/mq_notify.c: Likewise.
73371 * rt/mq_open.c: Likewise.
73372 * rt/mq_receive.c: Likewise.
73373 * rt/mq_send.c: Likewise.
73374 * rt/mq_setattr.c: Likewise.
73375 * rt/mq_timedreceive.c: Likewise.
73376 * rt/mq_timedsend.c: Likewise.
73377 * rt/mq_unlink.c: Likewise.
73378 * rt/shm_open.c: Likewise.
73379 * rt/shm_unlink.c: Likewise.
73380 * rt/timer_create.c: Likewise.
73381 * rt/timer_delete.c: Likewise.
73382 * rt/timer_getoverr.c: Likewise.
73383 * rt/timer_gettime.c: Likewise.
73384 * rt/timer_settime.c: Likewise.
73385 * setjmp/__longjmp.c: Likewise.
73386 * setjmp/setjmp.c: Likewise.
73387 * signal/kill.c: Likewise.
73388 * signal/killpg.c: Likewise.
73389 * signal/raise.c: Likewise.
73390 * signal/sigaction.c: Likewise.
73391 * signal/sigaltstack.c: Likewise.
73392 * signal/sigblock.c: Likewise.
73393 * signal/sigignore.c: Likewise.
73394 * signal/sigintr.c: Likewise.
73395 * signal/signal.c: Likewise.
73396 * signal/sigpause.c: Likewise.
73397 * signal/sigpending.c: Likewise.
73398 * signal/sigqueue.c: Likewise.
73399 * signal/sigreturn.c: Likewise.
73400 * signal/sigset.c: Likewise.
73401 * signal/sigsetmask.c: Likewise.
73402 * signal/sigstack.c: Likewise.
73403 * signal/sigsuspend.c: Likewise.
73404 * signal/sigtimedwait.c: Likewise.
73405 * signal/sigvec.c: Likewise.
73406 * signal/sigwait.c: Likewise.
73407 * signal/sigwaitinfo.c: Likewise.
73408 * signal/sysv_signal.c: Likewise.
73409 * socket/accept.c: Likewise.
73410 * socket/accept4.c: Likewise.
73411 * socket/bind.c: Likewise.
73412 * socket/connect.c: Likewise.
73413 * socket/getpeername.c: Likewise.
73414 * socket/getsockname.c: Likewise.
73415 * socket/getsockopt.c: Likewise.
73416 * socket/isfdtype.c: Likewise.
73417 * socket/listen.c: Likewise.
73418 * socket/recv.c: Likewise.
73419 * socket/recvfrom.c: Likewise.
73420 * socket/recvmsg.c: Likewise.
73421 * socket/send.c: Likewise.
73422 * socket/sendmsg.c: Likewise.
73423 * socket/sendto.c: Likewise.
73424 * socket/setsockopt.c: Likewise.
73425 * socket/shutdown.c: Likewise.
73426 * socket/sockatmark.c: Likewise.
73427 * socket/socket.c: Likewise.
73428 * socket/socketpair.c: Likewise.
73429 * stdio-common/ctermid.c: Likewise.
73430 * stdio-common/cuserid.c: Likewise.
73431 * stdio-common/remove.c: Likewise.
73432 * stdio-common/rename.c: Likewise.
73433 * stdio-common/renameat.c: Likewise.
73434 * stdio-common/tempname.c: Likewise.
73435 * stdlib/getcontext.c: Likewise.
73436 * stdlib/makecontext.c: Likewise.
73437 * stdlib/setcontext.c: Likewise.
73438 * stdlib/swapcontext.c: Likewise.
73439 * stdlib/system.c: Likewise.
73440 * streams/fattach.c: Likewise.
73441 * streams/fdetach.c: Likewise.
73442 * streams/getmsg.c: Likewise.
73443 * streams/getpmsg.c: Likewise.
73444 * streams/putmsg.c: Likewise.
73445 * streams/putpmsg.c: Likewise.
73446 * sysdeps/unix/bsd/getpt.c: Likewise.
73447 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
73448 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
73449 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
73450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
73451 Likewise.
73452 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
73453 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
73454 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
73455 * sysvipc/msgctl.c: Likewise.
73456 * sysvipc/msgget.c: Likewise.
73457 * sysvipc/msgrcv.c: Likewise.
73458 * sysvipc/msgsnd.c: Likewise.
73459 * sysvipc/semctl.c: Likewise.
73460 * sysvipc/semget.c: Likewise.
73461 * sysvipc/semop.c: Likewise.
73462 * sysvipc/semtimedop.c: Likewise.
73463 * sysvipc/shmat.c: Likewise.
73464 * sysvipc/shmctl.c: Likewise.
73465 * sysvipc/shmdt.c: Likewise.
73466 * sysvipc/shmget.c: Likewise.
73467 * termios/tcdrain.c: Likewise.
73468 * termios/tcflow.c: Likewise.
73469 * termios/tcflush.c: Likewise.
73470 * termios/tcgetattr.c: Likewise.
73471 * termios/tcgetpgrp.c: Likewise.
73472 * termios/tcsendbrk.c: Likewise.
73473 * termios/tcsetattr.c: Likewise.
73474 * termios/tcsetpgrp.c: Likewise.
73475 * time/adjtime.c: Likewise.
73476 * time/clock.c: Likewise.
73477 * time/getitimer.c: Likewise.
73478 * time/gettimeofday.c: Likewise.
73479 * time/setitimer.c: Likewise.
73480 * time/settimeofday.c: Likewise.
73481 * time/stime.c: Likewise.
73482 * time/time.c: Likewise.
73483
73484 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
73485
73486 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
73487 /usr/old/bin.
73488
73489 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
73490 instead of spaces.
73491 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
73492
73493 2012-11-03 Joseph Myers <joseph@codesourcery.com>
73494
73495 [BZ #14796]
73496 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
73497 FE_TONEAREST before applying Dekker multiplication and Knuth
73498 addition. Clear inexact exceptions and check for exact zero
73499 results afterwards.
73500 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73501 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
73502 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73503 * math/libm-test.inc (fma_test): Add more tests.
73504 (fma_test_towardzero): Likewise.
73505 (fma_test_downward): Likewise.
73506 (fma_test_upward): Likewise.
73507 * sysdeps/generic/math_private.h (default_libc_fesetround): New
73508 function.
73509 (libc_fesetround): New macro.
73510 (libc_fesetroundf): Likewise.
73511 (libc_fesetroundl): Likewise.
73512 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
73513 function.
73514 (libc_fesetround_387): Likewise.
73515 (libc_fesetroundf): New macro.
73516 (libc_fesetround): Likewise.
73517 (libc_fesetroundl): Likewise.
73518 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
73519 function.
73520 (libc_fesetroundf): New macro.
73521 (libc_fesetround): Likewise.
73522 (libc_fesetroundl): Likewise.
73523 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
73524 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
73525 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
73526 libm_hidden_ver.
73527 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
73528 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
73529 libm_hidden_def.
73530 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
73531 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
73532 libm_hidden_ver.
73533 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
73534 libm_hidden_def.
73535
73536 [BZ #3439]
73537 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
73538 integer constant usable in #if and use that to give value to enum
73539 constant.
73540 (FE_DIVBYZERO): Likewise.
73541 (FE_UNDERFLOW): Likewise.
73542 (FE_OVERFLOW): Likewise.
73543 (FE_INVALID): Likewise.
73544 (FE_INVALID_SNAN): Likewise.
73545 (FE_INVALID_ISI): Likewise.
73546 (FE_INVALID_IDI): Likewise.
73547 (FE_INVALID_ZDZ): Likewise.
73548 (FE_INVALID_IMZ): Likewise.
73549 (FE_INVALID_COMPARE): Likewise.
73550 (FE_INVALID_SOFTWARE): Likewise.
73551 (FE_INVALID_SQRT): Likewise.
73552 (FE_INVALID_INTEGER_CONVERSION): Likewise.
73553 (FE_TONEAREST): Likewise.
73554 (FE_TOWARDZERO): Likewise.
73555 (FE_UPWARD): Likewise.
73556 (FE_DOWNWARD): Likewise.
73557 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
73558 (FE_DIVBYZERO): Likewise.
73559 (FE_OVERFLOW): Likewise.
73560 (FE_UNDERFLOW): Likewise.
73561 (FE_INEXACT): Likewise.
73562 (FE_TONEAREST): Likewise.
73563 (FE_DOWNWARD): Likewise.
73564 (FE_UPWARD): Likewise.
73565 (FE_TOWARDZERO): Likewise.
73566 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
73567 (FE_UNDERFLOW): Likewise.
73568 (FE_OVERFLOW): Likewise.
73569 (FE_DIVBYZERO): Likewise.
73570 (FE_INVALID): Likewise.
73571 (FE_TONEAREST): Likewise.
73572 (FE_TOWARDZERO): Likewise.
73573 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
73574 (FE_OVERFLOW): Likewise.
73575 (FE_UNDERFLOW): Likewise.
73576 (FE_DIVBYZERO): Likewise.
73577 (FE_INEXACT): Likewise.
73578 (FE_TONEAREST): Likewise.
73579 (FE_TOWARDZERO): Likewise.
73580 (FE_UPWARD): Likewise.
73581 (FE_DOWNWARD): Likewise.
73582 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
73583 (FE_DIVBYZERO): Likewise.
73584 (FE_OVERFLOW): Likewise.
73585 (FE_UNDERFLOW): Likewise.
73586 (FE_INEXACT): Likewise.
73587 (FE_TONEAREST): Likewise.
73588 (FE_DOWNWARD): Likewise.
73589 (FE_UPWARD): Likewise.
73590 (FE_TOWARDZERO): Likewise.
73591
73592 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
73593
73594 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
73595
73596 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
73597
73598 * scripts/cross-test-ssh.sh (command): Use newlines to separate
73599 commands. Quote $PWD.
73600 (blacklist_exports): Don't use remove_newlines. Replace "declare
73601 -x" by "export".
73602 (remove_newlines): Remove.
73603
73604 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
73605
73606 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
73607 * stdlib/stdlib.h (atof): Moved to ...
73608 * include/bits/stdlib-float.h: Here. New file.
73609 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
73610 * stdlib/bits/stdlib-float.h: New file.
73611 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
73612 -mno-sse -mno-mmx.
73613 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
73614 <xmmintrin.h>.
73615
73616 2012-11-02 Joseph Myers <joseph@codesourcery.com>
73617
73618 * conform/conformtest.pl (@headers): Add fenv.h.
73619 * conform/data/fenv.h-data: New file.
73620 * include/fenv.h [_ISOMAC]: Disable all contents of file except
73621 include of <math/fenv.h>.
73622
73623 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
73624 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
73625 && !UNIX98]. Enables tests for XOPEN2K8.
73626 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
73627 POSIX2008]: Likewise.
73628
73629 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
73630 (struct rusage): Do not expect type or its members.
73631
73632 [BZ #3439]
73633 * math/math.h (FP_NAN): Define macro to integer constant usable in
73634 #if and use that to give value to enum constant.
73635 (FP_INFINITE): Likewise.
73636 (FP_ZERO): Likewise.
73637 (FP_SUBNORMAL): Likewise.
73638 (FP_NORMAL): Likewise.
73639
73640 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
73641
73642 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
73643 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
73644 arguments.
73645
73646 2012-11-02 Roland McGrath <roland@hack.frob.com>
73647
73648 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
73649 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
73650 autoconf-time if not.
73651 * configure.in: Remove AC_PREREQ.
73652
73653 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
73654
73655 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
73656 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
73657 of the internal implementation.
73658
73659 2012-11-02 Joseph Myers <joseph@codesourcery.com>
73660
73661 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
73662 except include of <misc/sys/syslog.h>.
73663
73664 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
73665
73666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
73667 function returns with a NULL context exit with zero.
73668
73669 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
73670
73671 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
73672
73673 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
73674
73675 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
73676 (run_program_cmd): This.
73677 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
73678 (tst_langinfo): New variable. Use it.
73679
73680 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
73681
73682 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
73683 floating point opcodes.
73684
73685 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
73686
73687 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
73688 variable.
73689
73690 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
73691
73692 * sysdeps/mach/hurd/powerpc: Remove directory.
73693 * sysdeps/mach/powerpc: Likewise.
73694
73695 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
73696
73697 * scripts/check-local-headers.sh: Ignore c++ headers.
73698
73699 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
73700
73701 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
73702 __libc_cleanup_region_start argument.
73703
73704 2012-11-01 Joseph Myers <joseph@codesourcery.com>
73705
73706 [BZ #14784]
73707 [BZ #14785]
73708 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
73709 x * y using scaling, not as x * y + z.
73710 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73711 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73712 * math/libm-test.inc (fma_test): Add more tests.
73713 (fma_test_towardzero): Likewise.
73714 (fma_test_downward): Likewise.
73715 (fma_test_upward): Likewise.
73716
73717 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
73718
73719 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
73720
73721 2012-10-31 Joseph Myers <joseph@codesourcery.com>
73722
73723 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
73724 New variable.
73725
73726 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
73727
73728 * rt/tst-shm.c (worker): Correct checking for mmap failure.
73729
73730 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
73731
73732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73733 Fix sort order.
73734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73735 Likewise.
73736
73737 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
73738
73739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73740 Fix the order of the list for glibc 2.17.
73741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73742 Likewise.
73743
73744 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
73745
73746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73747
73748 2012-10-31 Joseph Myers <joseph@codesourcery.com>
73749
73750 [BZ #14610]
73751 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
73752 for low part of x being zero before using __atanl (y).
73753 * math/libm-test.inc (atan2_test): Add another test.
73754
73755 * manual/install.texi (Configuring and compiling): Document
73756 general use of test-wrapper and test-wrapper-env.
73757 * INSTALL: Regenerated.
73758
73759 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
73760 (__fma): Do not extract and scale down low bits on after-rounding
73761 systems when result rounded to normal precision would have normal
73762 exponent.
73763 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
73764 (__fmal): Do not extract and scale down low bits on after-rounding
73765 systems when result rounded to normal precision would have normal
73766 exponent.
73767 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
73768 (__fmal): Do not extract and scale down low bits on after-rounding
73769 systems when result rounded to normal precision would have normal
73770 exponent.
73771 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
73772 macro.
73773 (fma_test): Add more tests.
73774 (fma_test_towardzero): Likewise.
73775 (fma_test_downward): Likewise.
73776 (fma_test_upward): Likewise.
73777
73778 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
73779
73780 * sysdeps/i386/tininess.h: Renamed to ...
73781 * sysdeps/x86/tininess.h: This.
73782 * sysdeps/x86_64/tininess.h: Removed.
73783
73784 2012-10-30 Joseph Myers <joseph@codesourcery.com>
73785
73786 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
73787 input. Use $(build-program-cmd).
73788 ($(objpfx)tst-array1-static.out): Likewise.
73789 ($(objpfx)tst-array2.out): Likewise.
73790 ($(objpfx)tst-array3.out): Likewise.
73791 ($(objpfx)tst-array4.out): Likewise.
73792 ($(objpfx)tst-array5.out): Likewise.
73793 ($(objpfx)tst-array5-static.out): Likewise.
73794
73795 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
73796
73797 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
73798 if defined.
73799
73800 * nss/nsswitch.h (nss_interface_function): Provide new
73801 macro for use with NSS functions.
73802 * grp/initgroups.c: Use new macro.
73803 * nss/getXXbyYY.c: Likewise.
73804 * nss/getXXbyYY_r.c: Likewise.
73805 * nss/getXXent.c: Likewise.
73806 * nss/getXXent_r.c: Likewise.
73807 * sysdeps/posix/getaddrinfo.c: Likewise.
73808
73809 2012-10-30 Andreas Jaeger <aj@suse.de>
73810
73811 * po/ru.po: Update Russion translation from translation project.
73812
73813 2012-10-30 Joseph Myers <joseph@codesourcery.com>
73814
73815 [BZ #14152]
73816 [BZ #14783]
73817 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
73818 result and shift together with sticky bit instead of replicating
73819 round-to-nearest rounding.
73820 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73821 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73822 * math/libm-test.inc (fma_test): Add more tests. Do not permit
73823 missing underflow exceptions.
73824 (fma_test_towardzero): Add more tests.
73825 (fma_test_downward): Likewise.
73826 (fma_test_upward): Likewise.
73827
73828 [BZ #14047]
73829 * sysdeps/generic/tininess.h: New file.
73830 * sysdeps/i386/tininess.h: Likewise.
73831 * sysdeps/sh/tininess.h: Likewise.
73832 * sysdeps/x86_64/tininess.h: Likewise.
73833 * stdlib/tst-strtod-underflow.c: Likewise.
73834 * stdlib/tst-tininess.c: Likewise.
73835 * stdlib/strtod_l.c: Include <tininess.h>.
73836 (round_and_return): Do not set errno for exact underflow cases.
73837 Force an underflow exception when setting errno for underflow.
73838 Determine underflow based on rounding to normal precision if
73839 TININESS_AFTER_ROUNDING.
73840 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
73841 ERANGE for exact underflow cases.
73842 * stdlib/Makefile (tests): Add tst-tininess and
73843 tst-strtod-underflow.
73844 ($(objpfx)tst-tininess): Use $(link-libm).
73845 ($(objpfx)tst-strtod-underflow): Likewise.
73846
73847 2012-10-30 Andreas Jaeger <aj@suse.de>
73848
73849 [BZ #14767]
73850 * elf/Makefile (tests): Remove conditional for have-initfini-array
73851 since this is now always required and the variable does not exist
73852 anymore.
73853 (tests-static): Likewise.
73854 (modules-names): Likewise.
73855
73856 * po/eo.po: Add Esperanto translation from translation project.
73857
73858 * elf/tst-array1.c (fini_array): Make writeable so that it can be
73859 merged with constructor/destructor.
73860 (init_array): Likewise.
73861 * elf/tst-array2dep.c (fini_array): Likewise.
73862 (init_array): Likewise.
73863
73864 2012-10-29 Mike Frysinger <vapier@gentoo.org>
73865
73866 * manual/message.texi: Delete @cartouche tags.
73867
73868 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
73869
73870 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
73871 EOPNOTSUPP.
73872 * sysdeps/mach/hurd/fsync.c: Likewise.
73873
73874 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
73875 [_POSIX_REALTIME_SIGNALS]: Change condition to
73876 [_POSIX_REALTIME_SIGNALS > 0].
73877
73878 2012-10-27 Andreas Jaeger <aj@suse.de>
73879
73880 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
73881 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
73882 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
73883 [__WORDSIZE != 64]: Likewise.
73884
73885 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
73886
73887 * iconvdata/tst-table.sh: Remove ${SHELL}.
73888 * iconvdata/tst-tables.sh: Likewise.
73889
73890 2012-10-25 David S. Miller <davem@davemloft.net>
73891
73892 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73893 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
73894 of strtoull.
73895
73896 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
73897 ifunc-impl-list.c
73898 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73899 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
73900 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
73901 file.
73902
73903 2012-10-25 Roland McGrath <roland@hack.frob.com>
73904
73905 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73906 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
73907 __getdirentries.
73908
73909 2012-10-25 Joseph Myers <joseph@codesourcery.com>
73910 Jim Blandy <jimb@codesourcery.com>
73911
73912 * scripts/cross-test-ssh.sh: New file.
73913 * manual/install.texi (Configuring and compiling): Document use of
73914 cross-test-ssh.sh.
73915 * INSTALL: Regenerated.
73916
73917 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
73918
73919 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
73920 EOPNOTSUPP.
73921
73922 2012-10-25 Joseph Myers <joseph@codesourcery.com>
73923
73924 * Makeconfig (run-program-prefix): Fix comment.
73925
73926 2012-10-24 Joseph Myers <joseph@codesourcery.com>
73927 Jim Blandy <jimb@codesourcery.com>
73928
73929 * Makeconfig (test-wrapper): New variable,
73930 (test-wrapper-env): Likewise.
73931 [$(cross-compiling) = yes && $(test-wrapper) != ""]
73932 (run-built-tests): Define to yes.
73933 (run-program-prefix): Use $(test-wrapper).
73934 (built-program-cmd): Likewise.
73935 * Rules (make-test-out): Use $(test-wrapper-env) and
73936 $(host-built-program-cmd).
73937 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
73938 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
73939 tst-pathopt.sh.
73940 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
73941 $(test-wrapper-env) to tst-rtld-load-self.sh.
73942 ($(objpfx)order2.out): Use $(test-wrapper).
73943 ($(objpfx)tst-initorder.out): Likewise.
73944 ($(objpfx)tst-initorder2.out): Likewise.
73945 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
73946 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
73947 (test_wrapper_env): New variable. Use it to run ld.so.
73948 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
73949 Use it to run ld.so.
73950 (test_wrapper_env): Likewise.
73951 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
73952 $(test-wrapper) to run-iconv-test.sh.
73953 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
73954 (ICONV): Use $test_wrapper.
73955 * posix/Makefile ($(objpfx)globtest.out): Pass
73956 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
73957 globtest.sh, not $(run-program-prefix).
73958 * posix/globtest.sh (run_via_rtld_prefix): New variable.
73959 (test_wrapper): Likewise.
73960 (test_wrapper_env): Likewise. Use it to run globtest with HOME
73961 set together with run_via_rtld_prefix.
73962 (run_program_prefix): Define in terms of test_wrapper and
73963 run_via_rtld_prefix.
73964
73965 2012-10-24 Roland McGrath <roland@hack.frob.com>
73966
73967 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
73968 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
73969 Targets removed.
73970
73971 [BZ #14743]
73972 * include/time.h: Remove librt_hidden_proto (clock_gettime).
73973 Declare __clock_getres, __clock_gettime, __clock_settime,
73974 __clock_nanosleep, and __clock_getcpuclockid.
73975 * rt/clock_gettime.c: Define __clock_gettime as an alias.
73976 Remove librt_hidden_def (clock_gettime).
73977 * sysdeps/unix/clock_gettime.c: Likewise.
73978 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
73979 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
73980 * rt/clock_getres.c: Define __clock_getres as an alias.
73981 * sysdeps/posix/clock_getres.c: Likewise.
73982 * rt/clock_settime.c: Define __clock_settime as an alias.
73983 * sysdeps/unix/clock_settime.c: Likewise.
73984 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
73985 * sysdeps/unix/clock_nanosleep.c: Likewise.
73986 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
73987 * rt/clock-compat.c: New file.
73988 * rt/Makefile (librt-routines): Add clock-compat and move
73989 $(clock-routines) to ...
73990 (routines): ... here, new variable.
73991 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
73992 Don't add get_clockfreq here.
73993 * rt/Versions (libc: GLIBC_2.17): New version set.
73994 Add clock_* symbols here.
73995 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
73996 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
73997 (GLIBC_2.17): Add clock_* symbols.
73998 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
73999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
74000 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
74001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74002 Likewise.
74003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74004 Likewise.
74005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
74006 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
74007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
74008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
74009 * NEWS: Mention the move.
74010
74011 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
74012 Use __open, __read, __close rather than their public counterparts.
74013 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74014 (__get_clockfreq_via_cpuinfo): Likewise.
74015 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
74016 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
74017
74018 * config.h.in (HAVE_IFUNC): New #undef.
74019 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
74020 was successful.
74021 * configure: Regenerated.
74022
74023 2012-10-24 Mike Frysinger <vapier@gentoo.org>
74024
74025 * configure.in: Move READELF check to start of file.
74026 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
74027 libc_cv_asm_gnu_indirect_function in the process.
74028 * configure: Regenerated.
74029
74030 2012-10-24 Mike Frysinger <vapier@gentoo.org>
74031
74032 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
74033 send the output to /dev/null.
74034 (libc_cv_cc_with_libunwind): Likewise.
74035 (libc_cv_as_noexecstack): Likewise.
74036 * configure: Regenerate.
74037
74038 2012-10-24 Joseph Myers <joseph@codesourcery.com>
74039
74040 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
74041
74042 * posix/globtest.sh (TMPDIR): Do not set.
74043 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
74044 (testout): Likewise.
74045
74046 2012-10-24 Andreas Jaeger <aj@suse.de>
74047
74048 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
74049 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
74050 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
74051 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
74052 posix_fadvise64, posix_fallocate64.
74053
74054 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
74055 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
74056 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
74057 Likewise.
74058 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
74059 Likewise.
74060 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
74061
74062 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
74063 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
74064 <bits/fcntl-linux.h>.
74065 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
74066
74067 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
74068 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
74069 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
74070 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
74071 [__WORDSIZE != 64]: Likewise.
74072
74073 2012-10-23 Joseph Myers <joseph@codesourcery.com>
74074
74075 * Makeconfig (run-built-tests): New variable.
74076 * Rules [$(cross-compiling) = yes]: Change condition to
74077 [$(run-built-tests) = no].
74078 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
74079 to [$(run-built-tests) = yes].
74080 * elf/Makefile [$(cross-compiling) = no]: Likewise.
74081 * grp/Makefile [$(cross-compiling) = no]: Likewise.
74082 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
74083 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
74084 * intl/Makefile [$(cross-compiling) = no]: Likewise.
74085 * io/Makefile [$(cross-compiling) = no]: Likewise.
74086 * libio/Makefile [$(cross-compiling) = no]: Likewise.
74087 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
74088 * misc/Makefile [$(cross-compiling) = no]: Likewise.
74089 * posix/Makefile [$(cross-compiling) = no]: Likewise.
74090 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
74091 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
74092 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
74093 * string/Makefile [$(cross-compiling) = no]: Likewise.
74094
74095 * posix/Makefile ($(objpfx)globtest.out): Pass
74096 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
74097 $(rtld-installed-name).
74098 * posix/globtest.sh (elf_objpfx): Remove variable.
74099 (rtld_installed_name): Likewise.
74100 (library_path): Likewise.
74101 (run_program_prefix): New variable. Use for running globtest
74102 binary.
74103
74104 2012-10-23 Jim Blandy <jimb@codesourcery.com>
74105 Joseph Myers <joseph@codesourcery.com>
74106
74107 * Makeconfig (host-built-program-cmd): New variable.
74108 * elf/Makefile (tst-stackguard1-ARGS): Use
74109 $(host-built-program-cmd).
74110 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
74111 (tst-spawn-ARGS): Likewise.
74112 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
74113
74114 2012-10-23 Joseph Myers <joseph@codesourcery.com>
74115 Jim Blandy <jimb@codesourcery.com>
74116
74117 * Makeconfig (run-via-rtld-prefix): New variable.
74118 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
74119 (built-program-cmd): Likewise.
74120
74121 2012-10-22 Andreas Jaeger <aj@suse.de>
74122
74123 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
74124 __O_RSYNC if it exists, otherwise to O_SYNC.
74125
74126 2012-10-22 Jim Blandy <jimb@codesourcery.com>
74127 Joseph Myers <joseph@codesourcery.com>
74128
74129 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
74130 /dev/null.
74131 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
74132 from /dev/null
74133 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
74134 /dev/null.
74135
74136 2012-10-22 Andreas Jaeger <aj@suse.de>
74137
74138 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
74139 Define always.
74140 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
74141
74142 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74143 bits/fcntl-linux.h.
74144
74145 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
74146 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
74147
74148 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
74149 to __O_LARGEFILE.
74150 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
74151 to __O_LARGEFILE.
74152
74153 2012-10-21 Jim Blandy <jimb@codesourcery.com>
74154 Joseph Myers <joseph@codesourcery.com>
74155
74156 * config.make.in (NM): New variable.
74157
74158 2012-10-21 Andreas Jaeger <aj@suse.de>
74159
74160 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
74161 definitions and declarations that are provided by
74162 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
74163
74164 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
74165
74166 [BZ #14683]
74167 * elf/Makefile (tests-static): Add tst-leaks1-static.
74168 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
74169 ($(objpfx)tst-leaks1-static): New rule.
74170 ($(objpfx)tst-leaks1-static-mem): Likewise.
74171 (tst-leaks1-static-ENV): New macro.
74172 * elf/dl-open.c (dl_open_worker): Check the main application
74173 only if SHARED is defined.
74174 * elf/tst-leaks1-static.c: New file.
74175
74176 2012-10-20 Andreas Jaeger <aj@suse.de>
74177
74178 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
74179 generic values for Linux.
74180 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
74181 and declarations that are provided by <bits/fcntl-linux.h> and
74182 include <bits/fcntl-linux.h>.
74183 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74184 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74185
74186 2012-10-20 Roland McGrath <roland@hack.frob.com>
74187
74188 * io/fcntl.h: Move include of <bits/types.h> to the top and
74189 include it unconditionally.
74190
74191 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
74192
74193 * wcsmbs/Makefile (tests-ifunc): New variable.
74194 (tests): Add $(tests-ifunc).
74195 * wcsmbs/test-wcschr-ifunc.c: New file.
74196 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
74197 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
74198 * wcsmbs/test-wcslen-ifunc.c: Likewise.
74199 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
74200 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
74201
74202 * string/Makefile (tests-ifunc): New variable.
74203 (tests): Add $(tests-ifunc).
74204 * string/test-memccpy.c (TEST_NAME): New macro.
74205 * string/test-memchr.c (TEST_NAME): Likewise.
74206 * string/test-memcmp.c (TEST_NAME): Likewise.
74207 * string/test-memcpy.c (TEST_NAME): Likewise.
74208 * string/test-memmem.c (TEST_NAME): Likewise.
74209 * string/test-memmove.c (TEST_NAME): Likewise.
74210 * string/test-memset.c (TEST_NAME): Likewise.
74211 * string/test-rawmemchr.c (TEST_NAME): Likewise.
74212 * string/test-stpcpy.c (TEST_NAME): Likewise.
74213 * string/test-stpncpy.c (TEST_NAME): Likewise.
74214 * string/test-strcasecmp.c (TEST_NAME): Likewise.
74215 * string/test-strcasestr.c (TEST_NAME): Likewise.
74216 * string/test-strcat.c (TEST_NAME): Likewise.
74217 * string/test-strchr.c (TEST_NAME): Likewise.
74218 * string/test-strcmp.c(TEST_NAME): Likewise.
74219 * string/test-strcpy.c (TEST_NAME): Likewise.
74220 * string/test-strcspn.c (TEST_NAME): Likewise.
74221 * string/test-strlen.c (TEST_NAME): Likewise.
74222 * string/test-strncasecmp.c (TEST_NAME): Likewise.
74223 * string/test-strncmp.c (TEST_NAME): Likewise.
74224 * string/test-strncpy.c (TEST_NAME): Likewise.
74225 * string/test-strnlen.c (TEST_NAME): Likewise.
74226 * string/test-strpbrk.c (TEST_NAME): Likewise.
74227 * string/test-strrchr.c (TEST_NAME): Likewise.
74228 * string/test-strspn.c (TEST_NAME): Likewise.
74229 * string/test-strstr.c (TEST_NAME): Likewise.
74230 * string/test-bcopy-ifunc.c: New file.
74231 * string/test-bzero-ifunc.c: Likewise.
74232 * string/test-memccpy-ifunc.c: Likewise.
74233 * string/test-memchr-ifunc.c: Likewise.
74234 * string/test-memcmp-ifunc.c: Likewise.
74235 * string/test-memcpy-ifunc.c: Likewise.
74236 * string/test-memmem-ifunc.c: Likewise.
74237 * string/test-memmove-ifunc.c: Likewise.
74238 * string/test-mempcpy-ifunc.c: Likewise.
74239 * string/test-memset-ifunc.c: Likewise.
74240 * string/test-rawmemchr-ifunc.c: Likewise.
74241 * string/test-stpcpy-ifunc.c: Likewise.
74242 * string/test-stpncpy-ifunc.c: Likewise.
74243 * string/test-strcasecmp-ifunc.c: Likewise.
74244 * string/test-strcasestr-ifunc.c: Likewise.
74245 * string/test-strcat-ifunc.c: Likewise.
74246 * string/test-strchr-ifunc.c: Likewise.
74247 * string/test-strchrnul-ifunc.c: Likewise.
74248 * string/test-strcmp-ifunc.c: Likewise.
74249 * string/test-strcpy-ifunc.c: Likewise.
74250 * string/test-strcspn-ifunc.c: Likewise.
74251 * string/test-strlen-ifunc.c: Likewise.
74252 * string/test-strncasecmp-ifunc.c: Likewise.
74253 * string/test-strncat-ifunc.c: Likewise.
74254 * string/test-strncmp-ifunc.c: Likewise.
74255 * string/test-strncpy-ifunc.c: Likewise.
74256 * string/test-strnlen-ifunc.c: Likewise.
74257 * string/test-strpbrk-ifunc.c: Likewise.
74258 * string/test-strrchr-ifunc.c: Likewise.
74259 * string/test-strspn-ifunc.c: Likewise.
74260 * string/test-strstr-ifunc.c: Likewise.
74261
74262 * debug/Makefile (tests-ifunc): New variable.
74263 (tests): Add $(tests-ifunc).
74264 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
74265 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
74266 * debug/test-stpcpy_chk-ifunc.c: New file.
74267 * debug/test-strcpy_chk-ifunc.c: Likewise.
74268
74269 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
74270
74271 [BZ #13601]
74272 * elf/dl-load.c (open_verify): Retry read if the entire ELF
74273 header is not read in.
74274
74275 2012-10-19 Joseph Myers <joseph@codesourcery.com>
74276
74277 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
74278 script to $(SHELL) as $<. Pass $(common-objpfx) to script
74279 directly. Pass built executable to script as
74280 $(built-program-cmd).
74281 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
74282 $testprogram without using LD_LIBRARY_PATH and $ldso.
74283
74284 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
74285 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
74286 $(rtld-installed-name).
74287 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
74288 (rtld_installed_name): Likewise.
74289 (library_path): Likewise.
74290 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
74291 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
74292 $(run-program-prefix) to tst-tables.sh.
74293 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
74294 it to run tst-table-from and tst-table-to.
74295 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
74296 Pass it to tst-table.sh.
74297 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
74298 $(run-program-prefix) to tst-gettext.sh.
74299 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
74300 tst-translit.sh.
74301 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
74302 tst-gettext2.sh.
74303 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
74304 to run tst-gettext.
74305 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
74306 to run tst-gettext2.
74307 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
74308 to run tst-translit.
74309 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
74310 $(run-program-prefix) to tst-mtrace.sh.
74311 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
74312 to run tst-mtrace.
74313 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
74314 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
74315 $(rtld-installed-name).
74316 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
74317 (rtld_installed_name): Likewise.
74318 (run_program_prefix): New variable. Use it to run wordexp-test.
74319
74320 * Makeconfig (ARCH): Remove all definitions.
74321 (machine): Likewise.
74322 [ARCH]: Remove conditional code.
74323 [!objdir]: Give error.
74324 [!objdir] (objpfx): Remove.
74325 [!objdir] (common-objpfx): Likewise.
74326 [!objdir] (common-objdir): Likewise.
74327 * configure.in (config_makefile): Remove. Hardcode Makefile in
74328 AC_CONFIG_FILES call.
74329 * configure: Regenerated.
74330
74331 [BZ #13888]
74332 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
74333 or TMPDIR.
74334 (testout): Likewise.
74335
74336 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
74337 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
74338 $(rtld-installed-name).
74339 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
74340 (rtld_installed_name): Likewise.
74341 (runit): Remove function.
74342 (run_getconf): New variable, Use it for running getconf binary.
74343
74344 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
74345
74346 [BZ #14716]
74347 * string/test-memmem.c (check_result): New function.
74348 (do_one_test): Use it.
74349 (check1): New function.
74350 (test_main): Use it.
74351
74352 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
74353
74354 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
74355
74356 2012-10-18 Joseph Myers <joseph@codesourcery.com>
74357
74358 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
74359 (_G_LSEEK64): Likewise.
74360 (_G_MMAP64): Likewise.
74361 (_G_FSTAT64): Likewise.
74362 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
74363 (_G_LSEEK64): Likewise.
74364 (_G_MMAP64): Likewise.
74365 (_G_FSTAT64): Likewise.
74366 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
74367 unconditional. Call __mmap64 directly.
74368 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
74369 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
74370 __lseek64 directly.
74371 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
74372 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
74373 __mmap64 directly.
74374 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
74375 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
74376 __lseek64 directly.
74377 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
74378 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
74379 __lseek64 directly.
74380 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
74381 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
74382 __lseek64 directly.
74383 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
74384 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
74385 __fxstat64 directly.
74386 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
74387 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
74388 unconditional.
74389 (freopen64) [!_G_OPEN64]: Remove conditional code.
74390 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
74391 unconditional.
74392 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
74393 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
74394 unconditional.
74395 (ftello64) [!_G_LSEEK64]: Remove conditional code.
74396 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
74397 unconditional.
74398 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
74399 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
74400 unconditional.
74401 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
74402 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
74403 unconditional.
74404 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
74405 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
74406 unconditional.
74407 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
74408 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
74409 unconditional.
74410 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
74411
74412 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
74413
74414 [BZ #12140]
74415 * manual/memory.texi (Malloc Tunable Parameters): Add note
74416 about free list pointers overwriting some perturb bytes.
74417 Wording suggested by Roland McGrath.
74418
74419 2012-10-17 Joseph Myers <joseph@codesourcery.com>
74420
74421 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
74422 (lgamma_test): Likewise.
74423 (tgamma_test): Likewise.
74424
74425 2012-10-16 Florian Weimer <fweimer@redhat.com>
74426
74427 [BZ #14700]
74428 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
74429 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
74430
74431 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
74432
74433 * NEWS: Mention BZ #14716.
74434 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
74435 when removing AVAILABLE1_USES_J macro.
74436
74437 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
74438
74439 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
74440 (__bswap_64): __uint64_t for unsigned 64-bit int.
74441
74442 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
74443
74444 * include/string.h (memmem): Declare libc hidden alias.
74445 * string/memmem.c (memmem): Define libc hidden alias.
74446 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
74447 __read, __close instead of open, read, close.
74448
74449 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
74450
74451 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
74452 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
74453 global and hidden.
74454 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
74455 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
74456 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
74457 Likewise.
74458 (__rawmemchr_sse2): Likewise.
74459 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
74460 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
74461 (__strchr_sse2): Likewise.
74462 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
74463 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
74464 (__strcasecmp_sse2): Likewise.
74465 (__strncasecmp_sse2): Likewise.
74466 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
74467 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
74468 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
74469 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
74470 (__strrchr_sse2): Likewise.
74471 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
74472 ifunc-impl-list.c.
74473 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
74474 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
74475 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
74476 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
74477 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
74478 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
74479 * sysdeps/x86_64/multiarch/memset.S: Likewise.
74480 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
74481 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
74482 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
74483 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
74484 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
74485 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
74486 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
74487 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
74488 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
74489 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
74490 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
74491 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
74492 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
74493 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
74494 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
74495 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
74496 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
74497 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
74498 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
74499 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
74500 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
74501 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
74502 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
74503
74504 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
74505 global and hidden.
74506 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
74507 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
74508 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
74509 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
74510 Likewise.
74511 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
74512 Likewise.
74513 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
74514 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
74515 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
74516 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
74517 ifunc-impl-list.c.
74518 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
74519 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
74520 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
74521 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
74522 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
74523 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
74524 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
74525 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
74526 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
74527 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
74528 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
74529 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
74530 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
74531 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
74532 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
74533 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
74534 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
74535 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
74536 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
74537 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
74538 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74539 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
74540 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
74541 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
74542 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74543 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
74544 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
74545 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
74546 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
74547 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
74548 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
74549 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
74550 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
74551 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
74552 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
74553 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
74554 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
74555 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
74556 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
74557 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
74558 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
74559
74560 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
74561 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
74562 * include/ifunc-impl-list.h: New file.
74563 * misc/ifunc-impl-list.c: Likewise.
74564 * misc/Makefile (routines): Add ifunc-impl-list.
74565 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
74566 * string/test-string.h: Include <ifunc-impl-list.h>.
74567 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
74568 TEST_NAME]: New variables.
74569 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
74570 are defined.
74571 (test_init): Call __libc_ifunc_impl_list to initialize
74572 func_list if TEST_IFUNC and TEST_NAME are defined.
74573
74574 * string/Makefile (strop-tests): Add bcopy and bzero.
74575 * string/test-bcopy.c: New file.
74576 * string/test-bzero.c: Likewise.
74577 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
74578 defined.
74579 * string/test-memset.c: Support bzero test if TEST_BZERO is
74580 defined.
74581 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
74582 __libc_memmove.
74583 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
74584 __libc_memset.
74585 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
74586 of memset.
74587
74588 2012-10-10 Joseph Myers <joseph@codesourcery.com>
74589
74590 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
74591 * configure: Regenerated.
74592
74593 * Makeconfig (+link-static-before-libc): Don't include
74594 $(link-static-libc).
74595
74596 * libio/libio.h (_IO_pos_t): Remove.
74597
74598 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
74599
74600 * NEWS: Add note about FIPS mode. Wording suggested by Roland
74601 McGrath.
74602
74603 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
74604
74605 * crypt/crypt-entry.c: Include fips-private.h.
74606 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
74607 * crypt/md5c-test.c (main): Tolerate disabled MD5.
74608 * sysdeps/unix/sysv/linux/fips-private.h: New file.
74609 * sysdeps/generic/fips-private.h: New file, dummy fallback.
74610
74611 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
74612
74613 * crypt/crypt-private.h: Include stdbool.h.
74614 (_ufc_setup_salt_r): Return bool.
74615 * crypt/crypt-entry.c: Include errno.h.
74616 (__crypt_r): Return NULL with EINVAL for bad salt.
74617 * crypt/crypt_util.c (bad_for_salt): New.
74618 (_ufc_setup_salt_r): Check that salt is long enough and within
74619 the specified alphabet.
74620 * crypt/badsalttest.c: New file.
74621 * crypt/Makefile (tests): Add it.
74622 ($(objpfx)badsalttest): New.
74623
74624 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
74625
74626 * NEWS: Add entry for BZ #14602.
74627
74628 2012-10-09 Joseph Myers <joseph@codesourcery.com>
74629
74630 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
74631 type-generic.
74632 * math/libm-test.inc: Update comment listing what functions and
74633 macros are tested.
74634 (isgreater_test): New function.
74635 (isgreaterequal_test): Likewise.
74636 (isless_test): Likewise.
74637 (islessequal_test): Likewise.
74638 (islessgreater_test): Likewise.
74639 (isunordered_test): Likewise.
74640 (main): Call the new functions.
74641
74642 2012-10-09 Roland McGrath <roland@hack.frob.com>
74643
74644 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
74645 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
74646 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
74647 * sysdeps/i386/configure: Regenerated.
74648 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
74649 * sysdeps/mach/configure: Regenerated.
74650 * sysdeps/mach/hurd/configure: Regenerated.
74651 * sysdeps/powerpc/configure: Regenerated.
74652 * sysdeps/powerpc/powerpc32/configure: Regenerated.
74653 * sysdeps/powerpc/powerpc64/configure: Regenerated.
74654 * sysdeps/s390/s390-32/configure: Regenerated.
74655 * sysdeps/s390/s390-64/configure: Regenerated.
74656 * sysdeps/sh/configure: Regenerated.
74657 * sysdeps/sparc/configure: Regenerated.
74658 * sysdeps/unix/sysv/linux/configure: Regenerated.
74659 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
74660 * sysdeps/x86_64/configure: Regenerated.
74661
74662 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
74663 defined. Don't check if MAP is NULL.
74664
74665 2012-10-09 Joseph Myers <joseph@codesourcery.com>
74666
74667 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
74668 (_G_stat64): Likewise.
74669 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
74670 (_G_stat64): Likewise.
74671 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
74672 instead of struct _G_stat64.
74673 * libio/fileops.c (mmap_remap_check): Likewise.
74674 (decide_maybe_mmap): Likewise.
74675 (_IO_new_file_seekoff): Likewise.
74676 (_IO_file_stat): Likewise.
74677 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
74678 _G_off64_t.
74679 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
74680 instead of struct _G_stat64.
74681 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
74682
74683 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
74684
74685 [BZ #14602]
74686 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
74687 Replace with ...
74688 (CHECK_EOL): New macro.
74689 (two_way_short_needle): Check beginning of haystack for EOL. Use
74690 CHECK_EOL.
74691 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
74692 Replace with CHECK_EOL.
74693 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
74694 Replace with CHECK_EOL.
74695
74696 2012-10-08 Joseph Myers <joseph@codesourcery.com>
74697
74698 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
74699 type-generic.
74700 * math/libm-test.inc: Update comment listing what functions and
74701 macros are tested.
74702 (finite_test): New function.
74703 (isinf_test): Likewise.
74704 (isnan_test): Likewise.
74705 (fpclassify_test): Test subnormal input.
74706 (isfinite_test): Likewise.
74707 (isnormal_test): Likewise.
74708 (main): Call the new functions.
74709
74710 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
74711
74712 [BZ #14660]
74713 * Makerules (%.dynsym): Force C locale when running
74714 $(OBJDUMP) --dynamic-syms.
74715
74716 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
74717
74718 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
74719 <stdint.h>.
74720
74721 2012-10-06 David S. Miller <davem@davemloft.net>
74722
74723 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
74724 upper 32-bits of the length value in %o2 since we use branch-on-register
74725 tests which consider the entire 64-bit register.
74726
74727 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
74728
74729 * string/test-strstr.c (check2): Add a test for page boundary.
74730
74731 2012-10-05 David S. Miller <davem@davemloft.net>
74732
74733 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
74734 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
74735 file.
74736 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
74737 sysdep_routines.
74738 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
74739 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
74740 and bzero when HWCAP_SPARC_CRYPTO is present.
74741
74742 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
74743
74744 [BZ #14602]
74745 * string/test-strstr.c (check2): New function.
74746 (test_main): Call check2.
74747
74748 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
74749 and bug-strchr1.
74750 * string/bug-strcasestr1.c (do_test): Moved to ...
74751 * string/test-strcasestr.c (check1): Here. New function.
74752 (do_one_test): Break out result checking code into ...
74753 (check_result): This. New function.
74754 (do_one_test): Call check_result.
74755 (test_main): Call check1.
74756 * string/bug-strchr1.c (do_test): Moved to ...
74757 * string/test-strchr.c (check1): Here. New function.
74758 (do_one_test): Break out result checking code into ...
74759 (check_result): This. New function.
74760 (do_one_test): Call check_result.
74761 (test_main): Call check1.
74762 * string/bug-strstr1.c (main): Moved to ...
74763 * string/test-strstr.c (check1): Here. New function.
74764 (do_one_test): Break out result checking code into ...
74765 (check_result): This. New function.
74766 (do_one_test): Call check_result.
74767 (test_main): Call check1.
74768 * string/bug-strcasestr1.c: Removed.
74769 * string/bug-strchr1.c: Likewise.
74770 * string/bug-strstr1.c: Likewise.
74771
74772 * elf/Makefile (dl-routines): Add hwcaps.
74773 * elf/dl-support.c (_dl_important_hwcaps): Removed.
74774 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
74775 (_dl_important_hwcaps): Moved to ...
74776 * elf/dl-hwcaps.c: Here. New file.
74777 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
74778
74779 [BZ #14557]
74780 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
74781 if IS_IN_rtld isn't defined.
74782
74783 * elf/dl-support.c (_dl_sysinfo_map): New.
74784 Include "get-dynamic-info.h" and "setup-vdso.h".
74785 (_dl_non_dynamic_init): Call setup_vdso.
74786 * elf/dynamic-link.h: Don't include <assert.h>.
74787 (elf_get_dynamic_info): Moved to ...
74788 * elf/get-dynamic-info.h: Here. New file.
74789 * elf/dynamic-link.h: Include "get-dynamic-info.h".
74790 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
74791 * elf/setup-vdso.h: Here. New file.
74792 * elf/rtld.c: Include "setup-vdso.h".
74793 (dl_main): Call setup_vdso.
74794
74795 2012-10-05 Joseph Myers <joseph@codesourcery.com>
74796
74797 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
74798 creal in comment listing functions tested. List finite, isinf,
74799 isnan, isless, islessequal, isgreater, isgreaterequal,
74800 islessgreater, isunordered, lgamma_r and pow10 as functions and
74801 macros not tested. Mention which functions not tested are aliases
74802 for other functions. Fix typo. Note that signs of NaNs are not
74803 tested.
74804
74805 * scripts/config.guess: Update from config.git.
74806 * scripts/config.sub: Likewise.
74807
74808 2012-10-04 Roland McGrath <roland@hack.frob.com>
74809
74810 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
74811 * misc/madvise.c (madvise): Renamed to __madvise.
74812 Make madvise a weak alias.
74813 * include/sys/mman.h: Declare __madvise.
74814 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
74815 * sysdeps/unix/syscalls.list
74816 (madvise): Make __madvise the strong name, and madvise a weak alias.
74817 * sysdeps/unix/sysv/linux/syscalls.list
74818 (madvise, mmap): Remove redundant entries.
74819 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
74820 * malloc/malloc.c (mtrim): Likewise.
74821 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
74822
74823 2012-10-03 Roland McGrath <roland@hack.frob.com>
74824
74825 * sysdeps/mach/hurd/dl-cache.c: File removed.
74826 * config.h.in (USE_LDCONFIG): New #undef.
74827 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
74828 * configure: Regenerated.
74829 * elf/Makefile (dl-routines): Add dl-cache only under
74830 [$(use-ldconfig) = yes].
74831 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
74832 cache on [USE_LDCONFIG].
74833 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
74834 [USE_LDCONFIG].
74835 * elf/rtld.c (dl_main): Likewise.
74836
74837 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
74838
74839 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
74840 _SC_LEVEL4_CACHE_LINESIZE.
74841
74842 2012-10-03 Roland McGrath <roland@hack.frob.com>
74843
74844 * sysdeps/unix/bsd/confstr.h: File removed.
74845
74846 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
74847
74848 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
74849 sys/sdt-config.h.
74850
74851 2012-10-02 Roland McGrath <roland@hack.frob.com>
74852
74853 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
74854 Make 'mapoff' field ElfW(Off) rather than off_t.
74855
74856 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
74857
74858 * nscd/Makefile: Remove nscd-cflags and all its users.
74859 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
74860 (CFLAGS-nonlib): Add compiler flags for nscd modules.
74861
74862 [BZ #10631]
74863 * malloc.c (malloc_printerr): Clarify error message.
74864
74865 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
74866
74867 [BZ #14648]
74868 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74869 Set bit_FMA_Usable if FMA is supported.
74870 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
74871 macro.
74872 (bit_FMA4_Usable): Updated.
74873 (index_FMA_Usable): New macro.
74874 (CPUID_FMA): Likewise.
74875 (HAS_FMA): Defined with bit_FMA_Usable.
74876
74877 2012-10-01 Roland McGrath <roland@hack.frob.com>
74878
74879 * bits/types.h (__swblk_t): Type removed.
74880 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
74881 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
74882 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74883 (__SWBLK_T_TYPE): Likewise.
74884 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
74885 (__SWBLK_T_TYPE): Likewise.
74886 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74887 (__SWBLK_T_TYPE): Likewise.
74888 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74889 (__SWBLK_T_TYPE): Likewise.
74890
74891 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
74892 Honza Horak <hhorak@redhat.com>
74893
74894 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
74895 (xdr_mapname): Use YPMAXMAP as maxsize.
74896 (xdr_peername): Use YPMAXPEER as maxsize.
74897 (xdr_keydat): Use YPAXRECORD as maxsize.
74898 (xdr_valdat): Use YPMAXRECORD as maxsize.
74899
74900 2012-10-01 Roland McGrath <roland@hack.frob.com>
74901
74902 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
74903
74904 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
74905 * csu/init-first.c: ... here.
74906 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
74907 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
74908 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
74909 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
74910 * sysdeps/i386/init-first.c: File removed.
74911 * sysdeps/sh/init-first.c: File removed.
74912
74913 2012-10-01 Joseph Myers <joseph@codesourcery.com>
74914
74915 [BZ #14645]
74916 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
74917 if x * y might underflow to zero and z is zero.
74918 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74919 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74920 * math/libm-test.inc (min_subnorm_value): New variable.
74921 (fma_test): Add more tests.
74922 (fma_test_towardzero): Likewise.
74923 (fma_test_downward): Likewise.
74924 (fma_test_upward): Likewise.
74925 (initialize): Set min_subnorm_value.
74926
74927 2012-09-29 Joseph Myers <joseph@codesourcery.com>
74928
74929 [BZ #14638]
74930 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
74931 0 + 0.
74932 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
74933 mode for addition resulting in exact zero.
74934 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
74935 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
74936 exact 0 + 0.
74937 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
74938 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74939 * math/libm-test.inc (fma_test): Add more tests.
74940 (fma_test_towardzero): New function.
74941 (fma_test_downward): Likewise.
74942 (fma_test_upward): Likewise.
74943 (main): Call the new functions.
74944
74945 2012-09-28 David S. Miller <davem@davemloft.net>
74946
74947 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
74948
74949 2012-09-28 Roland McGrath <roland@hack.frob.com>
74950
74951 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
74952 instead of SIGALRM.
74953
74954 * sysdeps/gnu/_G_config.h: Moved to ...
74955 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
74956 * sysdeps/mach/hurd/_G_config.h: Moved to ...
74957 * sysdeps/generic/_G_config.h: ... here.
74958
74959 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
74960
74961 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
74962
74963 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
74964 Conditionalize target on [libnss_test1.so-version].
74965
74966 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
74967
74968 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
74969 (elfobjdir): Move out of conditionals.
74970
74971 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
74972 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
74973 (__nss_lookup_function): Conditionalize label remove_from_tree on
74974 [!DO_STATIC_NSS || SHARED], matching its only use.
74975
74976 2012-09-28 David S. Miller <davem@davemloft.net>
74977
74978 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
74979 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
74980 file.
74981 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
74982 sysdep_routines.
74983 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
74984 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
74985 when HWCAP_SPARC_CRYPTO is present.
74986
74987 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
74988
74989 * io/tst-mknodat.c: Create a FIFO instead of a socket.
74990
74991 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
74992
74993 [BZ #6530]
74994 * stdio-common/vfprintf.c (process_string_arg): Revert
74995 2000-07-22 change.
74996
74997 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
74998
74999 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
75000 for testcase.
75001 * stdio-common/tst-sprintf.c: Include <locale.h>
75002 (main): Test sprintf's handling of incomplete multibyte
75003 characters.
75004
75005 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
75006
75007 * elf/dl-runtime.c (VERSYMIDX): Removed.
75008 * elf/dl-version.c (VERSYMIDX): Likewise.
75009 * elf/do-rel.h (VERSYMIDX): Likewise.
75010 (VALIDX): Likewise.
75011 * elf/dynamic-link.h (VERSYMIDX): Likewise.
75012 * elf/rtld.c (VALIDX): Likewise.
75013 (ADDRIDX): Likewise.
75014 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
75015 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
75016 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
75017 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
75018 (VALIDX): Likewise.
75019 (ADDRIDX): Likewise.
75020
75021 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
75022
75023 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
75024
75025 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
75026
75027 [BZ #11438]
75028 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
75029 to global scope.
75030 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
75031 addresses are in the same scope as 192.0.2/24.
75032 * posix/gai.conf: Document new scope table defaults.
75033
75034 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
75035
75036 [BZ #5298]
75037 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
75038 for ftell. Compute offsets from write pointers instead.
75039 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
75040
75041 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
75042
75043 [BZ #14543]
75044 * libio/Makefile (tests): New test case tst-fseek.
75045 * libio/tst-fseek.c: New test case to verify that fseek/ftell
75046 combination works in wide mode.
75047 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
75048 state when the external buffer state changes.
75049
75050 2012-09-27 David S. Miller <davem@davemloft.net>
75051
75052 [BZ #14376]
75053 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
75054 pass reloc->r_addend in as the 'high' argument to
75055 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
75056
75057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75058
75059 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
75060
75061 * rt/tst-aio2.c: Include <pthread.h>.
75062 * rt/tst-aio3.c: Likewise.
75063
75064 2012-09-27 Steve Ellcey <sellcey@mips.com>
75065
75066 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
75067
75068 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
75069
75070 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
75071 contents on [SHARED].
75072
75073 2012-09-26 Marek Polacek <polacek@redhat.com>
75074
75075 [BZ #14530]
75076 [BZ #13741]
75077 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
75078 for C++ and GCC <4.3 as well as for non GCC compilers.
75079
75080 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
75081
75082 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75083
75084 2012-09-25 Roland McGrath <roland@hack.frob.com>
75085
75086 * Makefile.in (all, install): Declare with .PHONY.
75087 Reported by Michael Hope <michael.hope@linaro.org>.
75088
75089 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75090
75091 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
75092 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
75093 system header.
75094 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
75095 Likewise.
75096 (sydep_routines): Add the new and the internal functions.
75097 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
75098 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
75099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
75100 (GLIBC_2.17): Add the new function.
75101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
75102 (GLIBC_2.17): Likewise.
75103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
75104 (GLIBC_2.17): Likewise.
75105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
75106 (GLIBC_2.17): Likewise.
75107 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
75108
75109 2012-09-25 Alan Modra <amodra@gmail.com>
75110
75111 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
75112 Add release barrier before setting once_control to say
75113 initialisation is done. Add hints on lwarx. Use macro in
75114 place of isync.
75115 (clear_once_control): Add release barrier.
75116
75117 2012-09-25 Joseph Myers <joseph@codesourcery.com>
75118
75119 [BZ #13629]
75120 * math/s_clog.c (__clog): Handle more values close to |z| = 1
75121 specially.
75122 * math/s_clog10.c (__clog10): Likewise.
75123 * math/s_clog10f.c (__clog10f): Likewise.
75124 * math/s_clog10l.c (__clog10l): Likewise.
75125 * math/s_clogf.c (__clogf): Likewise.
75126 * math/s_clogl.c (__clogl): Likewise.
75127 * math/Makefile (libm-calls): Add x2y2m1.
75128 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
75129 (__x2y2m1): Likewise.
75130 (__x2y2m1l): Likewise.
75131 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
75132 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
75133 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
75134 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
75135 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
75136 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
75137 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
75138 * sysdeps/i386/fpu/libm-test-ulps: Update.
75139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75140
75141 [BZ #14621]
75142 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
75143 int as type of variable DEPTH.
75144 (glob): Use size_t instead of int as type of variables NEWCOUNT
75145 and OLD_PATHC.
75146
75147 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
75148
75149 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
75150 Add s_sincosf-sse2.
75151 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
75152 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
75153 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
75154 macros for using routine as __sincosf_ia32.
75155 Use macro for function declaration and weak_alias.
75156 * sysdeps/i386/fpu/libm-test-ulps: Update.
75157
75158 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
75159 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75160
75161 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
75162 subnormal argument.
75163 * math/s_cexpf.c (__cexpf): Likewise.
75164 * math/s_csinf.c (__csinf): Likewise.
75165 * math/s_csinhf.c (__csinhf): Likewise.
75166 * math/s_ctanf.c (__ctanf): Likewise.
75167 * math/s_ctanhf.c (__ctanhf): Likewise.
75168 * math/s_ccosh.c (__ccoshf): Likewise.
75169 * math/s_cexp.c (__cexpl): Likewise.
75170 * math/s_csin.c (__csin): Likewise.
75171 * math/s_csinh.c (__csinh): Likewise.
75172 * math/s_ctan.c (__ctan): Likewise.
75173 * math/s_ctanh.c (ctanh): Likewise.
75174 * math/s_ccoshl.c (__ccoshl): Likewise.
75175 * math/s_cexpl.c (__cexpl): Likewise.
75176 * math/s_csinl.c (__csinl): Likewise.
75177 * math/s_csinhl.c (__csinhl): Likewise.
75178 * math/s_ctanl.c (__ctanl): Likewise.
75179 * math/s_ctanhl.c (__ctanhl): Likewise.
75180
75181 2012-09-25 Joseph Myers <joseph@codesourcery.com>
75182
75183 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
75184 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
75185 (_IO_off_t): Define to __off_t, not _G_off_t.
75186 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
75187 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
75188 (_IO_wint_t): Define to wint_t, not _G_wint_t.
75189 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
75190 type of __dummy and __dummy2 fields.
75191 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
75192 (_G_ssize_t): Likewise.
75193 (_G_off_t): Likewise.
75194 (_G_pid_t): Likewise.
75195 (_G_uid_t): Likewise.
75196 (_G_wchar_t): Likewise.
75197 (_G_wint_t): Likewise.
75198 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
75199 (_G_ssize_t): Likewise.
75200 (_G_off_t): Likewise.
75201 (_G_pid_t): Likewise.
75202 (_G_uid_t): Likewise.
75203 (_G_wchar_t): Likewise.
75204 (_G_wint_t): Likewise.
75205 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
75206 (_G_ssize_t): Likewise.
75207 (_G_off_t): Likewise.
75208 (_G_pid_t): Likewise.
75209 (_G_uid_t): Likewise.
75210 (_G_wchar_t): Likewise.
75211 (_G_wint_t): Likewise.
75212
75213 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
75214
75215 * malloc/arena.c: Include malloc-sysdep.h.
75216 (shrink_heap): Use check_may_shrink_heap to decide if madvise
75217 is sufficient to shrink the heap or an unmap is needed.
75218 * sysdeps/generic/malloc-sysdep.h: New file. Define
75219 new function check_may_shrink_heap.
75220 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
75221 new function check_may_shrink_heap.
75222
75223 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
75224
75225 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
75226 comments.
75227
75228 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
75229
75230 * catgets/test-gencat.sh: Add "set -e".
75231 * elf/tst-pathopt.sh: Likewise.
75232 * grp/tst_fgetgrent.sh: Likewise.
75233 * iconvdata/run-iconv-test.sh: Likewise.
75234 * intl/tst-gettext.sh: Likewise.
75235 * intl/tst-gettext2.sh: Likewise.
75236 * intl/tst-gettext4.sh: Likewise.
75237 * intl/tst-gettext6.sh: Likewise.
75238 * intl/tst-translit.sh: Likewise.
75239 * io/ftwtest-sh: Likewise.
75240 * libio/test-freopen.sh: Likewise.
75241 * malloc/tst-mtrace.sh: Likewise.
75242 * posix/globtest.sh: Likewise.
75243 * posix/tst-getconf.sh: Likewise.
75244 * posix/wordexp-tst.sh: Likewise.
75245 * stdio-common/tst-printf.sh: Likewise.
75246 * stdio-common/tst-unbputc.sh: Likewise.
75247 * stdlib/tst-fmtmsg.sh: Likewise.
75248 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
75249 * catgets/Makefile: Do not specify -e option when running
75250 testsuite shell scripts.
75251 * elf/Makefile: Likewise.
75252 * grp/Makefile: Likewise.
75253 * iconvdata/Makefile: Likewise.
75254 * intl/Makefile: Likewise.
75255 * io/Makefile: Likewise.
75256 * libio/Makefile: Likewise.
75257 * malloc/Makefile: Likewise.
75258 * posix/Makefile: Likewise.
75259 * stdio-common/Makefile: Likewise.
75260 * stdlib/Makefile: Likewise.
75261 * sysdeps/x86_64/Makefile: Likewise.
75262
75263 * io/ftwtest-sh: Add copyright header.
75264 * posix/globtest.sh: Likewise.
75265 * posix/tst-getconf.sh: Likewise.
75266 * posix/wordexp-tst.sh: Likewise.
75267 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
75268
75269 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
75270
75271 [BZ #13679]
75272 * Makeconfig (+link): Defined as $(+link-static) if
75273 $(build-shared) isn't yes.
75274 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
75275 isn't yes.
75276 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
75277
75278 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
75279
75280 [BZ #14562]
75281 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
75282 new chunk size with MALLOC_ALIGN_MASK.
75283
75284 2012-09-24 Joseph Myers <joseph@codesourcery.com>
75285
75286 [BZ #5044]
75287 * stdio-common/printf_fphex.c: Include <stdbool.h> and
75288 <rounding-mode.h>.
75289 (__printf_fphex): Determine rounding using get_rounding_mode and
75290 round_away.
75291 * stdio-common/tst-printf-round.c (struct hex_test): New
75292 structure.
75293 (hex_tests): New variable.
75294 (test_hex_in_one_mode): New function.
75295 (do_test): Also run tests for hex float output.
75296
75297 2012-09-21 Joseph Myers <joseph@codesourcery.com>
75298
75299 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
75300 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
75301 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
75302 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
75303 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
75304 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
75305 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
75306 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
75307
75308 2012-09-20 Joseph Myers <joseph@codesourcery.com>
75309
75310 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
75311 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
75312 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
75313 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
75314
75315 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
75316
75317 [BZ #14579]
75318 * elf/rtld.c (dl_main): Limit the check for self loading to normal
75319 mode only.
75320 * elf/tst-rtld-load-self.sh: New test.
75321 * elf/Makefile: Run it.
75322
75323 2012-09-18 Joseph Myers <joseph@codesourcery.com>
75324
75325 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
75326 (tst-writev-ENV): Remove.
75327 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
75328
75329 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
75330
75331 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
75332
75333 2012-09-17 Joseph Myers <joseph@codesourcery.com>
75334
75335 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
75336 unconditional.
75337 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
75338 Likewise.
75339 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
75340 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
75341 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
75342 Likewise.
75343
75344 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
75345
75346 [BZ #14587]
75347 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
75348 * config.make.in (have-cpp-asm-debuginfo): Removed.
75349 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
75350 * configure: Regenerated.
75351
75352 2012-09-14 Joseph Myers <joseph@codesourcery.com>
75353
75354 [BZ #5044]
75355 * stdio-common/printf_fp.c: Include <stdbool.h> and
75356 <rounding-mode.h>.
75357 (___printf_fp): Determine rounding using get_rounding_mode and
75358 round_away.
75359 * stdio-common/tst-printf-round.c: New file.
75360 * stdio-common/Makefile (tests): Add tst-printf-round.
75361 (link-libm): New variable.
75362 ($(objpfx)tst-printf-round): Depend in $(link-libm).
75363
75364 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
75365
75366 [BZ #14576]
75367 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
75368 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
75369 Likewise.
75370 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
75371 Likewise.
75372
75373 2012-09-13 Joseph Myers <joseph@codesourcery.com>
75374
75375 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
75376 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
75377 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
75378 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
75379
75380 2012-09-12 Joseph Myers <joseph@codesourcery.com>
75381
75382 [BZ #14518]
75383 * include/rounding-mode.h: New file.
75384 * sysdeps/generic/get-rounding-mode.h: Likewise.
75385 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
75386 * stdlib/strtod_l.c: Include <rounding-mode.h>.
75387 (MAX_VALUE): New macro.
75388 (MIN_VALUE): Likewise.
75389 (overflow_value): New function.
75390 (underflow_value): Likewise.
75391 (round_and_return): Use overflow_value and underflow_value to
75392 determine return values in overflow and underflow cases. Use
75393 round_away to determine rounding depending on rounding mode.
75394 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
75395 determine return values in overflow and underflow cases.
75396 * stdlib/tst-strtod-round.c: Include <fenv.h>.
75397 (struct test_results): New structure.
75398 (struct test): Use struct test_results to store expected results
75399 for all rounding modes.
75400 (TEST): Include expected results for all rounding modes.
75401 (test_in_one_mode): New function.
75402 (do_test): Use test_in_one_mode to compute and check results.
75403 Check results for all rounding modes.
75404 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
75405 $(link-libm).
75406
75407 2012-12-09 Allan McRae <allan@archlinux.org>
75408
75409 * sysdeps/i386/fpu/libm-test-ulps: Update
75410
75411 2012-09-11 Joseph Myers <joseph@codesourcery.com>
75412
75413 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
75414 (_G_int32_t): Likewise.
75415 (_G_uint16_t): Likewise.
75416 (_G_uint32_t): Likewise.
75417 (_G_HAVE_BOOL): Likewise.
75418 (_G_HAVE_ATEXIT): Likewise.
75419 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75420 (_G_HAVE_IO_FILE_OPEN): Likewise.
75421 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
75422 (_G_int32_t): Likewise.
75423 (_G_uint16_t): Likewise.
75424 (_G_uint32_t): Likewise.
75425 (_G_HAVE_BOOL): Likewise.
75426 (_G_HAVE_ATEXIT): Likewise.
75427 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75428 (_G_HAVE_IO_FILE_OPEN): Likewise.
75429 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
75430 (_G_int32_t): Likewise.
75431 (_G_uint16_t): Likewise.
75432 (_G_uint32_t): Likewise.
75433 (_G_HAVE_BOOL): Likewise.
75434 (_G_HAVE_ATEXIT): Likewise.
75435 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75436 (_G_HAVE_IO_FILE_OPEN): Likewise.
75437
75438 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
75439
75440 * csu/libc-tls.c: Update copyright years.
75441
75442 2012-09-10 Joseph Myers <joseph@codesourcery.com>
75443
75444 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
75445 [!_G_USING_THUNKS]: Remove conditional code.
75446 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
75447 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
75448
75449 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
75450 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
75451 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75452 (_G_VTABLE_LABEL_PREFIX): Likewise.
75453 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75454 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75455 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75456 (_G_VTABLE_LABEL_PREFIX): Likewise.
75457 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
75458 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75459 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75460 (_G_VTABLE_LABEL_PREFIX): Likewise.
75461 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
75462
75463 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
75464
75465 * libio/Makefile: Include ../Makeconfig before tests.
75466 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
75467 only if $(build-shared) is yes.
75468
75469 * iconv/gconv_db.c: Update copyright years.
75470
75471 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
75472
75473 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
75474 unwind info if defined PIC. Fix special cases description.
75475 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
75476
75477 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
75478 DP_HI_MASK entry.
75479 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
75480
75481 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
75482
75483 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
75484
75485 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
75486 is NULL.
75487
75488 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
75489 (LDLIBS-tst-chk4): This.
75490 (LDFLAGS-tst-chk5): Renamed to ...
75491 (LDLIBS-tst-chk5): This.
75492 (LDFLAGS-tst-chk6): Renamed to ...
75493 (LDLIBS-tst-chk6): This.
75494 (LDFLAGS-tst-lfschk4): Renamed to ...
75495 (LDLIBS-tst-lfschk4): This.
75496 (LDFLAGS-tst-lfschk5): Renamed to ...
75497 (LDLIBS-tst-lfschk5): This.
75498 (LDFLAGS-tst-lfschk6): Renamed to ...
75499 (LDLIBS-tst-lfschk6): This.
75500
75501 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
75502 on $(common-objpfx)soversions.mk.
75503
75504 2012-09-07 Joseph Myers <joseph@codesourcery.com>
75505
75506 [BZ #10014]
75507 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
75508 example host name.
75509
75510 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
75511
75512 * malloc/arena.c (arena_get_retry): New function that gets
75513 another arena for the caller to try its request on.
75514 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
75515 current arena cannot fulfill the request.
75516 (__libc_memalign): Likewise.
75517 (__libc_memalign): Likewise.
75518 (__libc_pvalloc): Likewise.
75519 (__libc_calloc): Likewise.
75520
75521 2012-09-05 John Tobey <john.tobey@gmail.com>
75522
75523 [BZ #13542]
75524 * manual/arith.texi (Operations on Complex): Fix description
75525 of carg branch cut.
75526
75527 2012-09-06 Joseph Myers <joseph@codesourcery.com>
75528
75529 [BZ #10014]
75530 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
75531 host name.
75532
75533 [BZ #10038]
75534 * manual/memory.texi (Memory): Make order of menu items match
75535 order of sections.
75536
75537 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
75538
75539 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
75540 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
75541 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
75542
75543 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
75544
75545 * csu/libc-tls.c (static_dtv): Renamed to ...
75546 (_dl_static_dtv): This. Make it global.
75547 (_dl_initial_dtv): Removed.
75548 (__libc_setup_tls): Updated.
75549 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
75550 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
75551 DL_INITIAL_DTV.
75552
75553 2012-09-06 Petr Machata <pmachata@redhat.com>
75554
75555 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
75556 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
75557 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
75558 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
75559
75560 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
75561
75562 [BZ #14545]
75563 * csu/libc-tls.c (_dl_initial_dtv): New variable.
75564 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
75565 freeing dtv[-1].
75566
75567 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
75568
75569 [BZ #14544]
75570 * Makeconfig (link-static-before-libc): Replace $(+prector)
75571 with $(+prectorT).
75572 (link-static-after-libc): Replace $(+postctor) with
75573 $(+postctorT).
75574 (link-bounded): Replace $(+prector)/$(+postctor) with
75575 $(+prectorT)/$(+postctorT).
75576 (+prectorT): New macro.
75577 (+postctorT): Likewise.
75578
75579 2012-09-06 Joseph Myers <joseph@codesourcery.com>
75580
75581 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
75582 (round_str): Handle values above the maximum for IBM long double
75583 as inexact.
75584 * stdlib/tst-strtod-round.c (tests): Regenerated.
75585
75586 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
75587
75588 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
75589 assembler flag.
75590 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
75591 zarch_nohighgprs around the zarch optimized routines.
75592 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
75593 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
75594 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
75595 for zarch.
75596
75597 2012-09-05 David S. Miller <davem@davemloft.net>
75598
75599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75600
75601 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
75602 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
75603 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
75604 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
75605 entries.
75606
75607 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
75608
75609 * malloc/arena.c: Fold copyright years.
75610 * malloc/mcheck.c, malloc/memusage.c: Likewise.
75611
75612 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
75613
75614 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
75615
75616 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
75617
75618 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
75619
75620 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
75621
75622 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
75623 change internal state upon failure.
75624
75625 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
75626
75627 * malloc/mcheck.c (mcheck_check_all): Fix typo.
75628 * malloc/memusage.c (mmap): Likewise.
75629 (mmap64, mremap): Likewise. Adjust name in comment.
75630
75631 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
75632
75633 * libio/fileops.c: Fix typos in comments.
75634 * libio/oldfileops.c: Likewise.
75635 * libio/wfileops.c: Likewise.
75636
75637 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
75638
75639 [BZ #1349]
75640 * malloc/Makefile (tests): Add tst-malloc-usable test case.
75641 (tst-malloc-usable-ENV): Set environment for test case.
75642 * malloc/hooks.c (malloc_check_get_size): New function to get
75643 requested size.
75644 * malloc/malloc.c (musable): Use malloc_check_get_size.
75645 * malloc/tst-malloc-usable.c: New test case.
75646
75647 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
75648
75649 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
75650
75651 2012-09-05 Allan McRae <allan@archlinux.org>
75652
75653 [BZ #13966]
75654 * configure.in (CXX_SYSINCLUDES): Use compiler output to
75655 determine header location.
75656 * configure: Regenerated.
75657
75658 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
75659
75660 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
75661 float format.
75662 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
75663 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
75664 format.
75665 (test): Regenerate.
75666
75667 2012-09-04 David S. Miller <davem@davemloft.net>
75668
75669 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
75670 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
75671 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
75672
75673 2012-09-04 Florian Weimer <fweimer@redhat.com>
75674
75675 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
75676 failures.
75677
75678 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
75679
75680 2012-09-04 Joseph Myers <joseph@codesourcery.com>
75681
75682 [BZ #9914]
75683 * libio/iogetdelim.c: Include <limits.h>.
75684 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
75685 + len + 1 would overflow.
75686
75687 2012-09-03 Andreas Jaeger <aj@suse.de>
75688
75689 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75690 * sysdeps/i386/fpu/libm-test-ulps: Update.
75691
75692 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
75693
75694 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
75695 Add s_sinf-sse2, s_conf-sse2.
75696
75697 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
75698 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
75699 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
75700 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
75701
75702 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
75703 for using routine as __sinf_ia32.
75704 Use macro for function declaration and weak_alias.
75705 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
75706 for using routine as __cosf_ia32.
75707 Use macro for function declaration and weak_alias.
75708
75709 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
75710 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
75711
75712 * sysdeps/x86_64/fpu/s_sinf.S: New file.
75713 * sysdeps/x86_64/fpu/s_cosf.S: New file.
75714 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75715
75716 * math/libm-test.inc (cos_test): Add more test cases.
75717 (sin_test): Likewise.
75718 (sincos_test): Likewise.
75719
75720 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
75721
75722 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
75723 (IFUNC_RESOLVE): Make pointers to the specialized implementations
75724 hidden.
75725 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
75726
75727 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
75728
75729 [BZ #14538]
75730 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
75731 first element of the GOT.
75732 (elf_machine_load_address): Return the difference between
75733 the runtime address of _DYNAMIC and elf_machine_dynamic ().
75734
75735 2012-09-01 Allan McRae <allan@archlinux.org>
75736
75737 [BZ #13412]
75738 * configure.in (AWK): Require gawk version 3.0 or later.
75739 * configure: Regenerated.
75740
75741 2012-09-01 Joseph Myers <joseph@codesourcery.com>
75742
75743 * sysdeps/unix/sysv/linux/kernel-features.h
75744 (__ASSUME_POSIX_CPU_TIMERS): Remove.
75745 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
75746 [__NR_clock_getres]: Make code unconditional.
75747 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
75748 (clock_getcpuclockid): Remove code left unreachable by removal of
75749 conditionals.
75750 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
75751 code unconditional.
75752 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
75753 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75754 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
75755 Make code unconditional.
75756 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
75757 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75758 * sysdeps/unix/sysv/linux/clock_settime.c
75759 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
75760 conditional code.
75761 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
75762 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75763
75764 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
75765
75766 [BZ #14476]
75767 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
75768 scripts/test-installation.pl.
75769
75770 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
75771 and $ld_so_version if it is set.
75772
75773 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
75774
75775 [BZ #14516]
75776 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
75777 failure if reading from procfs failed.
75778 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
75779
75780 2012-08-27 Joseph Myers <joseph@codesourcery.com>
75781
75782 * sysdeps/unix/sysv/linux/kernel-features.h
75783 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
75784 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
75785 Remove conditional code.
75786 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75787 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
75788 Remove conditional code.
75789 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75790 * sysdeps/unix/sysv/linux/i386/fxstat.c
75791 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
75792 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75793 * sysdeps/unix/sysv/linux/i386/fxstatat.c
75794 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
75795 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75796 * sysdeps/unix/sysv/linux/i386/lxstat.c
75797 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
75798 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75799 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
75800 Remove conditional code.
75801 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75802 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
75803 Remove conditional code.
75804 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75805 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
75806 <kernel-features.h>.
75807 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
75808 Remove.
75809 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
75810 Remove conditional code.
75811 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75812 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
75813 Remove conditional.
75814
75815 2012-08-27 Mike Frysinger <vapier@gentoo.org>
75816
75817 [BZ #5400]
75818 * NEWS: Add fixed bug number.
75819
75820 2012-08-27 Joseph Myers <joseph@codesourcery.com>
75821
75822 [BZ #14519]
75823 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
75824 underflowing exponent in case of negative sign.
75825 * stdlib/tst-strtod-round-data: Add more tests.
75826 * stdlib/tst-strtod-round.c (tests): Regenerated.
75827
75828 [BZ #3479]
75829 * stdlib/strtod_l.c (NDIG): Remove.
75830 (HEXNDIG): Likewise.
75831 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
75832 smallest representable value.
75833 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
75834 lie within an exact representation of 1/2 ulp of the result.
75835 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
75836 unconditionally.
75837 (TENS_P9_IDX): Define unconditionally.
75838 (TENS_P9_SIZE): Likewise.
75839 (TENS_P10_IDX): Likewise.
75840 (TENS_P10_SIZE): Likewise.
75841 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
75842 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
75843 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
75844 entries for 10^2^13 and 10^2^14.
75845 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
75846 (TENS_P13_IDX): Define.
75847 (TENS_P13_SIZE): Likewise.
75848 (TENS_P14_IDX): Likewise.
75849 (TENS_P14_SIZE): Likewise.
75850 (_fpioconst_pow10): Change array size to
75851 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
75852 unconditional.
75853 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
75854 1024]: Add entries for 10^2^13 and 10^2^14.
75855 [LAST_POW10 > _LAST_POW10]: Remove #error.
75856 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
75857 (_fpioconst_pow10): Change array size to
75858 FPIOCONST_POW10_ARRAY_SIZE.
75859 * stdlib/gen-fpioconst.c: New file.
75860 * stdlib/gen-tst-strtod-round.c: Likewise.
75861 * stdlib/tst-strtod-round-data: Likewise.
75862 * stdlib/tst-strtod-round.c: Likewise.
75863 * stdlib/Makefile (tests): Add tst-strtod-round.
75864
75865 [BZ #14459]
75866 * stdlib/strtod_l.c: Include <stdint.h>.
75867 (NDEBUG): Do not define.
75868 (round_and_return): Change EXPONENT parameter to type intmax_t.
75869 Rearrange calculations to avoid internal overflow possibilities.
75870 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
75871 Rearrange calculations to avoid internal overflow possibilities.
75872 Assert that number fits inside MPNSIZE limbs.
75873 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
75874 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
75875 calculations and add assertions to avoid internal overflow
75876 possibilities. Add casts to avoid signed/unsigned operations.
75877 * stdlib/tst-strtod-overflow.c: New file.
75878 * stdlib/Makefile (tests): Add tst-strtod-overflow.
75879
75880 2012-08-25 Marek Polacek <polacek@redhat.com>
75881
75882 * time/time.h: Fix some typos in comments.
75883
75884 2012-08-23 Roland McGrath <roland@hack.frob.com>
75885
75886 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
75887 * posix/tst-rfc3484-2.c: Likewise.
75888 * posix/tst-rfc3484-3.c: Likewise.
75889
75890 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
75891
75892 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
75893 (EF_ARM_ABI_FLOAT_HARD): Likewise.
75894
75895 2012-08-23 Joseph Myers <joseph@codesourcery.com>
75896
75897 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
75898 #include of fxstatat64.c.
75899
75900 2012-08-22 Roland McGrath <roland@hack.frob.com>
75901
75902 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
75903 * shadow/getspent_r.c: Likewise.
75904 * shadow/getspnam.c: Likewise.
75905 * shadow/getspnam_r.c: Likewise.
75906 * gshadow/getsgent.c: Likewise.
75907 * gshadow/getsgent_r.c: Likewise.
75908 * gshadow/getsgnam.c: Likewise.
75909 * gshadow/getsgnam_r.c: Likewise.
75910 * inet/getnetbyad.c: Likewise.
75911 * inet/getnetbyad_r.c: Likewise.
75912 * inet/getnetbynm.c: Likewise.
75913 * inet/getnetbynm_r.c: Likewise.
75914 * inet/getnetent.c: Likewise.
75915 * inet/getnetent_r.c: Likewise.
75916 * inet/getproto.c: Likewise.
75917 * inet/getproto_r.c: Likewise.
75918 * inet/getprtent.c: Likewise.
75919 * inet/getprtent_r.c: Likewise.
75920 * inet/getprtname.c: Likewise.
75921 * inet/getprtname_r.c: Likewise.
75922 * inet/getrpcbyname.c: Likewise.
75923 * inet/getrpcbyname_r.c: Likewise.
75924 * inet/getrpcbynumber.c: Likewise.
75925 * inet/getrpcbynumber_r.c: Likewise.
75926 * inet/getrpcent.c: Likewise.
75927 * inet/getrpcent_r.c: Likewise.
75928 * inet/getaliasent.c: Likewise.
75929 * inet/getaliasent_r.c: Likewise.
75930 * inet/getaliasname.c: Likewise.
75931 * inet/getaliasname_r.c: Likewise.
75932 * nscd/getgrgid_r.c: Likewise.
75933 * nscd/getgrnam_r.c: Likewise.
75934 * nscd/gethstbyad_r.c: Likewise.
75935 * nscd/gethstbynm3_r.c: Likewise.
75936 * nscd/getpwnam_r.c: Likewise.
75937 * nscd/getpwuid_r.c: Likewise.
75938 * nscd/getsrvbynm_r.c: Likewise.
75939 * nscd/getsrvbypt_r.c: Likewise.
75940 * nscd/gai.c: Likewise.
75941
75942 * configure.in (build_nscd): New substituted variable, set
75943 by --disable-build-nscd and defaults to $use_nscd.
75944 * configure: Regenerated.
75945 * config.make.in (build-nscd): New substituted variable.
75946 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
75947 Change conditional to require [$(build-nscd) = yes] as well.
75948 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
75949
75950 [BZ #13696]
75951 * configure.in (use_nscd): New substituted variable, set by
75952 --disable-nscd. If enabled, define USE_NSCD.
75953 * configure: Regenerated.
75954 * config.h.in: Add USE_NSCD.
75955 * config.make.in (use-nscd): New substituted variable.
75956 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
75957 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
75958 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
75959 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
75960 (CFLAGS-getgrnam_r.c): Likewise.
75961 (CFLAGS-initgroups.c): Likewise.
75962 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
75963 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
75964 Variables removed.
75965 * inet/getnetgrent_r.c
75966 (nscd_setnetgrent): New function, broken out of ...
75967 (setnetgrent): ... here. Call it.
75968 (innetgr): Conditionalize nscd bits on [USE_NSCD].
75969 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
75970 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
75971 * nscd/Makefile (routines, aux): Move definitions after include of
75972 Makeconfig. Conditionalize on [$(use-nscd) != no].
75973 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
75974 Conditionalize on [USE_NSCD].
75975 (is_nscd, nscd_init_cb): Likewise.
75976 (nss_load_library): Conditionalize init callback on [USE_NSCD].
75977 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
75978 * nss/nss_db/db-init.c: Likewise.
75979 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
75980 [USE_NSCD].
75981 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
75982 (make_request): Use it.
75983 (cache_valid_p): New function.
75984 (__check_pf): Use it.
75985 * NEWS: Add item for --disable-nscd.
75986
75987 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
75988
75989 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
75990 to support sed >= 4.2.1-20-ga9bf076.
75991 * configure: Regenerated.
75992
75993 2012-08-22 Roland McGrath <roland@hack.frob.com>
75994
75995 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
75996 Conditionalize whole body on [IREL].
75997
75998 2012-08-22 Jeff Law <law@redhat.com>
75999
76000 [BZ #14505]
76001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
76002 if the family is PF_UNSPEC.
76003
76004 2012-08-22 Mike Frysinger <vapier@gentoo.org>
76005
76006 * Makerules (lib-version): Rename from V.
76007 (install-lib-nosubdir): Change V to lib-version.
76008
76009 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
76010
76011 [BZ #14252]
76012 * powerpc32/power6/wcschr.c: New file.
76013 * powerpc32/power6/wcscpy.c: New file.
76014 * powerpc32/power6/wcsrchr.c: New file.
76015 * powerpc64/power6/wcschr.c: New file.
76016 * powerpc64/power6/wcscpy.c: New file.
76017 * powerpc64/power6/wcsrchr.c: New file.
76018
76019 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
76020
76021 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
76022 (two_way_short_needle): Use it.
76023 * string/strstr.c (AVAILABLE1_USES_J): Define.
76024 * string/strcasestr.c: Likewise.
76025
76026 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
76027 array references.
76028 * string/strcasestr.c (TOLOWER): Make side-effect safe.
76029
76030 [BZ #11607]
76031 * NEWS: Add an entry.
76032 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
76033 define their defaults.
76034 (two_way_short_needle): Detect end-of-string on-the-fly.
76035 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
76036 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
76037 * string/bug-strcasestr1.c: New test.
76038 * string/Makefile: Run it.
76039
76040 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
76041
76042 [BZ #11607]
76043 * string/str-two-way.h (two_way_short_needle): Optimize matching of
76044 the first character.
76045
76046 2012-08-21 Roland McGrath <roland@hack.frob.com>
76047
76048 * csu/elf-init.c (__libc_csu_irel): Function removed.
76049 * csu/libc-start.c (apply_irel): New function.
76050 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
76051
76052 2012-08-21 Joseph Myers <joseph@codesourcery.com>
76053
76054 * sysdeps/unix/sysv/linux/kernel-features.h
76055 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
76056 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
76057 <kernel-features.h>.
76058 [__NR_fadvise64_64]: Make code unconditional.
76059 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
76060 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
76061 !__NR_fadvise64_64)]: Likewise.
76062 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
76063 !__NR_fadvise64_64))]: Likewise.
76064 [__NR_fadvise64]: Make code unconditional.
76065 [!__NR_fadvise64]: Remove conditional code.
76066 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
76067 <kernel-features.h>.
76068 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76069 unconditional.
76070 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
76071 conditional code.
76072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
76073 not include <kernel-features.h>.
76074 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76075 unconditional.
76076 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
76077 conditional code.
76078 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
76079 include <kernel-features.h>.
76080 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76081 unconditional.
76082 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
76083 conditional code.
76084
76085 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
76086
76087 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
76088 slight instruction rearrangements per scrollpipe analysis.
76089 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
76090
76091 2012-08-20 Roland McGrath <roland@hack.frob.com>
76092
76093 * manual/syslog.texi (syslog; vsyslog, closelog):
76094 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
76095 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
76096
76097 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
76098 DSOCAPS to match condition on defining it.
76099
76100 2012-08-20 Joseph Myers <joseph@codesourcery.com>
76101
76102 * sysdeps/unix/sysv/linux/kernel-features.h
76103 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
76104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
76105 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
76106 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
76107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
76108 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
76109 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
76110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
76111 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
76112 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
76113
76114 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
76115 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
76116
76117 * sysdeps/unix/sysv/linux/kernel-features.h
76118 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
76119 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
76120 unconditional.
76121 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76122 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
76123 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
76124 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76125 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
76126 Make code unconditional.
76127 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76128 (__mmap64) [!__NR_mmap2]: Likewise.
76129 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
76130 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
76131 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76132 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
76133 [__NR_mmap2]: Make code unconditional.
76134 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76135 (__mmap64) [!__NR_mmap2]: Likewise.
76136
76137 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
76138
76139 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
76140
76141 2012-08-18 Andreas Jaeger <aj@suse.de>
76142
76143 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
76144
76145 2012-08-18 Mike Frysinger <vapier@gentoo.org>
76146
76147 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
76148 * include/unistd.h (__have_sock_cloexec): Likewise.
76149 (__have_pipe2): Likewise.
76150 (__have_dup3): Likewise.
76151
76152 2012-08-18 Mike Frysinger <vapier@gentoo.org>
76153
76154 [BZ #9685]
76155 * include/unistd.h (__have_pipe2): Change define into an extern int.
76156 (__have_dup3): Likewise.
76157 * socket/have_sock_cloexec.c: Include fcntl.h.
76158 (__have_pipe2): New variable.
76159 (__have_dup3): Likewise.
76160
76161 2012-08-17 Mike Frysinger <vapier@gentoo.org>
76162
76163 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
76164
76165 2012-08-17 Marek Polacek <polacek@redhat.com>
76166
76167 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
76168 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
76169
76170 2012-08-17 Roland McGrath <roland@hack.frob.com>
76171
76172 * configure.in: Add AC_SUBST for sysheaders.
76173 * configure: Regenerated.
76174 * config.make.in (sysheaders): New substituted variable.
76175
76176 * sysdeps/unix/mkfifo.c: Moved ...
76177 * sysdeps/posix/mkfifo.c: ... here.
76178 * sysdeps/unix/mkfifoat.c: Moved ...
76179 * sysdeps/posix/mkfifoat.c: ... here.
76180
76181 * sysdeps/unix/utime.c: Moved ...
76182 * sysdeps/posix/utime.c: ... here.
76183
76184 * sysdeps/unix/time.c: Moved ...
76185 * sysdeps/posix/time.c: ... here.
76186 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
76187 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
76188
76189 * sysdeps/unix/nice.c: Moved ...
76190 * sysdeps/posix/nice.c: ... here.
76191
76192 * sysdeps/unix/alarm.c: Moved ...
76193 * sysdeps/posix/alarm.c: ... here.
76194
76195 * intl/Makefile ($(codeset_mo)): Depend on the input file.
76196
76197 2012-08-17 Jeff Law <law@redhat.com>
76198
76199 * intl/Makefile (codeset_mo): New variable.
76200 ($(codeset_mo)): New target.
76201 (tst-codeset.out): Depend on that. Remove explicit rule.
76202 (tst-gettext3.out, tst-gettext5.out): Likewise.
76203 (LOCPATH-ENV, tst-codeset-ENV): New variables.
76204 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
76205 * intl/tst-codeset.sh: Remove.
76206 * intl/tst-gettext3.sh: Likewise.
76207 * intl/tst-gettext5.sh: Likewise.
76208
76209 2012-08-17 Roland McGrath <roland@hack.frob.com>
76210
76211 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
76212 * sysdeps/unix/syscalls.list: ... here.
76213
76214 * sysdeps/posix/getaddrinfo.c
76215 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
76216 (gaiconf_init, gaiconf_reload): Use them.
76217 [!_STATBUF_ST_NSEC]
76218 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
76219 Define using time_t rather than struct timespec.
76220
76221 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
76222 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
76223 Macros removed.
76224 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
76225 [!NO_THREADS].
76226 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
76227 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
76228 Likewise.
76229
76230 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
76231 __libc_cleanup_push argument.
76232
76233 * bits/param.h: New file.
76234 * misc/sys/param.h: New file.
76235 * include/sys/param.h: New file.
76236 * misc/Makefile (headers): Add bits/param.h.
76237 * sysdeps/generic/sys/param.h: File removed.
76238 * sysdeps/unix/sysv/linux/bits/param.h: New file.
76239 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
76240 * sysdeps/mach/hurd/bits/param.h: New file.
76241 * sysdeps/mach/hurd/sys/param.h: File removed.
76242
76243 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
76244 last change.
76245
76246 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
76247 [_IO_MTSAFE_IO].
76248 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
76249 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
76250 New macros.
76251
76252 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
76253 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
76254 rather than -D_IO_MTSAFE_IO conditionally.
76255 * stdio-common/Makefile (CPPFLAGS): Likewise.
76256 * wcsmbs/Makefile (CPPFLAGS): Likewise.
76257 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
76258 Use $(libio-mtsafe).
76259 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
76260 of -D_IO_MTSAFE_IO.
76261 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
76262 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
76263 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
76264 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
76265 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
76266 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
76267 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
76268 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
76269 (CFLAGS-fread_u_chk.c): Likewise.
76270 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
76271 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
76272 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
76273 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
76274 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
76275 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
76276 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
76277 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
76278 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
76279
76280 * libio/Makefile: Test [$(libc-reentrant) = yes]
76281 instead of [$(filter %REENTRANT, $(defines)) nonempty].
76282
76283 * Makeconfig
76284 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
76285 * sysdeps/pthread/configure: File removed.
76286 * sysdeps/pthread/Makeconfig: New file.
76287 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
76288 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
76289
76290 2012-08-16 Gary Benson <gbenson@redhat.com>
76291
76292 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
76293 unmapping the first object in a namespace.
76294
76295 2012-08-16 Roland McGrath <roland@hack.frob.com>
76296
76297 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
76298 (__internal_setnetgrent): ... this. Add internal_function to
76299 definition. Add libc_hidden_def.
76300 (setnetgrent): Update caller.
76301 (internal_endnetgrent): Renamed to ...
76302 (__internal_endnetgrent): ... this. Add internal_function to
76303 definition. Add libc_hidden_def.
76304 (endnetgrent): Update caller.
76305 (internal_getnetgrent_r): Renamed to ...
76306 (__internal_getnetgrent_r): ... this. Add internal_function to
76307 definition. Add libc_hidden_def.
76308 (__getnetgrent_r): Update caller.
76309 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
76310
76311 2012-08-16 Joseph Myers <joseph@codesourcery.com>
76312
76313 * stdlib/longlong.h: Update from GCC.
76314
76315 2012-08-16 Roland McGrath <roland@hack.frob.com>
76316
76317 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
76318 on _QL, which is set by umul_ppmm but never used.
76319 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
76320 variables, which are set by GMP macros but never used.
76321 * stdio-common/_itowa.c (_itowa): Likewise.
76322 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
76323 * stdlib/mod_1.c (mpn_mod_1): Likewise.
76324
76325 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
76326
76327 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
76328 struct La_sh_regs is not constant.
76329 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
76330 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
76331 and struct La_sparc64_regs are not constant.
76332
76333 2012-08-16 Joseph Myers <joseph@codesourcery.com>
76334
76335 * sysdeps/unix/sysv/linux/kernel-features.h
76336 (__ASSUME_POSIX_TIMERS): Remove.
76337 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
76338 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76339 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
76340 Make code unconditional.
76341 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76342 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
76343 Make code unconditional.
76344 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76345 * sysdeps/unix/sysv/linux/clock_nanosleep.c
76346 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
76347 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76348 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
76349 Make code unconditional.
76350 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76351 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
76352 (__libc_missing_posix_timers): Remove.
76353
76354 2012-08-15 Roland McGrath <roland@hack.frob.com>
76355
76356 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
76357 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
76358
76359 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
76360
76361 * elf/dl-sym.c: Include <stdlib.h>.
76362
76363 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
76364 constants, which avoids warnings in 32-bit builds.
76365
76366 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
76367 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
76368
76369 * misc/lseek.c: File moved to ...
76370 * io/lseek.c: ... here.
76371
76372 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
76373
76374 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
76375 shifting LEN more than 31 bits at once.
76376
76377 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
76378
76379 [BZ #14195]
76380 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
76381 segmentation fault for a case of two empty input strings.
76382 * string/test-strncasecmp.c (check1): Renamed to...
76383 (bz12205): ...this.
76384 (bz14195): Add new testcase for two empty input strings and N > 0.
76385 (test_main): Call new testcase, adapt for renamed function.
76386
76387 2012-08-15 Andreas Jaeger <aj@suse.de>
76388
76389 [BZ #14090]
76390 * crypt/md5test2.c: New test, based on test supplied by Serge
76391 Belyshev <belyshev@depni.sinp.msu.ru>.
76392 * crypt/Makefile (xtests): Add md5test-giant..
76393 * crypt/Makefile ($(objpfx)md5test-giant): Add.
76394
76395 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
76396
76397 [BZ #14090]
76398 * crypt/md5.c (md5_process_block): Don't assume the buffer
76399 length is less than 2**32.
76400 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
76401 length is less than 2**64.
76402
76403 2012-08-15 Roland McGrath <roland@hack.frob.com>
76404
76405 * string/str-two-way.h: Include <sys/param.h>.
76406 (MAX): Macro removed.
76407
76408 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
76409 Move #define and #undef of memmove to just before and after
76410 including <string.h>.
76411
76412 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
76413 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
76414 and after including <string.h>. Move declarations of
76415 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
76416 to before #include "string/memmove.c".
76417
76418 * include/dirent.h: Declare __getdirentries.
76419
76420 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
76421 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
76422
76423 2012-08-14 Mike Frysinger <vapier@gentoo.org>
76424
76425 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
76426 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
76427 * sysdeps/i386/configure: Regenerated.
76428 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
76429 STABS_CURRENT_FILE, and STABS_FUN.
76430 (END): Remove call to STABS_FUN_END.
76431 (STABS_CURRENT_FILE1): Delete.
76432 (STABS_CURRENT_FILE): Likewise.
76433 (STABS_FUN): Likewise.
76434 (STABS_FUN_END): Likewise.
76435 (STABS_FUN2): Likewise.
76436 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
76437 * sysdeps/x86_64/configure: Regenerated.
76438
76439 2012-08-14 Roland McGrath <roland@hack.frob.com>
76440
76441 * elf/dl-open.c: Include <atomic.h>.
76442 * elf/dl-lookup.c: Likewise.
76443
76444 2012-08-14 Joseph Myers <joseph@codesourcery.com>
76445
76446 * sysdeps/unix/sysv/linux/kernel-features.h
76447 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
76448 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
76449 unconditionally.
76450 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
76451 unconditionally.
76452 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
76453 condition on __ASSUME_CLONE_THREAD_FLAGS.
76454
76455 2012-08-14 Andreas Jaeger <aj@suse.de>
76456
76457 * sysdeps/i386/fpu/libm-test-ulps: Update.
76458
76459 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
76460
76461 * include/atomic.h (atomic_exchange_and_add): Split into ...
76462 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
76463 New atomic macros.
76464
76465 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
76466
76467 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76468
76469 2012-08-13 Jeff Law <law@redhat.com>
76470
76471 * manual/stdio.texi (snprintf): Clarify handling of the trailing
76472 null byte in the output string.
76473
76474 2012-08-10 Joseph Myers <joseph@codesourcery.com>
76475
76476 * sysdeps/unix/sysv/linux/kernel-features.h
76477 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
76478 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
76479 (__ASSUME_ARG_MAX_STACK_BASED): Define.
76480 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
76481 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
76482 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
76483 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
76484
76485 2012-08-09 Jeff Law <law@redhat.com>
76486
76487 [BZ #13939]
76488 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
76489 When avoid_arena is set, don't retry in the that arena. Pick the
76490 next one, whatever it might be.
76491 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
76492 (arena_lock): Pass in new parameter to arena_get2.
76493 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
76494 arena_get2.
76495 (__libc_malloc): Unify retrying after main arena failure with
76496 __libc_memalign version.
76497 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
76498
76499 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
76500
76501 [BZ #14166]
76502 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
76503 to __redirect_strstr.
76504 (__strstr_sse42): Use typeof __redirect_strstr.
76505 (__strstr_ia32): Likewise.
76506 (__libc_strstr): New prototype.
76507 (strstr): Renamed to ...
76508 (__libc_strstr): This.
76509 (strstr): New strong alias of __libc_strstr.
76510 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76511 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
76512 __redirect_time.
76513 Include <time.h>.
76514 (__libc_time): New prototype.
76515 (time_ifunc): Replace time with __libc_time.
76516 (time): New strong alias and hidden definition of __libc_time.
76517 (__GI_time): Remove strong alias.
76518 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
76519 Include <stddef.h>.
76520 (memmove): Redefined to __redirect_memmove.
76521 (__memmove_sse2): Use typeof __redirect_memmove.
76522 (__memmove_ssse3): Likewise.
76523 (__memmove_ssse3_back): Likewise.
76524 (__libc_memmove): New prototype.
76525 (memmove): Renamed to ...
76526 (__libc_memmove): This.
76527 (memmove): New strong alias of __libc_memmove.
76528
76529 2012-08-08 Mark Salter <msalter@redhat.com>
76530
76531 * elf/elf.h
76532 (R_MN10300_TLS_GD): Define.
76533 (R_MN10300_TLS_LD): Likewise.
76534 (R_MN10300_TLS_LDO): Likewise.
76535 (R_MN10300_TLS_GOTIE): Likewise.
76536 (R_MN10300_TLS_IE): Likewise.
76537 (R_MN10300_TLS_LE): Likewise.
76538 (R_MN10300_TLS_DTPMOD): Likewise.
76539 (R_MN10300_TLS_DTPOFF): Likewise.
76540 (R_MN10300_TLS_TPOFF): Likewise.
76541 (R_MN10300_SYM_DIFF): Likewise.
76542 (R_MN10300_ALIGN): Likewise.
76543 (R_MN10300_NUM): Update.
76544
76545 2012-08-08 Joseph Myers <joseph@codesourcery.com>
76546
76547 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
76548 Remove.
76549
76550 2012-08-08 Roland McGrath <roland@hack.frob.com>
76551
76552 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
76553
76554 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
76555 sysdeps/unix -> sysdeps/posix move.
76556 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
76557
76558 2012-08-07 Allan McRae <allan@archlinux.org>
76559
76560 [BZ #14303]
76561 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
76562 (SUNOS_CPP): Likewise.
76563 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
76564 not found.
76565 (open_input): Call CPP using execvp.
76566
76567 2012-08-07 Joseph Myers <joseph@codesourcery.com>
76568
76569 * sysdeps/unix/sysv/linux/kernel-features.h
76570 (__ASSUME_PROT_GROWSUPDOWN): Remove.
76571 (__ASSUME_NO_CLONE_DETACHED): Likewise.
76572 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
76573 (__ASSUME_WAITID_SYSCALL): Likewise.
76574 * sysdeps/unix/sysv/linux/dl-execstack.c
76575 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
76576 code unconditional.
76577 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
76578 conditional code.
76579 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
76580 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
76581 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
76582 code.
76583 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
76584 unconditional.
76585 [__ASSUME_WAITID_SYSCALL]: Likewise.
76586 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
76587
76588 2012-08-07 Roland McGrath <roland@hack.frob.com>
76589
76590 * sysdeps/unix/closedir.c: Renamed to ...
76591 * sysdeps/posix/closedir.c: ... here.
76592 * sysdeps/unix/dirfd.c: Renamed to ...
76593 * sysdeps/posix/dirfd.c: ... here.
76594 * sysdeps/unix/dirstream.h: Renamed to ...
76595 * sysdeps/posix/dirstream.h: ... here.
76596 * sysdeps/unix/fdopendir.c: Renamed to ...
76597 * sysdeps/posix/fdopendir.c: ... here.
76598 * sysdeps/unix/opendir.c: Renamed to ...
76599 * sysdeps/posix/opendir.c: ... here.
76600 * sysdeps/unix/readdir.c: Renamed to ...
76601 * sysdeps/posix/readdir.c: ... here.
76602 * sysdeps/unix/readdir_r.c: Renamed to ...
76603 * sysdeps/posix/readdir_r.c: ... here.
76604 * sysdeps/unix/rewinddir.c: Renamed to ...
76605 * sysdeps/posix/rewinddir.c: ... here.
76606 * sysdeps/unix/seekdir.c: Renamed to ...
76607 * sysdeps/posix/seekdir.c: ... here.
76608 * sysdeps/unix/telldir.c: Renamed to ...
76609 * sysdeps/posix/telldir.c: ... here.
76610 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
76611 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
76612 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
76613 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
76614
76615 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
76616 * bits/fcntl.h: ... here.
76617
76618 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
76619 not 0.
76620 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
76621 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
76622 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
76623 (struct flock): Move l_start, l_len to the beginning.
76624 Use __pid_t for l_pid.
76625 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
76626 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
76627 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
76628 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
76629 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
76630 [__USE_LARGEFILE64] (struct flock64): New type.
76631 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
76632
76633 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
76634 * bits/dirent.h: ... here.
76635
76636 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
76637 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
76638
76639 2012-08-07 Joseph Myers <joseph@codesourcery.com>
76640
76641 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76642 Change from 2.6.0 to 2.6.16.
76643 * sysdeps/unix/sysv/linux/configure: Regenerated.
76644 * sysdeps/unix/sysv/linux/kernel-features.h
76645 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
76646 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
76647 version.
76648 (__ASSUME_UTIMES): Likewise.
76649 (__ASSUME_CLONE_STOPPED): Remove.
76650 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
76651 architectures, not kernel version.
76652 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
76653 (__ASSUME_NO_CLONE_DETACHED): Likewise.
76654 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
76655 (__ASSUME_WAITID_SYSCALL): Likewise.
76656 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
76657 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
76658 * README: State 2.6.16 as minimum Linux kernel version. Do not
76659 refer to older versions.
76660
76661 2012-08-06 Roland McGrath <roland@hack.frob.com>
76662
76663 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
76664 Define alphasort64 as an alias.
76665 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
76666 Define versionsort64 as an alias.
76667 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
76668 Define scandir64 as an alias.
76669 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
76670 Define scandirat64 as an alias.
76671 * dirent/alphasort64.c (alphasort64):
76672 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
76673 * dirent/versionsort64.c: Likewise.
76674 * dirent/scandir64.c: Likewise.
76675 * dirent/scandirat64.c: Likewise.
76676 * sysdeps/wordsize-64/alphasort.c: File removed.
76677 * sysdeps/wordsize-64/alphasort64.c: File removed.
76678 * sysdeps/wordsize-64/scandir.c: File removed.
76679 * sysdeps/wordsize-64/scandir64.c: File removed.
76680 * sysdeps/wordsize-64/scandirat.c: File removed.
76681 * sysdeps/wordsize-64/scandirat64.c: File removed.
76682 * sysdeps/wordsize-64/versionsort.c: File removed.
76683 * sysdeps/wordsize-64/versionsort64.c: File removed.
76684 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
76685 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
76686 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
76687 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
76688 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
76689 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
76690 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
76691 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
76692
76693 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
76694 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
76695 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
76696 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76697 [defined __arch64__ || defined __sparcv9]
76698 (__INO_T_MATCHES_INO64_T): New macro.
76699 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76700 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
76701 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
76702 * sysdeps/unix/sysv/linux/bits/dirent.h
76703 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
76704 (_DIRENT_MATCHES_DIRENT64): New macro.
76705
76706 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
76707 Define lockf64 as an alias.
76708 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
76709 Define fseeko64 as an alias.
76710 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
76711 Define ftello64 as an alias.
76712 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
76713 Define _IO_fgetpos64 and fgetpos64 as aliases.
76714 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
76715 Define _IO_fsetpos64 and fsetpos64 as aliases.
76716 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
76717 Conditionalize body on this.
76718 * libio/fseeko64.c: Likewise.
76719 * libio/ftello64.c: Likewise.
76720 * libio/iofgetpos64.c: Likewise.
76721 * libio/iofsetpos64.c: Likewise.
76722 * sysdeps/wordsize-64/lockf.c: File removed.
76723 * sysdeps/wordsize-64/lockf64.c: File removed.
76724 * sysdeps/wordsize-64/fseeko.c: File removed.
76725 * sysdeps/wordsize-64/fseeko64.c: File removed.
76726 * sysdeps/wordsize-64/ftello.c: File removed.
76727 * sysdeps/wordsize-64/ftello64.c: File removed.
76728 * sysdeps/wordsize-64/iofgetpos.c: File removed.
76729 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
76730 * sysdeps/wordsize-64/iofsetpos.c: File removed.
76731 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
76732 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
76733 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
76734 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
76735 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
76736 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
76737 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
76738 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
76739 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
76740 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
76741 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
76742
76743 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
76744 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
76745 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
76746 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76747 [defined __arch64__ || defined __sparcv9]
76748 (__OFF_T_MATCHES_OFF64_T): New macro.
76749 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76750 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
76751 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76752 (__OFF_T_MATCHES_OFF64_T): New macro.
76753
76754 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
76755
76756 * stdlib/secure-getenv.c (__secure_getenv): Replace
76757 GLIBC_2_16 with GLIBC_2_17.
76758
76759 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
76760
76761 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
76762 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
76763
76764 2012-08-03 David S. Miller <davem@davemloft.net>
76765
76766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76767
76768 2012-08-03 Joseph Myers <joseph@codesourcery.com>
76769
76770 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
76771 Remove.
76772 (__ASSUME_CORRECT_SI_PID): Likewise.
76773 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
76774 (__ASSUME_TMPFS_NAME): Likewise.
76775 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
76776 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
76777 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
76778 (HAVE_AUX_SECURE): Make definition unconditional.
76779 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
76780 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
76781
76782 2012-08-03 Roland McGrath <roland@hack.frob.com>
76783
76784 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
76785 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
76786 * sysdeps/mach/hurd/eloop-threshold.h: New file.
76787 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
76788 __eloop_threshold instead of SYMLOOP_MAX.
76789
76790 * sysdeps/generic/eloop-threshold.h: New file.
76791 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
76792 of MAXSYMLINKS.
76793 * elf/chroot_canon.c (chroot_canon): Likewise.
76794
76795 2012-08-03 Joseph Myers <joseph@codesourcery.com>
76796
76797 [BZ #13717]
76798 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76799 Change to 2.6.0 everywhere.
76800 * sysdeps/unix/sysv/linux/configure: Regenerated.
76801 * sysdeps/unix/sysv/linux/kernel-features.h
76802 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
76803 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
76804 kernel versions.
76805 (__ASSUME_POSIX_TIMERS): Define unconditionally.
76806 (__ASSUME_FUTEX_REQUEUE): Remove.
76807 (__ASSUME_STATFS64): Define unconditionally.
76808 (__ASSUME_AT_SECURE): Likewise.
76809 (__ASSUME_CORRECT_SI_PID): Likewise.
76810 (__ASSUME_TGKILL): Define without depending on kernel version for
76811 i386.
76812 (__ASSUME_UTIMES): Likewise.
76813 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
76814 kernel version.
76815 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
76816 (__ASSUME_TMPFS_NAME): Likewise.
76817 * README: Update reference to Linux kernel versions.
76818
76819 2012-08-02 Marek Polacek <polacek@redhat.com>
76820
76821 [BZ #14150]
76822 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
76823 libc_cv_asm_type_prefix with %.
76824 * configure: Regenerated.
76825 * include/libc-symbols.h: Remove comment about
76826 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
76827 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
76828 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
76829 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
76830 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
76831 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
76832 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
76833 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
76834 * elf/tst-unique2mod1.c: Likewise.
76835 * elf/tst-unique1mod2.c: Likewise.
76836 * elf/tst-unique1mod1.c: Likewise.
76837 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
76838 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
76839 Replace ASM_TYPE_DIRECTIVE with .type.
76840 * sysdeps/s390/s390-64/sysdep.h: Likewise.
76841 * sysdeps/i386/sysdep.h: Likewise.
76842 * sysdeps/x86_64/sysdep.h: Likewise.
76843 * sysdeps/sh/sysdep.h: Likewise.
76844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
76845 Do not define ASM_TYPE_DIRECTIVE.
76846 * sysdeps/powerpc/sysdep.h: Likewise.
76847 * sysdeps/powerpc/powerpc32/sysdep.h:
76848 Replace ASM_TYPE_DIRECTIVE with .type.
76849 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
76850 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
76851 * sysdeps/i386/fpu/e_powf.S: Likewise.
76852 * sysdeps/i386/fpu/e_expl.S: Likewise.
76853 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
76854 * sysdeps/i386/fpu/e_acosh.S: Likewise.
76855 * sysdeps/i386/fpu/e_pow.S: Likewise.
76856 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
76857 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
76858 * sysdeps/i386/fpu/s_expm1.S: Likewise.
76859 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
76860 * sysdeps/i386/fpu/e_log2.S: Likewise.
76861 * sysdeps/i386/fpu/e_log2l.S: Likewise.
76862 * sysdeps/i386/fpu/e_scalb.S: Likewise.
76863 * sysdeps/i386/fpu/e_powl.S: Likewise.
76864 * sysdeps/i386/fpu/e_log10f.S: Likewise.
76865 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
76866 * sysdeps/i386/fpu/e_logl.S: Likewise.
76867 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
76868 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
76869 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
76870 * sysdeps/i386/fpu/e_log2f.S: Likewise.
76871 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
76872 * sysdeps/i386/fpu/e_log.S: Likewise.
76873 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
76874 * sysdeps/i386/fpu/e_logf.S: Likewise.
76875 * sysdeps/i386/fpu/e_log10l.S: Likewise.
76876 * sysdeps/i386/fpu/e_atanh.S: Likewise.
76877 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
76878 * sysdeps/i386/fpu/e_log10.S: Likewise.
76879 * sysdeps/i386/fpu/s_frexp.S: Likewise.
76880 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
76881 * sysdeps/i386/fpu/s_asinh.S: Likewise.
76882 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
76883 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
76884 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
76885 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
76886 * sysdeps/i386/i686/strtok.S: Likewise.
76887 * sysdeps/i386/i386-mcount.S: Likewise.
76888 * sysdeps/i386/strtok.S: Likewise.
76889 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
76890 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
76891 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76892 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
76893 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
76894 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
76895 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
76896 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
76897 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
76898 * sysdeps/x86_64/_mcount.S: Likewise.
76899 * sysdeps/x86_64/strtok.S: Likewise.
76900 * sysdeps/sh/_mcount.S: Likewise.
76901
76902 2012-08-01 Roland McGrath <roland@hack.frob.com>
76903
76904 * libio/iofopen.c: Include <fcntl.h>.
76905 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
76906 (_IO_fopen64, fopen64): Define as aliases.
76907 * libio/iofopen64.c: Include <fcntl.h>.
76908 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
76909 Conditionalize body on this.
76910 * sysdeps/wordsize-64/iofopen.c: File removed.
76911 * sysdeps/wordsize-64/iofopen64.c: File removed.
76912
76913 2012-08-01 Marek Polacek <polacek@redhat.com>
76914
76915 * libc/Makeconfig: Use elf in place of binfmt-subdir.
76916 Use dlfcn directly instead of a variable.
76917 (binfmt-subdir): Do not define.
76918 (dlfcn): Likewise.
76919
76920 2012-08-01 Joseph Myers <joseph@codesourcery.com>
76921
76922 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
76923 Remove all definitions.
76924 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
76925 <kernel-features.h>.
76926 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
76927 (miss_F_GETOWN_EX): Remove all definitions.
76928 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
76929 macro definition.
76930 [!__ASSUME_FCNTL64]: Remove conditional code.
76931 [__ASSUME_FCNTL64]: Make code unconditional.
76932 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
76933 <kernel-features.h>.
76934 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
76935 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
76936 (lockf64) [__NR_fcntl64]: Make code unconditional.
76937 (lockf64) [__ASSUME_FCNTL64]: Likewise.
76938
76939 * sysdeps/unix/sysv/linux/kernel-features.h
76940 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
76941 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
76942 Make code unconditional.
76943 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
76944 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
76945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
76946 [__NR_vfork]: Make code unconditional.
76947 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
76948 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
76949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
76950 [__NR_vfork]: Make code unconditional.
76951 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
76952 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
76953
76954 2012-08-01 Roland McGrath <roland@hack.frob.com>
76955
76956 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
76957 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
76958
76959 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
76960 Define mkstemp64 as an alias.
76961 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
76962 Define mkstemps64 as an alias.
76963 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
76964 Define mkostemp64 as an alias.
76965 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
76966 Define mkostemps64 as an alias.
76967 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
76968 Conditionalize body on this.
76969 * misc/mkostemp64.c: Likewise.
76970 * misc/mkostemps64.c: Likewise.
76971 * misc/mkstemps64.c: Likewise.
76972 * sysdeps/wordsize-64/mkstemp64.c: File removed.
76973 * sysdeps/wordsize-64/mkostemp64.c: File removed.
76974 * sysdeps/wordsize-64/mkostemp.c: File removed.
76975 * sysdeps/wordsize-64/mkstemp.c: File removed.
76976 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
76977 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
76978 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
76979 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
76980
76981 [BZ #14138]
76982 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
76983 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
76984 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
76985 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
76986
76987 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
76988 compat_symbol macros from <shlib-compat.h> rather than the underlying
76989 default_symbol_version and symbol_version macros, so that DEFAULT
76990 lines in shlib-versions are respected.
76991 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
76992
76993 2012-08-01 Florian Weimer <fweimer@redhat.com>
76994
76995 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
76996 Declare with warn_unused_result.
76997 (setgid, setregid, setegid, setresgid): Likewise.
76998 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
76999 Likewise.
77000 * WUR-REPORT: Remove set*id functions.
77001
77002 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
77003
77004 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
77005
77006 2012-07-31 Roland McGrath <roland@hack.frob.com>
77007
77008 [BZ #10191]
77009 * include/sys/socket.h (__libc_accept, __libc_accept4):
77010 Add attribute_hidden.
77011 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
77012
77013 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
77014 use of PTR_MANGLE.
77015 * inet/getnetgrent_r.c (setup): Likewise.
77016
77017 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
77018
77019 2012-07-31 David S. Miller <davem@davemloft.net>
77020
77021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77022
77023 2012-07-31 Joseph Myers <joseph@codesourcery.com>
77024
77025 [BZ #13629]
77026 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
77027 value between 1.0 and 2.0 and smaller part has absolute value less
77028 than 1.0.
77029 * math/s_clog10.c (__clog10): Likewise.
77030 * math/s_clog10f.c (__clog10f): Likewise.
77031 * math/s_clog10l.c (__clog10l): Likewise.
77032 * math/s_clogf.c (__clogf): Likewise.
77033 * math/s_clogl.c (__clogl): Likewise.
77034 * math/libm-test.inc (clog_test): Add more tests.
77035 (clog10_test): Likewise.
77036 * sysdeps/i386/fpu/libm-test-ulps: Update.
77037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77038
77039 2012-07-31 Florian Weimer <fweimer@redhat.com>
77040
77041 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
77042 Exit with zero in case no suitable GID is found, and write a
77043 message to standard error.
77044
77045 2012-07-30 Roland McGrath <roland@hack.frob.com>
77046
77047 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
77048 rather than to 1.
77049 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
77050 (MAXPATHLEN): Removed.
77051 (NOGROUP, NODEV): New macros.
77052 (setbit, clrbit, isset, isclr): New macros.
77053 (howmany, roundup, powerof2): New macros.
77054 (DEV_BSIZE): New macro.
77055
77056 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
77057 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
77058
77059 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
77060 definition on [!__NO_LONG_DOUBLE_MATH].
77061
77062 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
77063 PTR_MANGLE and PTR_DEMANGLE.
77064
77065 * socket/accept4.c (accept4): Rename to __libc_accept4.
77066 Define accept4 as a weak alias.
77067
77068 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
77069 on [_DIRENT_HAVE_D_TYPE].
77070 * io/ftw.c (ftw_dir): Likewise.
77071
77072 * io/xmknod.c (__xmknod): Don't check PATH for being null.
77073
77074 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
77075
77076 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
77077 Use the BSD numbers rather than the arbitrary ones we had.
77078 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
77079 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
77080 (SIGXCPU, SIGXFSZ): New macros.
77081 (_NSIG): Now 32.
77082
77083 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
77084 initializer on [_LIBC_REENTRANT].
77085
77086 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
77087 definitions inside [_POSIX_MAPPED_FILES].
77088
77089 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
77090
77091 * dirent/opendir.c: Include <fcntl.h>.
77092
77093 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
77094 (__libc_getspecific): Likewise.
77095 (__libc_key_create): Likewise.
77096
77097 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
77098 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
77099 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
77100 (tmpfile64): Define as alias.
77101 * sysdeps/wordsize-64/tmpfile.c: File removed.
77102 * sysdeps/wordsize-64/tmpfile64.c: File removed.
77103 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
77104 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
77105
77106 * stdio-common/vfscanf.c: Include <stdbool.h>.
77107 * nss/makedb.c: Likewise.
77108 * stdio-common/_i18n_number.h: Likewise.
77109 * argp/argp-help.c: Likewise.
77110 * posix/wordexp.c: Likewise.
77111 * sysdeps/posix/spawni.c: Likewise.
77112 * nss/nss_files/files-initgroups.c: Likewise.
77113 * stdio-common/reg-modifier.c: Include <stdlib.h>.
77114 * nss/nss_files/files-initgroups.c: Likewise.
77115 * nss/nss_db/db-netgrp.c: Likewise.
77116 * nss/nss_db/db-initgroups.c: Likewise.
77117 * io/fchmodat.c: Include <sys/stat.h>.
77118
77119 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
77120 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
77121
77122 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
77123 [HAVE_MMAP].
77124
77125 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
77126 Add multiple inclusion protection.
77127
77128 2012-07-27 David S. Miller <davem@davemloft.net>
77129
77130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77131
77132 2012-07-27 Gary Benson <gbenson@redhat.com>
77133
77134 [BZ #14298]
77135 * elf/rtld.c: Include <stap-probe.h>.
77136 (dl_main): Added static probes "init_start" and "init_complete".
77137 * elf/dl-load.c: Include <stap-probe.h>.
77138 (lose): Take new parameter "nsid".
77139 Added static probe "map_failed".
77140 (_dl_map_object_from_fd): Pass namespace id to lose.
77141 Added static probe "map_start".
77142 (open_verify): Pass namespace id to lose.
77143 * elf/dl-open.c: Include <stap-probe.h>.
77144 (dl_open_worker) Added static probes "map_complete", "reloc_start"
77145 and "reloc_complete".
77146 * elf/dl-close.c: Include <stap-probe.h>.
77147 (_dl_close_worker): Added static probes "unmap_start" and
77148 "unmap_complete".
77149 * elf/rtld-debugger-interface.txt: New file documenting the above.
77150
77151 2012-07-26 Roland McGrath <roland@hack.frob.com>
77152
77153 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
77154 rather than a string variable.
77155 * sunrpc/rpc_main.c (h_output): Likewise.
77156 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
77157
77158 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
77159
77160 * inet/check_native.c: New file.
77161
77162 2012-07-26 Joseph Myers <joseph@codesourcery.com>
77163
77164 [BZ #13629]
77165 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
77166 if larger part has absolute value 1.0.
77167 * math/s_clog10.c (__clog10): Likewise.
77168 * math/s_clog10f.c (__clog10f): Likewise.
77169 * math/s_clog10l.c (__clog10l): Likewise.
77170 * math/s_clogf.c (__clogf): Likewise.
77171 * math/s_clogl.c (__clogl): Likewise.
77172 * math/libm-test.inc (clog_test): Add more tests.
77173 (clog10_test): Likewise.
77174 * sysdeps/i386/fpu/libm-test-ulps: Update.
77175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77176
77177 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
77178 (pltexit): Likewise.
77179 (La_regs): Likewise.
77180 (La_retval): Likewise.
77181 (int_retval): Likewise.
77182 Update #error for removed macros to refer only to definitions in
77183 tst-audit.h.
77184 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
77185 macro.
77186 (pltexit): Likewise.
77187 (La_regs): Likewise.
77188 (La_retval): Likewise.
77189 (int_retval): Likewise.
77190 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
77191 macro.
77192 (pltexit): Likewise.
77193 (La_regs): Likewise.
77194 (La_retval): Likewise.
77195 (int_retval): Likewise.
77196 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
77197 macro.
77198 (pltexit): Likewise.
77199 (La_regs): Likewise.
77200 (La_retval): Likewise.
77201 (int_retval): Likewise.
77202 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
77203 macro.
77204 (pltexit): Likewise.
77205 (La_regs): Likewise.
77206 (La_retval): Likewise.
77207 (int_retval): Likewise.
77208 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
77209 macro.
77210 (pltexit): Likewise.
77211 (La_regs): Likewise.
77212 (La_retval): Likewise.
77213 (int_retval): Likewise.
77214 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
77215 macro.
77216 (pltexit): Likewise.
77217 (La_regs): Likewise.
77218 (La_retval): Likewise.
77219 (int_retval): Likewise.
77220 * sysdeps/generic/tst-audit.h: Update comment to refer only to
77221 macro definitions in tst-audit.h.
77222 * sysdeps/i386/tst-audit.h: New file.
77223 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
77224 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
77225 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
77226 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
77227 * sysdeps/sh/tst-audit.h: Likewise.
77228 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
77229 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
77230 * sysdeps/x86_64/tst-audit.h: Likewise.
77231
77232 2012-07-26 Andreas Jaeger <aj@suse.de>
77233
77234 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
77235 ptrace.
77236
77237 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
77238 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
77239 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
77240 PTRACE_O_MASK.
77241 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
77242 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
77243 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
77244
77245 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
77246 value.
77247
77248 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
77249 _sigsys.
77250 (si_call_addr, si_syscall, si_arch): Define new macro.
77251 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
77252 _sigsys.
77253 (si_call_addr, si_syscall, si_arch): Define new marcro.
77254 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
77255 _sigsys.
77256 (si_call_addr, si_syscall, si_arch): Define new macro.
77257 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
77258 _sigsys.
77259 (si_call_addr, si_syscall, si_arch): Define new macro.
77260
77261 2012-07-25 Joseph Myers <joseph@codesourcery.com>
77262
77263 [BZ #13717]
77264 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77265 Change to 2.4.21 where previously 2.4.1.
77266 * sysdeps/unix/sysv/linux/configure: Regenerated.
77267 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
77268 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
77269 Linux kernel version.
77270 (__ASSUME_STD_AUXV): Remove.
77271 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
77272 kernel version.
77273 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
77274 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
77275 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
77276 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
77277 (__ASSUME_NETLINK_SUPPORT): Likewise.
77278 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
77279 (__no_netlink_support): Remove conditional definition.
77280 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
77281 Remove.
77282 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
77283 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
77284 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
77285 (if_nameindex_ioctl): Remove.
77286 (if_nameindex_netlink): Do not handle __no_netlink_support.
77287 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
77288 code.
77289 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
77290 Remove conditional code.
77291 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
77292 code.
77293 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
77294 unconditional.
77295 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
77296 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
77297 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
77298 Remove.
77299 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
77300 [!__ASSUME_STD_AUXV]: Remove conditional code.
77301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
77302 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
77303 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
77304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
77305 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
77306 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
77307 code.
77308 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
77309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
77310 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
77311 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
77312 conditional code.
77313 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
77314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
77315 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
77316 code.
77317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
77318 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
77319 conditional code.
77320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
77321 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
77322 code unconditional.
77323 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77324 conditional code.
77325 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77326 unconditional.
77327 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77328 conditional code.
77329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
77330 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77331 unconditional.
77332 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77333 conditional code.
77334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
77335 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
77336 code unconditional.
77337 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77338 conditional code.
77339 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77340 unconditional.
77341 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77342 conditional code.
77343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
77344 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
77345 code unconditional.
77346 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77347 conditional code.
77348 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77349 unconditional.
77350 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77351 conditional code.
77352
77353 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
77354
77355 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
77356 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
77357 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
77358 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
77359 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
77360 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
77361 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
77362 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
77363 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
77364 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
77365 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
77366 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
77367 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
77368 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
77369 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
77370 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
77371 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
77372 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
77373 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
77374 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
77375 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
77376 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
77377 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
77378
77379 2012-07-25 Florian Weimer <fweimer@redhat.com>
77380
77381 * Versions.def: Add GLIBC_2.17.
77382 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
77383 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
77384 Introduce __libc_secure_getenv.
77385 * stdlib/Versions (2.17): Add secure_getenv
77386 (GLIBC_PRIVATE): Add __libc_secure_getenv.
77387 * stdlib/secure-getenv.c: Rename __secure_getenv to
77388 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
77389 symbol __secure_getenv for GLIBC_2.0.
77390 * stdlib/tst-secure-getenv.c: New.
77391 * stdlib/Makefile (tests): Add testcase.
77392 * manual/startup.texi (Environment Access): Document
77393 secure_getenv.
77394 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
77395 __libc_secure_getenv.
77396 * inet/ruserpass.c (ruserpass): Likewise.
77397 * malloc/mtrace.c (mtrace): Likewise.
77398 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
77399 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
77400 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
77401 * sysdeps/posix/tempname.c: Likewise. Evaluate
77402 HAVE_SECURE_GETENV.
77403 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
77404 __secure_getenv to __libc_secure_getenv.
77405 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
77406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77407 Likewise.
77408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
77409 Likewise.
77410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
77411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
77412 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
77413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
77414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
77415 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
77416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
77417
77418 2012-07-25 Joseph Myers <joseph@codesourcery.com>
77419
77420 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
77421 (struct La_i86_retval): Likewise.
77422 (struct La_x86_64_regs): Likewise.
77423 (struct La_x86_64_retval): Likewise.
77424 (struct La_x32_regs): Likewise.
77425 (struct La_x32_retval): Likewise.
77426 (struct La_ppc32_regs): Likewise.
77427 (struct La_ppc32_retval): Likewise.
77428 (struct La_ppc64_regs): Likewise.
77429 (struct La_ppc64_retval): Likewise.
77430 (struct La_sh_regs): Likewise.
77431 (struct La_sh_retval): Likewise.
77432 (struct La_s390_32_regs): Likewise.
77433 (struct La_s390_32_retval): Likewise.
77434 (struct La_s390_64_regs): Likewise.
77435 (struct La_s390_64_retval): Likewise.
77436 (struct La_sparc32_regs): Likewise.
77437 (struct La_sparc32_retval): Likewise.
77438 (struct La_sparc64_regs): Likewise.
77439 (struct La_sparc64_retval): Likewise.
77440 (struct audit_ifaces): Remove architecture-specific pltenter and
77441 pltexit members.
77442 * sysdeps/i386/ldsodefs.h: New file.
77443 * sysdeps/powerpc/ldsodefs.h: Likewise.
77444 * sysdeps/s390/ldsodefs.h: Likewise.
77445 * sysdeps/sh/ldsodefs.h: Likewise.
77446 * sysdeps/sparc/ldsodefs.h: Likewise.
77447 * sysdeps/x86_64/ldsodefs.h: Likewise.
77448
77449 2012-07-25 Marek Polacek <polacek@redhat.com>
77450
77451 [BZ #6808]
77452 * math/libm-test.inc (yn_test): Add another test.
77453 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
77454 to ERANGE when the result is +-Inf.
77455 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
77456 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
77457 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
77458 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
77459
77460 2012-07-24 Joseph Myers <joseph@codesourcery.com>
77461
77462 * conform/data/time.h-data (NULL): Use macro-constant. Require
77463 equal to 0.
77464 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
77465 clock_t.
77466 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
77467
77468 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
77469
77470 * configure.in <sysdeps resolving>: Correct printing
77471 Implies_before.
77472 * configure: Regenerate.
77473
77474 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
77475
77476 * math/w_ilogb.c: Include <limits.h>.
77477 * math/w_ilogbl.c: Likewise.
77478
77479 2012-07-20 Joseph Myers <joseph@codesourcery.com>
77480
77481 * manual/lang.texi (__va_copy): Document primarily as ISO C99
77482 va_copy. Document allowing for unavailable va_copy only as
77483 pre-C99 compatibility.
77484 * manual/string.texi (Copying and Concatenation): Use va_copy
77485 instead of __va_copy in concat example.
77486
77487 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
77488
77489 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
77490 (__sendto): Use create_address_port. Initialize APORT and deallocate
77491 it if not null.
77492
77493 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
77494 with O_NOLINK passed to __file_name_lookup.
77495
77496 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
77497 with O_NOLINK passed to __file_name_lookup.
77498
77499 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
77500 negative N or less than NGIDS.
77501
77502 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
77503 type to string_t. Set ERANGE as errno and return it if NAME is not big
77504 enough. Use memcpy instead of strncpy.
77505
77506 2012-07-20 Joseph Myers <joseph@codesourcery.com>
77507
77508 * elf/Makefile (check-data): Remove.
77509 (localplt.data): New vpath directive.
77510 ($(objpfx)check-localplt.out): Use localplt.data from vpath
77511 instead of $(check-data).
77512 * scripts/data/localplt-generic.data: Move to ...
77513 * sysdeps/generic/localplt.data: ... here.
77514 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
77515 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
77516 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
77517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
77518 ... here.
77519 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
77520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
77521 ... here.
77522 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
77523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
77524 ... here.
77525 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
77526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
77527 ... here.
77528 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
77529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
77530 ... here.
77531 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
77532 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
77533 ... here.
77534
77535 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
77536
77537 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
77538 PPC32 and PPC64 files.
77539 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
77540 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
77541
77542 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77543
77544 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
77545 __makecontext_ret to ...
77546 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
77547 ... here and call exit if uc_link is NULL. New file.
77548 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
77549 __makecontext_ret.S.
77550 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
77551 __makecontext_ret to ...
77552 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
77553 ... here and call exit if uc_link is NULL. New file.
77554 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
77555 __makecontext_ret.S.
77556
77557 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77558
77559 * elf/elf.h (R_390_IRELATIVE): New definition.
77560 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
77561 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
77562 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
77563 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
77564 (elf_machine_lazy_rel): Likewise.
77565 * sysdeps/s390/dl-irel.h: New file.
77566 * sysdeps/s390/s390-64/memcpy.S: New asm code.
77567 * sysdeps/s390/s390-64/memset.S: New asm code.
77568 * sysdeps/s390/s390-64/memcmp.S: New asm code.
77569 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
77570 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
77571 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
77572 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
77573 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
77574 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
77575 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
77576 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
77577 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
77578 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
77579 * sysdeps/s390/s390-32/memcpy.S: New asm code.
77580 * sysdeps/s390/s390-32/memset.S: New asm code.
77581 * sysdeps/s390/s390-32/memcmp.S: New asm code.
77582
77583 2012-07-17 Marek Polacek <polacek@redhat.com>
77584
77585 [BZ #14349]
77586 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
77587 * sysdeps/s390/s390-64/configure.in: Likewise.
77588 * sysdeps/sparc/configure.in: Likewise.
77589 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
77590 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
77591 * sysdeps/i386/configure.in: Likewise.
77592 * sysdeps/x86_64/configure.in: Likewise.
77593 * sysdeps/sh/configure.in: Likewise.
77594 * sysdeps/s390/s390-32/configure: Regenerated.
77595 * sysdeps/s390/s390-64/configure: Likewise.
77596 * sysdeps/x86_64/configure: Likewise.
77597 * sysdeps/sh/configure: Likewise.
77598 * sysdeps/powerpc/powerpc64/configure: Likewise.
77599 * sysdeps/powerpc/powerpc32/configure: Likewise.
77600 * sysdeps/sparc/configure: Likewise.
77601 * sysdeps/i386/configure: Likewise.
77602
77603 * elf/dl-open.c: Comment fixes.
77604
77605 2012-07-17 Joseph Myers <joseph@codesourcery.com>
77606
77607 * Makefile [CXX] (check-data): Remove.
77608 [CXX] (c++-types.data): New vpath directive.
77609 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
77610 vpath. Do not allow for C++ type data being missing.
77611 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
77612 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
77613 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
77614 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
77615 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
77616 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
77617 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
77618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
77619 ... here.
77620 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
77621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
77622 ... here.
77623 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
77624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
77625 ... here.
77626 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
77627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
77628 ... here.
77629 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
77630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
77631 ... here.
77632 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
77633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
77634 ... here.
77635 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
77636 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
77637 ... here.
77638 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
77639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
77640
77641 * elf/tls-macros.h (TLS_LE): Move architecture-specific
77642 definitions to architecture-specific files.
77643 (TLS_IE): Likewise.
77644 (TLS_LD): Likewise.
77645 (TLS_GD): Likewise.
77646 * sysdeps/i386/tls-macros.h: New file.
77647 * sysdeps/powerpc/tls-macros.h: Likewise.
77648 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
77649 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
77650 * sysdeps/sh/tls-macros.h: Likewise.
77651 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
77652 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
77653 * sysdeps/x86_64/tls-macros.h: Likewise.
77654
77655 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
77656
77657 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
77658 zero value for regular exit case.
77659
77660 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
77661 (__start_context): Preserve zero value for regular exit case.
77662
77663 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
77664 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77665
77666 * manual/setjmp.texi (setcontext): Clarify normal process
77667 termination when uc_link is the null pointer.
77668 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
77669 exit call.
77670
77671 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
77672
77673 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
77674 preprocessor. Test for each exception mask separately.
77675
77676 2012-07-16 Andreas Jaeger <aj@suse.de>
77677
77678 * po/ru.po: Update from translation team.
77679
77680 2012-07-15 Joseph Myers <joseph@codesourcery.com>
77681
77682 * conform/data/string.h-data (NULL): Use macro-constant. Require
77683 equal to 0.
77684 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
77685 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
77686 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
77687 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
77688 [ISO || ISO99 || ISO11] (*_t): Do not allow.
77689
77690 2012-07-13 Andreas Jaeger <aj@suse.de>
77691
77692 * po/fr.po: Update from translation team.
77693
77694 2012-07-12 Marek Polacek <polacek@redhat.com>
77695
77696 [BZ #14173]
77697 * math/libm-test.inc (yn_test): Add test for BZ #14173.
77698 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
77699 loop condition.
77700
77701 2012-07-12 Joseph Myers <joseph@codesourcery.com>
77702
77703 [BZ #13717]
77704 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77705 Change to 2.4.1 where previously 2.4.0.
77706 * sysdeps/unix/sysv/linux/configure: Regenerated.
77707 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
77708 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
77709 version.
77710 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
77711 (__ASSUME_AT_CLKTCK): Remove.
77712 (__ASSUME_AT_PAGESIZE): Likewise.
77713 (__ASSUME_AT_XID): Likewise.
77714 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
77715 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
77716 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
77717 unconditionally.
77718 (HAVE_AUX_PAGESIZE): Likewise.
77719 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
77720 [__ASSUME_AT_CLKTCK]: Make code unconditional.
77721 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
77722
77723 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
77724
77725 [BZ #14307]
77726 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
77727 the temporary buffer used to invoke __gethostbyname2_r,
77728 __gethostbyaddr_r and gethostbyname4_r to make room for struct
77729 host_data / struct gaih_addrtuple.
77730 * resolv/nss_dns/dns-host.c (global scope): Move definition of
77731 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
77732 header file nss/nsswitch.h.
77733 * nss/nsswitch.h (global scope): Add definition of implementation
77734 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
77735 resolv/nss_dns/dns-host.c).
77736
77737 2012-07-11 Andreas Jaeger <aj@suse.de>
77738
77739 * po/fr.po: Update from translation team.
77740
77741 * po/sv.po: Update from translation team
77742 * po/fr.po: Another update from translation team.
77743
77744 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
77745
77746 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
77747 for subnormals or multiply small sinh result by itself.
77748 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
77749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77750
77751 2012-07-11 David S. Miller <davem@davemloft.net>
77752
77753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77754
77755 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
77756
77757 [BZ #14347]
77758 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
77759 (INTERNAL_MARK): Shift it here.
77760
77761 2012-07-10 Marek Polacek <polacek@redhat.com>
77762
77763 [BZ #14151]
77764 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
77765 libc_cv_asm_global_directive with .globl.
77766 * configure: Regenerated.
77767 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
77768 with .globl.
77769 * sysdeps/i386/configure: Regenerated.
77770 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
77771 with .globl.
77772 * sysdeps/x86_64/configure: Regenerated.
77773 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
77774 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
77775 * elf/tst-unique2mod2.c: Likewise.
77776 * elf/tst-unique2mod1.c: Likewise.
77777 * elf/tst-unique1mod2.c: Likewise.
77778 * elf/tst-unique1mod1.c: Likewise.
77779 * sysdeps/s390/s390-32/sysdep.h: Likewise.
77780 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
77781 * sysdeps/s390/s390-64/sysdep.h: Likewise.
77782 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
77783 * sysdeps/mach/sysdep.h: Likewise.
77784 * sysdeps/i386/sysdep.h: Likewise.
77785 * sysdeps/i386/i386-mcount.S: Likewise.
77786 * sysdeps/x86_64/_mcount.S: Likewise.
77787 * sysdeps/x86_64/sysdep.h: Likewise.
77788 * sysdeps/sh/_mcount.S: Likewise.
77789 * sysdeps/sh/sysdep.h: Likewise.
77790 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
77791 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
77792 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
77793 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
77794 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
77795 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
77796 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
77797 * locale/localeinfo.h: Likewise.
77798 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
77799 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
77800
77801 2012-07-09 Roland McGrath <roland@hack.frob.com>
77802
77803 [BZ #14336]
77804 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
77805 system".
77806 * manual/message.texi (The Uniforum approach): Likewise.
77807 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
77808 (glibc iconv Implementation): Likewise.
77809
77810 2012-07-09 Joseph Myers <joseph@codesourcery.com>
77811
77812 [BZ #14337]
77813 * math/s_clog.c (__clog): Avoid scaling a value down where that
77814 could result in underflow.
77815 * math/s_clog10.c (__clog10): Likewise.
77816 * math/s_clog10f.c (__clog10f): Likewise.
77817 * math/s_clog10l.c (__clog10l): Likewise.
77818 * math/s_clogf.c (__clogf): Likewise.
77819 * math/s_clogl.c (__clogl): Likewise.
77820 * math/libm-test.inc (clog_test): Add more tests.
77821 (clog10_test): Likewise.
77822 * sysdeps/i386/fpu/libm-test-ulps: Update.
77823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77824
77825 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
77826
77827 [BZ #14283]
77828 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
77829 by 7 not 8 to examine high bit of fractional part.
77830
77831 [BZ #14042]
77832 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
77833 for call to __mcount_internal.
77834 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
77835 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
77836 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
77837
77838 2012-07-06 Joseph Myers <joseph@codesourcery.com>
77839
77840 [BZ #14154]
77841 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
77842 approximation for values within 0x1p-13f of an odd multiple of
77843 pi/4.
77844 * math/libm-test.inc (tan_test): Do not allow spurious underflow
77845 exception. Add more tests.
77846 * sysdeps/i386/fpu/libm-test-ulps: Update.
77847
77848 [BZ #6778]
77849 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
77850 inputs and return -1 for them. Do not check for +Inf in case not
77851 reachable for +Inf.
77852 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
77853 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
77854 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
77855 and return -1 for them. Do not check for +Inf in case not
77856 reachable for +Inf.
77857 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
77858 define.
77859 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
77860 and return -1 for them. Do not check for +Inf in case not
77861 reachable for +Inf.
77862 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
77863 spurious underflow.
77864 * sysdeps/i386/fpu/libm-test-ulps: Update.
77865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77866
77867 2012-07-06 Mike Frysinger <vapier@gentoo.org>
77868
77869 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
77870
77871 2012-07-05 Joseph Myers <joseph@codesourcery.com>
77872
77873 [BZ #14157]
77874 [BZ #14331]
77875 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
77876 could result in spurious underflow. Scale down values above
77877 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
77878 * math/s_csqrtf.c (__csqrtf): Likewise.
77879 * math/s_csqrtl.c (__csqrtl): Likewise.
77880 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
77881 spurious underflow.
77882 * sysdeps/i386/fpu/libm-test-ulps: Update.
77883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77884
77885 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
77886
77887 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
77888 xopen-msg.sed.
77889 * catgets/xopen-msg.awk: New file.
77890 * catgets/xopen-msg.sed: Removed.
77891
77892 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
77893 po2text.sed.
77894 * intl/po2test.awk: New file.
77895 * intl/po2test.sed: Removed.
77896
77897 2012-07-04 Joseph Myers <joseph@codesourcery.com>
77898
77899 [BZ #14328]
77900 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
77901 or multiply small sinh result by itself.
77902 * math/s_ctanf.c (__ctanf): Likewise.
77903 * math/s_ctanh.c (__ctanh): Likewise.
77904 * math/s_ctanhf.c (__ctanhf): Likewise.
77905 * math/s_ctanhl.c (__ctanhl): Likewise.
77906 * math/s_ctanl.c (__ctanl): Likewise.
77907 * math/libm-test.inc (ctan_test_tonearest): New function.
77908 (ctan_test_towardzero): Likewise.
77909 (ctan_test_downward): Likewise.
77910 (ctan_test_upward): Likewise.
77911 (ctanh_test_tonearest): Likewise.
77912 (ctanh_test_towardzero): Likewise.
77913 (ctanh_test_downward): Likewise.
77914 (ctanh_test_upward): Likewise.
77915 (main): Call these new functions.
77916 * sysdeps/i386/fpu/libm-test-ulps: Update.
77917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77918
77919 2012-07-03 Mike Frysinger <vapier@gentoo.org>
77920
77921 * .gitignore: Delete /ports entry.
77922
77923 2012-07-03 Andreas Jaeger <aj@suse.de>
77924
77925 * po/bg.po: Update from translation team.
77926 * po/cs.po: Likewise.
77927 * po/de.po: Likewise.
77928 * po/hr.po: Likewise.
77929 * po/nl.pl: Likewise.
77930 * po/pl.po: Likewise.
77931 * po/vi.po: Likewise.
77932
77933 2012-07-03 Joseph Myers <joseph@codesourcery.com>
77934
77935 * Makeconfig [!+link] (+link-before-libc): New variable.
77936 [!+link] (+link-after-libc): Likewise.
77937 [!+link] (+link-tests): Likewise.
77938 [!+link] (+link): Define in terms of $(+link-before-libc) and
77939 $(+link-after-libc).
77940 [!+link-static] (+link-static-before-libc): New variable.
77941 [!+link-static] (+link-static-after-libc): Likewise.
77942 [!+link-static] (+link-static-tests): Likewise.
77943 [!+link-static] (+link-static): Define in terms of
77944 $(+link-static-before-libc) and $(+link-static-after-libc).
77945 [build-shared] (link-libc-before-gnulib): New variable.
77946 [build-shared] (link-libc-tests): Likewise.
77947 [build-shared] (link-libc): Define in terms of
77948 $(link-libc-before-gnulib).
77949 [!build-shared] (link-libc-tests): New variable.
77950 (link-libc-static-tests): New variable.
77951 [!gnulib] (gnulib-arch): New variable.
77952 [!gnulib] (gnulib-tests): Likewise.
77953 [!gnulib] (static-gnulib-arch): Likewise.
77954 [!gnulib] (static-gnulib-tests): Likewise.
77955 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
77956 Define with "=" instead of ":=".
77957 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
77958 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
77959 * Rules (binaries-all-notests): New variable.
77960 (binaries-all-tests): Likewise.
77961 (binaries-static-notests): Likewise.
77962 (binaries-static-tests): Likewise.
77963 (binaries-all): Define using $(binaries-all-notests) and
77964 $(binaries-all-tests).
77965 (binaries-static): Define using $(binaries-static-notests) and
77966 $(binaries-static-tests).
77967 (binaries-shared-tests): New variable.
77968 (binaries-shared-notests): Likewise.
77969 (binaries-shared): Remove variable.
77970 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
77971 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
77972 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
77973 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
77974 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
77975 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
77976 * elf/Makefile (sln-modules): New variable.
77977 (extra-objs): Add $(sln-modules:=.o).
77978 (ldconfig-modules): Add static-stubs.
77979 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
77980 * elf/static-stubs.c: New file.
77981
77982 [BZ #14283]
77983 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
77984 by 7 not 8 to examine high bit of fractional part. Use volatile
77985 variables when splitting into final array of floats if
77986 __FLT_EVAL_METHOD__ != 0.
77987 * math/libm-test.inc (cos_test): Add another test.
77988 (sin_test): Likewise.
77989 * sysdeps/i386/fpu/libm-test-ulps: Update.
77990
77991 [BZ #14273]
77992 * math/libm-test.inc (cosh_test): Add more tests.
77993
77994 * version.h (RELEASE): Set to "development".
77995 (VERSION): Set to "2.16.90".
77996
77997 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
77998
77999 * NEWS: Update copyright. Remove last-updated date.
78000 Mention math library bug fixes and timezone data changes.
78001 * README: Mention GNU/Hurd, x32, and HPPA support status.
78002
78003 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
78004
78005 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
78006
78007 2012-06-27 Andreas Jaeger <aj@suse.de>
78008
78009 * manual/contrib.texi (Contributors): Add Samuel Thibault.
78010
78011 2012-06-25 Andreas Jaeger <aj@suse.de>
78012
78013 * sysdeps/s390/fpu/libm-test-ulps: Update.
78014
78015 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
78016 Thomas Schwinge <thomas@codesourcery.com>
78017
78018 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
78019 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
78020 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
78021 fanotify_mark.
78022
78023 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
78024
78025 * sysdeps/mach/start.c: Remove file.
78026 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
78027 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
78028 * sysdeps/sh/init-first.c: Likewise.
78029
78030 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
78031 registers for frame unwinding purposes, add CFI directives.
78032 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
78033 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
78034 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
78035 Likewise.
78036
78037 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
78038 __fortify_fail returning.
78039 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
78040
78041 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
78042 sysdeps/sh/____longjmp_chk.S.
78043 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
78044 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
78045 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
78046 (gen-as-const-headers): Append sigaltstack-offsets.sym.
78047
78048 * sysdeps/sh/abort-instr.h: New file.
78049 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
78050 process in case exit returns.
78051
78052 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
78053 initialize the GOT register before use.
78054
78055 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
78056 calculation of ARGC > 4.
78057
78058 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
78059 meaningful names to some local labels.
78060
78061 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
78062 Kaz Kojima <kkojima@rr.iij4u.or.jp>
78063
78064 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
78065 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
78066 (__arch_compare_and_exchange_val_16_acq): Likewise.
78067 (__arch_compare_and_exchange_val_32_acq): Likewise.
78068 (atomic_exchange_and_add): Fix gUSA sequence.
78069 (atomic_add): Likewise.
78070 (atomic_add_negative): Likewise.
78071 (atomic_add_zero): Likewise.
78072 (atomic_bit_test_set): Likewise.
78073
78074 2012-06-22 Andreas Schwab <schwab@redhat.com>
78075
78076 [BZ #13579]
78077 * include/link.h (struct link_map): Add l_free_initfini.
78078 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
78079 l_initfini.
78080 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
78081 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
78082 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
78083 set.
78084
78085 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
78086
78087 * configure.in: Use AC_LANG_SOURCE.
78088 * configure: Regenerate.
78089
78090 2012-06-22 Roland McGrath <roland@hack.frob.com>
78091
78092 * configure.in (libc_cv_localstatedir): New substituted variable.
78093 * configure: Regenerated.
78094 * config.make.in (localstatedir): New variable, substituted from
78095 libc_cv_localstatedir.
78096 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
78097 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
78098 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
78099 * sysdeps/gnu/configure: Regenerated.
78100
78101 2012-06-21 Jeff Law <law@redhat.com>
78102
78103 [BZ #14277]
78104 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
78105 free. Simplify list management for _LIBC case.
78106
78107 2012-06-21 Joseph Myers <joseph@codesourcery.com>
78108
78109 [BZ #14273]
78110 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
78111 Clear sign bit of 64-bit integer value before comparing against
78112 overflow value.
78113
78114 * sysdeps/mach/configure: Regenerated.
78115
78116 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
78117
78118 [BZ #14278]
78119 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
78120
78121 2012-06-21 Jeff Law <law@redhat.com>
78122
78123 [BZ #13882]
78124 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
78125 uint16_t for elements in the "seen" array to avoid char overflows.
78126 * elf/dl-fini.c (_dl_sort_fini): Likewise.
78127 * elf/dl-open.c (dl_open_worker): Likewise.
78128
78129 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
78130
78131 * scripts/list-sources.sh: Scan PORTS for translations.
78132 * po/libc.pot: Regenerated.
78133
78134 2012-06-21 Andreas Jaeger <aj@suse.de>
78135
78136 [BZ #12194]
78137 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
78138 warning.
78139 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
78140 * bits/byteswap-16.h (__bswap_16): Likewise.
78141 * bits/byteswap.h (__bswap_constant_16): Likewise.
78142
78143 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
78144
78145 [BZ #14117]
78146 * sysdeps/i386/fpu_control.h: Removed.
78147 * sysdeps/x86_64/fpu_control.h: Moved to ...
78148 * sysdeps/x86/fpu_control.h: Here.
78149
78150 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
78151 (_FPU_SETCW): Likewise.
78152
78153 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
78154
78155 [BZ #14117]
78156 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
78157 * sysdeps/x86/fpu/bits/mathinline.h: This.
78158 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
78159
78160 [BZ #14050]
78161 [BZ #14117]
78162 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
78163 functions if __x86_64__ is defined.
78164
78165 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
78166
78167 * string/endian.h: Add !__ASSEMBLER__ condition for including
78168 conversion interfaces.
78169
78170 2012-06-15 Joseph Myers <joseph@codesourcery.com>
78171
78172 [BZ #14241]
78173 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
78174 of ABS(x) in calculating zero to negative powers other than odd
78175 integers.
78176 * math/libm-test.inc (pow_test): Add more tests.
78177
78178 2012-06-15 Andreas Jaeger <aj@suse.de>
78179
78180 * manual/contrib.texi (Contributors): Update entry of Liubov
78181 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
78182 Machado Filho.
78183
78184 2012-06-15 Cyril Hrubis <metan@ucw.cz>
78185
78186 * string/string.h: Add __wur to GNU version of strerror_r.
78187
78188 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
78189
78190 [BZ #14229]
78191 * string/Makefile (tests): Add tst-strtok_r.
78192 * string/tst-strtok_r.c: New file.
78193 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
78194 RAX_LP/RDX_LP on SAVE_PTR.
78195
78196 2012-06-14 Roland McGrath <roland@hack.frob.com>
78197
78198 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
78199
78200 2012-06-14 Joseph Myers <joseph@codesourcery.com>
78201
78202 * libm_test.inc (csqrt_test): Allow more spurious underflow
78203 exceptions.
78204 (j0_test): Likewise.
78205 (j1_test): Likewise.
78206 (y0_test): Likewise.
78207 (y1_test): Likewise.
78208
78209 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
78210
78211 * po/Makefile (libc.pot): Use UTF-8 charset.
78212
78213 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
78214
78215 [BZ #14210]
78216 Suppress sign-conversion warning from FD_SET.
78217 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
78218 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
78219 not unsigned long int.
78220 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
78221
78222 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
78223
78224 [BZ #14050]
78225 [BZ #14117]
78226 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
78227 __extern_always_inline instead of __extern_inline.
78228 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
78229 (__signbit): Likewise.
78230 (__signbitl): Support C++ namespace.
78231 (lrintf): New inline function.
78232 (lrint): Likewise.
78233 (llrintf): Likewise.
78234 (llrint): Likewise.
78235 (fmaxf): Likewise.
78236 (fmax): Likewise.
78237 (fminf): Likewise.
78238 (fmin): Likewise.
78239 (rint): Likewise.
78240 (rintf): Likewise.
78241 (ceil): Likewise.
78242 (ceilf): Likewise.
78243 (floor): Likewise.
78244 (floorf): Likewise.
78245 (nearbyint): Likewise.
78246 (nearbyintf): Likewise.
78247
78248 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
78249
78250 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
78251 non-default versions.
78252
78253 2012-06-11 Roland McGrath <roland@hack.frob.com>
78254
78255 [BZ #14218]
78256 * manual/argp.texi (Argp): Reword argp_parse description slightly.
78257
78258 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
78259
78260 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
78261 (FE_UPWARD, FE_DOWNWARD): Don't define.
78262 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
78263 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
78264
78265 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
78266 reading it.
78267 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
78268 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78269
78270 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
78271
78272 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
78273 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
78274 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
78275 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
78276
78277 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
78278
78279 [BZ #14117]
78280 * sysdeps/i386/fpu/bits/fenv.h: Removed.
78281 * sysdeps/i386/fpu/Implies: New file.
78282 * sysdeps/x86_64/fpu/Implies: Likewise.
78283 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
78284 * sysdeps/x86/fpu/bits/fenv.h: This.
78285
78286 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
78287 __SSE_MATH__.
78288
78289 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
78290
78291 [BZ #14134]
78292 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
78293 character 0xffff that matches the last element of the
78294 conversion table.
78295
78296 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78297
78298 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
78299 fmodl commit.
78300
78301 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78302
78303 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
78304 values higher than 25.6283.
78305
78306 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78307
78308 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
78309 subnormal exponent extraction and add some __builtin_expect.
78310 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
78311 Fix for subnormal mantissa calculation.
78312
78313 2012-06-04 Mike Frysinger <vapier@gentoo.org>
78314
78315 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
78316 cpu2 is -1 and errno is not ENOSYS.
78317
78318 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
78319
78320 [BZ #14117]
78321 * sysdeps/i386/i486/bits/string.h: Renamed to ...
78322 * sysdeps/x86/bits/string.h: This.
78323 * sysdeps/x86_64/bits/string.h: Removed.
78324
78325 * sysdeps/i386/i486/bits/string.h: Define inline functions only
78326 if not compiling for x86-64, but compiling for >= i486.
78327
78328 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
78329 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
78330
78331 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
78332 New macro from Linux kernel 3.4.0.
78333 (FP_XSTATE_MAGIC2): Likewise.
78334 (FP_XSTATE_MAGIC2_SIZE): Likewise.
78335 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
78336 (struct _fpx_sw_bytes): New struct.
78337 (struct _xsave_hdr): Likewise.
78338 (struct _ymmh_state): Likewise.
78339 (struct _xstate): Likewise.
78340
78341 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
78342 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
78343 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
78344 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
78345 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
78346 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
78347
78348 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
78349 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
78350 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
78351 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
78352 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
78353 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
78354
78355 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
78356
78357 [BZ #13743]
78358 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
78359 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
78360 (sysdep_headers): Include sys/platform/ppc.h.
78361 * sysdeps/powerpc/test-gettimebase.c: Test for
78362 __ppc_get_timebase() to catch future ISA opcode/insn changes.
78363 * manual/Makefile (appendices): Include platform.texi.
78364 * manual/contrib.texi (Contributors): Update @node pointers.
78365 * manual/maint.texi (Maintenance): Likewise.
78366 (Platform): New node.
78367 * manual/platform.texi: New file. Document the new features.
78368
78369 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
78370 Jakub Jelinek <jakub@redhat.com>
78371
78372 [BZ #14188]
78373 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
78374 where __builtin_expect is unavailable.
78375
78376 2012-06-03 David S. Miller <davem@davemloft.net>
78377
78378 * stdlib/longlong.h: Updated from GCC.
78379
78380 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
78381
78382 [BZ #14042]
78383 * sysdeps/powerpc/powerpc32/mcount.c: New file.
78384 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
78385 __mcount_internal.
78386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
78387 (GLIBC_2.16): Likewise.
78388
78389 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
78390
78391 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
78392
78393 2012-06-01 Joseph Myers <joseph@codesourcery.com>
78394
78395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
78396 (default-abi): New variable.
78397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
78398 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
78399 variable.
78400 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
78401 Likewise.
78402 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
78403 Likewise.
78404 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
78405 Likewise.
78406
78407 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
78408 definition. Document in comment.
78409
78410 2012-06-01 David S. Miller <davem@davemloft.net>
78411
78412 * stdlib/longlong.h: Updated from GCC.
78413
78414 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
78415
78416 [BZ #14117]
78417 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
78418 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
78419 sys/debugreg.h sys/io.h here.
78420 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
78421 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
78422 sys/io.h.
78423 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
78424 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
78425 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
78426 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
78427 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
78428 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
78429
78430 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
78431 Define only if __x86_64__ is defined.
78432
78433 2012-06-01 Joseph Myers <joseph@codesourcery.com>
78434
78435 [BZ #14048]
78436 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
78437 Use int64_t for variable i.
78438 * math/libm-test.inc (fmod_test): Add more tests.
78439
78440 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
78441 z computation is not scheduled after fetestexcept.
78442 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
78443 Use math_force_eval instead of asm to ensure calculation scheduled
78444 before exception test.
78445 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
78446 Ensure a1 + u.d computation is not scheduled after fetestexcept.
78447
78448 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
78449
78450 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
78451 computation is not scheduled after fetestexcept.
78452
78453 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
78454
78455 [BZ #14117]
78456 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
78457 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
78458
78459 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78460
78461 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
78462 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
78463
78464 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
78465
78466 [BZ #14117]
78467 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
78468 <bits/wordsize.h>.
78469 (__WCHAR_MIN): Support __WORDSIZE == 64.
78470 (__WCHAR_MAX): Likewise.
78471
78472 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
78473 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
78474
78475 [BZ #14183]
78476 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
78477 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
78478
78479 [BZ #14117]
78480 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
78481 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
78482
78483 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
78484 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
78485
78486 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
78487 Defined to 1 if __x86_64__ isn't defined.
78488 (_STAT_VER_LINUX_OLD): New.
78489 (st_atime): Remove duplicate.
78490 (st_mtime): Likewise.
78491 (st_ctime): Likewise.
78492
78493 2012-05-31 David S. Miller <davem@davemloft.net>
78494
78495 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
78496 entries.
78497
78498 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
78499
78500 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
78501 gen-libm-test.pl.
78502
78503 [BZ #14132]
78504 * elf/dl-reloc.c: Include <_itoa.h>.
78505 (_dl_reloc_bad_type): Remove use of INTUSE.
78506 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
78507 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
78508 * stdio-common/psiginfo.c (psiginfo): Likewise.
78509 * stdio-common/psignal.c (psignal): Likewise.
78510 * string/strsignal.c (strsignal): Likewise.
78511 * include/signal.h (_sys_siglist): Declare hidden proto.
78512 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
78513 INTVARDEF with libc_hidden_data_def.
78514 * stdio-common/itoa-udigits.c: Likewise.
78515 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
78516 (_itoa_lower_digits_internal): Remove declaration.
78517 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
78518 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
78519 (_sys_sigabbrev_internal): Remove aliases.
78520 (_sys_siglist): Define hidden alias.
78521
78522 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
78523
78524 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78525 bits/sysctl.h.
78526
78527 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
78528
78529 [BZ #14117]
78530 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
78531 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
78532
78533 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
78534 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
78535 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
78536 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
78537 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
78538 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
78539
78540 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
78541 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
78542 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
78543
78544 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
78545 with __addr.
78546 (insw): Likewise.
78547 (insl): Likewise.
78548 (outsb): Likewise.
78549 (outsw): Likewise.
78550 (outsl): Likewise.
78551
78552 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
78553 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
78554 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
78555
78556 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
78557 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
78558 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
78559 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
78560 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
78561 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
78562
78563 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
78564 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
78565
78566 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
78567 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
78568
78569 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
78570 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
78571 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
78572
78573 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
78574 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
78575 to ...
78576 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
78577
78578 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
78579 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
78580 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
78581
78582 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
78583 for x86-64.
78584 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
78585
78586 2012-05-31 Joseph Myers <joseph@codesourcery.com>
78587
78588 * math/math.h (M_El): Use two more decimal places.
78589 (M_LOG2El): Likewise.
78590 (M_LOG10El): Likewise.
78591 (M_LN2l): Likewise.
78592 (M_LN10l): Likewise.
78593 (M_PIl): Likewise.
78594 (M_PI_2l): Likewise.
78595 (M_PI_4l): Likewise.
78596 (M_1_PIl): Likewise.
78597 (M_2_PIl): Likewise.
78598 (M_2_SQRTPIl): Likewise.
78599 (M_SQRT2l): Likewise.
78600 (M_SQRT1_2l): Likewise.
78601
78602 2012-05-31 David S. Miller <davem@davemloft.net>
78603
78604 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
78605 values between float registers.
78606 * sysdeps/sparc/sparc64/memset.S: Likewise.
78607 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
78608
78609 2012-05-31 Mike Frysinger <vapier@gentoo.org>
78610
78611 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
78612 -D_FORTIFY_SOURCE=1.
78613 (CPPFLAGS-tst-longjmp_chk.c): Define.
78614 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
78615 (CPPFLAGS-tst-longjmp_chk2.c): Define.
78616 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
78617 CFLAGS-tst-wchar-h.c.
78618
78619 2012-05-31 Marek Polacek <polacek@redhat.com>
78620
78621 [BZ #14132]
78622 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
78623 __endmntent_internal): Remove declaration.
78624 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
78625 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
78626 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
78627
78628 2012-05-30 David S. Miller <davem@davemloft.net>
78629
78630 * sysdeps/sparc/sparc32/soft-fp/q_util.c
78631 (___Q_simulate_exceptions): Use real FP ops rather than writing
78632 into the %fsr.
78633 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
78634 Likewise.
78635
78636 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
78637
78638 [BZ #14117]
78639 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
78640 * sysdeps/x86/bits/xtitypes.h: This.
78641
78642 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
78643 * sysdeps/x86/bits/wordsize.h: This.
78644
78645 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
78646 * sysdeps/x86/bits/huge_vall.h: This.
78647
78648 * sysdeps/i386/bits/select.h: Removed.
78649 * sysdeps/x86_64/bits/select.h: Renamed to ...
78650 * sysdeps/x86/bits/select.h: This.
78651
78652 * sysdeps/i386/bits/setjmp.h: Removed.
78653 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
78654 * sysdeps/x86/bits/setjmp.h: This.
78655
78656 * sysdeps/i386/bits/mathdef.h: Removed.
78657 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
78658 * sysdeps/x86/bits/mathdef.h: This.
78659
78660 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
78661
78662 [BZ #14132]
78663 * include/sys/socket.h (__connect_internal)
78664 (__libc_sa_len_internal): Remove declaration.
78665 (__connect, __libc_sa_len): Declare hidden_proto.
78666 (SA_LEN): Remove use of INTUSE.
78667 * socket/connect.c: Add libc_hidden_def.
78668 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
78669 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
78670 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
78671 alias.
78672 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
78673 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
78674 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
78675 of adding _internal alias.
78676
78677 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
78678
78679 [BZ #14117]
78680 * sysdeps/i386/bits/link.h: Removed.
78681 * sysdeps/i386/bits/linkmap.h: Likewise.
78682 * sysdeps/x86_64/bits/link.h: Renamed to ...
78683 * sysdeps/x86/bits/link.h: This.
78684 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
78685 * sysdeps/x86/bits/linkmap.h: This.
78686
78687 * sysdeps/i386/bits/endian.h: Removed.
78688 * sysdeps/x86_64/bits/endian.h: Renamed to ...
78689 * sysdeps/x86/bits/endian.h: This.
78690
78691 * sysdeps/i386/bits/byteswap.h: Removed.
78692 * sysdeps/i386/bits/byteswap-16.h: Likewise.
78693 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
78694 * sysdeps/x86/bits/byteswap.h: This.
78695 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
78696 * sysdeps/x86/bits/byteswap-16.h: This.
78697 * sysdeps/i386/Implies: Add x86.
78698 * sysdeps/x86_64/Implies: Likewise.
78699
78700 2012-05-30 David S. Miller <davem@davemloft.net>
78701
78702 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
78703 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
78704 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
78705 (FP_TRAPPING_EXCEPTIONS): Define.
78706 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
78707 (FP_TRAPPING_EXCEPTIONS): Define.
78708 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
78709 subnormals only when inexact has been signalled or underflow
78710 exceptions are enabled.
78711 (_FP_PACK_CANONICAL): Likewise.
78712
78713 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
78714
78715 [BZ #14183]
78716 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
78717 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
78718
78719 2012-05-30 Richard Henderson <rth@twiddle.net>
78720
78721 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
78722 with #ifndef NOT_IN_libc.
78723
78724 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
78725 marked to avoid plt entry.
78726
78727 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
78728
78729 [BZ #14112]
78730 * Makeconfig (default-abi): New macro.
78731 (abi-includes): Likewise.
78732 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
78733 $(abi-$(default-abi)-lib-soname) for soname if defined.
78734 ($(common-objpfx)gnu/lib-names.stmp): Generate from
78735 abi-variants.
78736 * Makefile (installed-stubs): Likewise.
78737 * include/stubs-biarch.h: Removed.
78738 * scripts/lib-names.awk: Only handle one library at a time.
78739 * scripts/soversions.awk: Remove WORDSIZE support.
78740 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
78741 entries.
78742 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
78743 Removed.
78744 (syscall-list-default-condition): Likewise.
78745 (syscall-list-default-condition): Likewise.
78746 (syscall-list-includes): Likewise.
78747 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
78748 syscall-list-* with abi-*. Handle undefined abi-variants.
78749 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
78750 * sysdeps/unix/sysv/linux/i386/Implies: New file.
78751 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
78752 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
78753 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
78754 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
78755 Removed.
78756 (syscall-list-32-options): Likewise.
78757 (syscall-list-32-condition): Likewise.
78758 (syscall-list-64-options): Likewise.
78759 (syscall-list-64-condition): Likewise.
78760 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
78761 macro.
78762 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
78763 Renamed to ...
78764 (abi-*): This.
78765 (abi-64-ld-soname): New macro.
78766 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
78767 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
78768 Renamed to ...
78769 (abi-*): This.
78770 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
78771 * sysdeps/x86_64/x32/shlib-versions: Likewise.
78772
78773 2012-05-30 Joseph Myers <joseph@codesourcery.com>
78774
78775 * sysdeps/unix/sysv/linux/kernel-features.h
78776 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
78777 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
78778 include <kernel-features.h>.
78779 [!__NR_ftruncate64]: Remove conditional code.
78780 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78781 [__NR_ftruncate64]: Make code unconditional.
78782 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78783 * sysdeps/unix/sysv/linux/truncate64.c: Do not
78784 include <kernel-features.h>.
78785 [!__NR_ftruncate64]: Remove conditional code.
78786 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78787 [__NR_ftruncate64]: Make code unconditional.
78788 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
78790 include <kernel-features.h>.
78791 [!__NR_ftruncate64]: Remove conditional code.
78792 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78793 [__NR_ftruncate64]: Make code unconditional.
78794 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
78796 include <kernel-features.h>.
78797 [!__NR_ftruncate64]: Remove conditional code.
78798 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78799 [__NR_ftruncate64]: Make code unconditional.
78800 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78801
78802 * configure.in (libc_cv_fpie): Weaken to a compile test using
78803 LIBC_TRY_CC_OPTION.
78804 * configure: Regenerated.
78805
78806 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
78807
78808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
78809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
78810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
78811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
78812 Refreshed.
78813 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
78814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
78815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
78816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
78817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
78818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
78819 Refreshed.
78820
78821 2012-05-27 David S. Miller <davem@davemloft.net>
78822
78823 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
78824 (___Q_zero): New.
78825 (__Q_simulate_exceptions): Return void. Change to simulate
78826 exceptions by writing into the %fsr.
78827 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
78828 (__Qp_handle_exceptions): Likewise.
78829 (numbers): Delete.
78830 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
78831 __Qp_handle_exceptions.
78832 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
78833 __Qp_handle_exceptions.
78834 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
78835 as unused and give dummy FP_RND_NEAREST initializer.
78836 (FP_INHIBIT_RESULTS): Define.
78837 (___Q_simulate_exceptions): Update declaration.
78838 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
78839 formatting.
78840 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
78841 as unused and give dummy FP_RND_NEAREST initializer.
78842 (__Qp_handle_exceptions): Update declaration.
78843 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
78844 formatting.
78845
78846 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
78847
78848 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
78849 the temporary FPU control word.
78850 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
78851 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
78852 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
78853 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
78854 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
78855 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
78856 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
78857 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
78858 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
78859 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
78860 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78861
78862 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
78863
78864 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
78865 fields.
78866
78867 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
78868
78869 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
78870 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
78871 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
78872 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
78873 Likewise.
78874 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
78875 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
78876 Likewise.
78877
78878 2012-05-27 Ulrich Drepper <drepper@gmail.com>
78879
78880 * po/h.po: Update from translation team.
78881
78882 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
78883
78884 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
78885
78886 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
78887 handling of denormals.
78888 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
78889 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
78890 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
78891 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
78892 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
78893 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
78894 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
78895 Likewise.
78896
78897 2012-05-26 Marek Polacek <polacek@redhat.com>
78898
78899 [BZ #14152]
78900 * math/libm-test.inc (fma_test): Don't always expect underflow
78901 exception.
78902
78903 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
78904
78905 [BZ #12416]
78906 * elf/tst-execstack.c: Include stackinfo.h.
78907 (do_test): Adjust test case to ensure that pthread_getattr_np
78908 behaviour remains the same after marking stack executable.
78909
78910 2012-05-25 Joseph Myers <joseph@codesourcery.com>
78911
78912 * sysdeps/unix/sysv/linux/kernel-features.h
78913 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
78914 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
78915 kernel-features.h.
78916 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
78917 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
78918 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
78919 kernel-features.h.
78920 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
78921 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
78922
78923 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
78924
78925 * configure.in: Define the default includes to being none.
78926 * configure: Regenerated.
78927
78928 2012-05-25 Roland McGrath <roland@hack.frob.com>
78929
78930 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
78931 * sysdeps/x86_64/setjmp.S: Likewise.
78932 * sysdeps/i386/bsd-setjmp.S: Likewise.
78933 * sysdeps/i386/bsd-_setjmp.S: Likewise.
78934 * sysdeps/i386/setjmp.S: Likewise.
78935 * sysdeps/i386/__longjmp.S: Likewise.
78936 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
78937 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
78938
78939 * include/stap-probe.h: New file.
78940 * configure.in: Handle --enable-systemtap.
78941 * configure: Regenerated.
78942 * config.h.in (USE_STAP_PROBE): New #undef.
78943 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
78944 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
78945 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
78946
78947 2012-05-25 Joseph Myers <joseph@codesourcery.com>
78948
78949 [BZ #13717]
78950 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
78951 to 2.4.0 where earlier.
78952 * sysdeps/unix/sysv/linux/configure: Regenerated.
78953 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
78954 <kernel-features.h>.
78955 [__ASSUME_32BITUIDS]: Make code unconditional.
78956 [!__ASSUME_32BITUIDS]: Remove conditional code.
78957 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
78958 <kernel-features.h>.
78959 [__ASSUME_32BITUIDS]: Make code unconditional.
78960 [!__ASSUME_32BITUIDS]: Remove conditional code.
78961 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
78962 [__ASSUME_32BITUIDS]: Make code unconditional.
78963 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
78964 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
78965 <kernel-features.h>.
78966 [__ASSUME_32BITUIDS]: Make code unconditional.
78967 [!__ASSUME_32BITUIDS]: Remove conditional code.
78968 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
78969 <kernel-features.h>.
78970 [__ASSUME_32BITUIDS]: Make code unconditional.
78971 [!__ASSUME_32BITUIDS]: Remove conditional code.
78972 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
78973 <kernel-features.h>.
78974 [__ASSUME_32BITUIDS]: Make code unconditional.
78975 [!__ASSUME_32BITUIDS]: Remove conditional code.
78976 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
78977 <kernel-features.h>.
78978 [__ASSUME_32BITUIDS]: Make code unconditional.
78979 [!__ASSUME_32BITUIDS]: Remove conditional code.
78980 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
78981 <kernel-features.h>.
78982 [__ASSUME_32BITUIDS]: Make code unconditional.
78983 [!__ASSUME_32BITUIDS]: Remove conditional code.
78984 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
78985 <kernel-features.h>.
78986 [__ASSUME_32BITUIDS]: Make code unconditional.
78987 [!__ASSUME_32BITUIDS]: Remove conditional code.
78988 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
78989 <kernel-features.h>.
78990 [__ASSUME_32BITUIDS]: Make code unconditional.
78991 [!__ASSUME_32BITUIDS]: Remove conditional code.
78992 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
78993 <kernel-features.h>.
78994 [__ASSUME_32BITUIDS]: Make code unconditional.
78995 [!__ASSUME_32BITUIDS]: Remove conditional code.
78996 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
78997 <kernel-features.h>.
78998 [__ASSUME_32BITUIDS]: Make code unconditional.
78999 [!__ASSUME_32BITUIDS]: Remove conditional code.
79000 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
79001 <kernel-features.h>.
79002 [__ASSUME_32BITUIDS]: Make code unconditional.
79003 [!__ASSUME_32BITUIDS]: Remove conditional code.
79004 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
79005 <kernel-features.h>.
79006 [__NR_setresgid] (__setresgid): Do not declare.
79007 [__ASSUME_32BITUIDS]: Make code unconditional.
79008 [!__ASSUME_32BITUIDS]: Remove conditional code.
79009 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
79010 <kernel-features.h>.
79011 [__NR_setresuid] (__setresuid): Do not declare.
79012 [__ASSUME_32BITUIDS]: Make code unconditional.
79013 [!__ASSUME_32BITUIDS]: Remove conditional code.
79014 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
79015 <kernel-features.h>.
79016 [__ASSUME_32BITUIDS]: Make code unconditional.
79017 [!__ASSUME_32BITUIDS]: Remove conditional code.
79018 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
79019 <kernel-features.h>.
79020 [__ASSUME_32BITUIDS]: Make code unconditional.
79021 [!__ASSUME_32BITUIDS]: Remove conditional code.
79022 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
79023 <kernel-features.h>.
79024 [__ASSUME_32BITUIDS]: Make code unconditional.
79025 [!__ASSUME_32BITUIDS]: Remove conditional code.
79026 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
79027 <kernel-features.h>.
79028 [__ASSUME_32BITUIDS]: Make code unconditional.
79029 [!__ASSUME_32BITUIDS]: Remove conditional code.
79030 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
79031 <kernel-features.h>.
79032 [__ASSUME_32BITUIDS]: Make code unconditional.
79033 [!__ASSUME_32BITUIDS]: Remove conditional code.
79034 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
79035 <kernel-features.h>.
79036 [__ASSUME_32BITUIDS]: Make code unconditional.
79037 [!__ASSUME_32BITUIDS]: Remove conditional code.
79038 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
79039 <kernel-features.h>.
79040 [__ASSUME_32BITUIDS]: Make code unconditional.
79041 [!__ASSUME_32BITUIDS]: Remove conditional code.
79042 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
79043 <kernel-features.h>.
79044 [__ASSUME_32BITUIDS]: Make code unconditional.
79045 [!__ASSUME_32BITUIDS]: Remove conditional code.
79046 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
79047 <kernel-features.h>.
79048 [__ASSUME_32BITUIDS]: Make code unconditional.
79049 [!__ASSUME_32BITUIDS]: Remove conditional code.
79050 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
79051 <kernel-features.h>.
79052 [__ASSUME_32BITUIDS]: Make code unconditional.
79053 [!__ASSUME_32BITUIDS]: Remove conditional code.
79054 * sysdeps/unix/sysv/linux/kernel-features.h
79055 (__ASSUME_SETRESUID_SYSCALL): Remove.
79056 (__ASSUME_SETRESGID_SYSCALL): Likewise.
79057 (__ASSUME_32BITUIDS): Likewise.
79058 (__ASSUME_LDT_WORKS): Likewise.
79059 (__ASSUME_O_DIRECTORY): Likewise.
79060 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
79061 architecture but not kernel version.
79062 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
79063 (__ASSUME_MMAP2_SYSCALL): Likewise.
79064 (__ASSUME_STAT64_SYSCALL): Likewise.
79065 (__ASSUME_IPC64): Likewise.
79066 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
79067 <kernel-features.h>.
79068 [__ASSUME_32BITUIDS]: Make code unconditional.
79069 [!__ASSUME_32BITUIDS]: Remove conditional code.
79070 * sysdeps/unix/sysv/linux/opendir.c: Do not include
79071 <kernel-features.h>.
79072 [__ASSUME_O_DIRECTORY]: Make code unconditional.
79073 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
79074 132096]: Remove conditional code.
79075 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
79076 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
79077 <kernel-features.h>.
79078 [__ASSUME_32BITUIDS]: Make code unconditional.
79079 [!__ASSUME_32BITUIDS]: Remove conditional code.
79080 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
79081 <kernel-features.h>.
79082 [__ASSUME_32BITUIDS]: Make code unconditional.
79083 [!__ASSUME_32BITUIDS]: Remove conditional code.
79084 * sysdeps/unix/sysv/linux/setegid.c: Do not include
79085 <kernel-features.h>.
79086 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
79087 unconditional.
79088 (__setresgid): Do not declare.
79089 [__ASSUME_32BITUIDS]: Make code unconditional.
79090 [!__ASSUME_32BITUIDS]: Remove conditional code.
79091 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
79092 <kernel-features.h>.
79093 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
79094 unconditional.
79095 (__setresuid): Do not declare.
79096 [__ASSUME_32BITUIDS]: Make code unconditional.
79097 [!__ASSUME_32BITUIDS]: Remove conditional code.
79098 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
79099 <kernel-features.h>.
79100 [__ASSUME_32BITUIDS]: Make code unconditional.
79101 [!__ASSUME_32BITUIDS]: Remove conditional code.
79102 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
79103 <kernel-features.h>.
79104 [__ASSUME_32BITUIDS]: Make code unconditional.
79105 [!__ASSUME_32BITUIDS]: Remove conditional code.
79106
79107 2012-05-25 Richard Henderson <rth@twiddle.net>
79108
79109 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
79110 dl_hwcap to ifunc resolver.
79111 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
79112 elf_ifunc_invoke.
79113 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
79114 dl_hwcap to ifunc resolver.
79115 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
79116
79117 2012-05-24 Joseph Myers <joseph@codesourcery.com>
79118
79119 [BZ #14153]
79120 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
79121 for |x| <= 2**-26, not 2**-57.
79122 * math/libm-test.inc (acos_test): Do not allow spurious underflow
79123 exception.
79124
79125 2012-05-24 Jeff Law <law@redhat.com>
79126
79127 * stdio-common/Makefile (tests): Add bug25.
79128 * stdio-common/bug25.c: New test.
79129
79130 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
79131
79132 [BZ #13576]
79133 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
79134 multiple of MALLOC_ALIGNMENT in size.
79135 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
79136
79137 2012-05-24 Joseph Myers <joseph@codesourcery.com>
79138
79139 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
79140 Require >= 256.
79141 (FILENAME_MAX): Use macro-int-constant.
79142 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
79143 (_IOFBF): Use macro-int-constant.
79144 (_IOLBF): Likewise.
79145 (_IONBF): Likewise.
79146 (SEEK_CUR): Likewise.
79147 (SEEK_END): Likewise.
79148 (SEEK_SET): Likewise.
79149 (TMP_MAX): Likewise.
79150 (EOF): Use macro-int-constant. Require < 0.
79151 (NULL): Use macro-constant. Require == 0.
79152 (stdin): Require type to be FILE *.
79153 (stdout): Likewise.
79154 (stderr): Likewise.
79155 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
79156 macro-int-constant.
79157 (EXIT_SUCCESS): Likewise.
79158 (NULL): Use macro-constant. Require == 0.
79159 (RAND_MAX): Use macro-int-constant.
79160 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
79161 [C99-based standards] (strtof): Require function.
79162 [C99-based standards] (strtold): Likewise.
79163 [C99-based standards] (strtoll): Likewise.
79164 [C99-based standards] (strtoull): Likewise.
79165 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
79166 [ISO || ISO99 || ISO11] (limits.h): Likewise.
79167 [ISO || ISO99 || ISO11] (math.h): Likewise.
79168 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
79169 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
79170 [ISO || ISO99 || ISO11] (*_t): Do not allow.
79171
79172 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
79173
79174 [BZ #14132]
79175 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
79176 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
79177 * intl/dgettext.c (DCGETTEXT): Likewise.
79178 * intl/gettext.c (DCGETTEXT): Likewise.
79179 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
79180 * posix/regex_internal.h (gettext): Likewise.
79181 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
79182 Remove declaration.
79183 * include/argz.h (__argz_count_internal)
79184 (__argz_stringify_internal): Remove declaration.
79185 (__argz_count, __argz_stringify): Declare hidden proto.
79186 * intl/dcgettext.c: Remove use of INTDEF.
79187 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
79188 * string/argz-stringify.c: Likewise.
79189 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
79190 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
79191 Declare hidden proto.
79192 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
79193 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
79194 Declare hidden proto.
79195 * include/stdio.h (__asprintf_internal): Don't declare.
79196 (__asprintf): Don't define as macro. Declare hidden proto.
79197 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
79198 (__fsetlocking): Declare hidden proto.
79199 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
79200 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
79201 hidden proto.
79202 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
79203 (_IO_setlinebuf): Remove use of INTUSE.
79204 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
79205 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
79206 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
79207 Remove declaration.
79208 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
79209 (_IO_do_flush): Remove use of INTUSE.
79210 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
79211 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
79212 (_IO_adjust_column, _IO_least_wmarker)
79213 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
79214 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
79215 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
79216 (_IO_default_doallocate, _IO_wdefault_doallocate)
79217 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
79218 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
79219 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
79220 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
79221 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
79222 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
79223 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
79224 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
79225 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
79226 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
79227 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
79228 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
79229 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
79230 proto.
79231 (_IO_flush_all_internal, _IO_adjust_column_internal)
79232 (_IO_default_uflow_internal, _IO_default_finish_internal)
79233 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
79234 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
79235 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
79236 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
79237 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
79238 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
79239 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
79240 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
79241 (_IO_file_close_internal, _IO_file_close_it_internal)
79242 (_IO_file_underflow_internal, _IO_file_overflow_internal)
79243 (_IO_file_init_internal, _IO_file_attach_internal)
79244 (_IO_file_fopen_internal, _IO_file_read_internal)
79245 (_IO_file_sync_internal, _IO_file_seek_internal)
79246 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
79247 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
79248 (_IO_str_underflow_internal, _IO_str_overflow_internal)
79249 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
79250 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
79251 (_IO_list_all_internal, _IO_link_in_internal)
79252 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
79253 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
79254 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
79255 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
79256 (_IO_do_write_internal, _IO_padn_internal)
79257 (_IO_getline_info_internal, _IO_getline_internal)
79258 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
79259 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
79260 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
79261 (_IO_vfscanf_internal, _IO_vfprintf_internal)
79262 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
79263 (_IO_init_internal, _IO_un_link_internal): Don't declare.
79264 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
79265 with libc_hidden_ver, remove use of INTUSE.
79266 * libio/genops.c: Likewise.
79267 * libio/freopen.c: Likewise.
79268 * libio/freopen64.c: Likewise.
79269 * libio/iofclose.c: Likewise.
79270 * libio/iofdopen.c: Likewise.
79271 * libio/iofflush.c: Likewise.
79272 * libio/iofflush_u.c: Likewise.
79273 * libio/iofgets.c: Likewise.
79274 * libio/iofgets_u.c: Likewise.
79275 * libio/iofopen.c: Likewise.
79276 * libio/iofopncook.c: Likewise.
79277 * libio/iofread.c: Likewise.
79278 * libio/iofread_u.c: Likewise.
79279 * libio/ioftell.c: Likewise.
79280 * libio/iofwrite.c: Likewise.
79281 * libio/iogetline.c: Likewise.
79282 * libio/iogets.c: Likewise.
79283 * libio/iogetwline.c: Likewise.
79284 * libio/iopadn.c: Likewise.
79285 * libio/iopopen.c: Likewise.
79286 * libio/ioseekoff.c: Likewise.
79287 * libio/ioseekpos.c: Likewise.
79288 * libio/iosetbuffer.c: Likewise.
79289 * libio/iosetvbuf.c: Likewise.
79290 * libio/ioungetc.c: Likewise.
79291 * libio/ioungetwc.c: Likewise.
79292 * libio/iovdprintf.c: Likewise.
79293 * libio/iovsprintf.c: Likewise.
79294 * libio/iovsscanf.c: Likewise.
79295 * libio/memstream.c: Likewise.
79296 * libio/obprintf.c: Likewise.
79297 * libio/oldfileops.c: Likewise.
79298 * libio/oldiofclose.c: Likewise.
79299 * libio/oldiofdopen.c: Likewise.
79300 * libio/oldiofopen.c: Likewise.
79301 * libio/oldiopopen.c: Likewise.
79302 * libio/oldstdfiles.c: Likewise.
79303 * libio/putc.c: Likewise.
79304 * libio/setbuf.c: Likewise.
79305 * libio/setlinebuf.c: Likewise.
79306 * libio/stdfiles.c: Likewise.
79307 * libio/strops.c: Likewise.
79308 * libio/vasprintf.c: Likewise.
79309 * libio/vscanf.c: Likewise.
79310 * libio/vsnprintf.c: Likewise.
79311 * libio/vswprintf.c: Likewise.
79312 * libio/wfiledoalloc.c: Likewise.
79313 * libio/wfileops.c: Likewise.
79314 * libio/wgenops.c: Likewise.
79315 * libio/wmemstream.c: Likewise.
79316 * libio/wstrops.c: Likewise.
79317 * libio/__fpurge.c: Likewise.
79318 * libio/__fsetlocking.c: Likewise.
79319 * assert/assert.c: Likewise.
79320 * debug/fgets_chk.c: Likewise.
79321 * debug/fgets_u_chk.c: Likewise.
79322 * debug/fread_chk.c: Likewise.
79323 * debug/fread_u_chk.c: Likewise.
79324 * debug/gets_chk.c: Likewise.
79325 * debug/obprintf_chk.c: Likewise.
79326 * debug/vasprintf_chk.c: Likewise.
79327 * debug/vdprintf_chk.c: Likewise.
79328 * debug/vsnprintf_chk.c: Likewise.
79329 * debug/vsprintf_chk.c: Likewise.
79330 * malloc/mtrace.c: Likewise.
79331 * misc/error.c: Likewise.
79332 * misc/syslog.c: Likewise.
79333 * stdio-common/asprintf.c: Likewise.
79334 * stdio-common/fxprintf.c: Likewise.
79335 * stdio-common/getw.c: Likewise.
79336 * stdio-common/isoc99_fscanf.c: Likewise.
79337 * stdio-common/isoc99_scanf.c: Likewise.
79338 * stdio-common/isoc99_vfscanf.c: Likewise.
79339 * stdio-common/isoc99_vscanf.c: Likewise.
79340 * stdio-common/isoc99_vsscanf.c: Likewise.
79341 * stdio-common/printf-prs.c: Likewise.
79342 * stdio-common/printf_fp.c: Likewise.
79343 * stdio-common/printf_fphex.c: Likewise.
79344 * stdio-common/printf_size.c: Likewise.
79345 * stdio-common/putw.c: Likewise.
79346 * stdio-common/scanf.c: Likewise.
79347 * stdio-common/sprintf.c: Likewise.
79348 * stdio-common/tmpfile.c: Likewise.
79349 * stdio-common/vfprintf.c: Likewise.
79350 * stdio-common/vfscanf.c: Likewise.
79351 * stdlib/strfmon_l.c: Likewise.
79352 * sunrpc/openchild.c: Likewise.
79353 * sunrpc/xdr_stdio.c: Likewise.
79354 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
79355 * sysdeps/mach/hurd/tmpfile.c: Likewise.
79356
79357 2012-05-24 Roland McGrath <roland@hack.frob.com>
79358
79359 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
79360
79361 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
79362 in the third column, to generate for the shared library an IFUNC
79363 that uses _dl_vdso_vsym.
79364 * Makerules (COMPILE.c, compile-stdin.c): New variables.
79365 * Makeconfig (object-suffixes-noshared): New variable.
79366
79367 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
79368 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
79369 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
79370 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
79371
79372 [BZ #14132]
79373 * include/sys/time.h (__gettimeofday): Remove macro.
79374 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
79375 * time/gettimeofday.c (__gettimeofday): Remove #undef.
79376 Remove INTDEF.
79377 (__gettimeofday): Add libc_hidden_def.
79378 (gettimeofday): Add libc_hidden_weak.
79379 * sysdeps/mach/gettimeofday.c: Likewise.
79380 * sysdeps/posix/gettimeofday.c: Likewise.
79381 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
79382 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
79383 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
79384 (__gettimeofday_internal): Remove strong_alias.
79385 (__gettimeofday): Add libc_hidden_def.
79386 (gettimeofday): Add libc_hidden_weak.
79387 * sysdeps/unix/syscalls.list (gettimeofday):
79388 Remove __gettimeofday_internal alias.
79389
79390 2012-05-24 Daniel Jacobowitz <drow@false.org>
79391 H.J. Lu <hongjiu.lu@intel.com>
79392
79393 [BZ #12495]
79394 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
79395 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
79396 (largebin_index_32_big): New.
79397 (largebin_index): Use it for 16-byte alignment.
79398 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
79399 correction with front_misalign.
79400
79401 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
79402
79403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
79404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
79405 Likewise.
79406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
79407 Likewise.
79408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
79409 Likewise.
79410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
79411 Likewise.
79412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
79413 Likewise.
79414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
79415 Likewise.
79416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
79417 Likewise.
79418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
79419 Likewise.
79420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
79421 Likewise.
79422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
79423 Likewise.
79424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
79425 Likewise.
79426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
79427 Likewise.
79428
79429 * scripts/data/c++-types-x32-linux-gnu.data: New file.
79430 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
79431
79432 2012-05-24 Joseph Myers <joseph@codesourcery.com>
79433
79434 [BZ #10846]
79435 [BZ #14036]
79436 * math/libm-test.inc (exp_test): Add test from bug 14036.
79437 (pow_test): Add test from bug 10846.
79438
79439 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
79440 and other flags.
79441 (special_function): Do not include flags in test name.
79442 (parse_args): Likewise.
79443 * sysdeps/i386/fpu/libm-test-ulps: Update.
79444 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
79445 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
79446 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
79447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79448
79449 * math/gen-libm-test.pl (%beautify): Add entries for underflow
79450 exceptions.
79451 * math/libm-test.inc ("Philosophy"): Update comment about
79452 exception testing.
79453 (UNDERFLOW_EXCEPTION): New macro.
79454 (UNDERFLOW_EXCEPTION_OK): Likewise.
79455 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
79456 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
79457 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
79458 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
79459 (INVALID_EXCEPTION_OK): Update value.
79460 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
79461 (OVERFLOW_EXCEPTION_OK): Likewise.
79462 (IGNORE_ZERO_INF_SIGN): Likewise.
79463 (test_exceptions): Handle underflow exceptions.
79464 (acos_test): Update for underflow exception expectations.
79465 (cexp_test): Likewise.
79466 (clog_test): Likewise.
79467 (clog10_test): Likewise.
79468 (csqrt_test): Likewise.
79469 (ctan_test): Likewise.
79470 (ctanh_test): Likewise.
79471 (exp_test): Likewise.
79472 (exp10_test): Likewise.
79473 (exp2_test): Likewise.
79474 (expm1_test): Likewise.
79475 (fma_test): Likewise.
79476 (j0_test): Likewise.
79477 (jn_test): Likewise.
79478 (nexttoward_test): Likewise.
79479 (pow_test): Likewise.
79480 (scalbn_test): Likewise.
79481 (scalbln_test): Likewise.
79482 (tan_test): Likewise.
79483 (y1_test): Likewise.
79484 * sysdeps/i386/fpu/libm-test-ulps: Update.
79485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79486
79487 2012-05-23 David S. Miller <davem@davemloft.net>
79488
79489 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
79490 (__libc_sigaction): Remove unused local variables.
79491
79492 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
79493
79494 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
79495
79496 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
79497
79498 mktime: avoid signed integer overflow
79499 * time/mktime.c (__mktime_internal): Do not mishandle the case
79500 where diff == INT_MIN.
79501
79502 mktime: simplify computation of average
79503 * time/mktime.c (ranged_convert): Use new time_t_avg function
79504 instead of rolling our own (probably-slower) code.
79505
79506 mktime: do not assume signed right shift propagates sign bit
79507 * time/mktime.c (isdst_differ): New static function.
79508 (__mktime_internal): No need to normalize tm_isdst now.
79509 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
79510 tm_isdst values.
79511
79512 mktime: merge another wrapv change from gnulib
79513 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
79514 from some compilers.
79515
79516 mktime: remove incorrect attempt at unusual arithmetics
79517 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
79518 The code didn't really work on such machines anyway.
79519 (TYPE_MINIMUM): Assume two's complement.
79520 (twos_complement_arithmetic): Verify that long_int and time_t
79521 are two's complement (or unsigned, in the latter case).
79522
79523 mktime: check signed shifts on long_int and time_t, too
79524 * time/mktime.c (SHR): Check that shifts work as desired
79525 on the types long_int and time_t too, as SHR is used on
79526 such types.
79527
79528 mktime: do not assume 'long' is wide enough
79529 * time/mktime.c (verify): Move decl up.
79530 (long_int): New type.
79531 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
79532 to remove assumption in the code that 'long' is wide enough to
79533 store year values. This assumption is not true on x32 and on
79534 some non-glibc platforms.
79535
79536 mktime: merge wrapv change from gnulib
79537 * time/mktime.c (WRAPV): New macro.
79538 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
79539 (guess_time_tm, __mktime_internal): Do not assume that signed
79540 integer overflow wraps around; modern compilers generate code
79541 where this assumption is no longer valid.
79542
79543 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
79544
79545 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
79546 Replace "jmp L(pseudo_end)" with "ret".
79547 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
79548 Likewise.
79549
79550 2012-05-23 Andreas Jaeger <aj@suse.de>
79551
79552 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
79553 * sysdeps/unix/sysv/linux/poll.c: Remove file.
79554
79555 2012-05-23 Andreas Jaeger <aj@suse.de>
79556 Maximilian Attems <max@stro.at>
79557
79558 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
79559 New macros.
79560
79561 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
79562
79563 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
79564 code so that pseudo_end is just ret and the stack pointer is
79565 correct also for static library in error case.
79566
79567 2012-05-23 Joseph Myers <joseph@codesourcery.com>
79568
79569 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
79570 move to syscalls.list.
79571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
79572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
79573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
79574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
79575
79576 * manual/install.texi (Running make install): Do not mention Linux
79577 kernel version for which pt_chown is not needed.
79578 (Linux): Do not mention problems with nscd with 2.0 kernels.
79579 * INSTALL: Regenerated.
79580
79581 2012-05-23 Andreas Jaeger <aj@suse.de>
79582
79583 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
79584 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
79585 macro.
79586 * sysdeps/unix/sysv/linux/s390/bits/mman.h
79587 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79588 * sysdeps/unix/sysv/linux/sh/bits/mman.h
79589 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79590 * sysdeps/unix/sysv/linux/i386/bits/mman.h
79591 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79592 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
79593 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79594 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
79595 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79596 * sysdeps/unix/sysv/linux/bits/in.h
79597 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
79598
79599 2012-05-22 Roland McGrath <roland@hack.frob.com>
79600
79601 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
79602 (PREPARE_VERSION): Just use assert instead, it will be elided
79603 under [NDEBUG] anyway.
79604
79605 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
79606
79607 * sysdeps/unix/sysv/linux/Makefile: Include
79608 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
79609 (sysdep_routines): Remove sysctl.
79610 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
79611 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
79612 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
79613 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
79614 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
79615
79616 2012-05-22 Andreas Jaeger <aj@suse.de>
79617
79618 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
79619 that pseudo_end is just ret and the stack pointer is correct also
79620 for static library in error case.
79621
79622 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
79623
79624 [BZ #14122]
79625 * nss/nsswitch.c (defconfig_entries): New variable.
79626 (__nss_database_lookup): Don't leak defconfig entries.
79627 (nss_parse_service_list): Don't leak on error paths.
79628 (free_database_entries): New function.
79629 (free_defconfig): New function.
79630 (free_mem): Move common code to free_database_entries.
79631
79632 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
79633
79634 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
79635 Add arch_prctl.
79636 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
79637
79638 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
79639 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
79640 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
79641 New macro.
79642 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
79643 (INTERNAL_SYSCALL_TYPES): Likewise.
79644 (LOAD_ARGS_TYPES_[1-6]): Likewise.
79645 (LOAD_REGS_TYPES_[1-6]): Likewise.
79646 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
79647 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
79648
79649 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79650
79651 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
79652 copysignl for GLIBC_2_0.
79653 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
79654 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
79655 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
79656 logbl for GLIBC_2_0.
79657 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
79658 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
79659
79660 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
79661
79662 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
79663 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
79664
79665 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
79666 Use "neg %eax".
79667
79668 * time/mktime.c: Update copyright years.
79669
79670 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
79671
79672 mktime: merge comment-quoting-style change from gnulib
79673 * time/mktime.c: Quote 'like this' in comments.
79674 The GNU coding standards suggest that we no longer quote `like this',
79675 as "`" and "'" are typically rendered asymmetrically nowadays.
79676 The typical gnulib style is to quote 'like this' when quoting
79677 code, and "like this" when quoting English.
79678
79679 * time/mktime.c (compile-command): Add "-I.".
79680
79681 mktime: merge mktime-internal.h change from gnulib
79682 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
79683
79684 mktime: merge time_r change from gnulib
79685 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
79686
79687 mktime: merge DEBUG change from gnulib
79688 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
79689 case system <time.h> has a #define.
79690
79691 mktime: merge <sys/types.h> change from gnulib
79692 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
79693 since <time.t> is now guaranteed to define time_t.
79694
79695 mktime: merge HAVE_CONFIG_H change from gnulib
79696 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
79697
79698 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
79699
79700 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
79701 Use "neg %eax".
79702
79703 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
79704 __rlim_t cast.
79705 (struct rusage): Use anonymous union to pad each field to
79706 __syscall_slong_t.
79707
79708 2012-05-21 David S. Miller <davem@davemloft.net>
79709
79710 * Makefules (o-iterator): Remove .s cases.
79711 (compile-command.s): Delete.
79712 (COMPILE.s): Delete.
79713 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
79714
79715 2012-05-21 Joseph Myers <joseph@codesourcery.com>
79716
79717 * configure.in (libc_cv_predef_stack_protector): Only consider
79718 "foobar" and "__stack_chk_fail" lines in libc_undefs.
79719 * configure: Regenerated.
79720
79721 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
79722
79723 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
79724 New macro. Use R*LP on int and pointer.
79725 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
79726 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
79727 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
79728 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
79729
79730 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
79731 [__WORDSIZE_TIME64_COMPAT32] instead of
79732 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
79733 (struct utmp): Likewise.
79734 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
79735 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
79736 Renamed to ...
79737 (__WORDSIZE_TIME64_COMPAT32): This.
79738 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
79739 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
79740 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
79741 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
79742 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
79743 (__WORDSIZE_TIME64_COMPAT32): New macro.
79744
79745 2012-05-21 Andreas Jaeger <aj@suse.de>
79746
79747 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
79748 only if [SHARED]. Add prototype for __wcschr_ia32.
79749
79750 2012-05-21 Roland McGrath <roland@hack.frob.com>
79751
79752 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
79753 of %rbp unmolested in the jmp_buf while mangling the low bits.
79754 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
79755 unmolested high bits of %rbp while demangling the low bits.
79756 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
79757
79758 2012-05-21 Andreas Jaeger <aj@suse.de>
79759
79760 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
79761 * sunrpc/svc_simple.c: Use it for registerrpc.
79762 * sunrpc/xcrypt.c: Use it for passwd2des.
79763
79764 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
79765
79766 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
79767
79768 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
79769 Don't define if [__SYSCALL_WORDSIZE != 32].
79770 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
79771 New macro.
79772
79773 2012-05-21 Bruno Haible <bruno@clisp.org>
79774 Andreas Jaeger <aj@suse.de>
79775
79776 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
79777 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
79778 inptr and inend for must_buffer_ch.
79779 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
79780 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
79781 * stdio-common/Makefile (tests): Remove bug15.
79782 (bug15-ENV): Remove macro.
79783 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
79784 anymore.
79785
79786 2012-05-19 Andreas Jaeger <aj@suse.de>
79787 Roland McGrath <roland@hack.frob.com>
79788
79789 * manual/contrib.texi: Completely rewritten. It contains now an
79790 alphabetical list of contributors and their contributions.
79791
79792 2012-05-21 Richard Henderson <rth@twiddle.net>
79793
79794 * misc/getauxval.c (__getauxval): Use unsigned long int.
79795 * misc/sys/auxv.h: Include <sys/cdefs.h>.
79796 (getauxval): Use unsigned long int.
79797
79798 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
79799
79800 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
79801
79802 2012-05-21 Roland McGrath <roland@hack.frob.com>
79803
79804 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
79805 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
79806 __alignof__ (long double).
79807
79808 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79809
79810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79811
79812 2012-05-20 Richard Henderson <rth@twiddle.net>
79813
79814 * misc/getauxval.c: New file.
79815 * misc/sys/auxv.h: New file.
79816 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
79817 (routines): Add getauxval.
79818 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
79819 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
79820 * elf/dl-sysdep.c (_dl_auxv): Remove.
79821 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
79822 * elf/dl-support.c (_dl_auxv): New variable.
79823 (_dl_aux_init): Initialize it.
79824 * manual/startup.texi (Auxiliary Vector): New node.
79825 * sysdeps/generic/bits/hwcap.h: New file.
79826 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
79827 * sysdeps/powerpc/sysdep.h: ... here. Include it.
79828 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
79829 * sysdeps/sparc/sysdep.h: ... here. Include it.
79830 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
79831 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
79832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79833 Update.
79834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
79835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
79836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
79837 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
79838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
79839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
79840 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
79841 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
79842
79843 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79844
79845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79846
79847 2012-05-19 David S. Miller <davem@davemloft.net>
79848
79849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
79850
79851 2012-05-19 Joseph Myers <joseph@codesourcery.com>
79852
79853 [BZ #14123]
79854 * math/s_ccosh.c: Include <float.h>
79855 (__ccosh): Avoid internal overflow calculating sinh and cosh
79856 values before multiplying by sin and cos values.
79857 * math/s_ccoshf.c: Likewise.
79858 * math/s_ccoshl.c: Likewise.
79859 * math/s_csin.c: Likewise.
79860 * math/s_csinf.c: Likewise.
79861 * math/s_csinl.c: Likewise.
79862 * math/s_csinh.c: Likewise.
79863 * math/s_csinhf.c: Likewise.
79864 * math/s_csinhl.c: Likewise.
79865 * math/libm-test.inc (ccos_test): Add more tests.
79866 (ccosh_test): Likewise.
79867 (csin_test): Likewise.
79868 (csinh_test): Likewise.
79869 * sysdeps/i386/fpu/libm-test-ulps: Update.
79870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79871
79872 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
79873
79874 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
79875 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
79876
79877 * sysdeps/x86_64/x32/_itoa.h: Add comment.
79878
79879 2012-05-19 Joseph Myers <joseph@codesourcery.com>
79880
79881 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
79882 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
79883 * sysdeps/powerpc/soft-fp/Versions: Likewise.
79884 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
79885 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
79886 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
79887 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
79888 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
79889 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
79890 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
79891 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
79892 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
79893 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
79894 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
79895 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
79896 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
79897 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
79898 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
79899 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
79900 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
79901 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
79902 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
79903 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
79904 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
79905 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
79906 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
79907 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
79908 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
79909 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
79910 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
79911 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
79912
79913 2012-05-18 Andreas Jaeger <aj@suse.de>
79914
79915 * csu/.gitignore: Delete.
79916
79917 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
79918
79919 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
79920 (timex): Use __syscall_slong_t.
79921
79922 2012-05-18 Andreas Jaeger <aj@suse.de>
79923 Carlos O'Donell <carlos_odonell@mentor.com>
79924
79925 * manual/install.texi (Configuring and compiling): Update
79926 description about files modified in the source directory.
79927 * INSTALL: Regenerated.
79928
79929 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
79930
79931 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
79932 value. Use "or" to set return value to -1.
79933 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
79934 negate return value.
79935
79936 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
79937
79938 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
79939 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
79940 failure if the compiler has Graphite support disabled.
79941 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
79942 Likewise.
79943 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
79944 (CFLAGS-memmove.c): Likewise.
79945 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
79946 Likewise.
79947
79948 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
79949
79950 * sysdeps/x86_64/x32/_itoa.h: New file.
79951
79952 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
79953 getdents system call only if kernel and user dirents have the
79954 same d_ino and d_off.
79955
79956 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
79957 LLONG_MAX != LONG_MAX.
79958 (_itoa_word): Use _ITOA_WORD_TYPE on value.
79959 (_fitoa_word): Likewise.
79960
79961 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
79962 years.
79963 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
79964 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
79965 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
79966
79967 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
79968 include <bits/wordsize.h>. Check __x86_64__ instead of
79969 __WORDSIZE.
79970 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
79971 if __x86_64__ is defined. Use anonymous union on fpstate.
79972
79973 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
79974 anonymous union.
79975
79976 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
79977
79978 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
79979 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
79980 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
79981 Refer to _rtld_local_ro instead of _rtld_global_ro.
79982 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
79983 Likewise.
79984 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
79985 Likewise.
79986 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
79987 Likewise.
79988 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
79989 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
79990 of _rtld_global, and rtld_progname instead of _dl_argv[0].
79991
79992 [BZ #10882]
79993 * sysdeps/powerpc/powerpc32/dl-machine.c
79994 (__elf_machine_runtime_setup) [PROF]: Don't reference
79995 _dl_prof_resolve.
79996
79997 2012-05-18 Andreas Jaeger <aj@suse.de>
79998
79999 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
80000 function only available for GCCs before 3.4 since GCC 3.4
80001 introduced a builtin.
80002 (lrint): Likewise.
80003 (llrintf): Likewise.
80004 (llrint): Likewise.
80005 (fmaxf): Likewise.
80006 (fmax): Likewise.
80007 (fminf): Likewise.
80008 (fmin): Likewise.
80009 (rint): Likewise.
80010 (rintf): Likewise.
80011 (nearbyint): Likewise.
80012 (nearbyintf): Likewise.
80013 (ceil): Likewise.
80014 (ceilf): Likewise.
80015 (floor): Likewise.
80016 (floorf): Likewise.
80017
80018 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
80019
80020 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
80021 on both fields and cast pointer to __syscall_ulong_t.
80022
80023 * bits/types.h (__fsword_t): New type.
80024 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
80025 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
80026 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80027 (__FSWORD_T_TYPE): Likewise.
80028 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80029 (__FSWORD_T_TYPE): Likewise.
80030 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80031 (__FSWORD_T_TYPE): Likewise.
80032 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
80033 (__FSWORD_T_TYPE): Likewise.
80034 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
80035 __SWORD_TYPE with __fsword_t.
80036 (statfs64): Likewise.
80037
80038 2012-05-17 David S. Miller <davem@davemloft.net>
80039
80040 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
80041
80042 2012-05-17 Andreas Jaeger <aj@suse.de>
80043
80044 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
80045 warning.
80046
80047 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
80048
80049 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
80050
80051 2012-05-17 Andreas Jaeger <aj@suse.de>
80052
80053 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
80054 when it is used.
80055
80056 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
80057
80058 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
80059
80060 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
80061
80062 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
80063 * sysdeps/x86_64/tst-mallocalign1.c: New file.
80064
80065 2012-05-17 Andreas Jaeger <aj@suse.de>
80066 Carlos O'Donell <carlos_odonell@mentor.com>
80067
80068 [BZ #14059]
80069 * sysdeps/x86_64/multiarch/init-arch.h
80070 (bit_YMM_Usable): Rename to...
80071 (bit_AVX_Usable): ... this.
80072 (bit_FMA4_Usable): New macro.
80073 (bit_XMM_state): New macro.
80074 (bit_YMM_state): New macro.
80075 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
80076 [__ASSEMBLER__] (index_AVX_Usable): ... this.
80077 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
80078 (CPUID_OSXSAVE): New macro.
80079 (CPUID_AVX): New macro.
80080 (CPUID_FMA4): New macro.
80081 (index_YMM_Usable): Rename to...
80082 (index_AVX_Usable): ... this.
80083 (HAS_AVX): Use HAS_ARCH_FEATURE.
80084 (HAS_FMA4): Likewise.
80085 (HAS_YMM_USABLE): Remove.
80086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80087 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
80088 are present.
80089 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
80090 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
80091 * sysdeps/x86_64/multiarch/Makefile: Likewise.
80092 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
80093 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
80094
80095 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
80096
80097 * math/libm-test.c: Support platforms without multiple rounding modes.
80098 * math/bug-nextafter.c: Support platforms without FP exceptions.
80099 * math/bug-nexttoward.c: Likewise.
80100 * math/test-fenv.c: Likewise.
80101 * math/test-misc.c: Likewise.
80102 * stdlib/bug-getcontext.c: Likewise.
80103
80104 2012-05-17 Andreas Jaeger <aj@suse.de>
80105
80106 * manual/examples/search.c (critter_cmp): Change signature to
80107 avoid warnings.
80108 * manual/string.texi (Collation Functions): Likewise.
80109
80110 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
80111
80112 * bits/types.h: Fold copyright years.
80113 * bits/typesizes.h: Likewise.
80114 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
80115 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
80116 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
80117 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
80118 * time/time.h: Likewise.
80119
80120 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
80121
80122 [BZ #208]
80123 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
80124 in instead of returning them. Return void.
80125 (__libc_mallinfo): Accumulate over all arenas.
80126 (__malloc_stats): Adjust for change in int_mallinfo interface.
80127
80128 2012-05-16 Roland McGrath <roland@hack.frob.com>
80129
80130 [BZ #10375]
80131 * configure.in (NM): Add AC_CHECK_TOOL for it.
80132 (libc_extra_cflags): New substituted variable.
80133 Check for -fstack-protector being used implicitly.
80134 * configure: Regenerated.
80135 * config.make.in (config-extra-cflags): New variable,
80136 gets @libc_extra_cflags@.
80137 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
80138
80139 [BZ #10375]
80140 * configure.in: Check for _FORTIFY_SOURCE being predefined.
80141 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
80142 * configure: Regenerated.
80143 * config.make.in (CPPUNDEFS): New substituted variable.
80144 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
80145 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
80146 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
80147
80148 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
80149
80150 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
80151 (mq_attr): Use __syscall_slong_t.
80152
80153 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
80154
80155 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
80156 Check __x86_64__ instead of __WORDSIZE.
80157 (_STAT_VER_LINUX): Likewise.
80158 (stat): Check __x86_64__ instead of __WORDSIZE. Use
80159 __syscall_ulong_t and __syscall_slong_t.
80160 (stat64): Likewise.
80161
80162 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
80163
80164 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
80165
80166 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
80167
80168 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
80169
80170 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
80171
80172 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
80173 __syscall_ulong_t.
80174
80175 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
80176 include <bits/wordsize.h>. Check __x86_64__ instead of
80177 __WORDSIZE.
80178 (greg_t): Use "__extension__ long long int" if __x86_64__ is
80179 defined.
80180 (mcontext_t): Replace "unsigned long" with "unsigned long long".
80181
80182 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
80183 include <bits/wordsize.h>. Check __x86_64__ instead of
80184 __WORDSIZE.
80185 (user_regs_struct): Use "__extension__ unsigned long long"
80186 instead of "unsigned long" if __x86_64__ is defined.
80187 (user): Likewise. Pad after pointer field if __ILP32__ is
80188 defined.
80189
80190 2012-05-16 Joseph Myers <joseph@codesourcery.com>
80191
80192 * configure.in (makeinfo): Require version 4.5 or later. Allow
80193 versions 5 to 9.
80194 * configure: Regenerated.
80195 * manual/install.texi (texinfo): Increase version requirement to
80196 4.5 or later.
80197 * INSTALL: Regenerated.
80198
80199 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
80200
80201 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
80202
80203 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
80204
80205 * sysdeps/x86_64/x32/ffs.c: New file.
80206
80207 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
80208 __syscall_ulong_t.
80209 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
80210 defined. Use __syscall_ulong_t.
80211 (shminfo): Use __syscall_ulong_t.
80212 (shm_info): Likewise.
80213
80214 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
80215 __syscall_ulong_t.
80216
80217 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
80218 <bits/wordsize.h>.
80219 (msgqnum_t): Use __syscall_ulong_t.
80220 (msglen_t): Likewise.
80221 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
80222 __syscall_ulong_t.
80223
80224 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
80225 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
80226
80227 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
80228
80229 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
80230 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
80231
80232 * sysvipc/sys/msg.h (msgbuf): Replace long int with
80233 __syscall_slong_t.
80234
80235 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
80236 include <bits/wordsize.h>. Check __x86_64__ instead of
80237 __WORDSIZE.
80238
80239 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
80240 "unsigned long long int" if __x86_64__ is defined.
80241 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
80242
80243 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
80244 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
80245 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
80246
80247 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
80248 <stdint.h>.
80249 (GET_PC): Cast to uintptr_t first.
80250 (GET_FRAME): Likewise.
80251 (GET_STACK): Likewise.
80252
80253 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
80254 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
80255 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
80256 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
80257 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
80258 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
80259 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
80260 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
80261 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
80262 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
80263 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
80264 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
80265 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
80266 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
80267 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
80268 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
80269 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
80270 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
80271 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
80272 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
80273 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
80274 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
80275 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
80276 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
80277 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
80278 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
80279 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
80280 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
80281 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
80282
80283 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
80284
80285 * Makerules (+depfiles): Also collect depfiles from .oS in
80286 $(extra-objs).
80287 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
80288 .oS, $(libnldbl-routines)).
80289
80290 * Makerules (native-compile-mkdep-flags): Define.
80291 * sunrpc/Makefile (extra-objs): Add $(addprefix
80292 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
80293 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
80294 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
80295 calling $(make-target-directory).
80296
80297 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80298
80299 * bits/types.h (__snseconds_t): Removed.
80300 * time/time.h (struct timespec): Replace __snseconds_t with
80301 __syscall_slong_t.
80302 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
80303 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
80304 Likewise.
80305 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80306 (__SNSECONDS_T_TYPE): Likewise.
80307 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80308 (__SNSECONDS_T_TYPE): Likewise.
80309 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80310 (__SNSECONDS_T_TYPE): Likewise.
80311
80312 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80313
80314 * sysdeps/mach/hurd/bits/typesizes.h
80315 (__SYSCALL_SLONG_TYPE): New macro.
80316 (__SYSCALL_ULONG_TYPE): Likewise.
80317
80318 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80319
80320 * bits/types.h (__syscall_slong_t): New type.
80321 (__syscall_ulong_t): Likewise.
80322
80323 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
80324 (__SYSCALL_ULONG_TYPE): Likewise.
80325 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80326 (__SYSCALL_SLONG_TYPE): Likewise.
80327 (__SYSCALL_ULONG_TYPE): Likewise.
80328 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80329 (__SYSCALL_SLONG_TYPE): Likewise.
80330 (__SYSCALL_ULONG_TYPE): Likewise.
80331 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80332 (__SYSCALL_SLONG_TYPE): Likewise.
80333 (__SYSCALL_ULONG_TYPE): Likewise.
80334
80335 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80336
80337 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
80338 Add sigaltstack-offsets.sym.
80339 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
80340 <sigaltstack-offsets.h>.
80341 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
80342 longjmp_msg pointer.
80343 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
80344 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
80345 signal stack.
80346 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
80347
80348 2012-05-15 Joseph Myers <joseph@codesourcery.com>
80349
80350 * elf/stackguard-macros.h: Remove file.
80351 * sysdeps/generic/stackguard-macros.h: New file.
80352 * sysdeps/i386/stackguard-macros.h: Likewise.
80353 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
80354 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
80355 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
80356 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
80357 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
80358 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
80359 * sysdeps/x86_64/stackguard-macros.h: Likewise.
80360 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
80361 <elf/stackguard-macros.h>.
80362
80363 [BZ #14109]
80364 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
80365 __aligned__ in attribute.
80366 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
80367 (gregset_t): Likewise.
80368
80369 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80370
80371 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
80372 * sysdeps/x86_64/64/Implies-after: Here. New file.
80373 * sysdeps/x86_64/x32/Implies-after: New file.
80374
80375 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80376
80377 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
80378 and access return value for _dl_profile_fixup. Use R10_LP to
80379 load frame size.
80380
80381 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80382
80383 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
80384
80385 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80386
80387 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
80388 * sysdeps/x86_64/x32/sysdep.h: New file.
80389
80390 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80391
80392 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
80393 * sysdeps/x86_64/setjmp.S: Likewise.
80394
80395 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80396
80397 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
80398 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
80399 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
80400 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
80401 remove unused global constant.
80402
80403 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
80404
80405 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
80406 include of <not-cancel.h>.
80407
80408 2012-05-15 Roland McGrath <roland@hack.frob.com>
80409
80410 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
80411
80412 2012-05-15 Jeff Law <law@redhat.com>
80413 Andreas Jaeger <aj@suse.de>
80414
80415 [BZ #13594]
80416 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
80417 out from...
80418 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
80419 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
80420 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
80421 code changing __hst_map_handle.map.
80422
80423 2012-05-15 Roland McGrath <roland@hack.frob.com>
80424
80425 * configure.in (sysnames): Look for Implies-before and Implies-after
80426 files.
80427 * configure: Regenerated.
80428
80429 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80430
80431 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
80432 8-byte data alignment with LP_SIZE alignment.
80433
80434 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80435
80436 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
80437 into R10_LP.
80438
80439 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80440
80441 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
80442
80443 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80444
80445 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
80446 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
80447 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
80448 Likewise.
80449 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
80450
80451 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80452
80453 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
80454 (stackinfo_sub_sp): Likewise.
80455
80456 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80457
80458 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
80459 RAX_LP.
80460
80461 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80462
80463 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
80464 into R*_LP.
80465
80466 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80467
80468 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
80469 sizes into R*_LP.
80470
80471 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80472
80473 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
80474
80475 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80476
80477 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
80478 into R11_LP and load __x86_64_shared_cache_size_half into
80479 R8_LP.
80480
80481 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80482
80483 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
80484 R8_LP.
80485
80486 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80487
80488 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
80489 logb for POWER7.
80490 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
80491 logbf for POWER7.
80492 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
80493 logbl for POWER7.
80494 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
80495 powerpc32/power7/fpu/s_logb.c via #include.
80496 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
80497 powerpc32/power7/fpu/s_logbf.c via #include.
80498 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
80499 powerpc32/power7/fpu/s_logbl.c via #include.
80500
80501 2012-05-15 Joseph Myers <joseph@codesourcery.com>
80502
80503 * README.libm: Remove file.
80504
80505 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
80506
80507 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
80508 count for x32. Use R*_LP and omit operand-size suffix.
80509
80510 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
80511
80512 * shlib-versions: Move x86_64-.*-linux.* entries to ...
80513 * sysdeps/x86_64/64/shlib-versions: Here. New file.
80514 * sysdeps/x86_64/x32/shlib-versions: New file.
80515
80516 2012-05-14 Roland McGrath <roland@hack.frob.com>
80517
80518 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
80519 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
80520 Use _dl_fatal_printf instead.
80521
80522 2012-05-14 Joseph Myers <joseph@codesourcery.com>
80523
80524 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
80525 set if not set by the user. Do not allow for being unset.
80526 * sysdeps/unix/sysv/linux/configure: Regenerated.
80527
80528 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
80529
80530 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
80531 the `q' suffix from lea and replace .quad with ASM_ADDR.
80532
80533 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
80534
80535 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
80536 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
80537 instead of $17.
80538 (PTR_DEMANGLE): Likewise.
80539
80540 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
80541
80542 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
80543 (LP_OP): Likewise.
80544 (ASM_ADDR): Likewise.
80545 (RAX_LP): Likewise.
80546 (RBP_LP): Likewise.
80547 (RBX_LP): Likewise.
80548 (RCX_LP): Likewise.
80549 (RDI_LP): Likewise.
80550 (RSI_LP): Likewise.
80551 (RSP_LP): Likewise.
80552 (R8_LP): Likewise.
80553 (R9_LP): Likewise.
80554 (R10_LP): Likewise.
80555 (R10_LP): Likewise.
80556 (R11_LP): Likewise.
80557 (R12_LP): Likewise.
80558 (R13_LP): Likewise.
80559 (R14_LP): Likewise.
80560 (R15_LP): Likewise.
80561
80562 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
80563
80564 * sysdeps/x86_64/x32/dl-machine.h: New file.
80565
80566 2012-05-14 Andreas Jaeger <aj@suse.de>
80567
80568 * manual/Makefile (subdir): Remove export of subdir.
80569 (all): Remove target.
80570 (.PHONY): Remove all from list.
80571 (mkinstalldirs): Remove.
80572 (.PHONY): Remove installdirs from list.
80573 ($(inst_infodir)/libc.info): Use make-target-directory.
80574 (installdirs): Remove.
80575 (subdir_%): Remove.
80576 (glibc-targets): Remove.
80577 (lib): Remove.
80578 (stubs): Remove.
80579 ($(objpfx)stubs ../po/manual.pot): Remove.
80580 ($(objpfx)stamp%): Remove.
80581 (make-target-directory): Remove.
80582 (subdir_install): Remove.
80583 (routines): Remove.
80584 (aux): Remove.
80585 (sources): Remove.
80586 (objects): Remove.
80587 (headers): Remove.
80588
80589 [BZ #13750]
80590 * manual/.gitignore: Remove, it's not needed anymore.
80591 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
80592 all files in it.
80593 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
80594 directory.
80595 (texis): Renamed to $(objpfx)texis.
80596 (texis-path): New, contains path to generated files.
80597 (chapters.%): Use texis-path for complete path, add extra argument
80598 libc-texinfo.sh.
80599 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
80600 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
80601 (summary,texi, stamp-summary): Use complete path of
80602 files. Generate files in build dir.
80603 (dir-add.texi): Build in build dir.
80604 (libm-err.texi,stamp-libm-err): Likewise.
80605 (version.texi, stamp-version): Likewise.
80606 (.%c.texi): Likewise.
80607 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
80608 (mostlyclean): Remove target.
80609 (realclean): Remove target.
80610 (generated): Add new variable with contents from mostlyclean and
80611 realclean, remove entries duplicated in common-mostlyclean, add
80612 stamp-libm-err and stamp-version.
80613 (generated-dirs): Add libc directory.
80614 ($(inst_infodir)/libc.info): Install files from build dir.
80615
80616 * manual/install.texi (Configuring and compiling): Adjust since
80617 the info files are not part of the tar ball anymore.
80618
80619 2012-05-14 Andreas Jaeger <aj@suse.de>
80620
80621 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
80622 variable.
80623
80624 2012-05-14 Joseph Myers <joseph@codesourcery.com>
80625
80626 [BZ #13717]
80627 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80628 to 2.2.0 where earlier.
80629 * sysdeps/unix/sysv/linux/configure: Regenerated.
80630 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
80631 Remove conditional code.
80632 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
80633 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
80634 Remove conditional code.
80635 [!__NR_lchown]: Likewise.
80636 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80637 [__NR_lchown]: Likewise.
80638 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
80639 comment referencing __ASSUME_LCHOWN_SYSCALL.
80640 * sysdeps/unix/sysv/linux/i386/sigaction.c
80641 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80642 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80643 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
80644 Remove conditional code.
80645 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
80646 (__protocol_available): Remove #if 0 code.
80647 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
80648 conditional code.
80649 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
80650 * sysdeps/unix/sysv/linux/kernel-features.h
80651 (__ASSUME_GETCWD_SYSCALL): Don't define.
80652 (__ASSUME_REALTIME_SIGNALS): Likewise.
80653 (__ASSUME_PREAD_SYSCALL): Likewise.
80654 (__ASSUME_PWRITE_SYSCALL): Likewise.
80655 (__ASSUME_POLL_SYSCALL): Likewise.
80656 (__ASSUME_LCHOWN_SYSCALL): Likewise.
80657 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
80658 non-SPARC.
80659 (__ASSUME_SIOCGIFNAME): Don't define.
80660 (__ASSUME_MSG_NOSIGNAL): Likewise.
80661 (__ASSUME_SENDFILE): Define unconditionally.
80662 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
80663 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
80664 conditional code.
80665 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
80666 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
80667 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
80668 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80669 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
80670 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
80671 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
80673 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80674 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
80676 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80677 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
80679 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80680 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
80682 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80683 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
80685 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80686 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
80688 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80689 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
80691 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80692 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
80694 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80695 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80696 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
80697 Remove conditional code.
80698 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80699 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
80700 Remove conditional code.
80701 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80702 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
80703 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
80704 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
80705 Remove conditional code.
80706 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80707 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
80708 Remove conditional code.
80709 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80710 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
80711 Remove conditional code.
80712 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80713 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
80714 Remove conditional code.
80715 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80716 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
80717 Remove conditional code.
80718 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80719 * sysdeps/unix/sysv/linux/sh/pwrite64.c
80720 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80721 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80722 * sysdeps/unix/sysv/linux/sigaction.c
80723 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80724 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80725 * sysdeps/unix/sysv/linux/sigpending.c
80726 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80727 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80728 * sysdeps/unix/sysv/linux/sigprocmask.c
80729 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80730 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80731 * sysdeps/unix/sysv/linux/sigsuspend.c
80732 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80733 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80734 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
80735 (__libc_missing_rt_sigs): Remove.
80736 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
80737 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
80738 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
80739 Remove conditional code.
80740 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
80741 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
80742 return 1.
80743 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
80744 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
80745 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
80746 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
80747
80748 2012-05-14 Andreas Jaeger <aj@suse.de>
80749
80750 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
80751 it's not used in glibc.
80752 (__coshm1): Likewise.
80753 (__acosh1p): Likewise.
80754 (__sgn): Likewise.
80755
80756 * manual/string.texi (Copying and Concatenation): Add missing
80757 variable in concat example.
80758 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
80759
80760 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
80761
80762 [BZ #14103]
80763 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
80764 __builtin_clzl with __builtin_clzll.
80765
80766 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
80767
80768 [BZ #14104]
80769 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
80770 libc_freeres_ptr.
80771
80772 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80773
80774 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
80775 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
80776 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
80777 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
80778
80779 2012-05-14 Mike Frysinger <vapier@gentoo.org>
80780
80781 * NEWS: Update ia64 info.
80782
80783 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
80784
80785 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
80786 used as bcopy.
80787
80788 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
80789
80790 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
80791 * sysdeps/unix/syscalls.list (dup3): Likewise.
80792 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
80793 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
80794
80795 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
80796
80797 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
80798 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
80799
80800 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
80801
80802 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
80803 thread pointer.
80804 (TLS_IE): Use mov/add instead of movq/addq to load thread
80805 pointer.
80806 (TLS_GD_PREFIX): New.
80807 (TLS_GD): Use it.
80808
80809 2012-05-11 David S. Miller <davem@davemloft.net>
80810
80811 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
80812 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
80813 (_FPU_SETCW): Likewise.
80814
80815 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
80816
80817 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
80818 is 32-byte aligned.
80819
80820 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
80821
80822 [BZ #11837]
80823 * iconvdata/gb18030.c: Update tables.
80824 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
80825 characters specially.
80826 (BODY for TO_LOOP): Add encoding of missing ranges.
80827
80828 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
80829
80830 [BZ #13673]
80831 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
80832 * sysdeps/mach/hurd/dup3.c: Likewise.
80833 * sysdeps/mach/hurd/readlinkat.c: Likewise.
80834 * sysdeps/powerpc/memmove.c:: Likewise.
80835
80836 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
80837
80838 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
80839 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
80840
80841 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
80842
80843 * elf/elf.h (R_X86_64_RELATIVE64): New.
80844 (R_X86_64_NUM): Updated.
80845 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
80846 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
80847 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
80848 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
80849 tst-quad1pie tst-quad2pie
80850 (modules-names): Add tst-quadmod1 tst-quadmod2.
80851 ($(objpfx)tst-quad1): New dependency.
80852 ($(objpfx)tst-quad2): Likewise.
80853 ($(objpfx)tst-quad1pie): Likewise.
80854 ($(objpfx)tst-quad2pie): Likewise.
80855 * sysdeps/x86_64/tst-quad1.c: New file.
80856 * sysdeps/x86_64/tst-quad1pie.c: New file.
80857 * sysdeps/x86_64/tst-quad2.c: Likewise.
80858 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
80859 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
80860 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
80861 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
80862 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
80863
80864 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
80865
80866 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
80867 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
80868 * streams/stropts.h (t_scalar_t): Define type.
80869
80870 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
80871 (_PATH_PRESERVE): Set to "/var/lib".
80872 (_PATH_RWHODIR): Set to "/var/spool/rwho".
80873
80874 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
80875 instead of int.
80876
80877 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
80878 if __dir_mkfile succeeded.
80879
80880 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
80881 checking for _hurd_dtablesize. Unlock it right after having
80882 finished _hurd_dtable allocation.
80883
80884 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
80885
80886 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
80887 * sysdeps/mach/hurd/configure: Regenerated.
80888 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
80889 special-casing to...
80890 * sysdeps/gnu/configure.in: ... this new file.
80891 * sysdeps/unix/sysv/linux/configure: Regenerated.
80892 * sysdeps/gnu/configure: New generated file.
80893
80894 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
80895 for Linux: use nsec instead of usec, as well as:
80896 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
80897 members of type struct timespec.
80898 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
80899 New macros.
80900 (struct stat64): Likewise.
80901 (_STATBUF_ST_NSEC): New macro.
80902 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
80903
80904 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
80905 __strtoul_internal rather than strtoul.
80906
80907 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
80908
80909 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
80910 and reject them.
80911
80912 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
80913
80914 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
80915 which preserves existing values.
80916 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
80917
80918 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
80919
80920 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
80921 TIMEOUT values. Return EINVAL for NFDS values either negative or
80922 greater than FD_SETSIZE.
80923
80924 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
80925
80926 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
80927 allocated, call __vm_protect to finish enabling the existing space, and
80928 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
80929 allocate the remainder.
80930
80931 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
80932
80933 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
80934 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
80935
80936 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
80937
80938 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
80939 sysdeps/mach/hurd/readlink.c.
80940
80941 * posix/tst-sysconf.c (posix_options): Only use
80942 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
80943 _POSIX_SYNCHRONIZED_IO when they are defined
80944 * sysdeps/mach/hurd/bits/posix_opt.h:
80945 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
80946 (_XOPEN_REALTIME): Undefine macro.
80947 (_XOPEN_REALTIME_THREADS): Undefine macro.
80948 (_XOPEN_SHM): Undefine macro.
80949 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
80950 macro to -1.
80951 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
80952 macro to -1.
80953 (_POSIX_ASYNC_IO): Undefine macro.
80954 (_POSIX_PRIORITIZED_IO): Undefine macro.
80955 (_POSIX_SPIN_LOCKS): Define macro to -1.
80956
80957 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
80958 SA_NODEFER, SA_RESETHAND.
80959 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
80960 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
80961 F_DUPFD_CLOEXEC.
80962
80963 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
80964
80965 * elf/Makefile (pldd-modules): Define unconditionally.
80966
80967 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
80968
80969 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
80970
80971 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
80972
80973 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
80974 Return ENOENT when name is empty.
80975 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
80976
80977 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
80978
80979 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
80980
80981 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
80982
80983 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
80984
80985 Fix mlock in all cases except non-readable pages.
80986 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
80987 instead of VM_PROT_ALL as parameter to __vm_wire function.
80988
80989 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
80990 (__mkdir): When path is `/', just fail with EEXIST.
80991 * sysdeps/mach/hurd/mkdirat.c: Likewise.
80992
80993 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
80994
80995 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
80996 <sys/uio.h> (for writev).
80997 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
80998 and <sys/param.h> (for MIN).
80999
81000 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
81001
81002 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
81003 REQUESTED_TIME. Properly set the remaining time and return EINTR
81004 if interrupted.
81005
81006 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
81007
81008 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
81009 Depend on against $(link-rpcuserlibs).
81010
81011 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
81012
81013 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
81014 (__libc_stack_end): Do not use attribute_relro.
81015 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
81016 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
81017 to libthread-provided value.
81018 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
81019 attribute_relro.
81020
81021 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
81022
81023 [BZ #3748]
81024 * bits/libc-lock.h (__libc_once_get): New macro.
81025 * sysdeps/mach/bits/libc-lock.h: Likewise.
81026 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
81027 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
81028 instead of using implementation details.
81029
81030 * libio/fileops.c: Unconditionally include <kernel-features.h>.
81031 * libio/freopen.c: Likewise.
81032 * libio/freopen64.c: Likewise.
81033 * misc/syslog.c: Likewise.
81034 * nscd/connections.c: Likewise.
81035 * nscd/netgroupcache.c: Likewise.
81036 * sysdeps/posix/getcwd.c: Likewise.
81037
81038 2012-05-10 Roland McGrath <roland@hack.frob.com>
81039
81040 * math/w_ilogbf.c: Add #include <limits.h>.
81041
81042 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
81043
81044 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
81045 path instead of returning without unlocking.
81046
81047 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
81048 immediate-write ioctls.
81049 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
81050
81051 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
81052
81053 * sysdeps/mach/hurd/i386/init-first.c (init): Use
81054 __builtin_frame_address instead of making assumptions about the
81055 location of the return address relative to DATA. Force early load of
81056 the return address.
81057 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
81058 __builtin_frame_address.
81059
81060 dup3 for GNU Hurd.
81061 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
81062 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
81063 implement dup3 and do some further code clean-ups.
81064 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
81065 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
81066
81067 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
81068
81069 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
81070
81071 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
81072 HURD_CRITICAL_END around holding _hurd_dtable_lock.
81073 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
81074 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
81075 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
81076 d->port.lock.
81077
81078 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
81079 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
81080 when handler == SIG_ERR, not when handler != SIG_ERR.
81081
81082 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
81083
81084 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
81085 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
81086 definitions.
81087
81088 accept4 for GNU Hurd.
81089 * include/sys/socket.h (__libc_accept4): New prototype.
81090 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
81091 to implement __libc_accept4.
81092 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
81093 __libc_accept4.
81094 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
81095
81096 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
81097 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
81098 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
81099 signal-defines.sym.
81100
81101 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
81102
81103 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
81104
81105 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
81106
81107 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
81108 assertion on O_CLOEXEC flag.
81109 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
81110 * hurd/intern-fd.c: Likewise.
81111 * hurd/port2fd.c: Likewise.
81112
81113 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
81114
81115 [BZ #3906]
81116 * bits/in.h (IPV6_PKTINFO): Define new macro.
81117 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
81118
81119 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81120
81121 [BZ #13954]
81122 [BZ #13955]
81123 [BZ #13956]
81124 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
81125 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
81126 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
81127 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
81128 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
81129 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
81130 * math/libm-test.inc (logb_test) : Additional logb tests.
81131
81132 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
81133 Andreas Jaeger <aj@suse.de>
81134
81135 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
81136 * configure: Regenerated.
81137 * config.h.in (LINK_OBSOLETE_RPC): New macro.
81138 * config.make.in (link-obsolete-rpc): New substituted variable.
81139 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
81140 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
81141 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
81142 (shared-only-routines): Don't set it under [link-obsolete-rpc],
81143 so that libc.a contains the symbols.
81144 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
81145 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
81146 * sunrpc/auth_none.c: Likewise.
81147 * sunrpc/auth_unix.c: Likewise.
81148 * sunrpc/authdes_prot.c: Likewise.
81149 * sunrpc/authuxprot.c: Likewise.
81150 * sunrpc/clnt_gen.c: Likewise.
81151 * sunrpc/clnt_perr.c: Likewise.
81152 * sunrpc/clnt_raw.c: Likewise.
81153 * sunrpc/clnt_simp.c: Likewise.
81154 * sunrpc/clnt_tcp.c: Likewise.
81155 * sunrpc/clnt_udp.c: Likewise.
81156 * sunrpc/clnt_unix.c: Likewise.
81157 * sunrpc/des_crypt.c: Likewise.
81158 * sunrpc/des_soft.c: Likewise.
81159 * sunrpc/get_myaddr.c: Likewise.
81160 * sunrpc/key_call.c: Likewise.
81161 * sunrpc/key_prot.c: Likewise.
81162 * sunrpc/netname.c: Likewise.
81163 * sunrpc/pm_getmaps.c: Likewise.
81164 * sunrpc/pm_getport.c: Likewise.
81165 * sunrpc/pmap_clnt.c: Likewise.
81166 * sunrpc/pmap_prot.c: Likewise.
81167 * sunrpc/pmap_prot2.c: Likewise.
81168 * sunrpc/pmap_rmt.c: Likewise.
81169 * sunrpc/publickey.c: Likewise.
81170 * sunrpc/rpc_cmsg.c: Likewise.
81171 * sunrpc/rpc_common.c: Likewise.
81172 * sunrpc/rpc_dtable.c: Likewise.
81173 * sunrpc/rpc_prot.c: Likewise.
81174 * sunrpc/rpc_thread.c: Likewise.
81175 * sunrpc/rtime.c: Likewise.
81176 * sunrpc/svc.c: Likewise.
81177 * sunrpc/svc_auth.c: Likewise.
81178 * sunrpc/svc_raw.c: Likewise.
81179 * sunrpc/svc_run.c: Likewise.
81180 * sunrpc/svc_tcp.c: Likewise.
81181 * sunrpc/svc_udp.c: Likewise.
81182 * sunrpc/svc_unix.c: Likewise.
81183 * sunrpc/svcauth_des.c: Likewise.
81184 * sunrpc/xcrypt.c: Likewise.
81185 * sunrpc/xdr.c: Likewise.
81186 * sunrpc/xdr_array.c: Likewise.
81187 * sunrpc/xdr_float.c: Likewise.
81188 * sunrpc/xdr_intXX_t.c: Likewise.
81189 * sunrpc/xdr_mem.c: Likewise.
81190 * sunrpc/xdr_rec.c: Likewise.
81191 * sunrpc/xdr_ref.c: Likewise.
81192 * sunrpc/xdr_sizeof.c: Likewise.
81193 * sunrpc/xdr_stdio.c: Likewise.
81194
81195 2012-05-10 Roland McGrath <roland@hack.frob.com>
81196
81197 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
81198 change. Update copyright years.
81199
81200 2012-05-10 Joseph Myers <joseph@codesourcery.com>
81201
81202 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
81203
81204 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
81205 Joseph Myers <joseph@codesourcery.com>
81206 Paul Pluzhnikov <ppluzhnikov@google.com>
81207
81208 [BZ #14012]
81209 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
81210 requiring rpcgen.
81211 [cross-compiling] (extra-libs): Likewise.
81212 [cross-compiling] (extra-libs-others): Likewise.
81213 [cross-compiling] (librpcsvc-routines): Likewise.
81214 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
81215 [cross-compiling] (omit-deps): Likewise.
81216 (sunrpc-CPPFLAGS): New variable.
81217 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
81218 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
81219 (cross-rpcgen-objs): New variable.
81220 (extra-objs): Append $(cross-rpcgen-objs).
81221 ($(cross-rpcgen-objs)): New rule.
81222 ($(objpfx)cross-rpcgen): Likewise.
81223 (rpcgen-cmd): Define to use $(built-program-file). Expand
81224 comment.
81225 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
81226 ($(objpfx)x%.stmp): Likewise.
81227 * sunrpc/proto.h [IS_IN_build] (_): Define.
81228 [IS_IN_build] (_libc_intl_domainname): Likewise.
81229
81230 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
81231
81232 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
81233 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
81234 and R_X86_64_TPOFF64.
81235
81236 2012-05-10 Joseph Myers <joseph@codesourcery.com>
81237
81238 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
81239 sysdeps/unix/sysv/syscalls.list.
81240 (stime): Likewise.
81241 (utime): Likewise.
81242 * sysdeps/unix/sysv/syscalls.list: Remove file.
81243
81244 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
81245
81246 [BZ #3440]
81247 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
81248 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
81249 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
81250 (__LC_IDENTIFICATION): Make these macros useful in #if
81251 expressions, as required by C99.
81252
81253 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
81254
81255 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
81256 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
81257 after this.
81258
81259 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
81260
81261 * stdlib/longlong.h: Updated from GCC.
81262
81263 2012-05-09 Andreas Jaeger <aj@suse.de>
81264
81265 * nscd/nscd.c (run_modes): Make named enum, reorder so that
81266 default is first entry.
81267 (run_mode): Set type.
81268 (main): Remove informal message about syslog.
81269 (options): Fix typo.
81270
81271 [BZ #14053]
81272 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
81273 to asm.
81274 (lrint): Likewise.
81275 (llrintf): Likewise.
81276 (llrint): Likewise.
81277 (rint): Likewise.
81278 (rintf): Likewise.
81279 (nearbyint): Likewise.
81280 (nearbyintf): Likewise.
81281
81282 2012-05-09 Andreas Jaeger <aj@suse.de>
81283 Pedro Alves <palves@redhat.com>
81284
81285 * nscd/nscd.c (run_mode): Use enum.
81286 (main): Cleanup coding style issue.
81287
81288 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
81289 Andreas Jaeger <aj@suse.de>
81290
81291 * nscd/nscd.c (go_background): Replaced with...
81292 (run_mode): ... this.
81293 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
81294 (options): Add -F --foreground.
81295 (main): Implement it.
81296 (parse_opt): Parse it.
81297
81298 2012-05-09 Andreas Jaeger <aj@suse.de>
81299
81300 [BZ #14083]
81301 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
81302 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
81303 -Wconversion warning.
81304 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
81305 Likewise.
81306
81307 2012-05-09 Joseph Myers <joseph@codesourcery.com>
81308
81309 * conform/data/locale.h-data (NULL): Use macro-constant. Require
81310 == 0.
81311 (LC_ALL): Use macro-int-constant.
81312 (LC_COLLATE): Likewise.
81313 (LC_CTYPE): Likewise.
81314 (LC_MESSAGES): Likewise.
81315 (LC_MONETARY): Likewise.
81316 (LC_NUMERIC): Likewise.
81317 (LC_TIME): Likewise.
81318 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
81319 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
81320 [ISO || ISO99 || ISO11] (*_t): Do not allow.
81321 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
81322 Specify type.
81323 [C99-based standards] (float_t): Expect type.
81324 [C99-based standards] (double_t): Expect type.
81325 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
81326 type.
81327 [C99-based standards] (HUGE_VALL): Likewise.
81328 [C99-based standards] (INFINITY): Likewise.
81329 [C99-based standards] (NAN): Likewise.
81330 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
81331 [C99-based standards] (FP_NAN): Likewise.
81332 [C99-based standards] (FP_NORMAL): Likewise.
81333 [C99-based standards] (FP_SUBNORMAL): Likewise.
81334 [C99-based standards] (FP_ZERO): Likewise.
81335 [C99-based standards] (FP_FAST_FMA): Use
81336 optional-macro-int-constant. Specify type. Require == 1.
81337 [C99-based standards] (FP_FAST_FMAF): Likewise.
81338 [C99-based standards] (FP_FAST_FMAL): Likewise.
81339 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
81340 [C99-based standards] (FP_ILOGBNAN): Likewise.
81341 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
81342 Specify type.
81343 [C99-based standards] (MATH_ERREXCEPT): Likewise.
81344 [C99-based standards] (math_errhandling): Specify type.
81345 [ISO99 || ISO11] (signgam): Do not allow.
81346 [non-C99-based standards] (copysignf): Do not allow.
81347 [non-C99-based standards] (exp2f): Likewise.
81348 [non-C99-based standards] (log2f): Likewise.
81349 [non-C99-based standards] (modff): Allow.
81350 [non-C99-based standards] (erff): Do not allow.
81351 [non-C99-based standards] (erfcf): Likewise.
81352 [non-C99-based standards] (gammaf): Likewise.
81353 [non-C99-based standards] (hypotf): Likewise.
81354 [non-C99-based standards] (j0f): Likewise.
81355 [non-C99-based standards] (j1f): Likewise.
81356 [non-C99-based standards] (jnf): Likewise.
81357 [non-C99-based standards] (lgammaf): Likewise.
81358 [non-C99-based standards] (tgammaf): Likewise.
81359 [non-C99-based standards] (y0f): Likewise.
81360 [non-C99-based standards] (y1f): Likewise.
81361 [non-C99-based standards] (ynf): Likewise.
81362 [non-C99-based standards] (isnanf): Likewise.
81363 [non-C99-based standards] (acoshf): Likewise.
81364 [non-C99-based standards] (asinhf): Likewise.
81365 [non-C99-based standards] (atanhf): Likewise.
81366 [non-C99-based standards] (cbrtf): Likewise.
81367 [non-C99-based standards] (expm1f): Likewise.
81368 [non-C99-based standards] (ilogbf): Likewise.
81369 [non-C99-based standards] (log1pf): Likewise.
81370 [non-C99-based standards] (logbf): Likewise.
81371 [non-C99-based standards] (nextafterf): Likewise.
81372 [non-C99-based standards] (remainderf): Likewise.
81373 [non-C99-based standards] (rintf): Likewise.
81374 [non-C99-based standards] (scalbf): Likewise.
81375 [non-C99-based standards] (copysignl): Likewise.
81376 [non-C99-based standards] (exp2l): Likewise.
81377 [non-C99-based standards] (log2l): Likewise.
81378 [non-C99-based standards] (modfl): Allow.
81379 [non-C99-based standards] (erfl): Do not allow.
81380 [non-C99-based standards] (erfcl): Likewise.
81381 [non-C99-based standards] (gammal): Likewise.
81382 [non-C99-based standards] (hypotl): Likewise.
81383 [non-C99-based standards] (j0l): Likewise.
81384 [non-C99-based standards] (j1l): Likewise.
81385 [non-C99-based standards] (jnl): Likewise.
81386 [non-C99-based standards] (lgammal): Likewise.
81387 [non-C99-based standards] (tgammal): Likewise.
81388 [non-C99-based standards] (y0l): Likewise.
81389 [non-C99-based standards] (y1l): Likewise.
81390 [non-C99-based standards] (ynl): Likewise.
81391 [non-C99-based standards] (isnanl): Likewise.
81392 [non-C99-based standards] (acoshl): Likewise.
81393 [non-C99-based standards] (asinhl): Likewise.
81394 [non-C99-based standards] (atanhl): Likewise.
81395 [non-C99-based standards] (cbrtl): Likewise.
81396 [non-C99-based standards] (expm1l): Likewise.
81397 [non-C99-based standards] (ilogbl): Likewise.
81398 [non-C99-based standards] (log1pl): Likewise.
81399 [non-C99-based standards] (logbl): Likewise.
81400 [non-C99-based standards] (nextafterl): Likewise.
81401 [non-C99-based standards] (remainderl): Likewise.
81402 [non-C99-based standards] (rintl): Likewise.
81403 [non-C99-based standards] (scalbl): Likewise.
81404 [ISO || ISO99 || ISO11] (*_t): Do not allow.
81405 [non-C99-based standards] (FP_*): Do not allow.
81406 [C99-based standards] (FP_*): Change to
81407 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
81408 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
81409 allow.
81410 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
81411 (SIG_ERR): Likewise.
81412 [X/Open-based standards] (SIG_HOLD): Likewise.
81413 (SIG_IGN): Likewise.
81414 (SIGABRT): Use macro-int-constant. Specify type. Require
81415 positive value.
81416 (SIGFPE): Likewise.
81417 (SIGILL): Likewise.
81418 (SIGINT): Likewise.
81419 (SIGSEGV): Likewise.
81420 (SIGTER): Likewise.
81421 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
81422 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
81423 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
81424 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
81425 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
81426 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
81427 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
81428 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
81429 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
81430 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
81431 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
81432 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
81433 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
81434 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
81435 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
81436 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
81437 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
81438 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
81439 [X/Open-based standards] (SIGTRAP): Likewise.
81440 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
81441 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
81442 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
81443 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
81444 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
81445 allow.
81446
81447 2012-05-08 Ian Wienand <ianw@vmware.com>
81448
81449 [BZ #14080]
81450 * time/tzset.c (__tzset_parse_tz): Update default rules for
81451 daylight time changes in the Energy Policy Act of 2005.
81452
81453 2012-05-09 Andreas Jaeger <aj@suse.de>
81454
81455 [BZ #13983]
81456 * elf/ldconfig.c (parse_conf): Change string to make clear that
81457 ldconfig only issued a warning if ld.so.conf does not exist.
81458
81459 2012-05-08 David S. Miller <davem@davemloft.net>
81460
81461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
81462 movxtod instead of popping the value on the stack.
81463
81464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
81465
81466 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
81467
81468 * config.h.in: Add HAVE_ARM_PCS_VFP.
81469
81470 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
81471
81472 [BZ #13979]
81473 * include/features.h: Warn if user requests __FORTIFY_SOURCE
81474 checking but the checks are disabled for any reason.
81475
81476 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
81477
81478 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
81479 and ELF64_R_TYPE with ELFW(R_TYPE).
81480
81481 2012-05-08 Joseph Myers <joseph@codesourcery.com>
81482
81483 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
81484 (ulimit): Likewise.
81485
81486 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
81487 (settimeofday): Likewise.
81488
81489 2012-05-08 Mike Frysinger <vapier@gentoo.org>
81490
81491 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
81492 a struct th_u2 inside the union, and move tu_block/tu_code into
81493 a new th_u3 union of tu_block/tu_code inside of that. Move
81494 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
81495 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
81496 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
81497 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
81498 (th_stuff): Change to th_u1.tu_stuff.
81499 (th_data): Define.
81500 (th_msg): Change to th_u1.th_u2.tu_data.
81501
81502 2012-05-07 David S. Miller <davem@davemloft.net>
81503
81504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
81505
81506 [BZ #14074]
81507 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
81508 (SETUP_PIC_REG): Use it.
81509 (SETUP_PIC_REG_LEAF): Use it.
81510
81511 2012-05-07 Joseph Myers <joseph@codesourcery.com>
81512
81513 [BZ #13885]
81514 [BZ #13923]
81515 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81516 USE_AS_EXPM1L.
81517 (EXPL_FINITE): Likewise.
81518 (FLDLOG): Likewise.
81519 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
81520 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
81521 e_expl.S.
81522 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81523 USE_AS_EXPM1L.
81524 (EXPL_FINITE): Likewise.
81525 (FLDLOG): Likewise.
81526 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
81527 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
81528 e_expl.S.
81529 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
81530 test of -max_value argument for long double.
81531 * sysdeps/i386/fpu/libm-test-ulps: Update.
81532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81533
81534 2012-05-06 David S. Miller <davem@davemloft.net>
81535
81536 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
81537 quad soft-float symbols whose references which are compiler
81538 generated.
81539 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
81540
81541 2012-05-06 Joseph Myers <joseph@codesourcery.com>
81542
81543 [BZ #13884]
81544 [BZ #13914]
81545 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81546 USE_AS_EXP10L.
81547 (EXPL_FINITE): Likewise.
81548 (FLDLOG): Likewise.
81549 (c0): Likewise.
81550 (c1): Likewise.
81551 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
81552 Adjust comments for base varying.
81553 (__expl_finite): Change alias to EXPL_FINITE.
81554 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
81555 e_expl.S.
81556 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
81557 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
81558 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
81559 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
81560 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81561 USE_AS_EXP10L.
81562 (EXPL_FINITE): Likewise.
81563 (FLDLOG): Likewise.
81564 (c0): Likewise.
81565 (c1): Likewise.
81566 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
81567 Adjust comments for base varying.
81568 (__expl_finite): Change alias to EXPL_FINITE.
81569 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
81570 tests for bugs.
81571 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81572
81573 [BZ #14064]
81574 * math/libm-test.inc (check_float_internal): Correct ulp
81575 calculation for subnormal expected results.
81576
81577 2012-05-06 Andreas Jaeger <aj@suse.de>
81578
81579 * Makeconfig (+math-flags): New, set to -frounding-math.
81580 (+cflags): Add +math-flags so that all of glibc gets compiled with
81581 it.
81582
81583 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
81584
81585 2012-05-05 Joseph Myers <joseph@codesourcery.com>
81586
81587 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
81588 Disable one test.
81589
81590 [BZ #13787]
81591 [BZ #13922]
81592 [BZ #14036]
81593 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
81594 (__ieee754_expl): Allow for and saturate large arguments.
81595 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
81596 (u_threshold): Likewise.
81597 (__exp): Call __ieee754_exp before checking for overflow and
81598 underflow.
81599 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
81600 (u_threshold): Likewise.
81601 (__expf): Call __ieee754_expf before checking for overflow and
81602 underflow.
81603 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
81604 (u_threshold): Likewise.
81605 (__expl): Call __ieee754_expl before checking for overflow and
81606 underflow.
81607 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
81608 (__ieee754_expl): Allow for and saturate large arguments.
81609 * math/libm-test.inc (exp_test): Add another test. Do not allow
81610 missing overflow exception on overflow.
81611 (expm1_test): Do not allow missing overflow exception on overflow.
81612
81613 * sysdeps/i386/fpu/e_expl.c: Move to ...
81614 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
81615 rather than using inline asm.
81616 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
81617 * sysdeps/x86_64/fpu/e_expl.S: Copy from
81618 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
81619
81620 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
81621 (nice): Likewise.
81622 (poll): Likewise.
81623 (signal): Likewise.
81624 (time): Likewise.
81625 (times): Likewise.
81626
81627 2012-05-04 Joseph Myers <joseph@codesourcery.com>
81628
81629 * sysdeps/unix/syscalls.list (adjtime): Add entry from
81630 sysdeps/unix/common/syscalls.list.
81631 (fchmod): Likewise.
81632 (fchown): Likewise.
81633 (ftruncate): Likewise.
81634 (getrusage): Likewise.
81635 (gettimeofday): Likewise.
81636 (setpgid): Likewise.
81637 (setregid): Likewise.
81638 (setreuid): Likewise.
81639 (sigaction): Likewise.
81640 (truncate): Likewise.
81641 (vhangup): Likewise.
81642 * sysdeps/unix/common/syscalls.list: Remove file.
81643 * sysdeps/unix/bsd/Implies: Don't include unix/common.
81644 * sysdeps/unix/sysv/linux/Implies: Likewise.
81645
81646 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
81647
81648 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
81649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
81650 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
81651 Moved to ...
81652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
81653 Here.
81654 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
81655 to ...
81656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
81657 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
81658 to ...
81659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
81660 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
81661 to ...
81662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
81663 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
81664 to ...
81665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
81666 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
81667 to ...
81668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
81669 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
81670 to ...
81671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
81672 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
81673 to ...
81674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
81675 Here.
81676 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
81677 to ...
81678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
81679 Here.
81680 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
81681 to ...
81682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
81683 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
81684 Moved to ...
81685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
81686 Here.
81687 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
81688 to ...
81689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
81690
81691 2012-05-04 Joseph Myers <joseph@codesourcery.com>
81692
81693 * sysdeps/unix/common/bits/dirent.h: Remove file.
81694 * sysdeps/unix/common/bits/fcntl.h: Likewise.
81695
81696 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
81697 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
81698 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
81699 * sysdeps/unix/bsd/isatty.c: Likewise.
81700 * sysdeps/unix/bsd/tcdrain.c: Likewise.
81701 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
81702 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
81703
81704 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81705
81706 [BZ #13563]
81707 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
81708 long double comparison inaccuracies.
81709 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
81710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81711
81712 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
81713
81714 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
81715 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
81716
81717 2012-05-04 Joseph Myers <joseph@codesourcery.com>
81718
81719 [BZ #14049]
81720 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
81721 nonzero digits before rounding a hex value.
81722 * stdlib/tst-strtod.c (tests): Add another test.
81723
81724 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
81725
81726 * sysdeps/s390/fpu/libm-test-ulps: Update.
81727
81728 2012-05-03 Andreas Jaeger <aj@suse.de>
81729
81730 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
81731 does not get optimized out.
81732 (malloc_opt_barrier): New.
81733
81734 2012-05-03 Andreas Jaeger <aj@suse.de>
81735 Roland McGrath <roland@hack.frob.com>
81736
81737 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
81738 intermediate file deletion.
81739 (generated): Add .symlist files.
81740
81741 2012-05-03 Joseph Myers <joseph@codesourcery.com>
81742
81743 [BZ #13775]
81744 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
81745 Redirect under this condition.
81746 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
81747 [__USE_GNU] (__dprintf_chk): Not under this condition.
81748 [__USE_GNU] (__vdprintf_chk): Likewise.
81749 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
81750 under this condition.
81751 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
81752 [__USE_XOPEN2K8] (dprintf): Define under this condition.
81753 [__USE_XOPEN2K8] (vdprintf): Likewise.
81754 [__USE_GNU] (__dprintf_chk): Not under this condition.
81755 [__USE_GNU] (__vdprintf_chk): Likewise.
81756 [__USE_GNU] (dprintf): Likewise.
81757 [__USE_GNU] (vdprintf): Likewise.
81758
81759 2012-05-03 Roland McGrath <roland@hack.frob.com>
81760
81761 * elf/Makefile (common-generated): Set this instead of generated for
81762 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
81763 $(all-built-dso)-derived lists.
81764
81765 2012-05-03 Andreas Jaeger <aj@suse.de>
81766
81767 * sysdeps/i386/fpu/libm-test-ulps: Update.
81768
81769 * FAQ: Removed.
81770 * FAQ.in: Likewise.
81771 * scripts/gen-FAQ.pl: Likewise.
81772 * manual/install.texi (Installation): Point to online location of
81773 FAQ.
81774 * Makefile (files-for-dist): Remove FAQ.
81775 (FAQ): Remove.
81776
81777 2012-05-02 Allan McRae <allan@archlinux.org>
81778
81779 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
81780 (LDFLAGS-reldepmod5.so): Likewise.
81781 (LDFLAGS-reldep6mod1.so): Likewise.
81782 (LDFLAGS-reldep6mod4.so): Likewise.
81783 (LDFLAGS-reldep8mod3.so): Likewise.
81784 (LDFLAGS-unload4mod1.so): Likewise.
81785 (LDFLAGS-unload4mod2.so): Likewise.
81786 (LDFLAGS-tst-initorder): Likewise.
81787 (LDFLAGS-tst-initordera2.so): Likewise.
81788 (LDFLAGS-tst-initordera3.so): Likewise.
81789 (LDFLAGS-tst-initordera4.so): Likewise.
81790 (LDFLAGS-tst-initorderb2.so): Likewise.
81791 (LDFLAGS-noload): Likewise.
81792 (LDFLAGS-next): Likewise.
81793 (LDFLAGS-order2mod1.so): Likewise.
81794 (LDFLAGS-order2mod2.so): Likewise.
81795 (LDFLAGS-tst-initorder2): Likewise.
81796 (LDFLAGS-tst-initorder2a.so): Likewise.
81797 (LDFLAGS-tst-initorder2b.so): Likewise.
81798 (LDFLAGS-tst-initorder2c.so): Likewise.
81799 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
81800
81801 2012-05-02 David S. Miller <davem@davemloft.net>
81802
81803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
81804
81805 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
81806
81807 [BZ #14055]
81808 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
81809
81810 2012-05-02 Andreas Jaeger <aj@suse.de>
81811
81812 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
81813 since we manipulate rounding mode.
81814 (CPPFLAGS-test-idouble.c): Likewise.
81815 (CPPFLAGS-test-ifloat.c): Likewise.
81816 (CFLAGS-test-ldouble.c): Likewise.
81817 (CFLAGS-test-double.c): Likewise.
81818 (CFLAGS-test-float.c): Likewise.
81819 (CFLAGS-test-misc.c): Likewise.
81820 (CFLAGS-test-test-fenv.c): Likewise.
81821
81822 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81823
81824 [BZ #2550]
81825 [BZ #2570]
81826 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
81827 comparisons to determine direction to adjust input.
81828
81829 2012-05-01 Roland McGrath <roland@hack.frob.com>
81830
81831 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
81832 output to the target.
81833
81834 * scripts/localplt.awk: New file.
81835 * elf/Makefile ($(objpfx)check-localplt): Target removed.
81836 (check-localplt-CFLAGS): Variable removed.
81837 ($(all-built-dso:=.jmprel)): New static pattern rule.
81838 (generated): Add those targets.
81839 (localplt-built-dso): New variable.
81840 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
81841
81842 * elf/check-localplt.c: File removed.
81843
81844 * scripts/check-execstack.awk: New file.
81845 * elf/Makefile ($(objpfx)check-execstack): Target removed.
81846 (check-execstack-CFLAGS): Variable removed.
81847 ($(objpfx)check-execstack.h): Target removed.
81848 ($(objpfx)execstack-default): New target.
81849 (generated): Add that instead of check-execstack.h.
81850 ($(all-built-dso:=.phdr)): New static pattern rule.
81851 (generated): Add those targets.
81852 * elf/check-execstack.c: File removed.
81853
81854 * scripts/check-textrel.awk: New file.
81855 * elf/Makefile ($(objpfx)check-textrel): Target removed.
81856 (check-textrel-CFLAGS): Variable removed.
81857 (all-built-dso): Use := to define.o
81858 ($(all-built-dso:=.dyn)): New static pattern rule.
81859 (generated): Add those targets.
81860 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
81861 * config.make.in (READELF): New substituted variable.
81862 * elf/check-textrel.c: File removed.
81863
81864 2012-05-01 Joseph Myers <joseph@codesourcery.com>
81865
81866 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
81867 allow.
81868 * conform/data/ctype.h-data [C99-based standards] (isblank):
81869 Expect function.
81870 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
81871 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
81872 [ISO || ISO99 || ISO11] (*_t): Do not allow.
81873 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
81874 Specify type. Require positive value.
81875 (EILSEQ): Likewise.
81876 (ERANGE): Likewise.
81877 [ISO || POSIX] (EILSEQ): Do not expect.
81878 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
81879 Specify type. Require positive value.
81880 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
81881 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
81882 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
81883 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
81884 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
81885 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
81886 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
81887 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
81888 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
81889 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
81890 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
81891 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
81892 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
81893 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
81894 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
81895 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
81896 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
81897 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
81898 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
81899 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
81900 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
81901 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
81902 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
81903 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
81904 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
81905 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
81906 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
81907 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
81908 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
81909 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
81910 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
81911 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
81912 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
81913 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
81914 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
81915 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
81916 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
81917 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
81918 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
81919 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
81920 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
81921 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
81922 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
81923 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
81924 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
81925 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
81926 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
81927 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
81928 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
81929 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
81930 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
81931 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
81932 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
81933 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
81934 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
81935 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
81936 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
81937 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
81938 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
81939 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
81940 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
81941 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
81942 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
81943 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
81944 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
81945 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
81946 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
81947 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
81948 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
81949 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
81950 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
81951 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
81952 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
81953 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
81954 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
81955 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
81956 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
81957 Require >= 2.
81958 (FLT_ROUNDS): Expect as macro, not constant.
81959 (FLT_MANT_DIG): Use macro-int-constant.
81960 (DBL_MANT_DIG): Likewise.
81961 (LDBL_MANT_DIG): Likewise.
81962 (FLT_DIG): Likewise.
81963 (DBL_DIG): Likewise.
81964 (LDBL_DIG): Likewise.
81965 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
81966 (DBL_MIN_EXP): Likewise.
81967 (LDBL_MIN_EXP): Likewise.
81968 (FLT_MAX_EXP): Use macro-int-constant.
81969 (DBL_MAX_EXP): Likewise.
81970 (LDBL_MAX_EXP): Likewise.
81971 (FLT_MAX_10_EXP): Likewise.
81972 (DBL_MAX_10_EXP): Likewise.
81973 (LDBL_MAX_10_EXP): Likewise.
81974 (FLT_MAX): Use macro-constant.
81975 (DBL_MAX): Likewise.
81976 (LDBL_MAX): Likewise.
81977 (FLT_EPSILON): Use macro-constant. Give upper bound.
81978 (DBL_EPSILON): Likewise.
81979 (LDBL_EPSILON): Likewise.
81980 (FLT_MIN): Likewise.
81981 (DBL_MIN): Likewise.
81982 (LDBL_MIN): Likewise.
81983 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
81984 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
81985 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
81986 [ISO11] (FLT_HAS_SUBNORM): Likewise.
81987 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
81988 [ISO11] (DBL_DECIMAL_DIG): Likewise.
81989 [ISO11] (FLT_DECIMAL_DIG): Likewise.
81990 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
81991 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
81992 [ISO11] (FLT_TRUE_MIN): Likewise.
81993 [ISO11] (LDBL_TRUE_MIN): Likewise.
81994 [ISO || ISO99 || ISO11] (*_t): Do not allow.
81995 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
81996 (SCHAR_MIN): Use macro-int-constant. Specify type.
81997 (SCHAR_MAX): Likewise.
81998 (UCHAR_MAX): Likewise.
81999 (CHAR_MIN): Likewise.
82000 (CHAR_MAX): Likewise.
82001 (MB_LEN_MAX): Use macro-int-constant.
82002 (SHRT_MIN): Use macro-int-constant. Specify type.
82003 (SHRT_MAX): Likewise.
82004 (USHRT_MAX): Likewise.
82005 (INT_MAX): Likewise.
82006 (INT_MIN): Use macro-int-constant. Specify type. Make upper
82007 bound negative.
82008 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
82009 bound with "U".
82010 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
82011 bound with "L".
82012 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
82013 bound negative. Suffix upper bound with "L".
82014 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
82015 bound with "UL".
82016 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
82017 Specify type.
82018 [C99-based standards] (LLONG_MAX): Likewise.
82019 [C99-based standards] (ULLONG_MAX): Likewise.
82020 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
82021 == 0.
82022 [ISO11] (max_align_t): Require type.
82023 [ISO || ISO99 || ISO11] (*_t): Do not allow.
82024
82025 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
82026 from $CFLAGS, without defining away __attribute__ calls.
82027 (checknamespace): Use $CFLAGS_namespace.
82028
82029 * conform/conformtest.pl (@keywords): Only include C99 keywords
82030 for standards based on C99 or C11.
82031
82032 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
82033 Disable tests.
82034 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
82035 UNIX98]: Likewise.
82036
82037 * conform/conformtest.pl: Handle "macro-int-constant" and test for
82038 usability of symbols in #if.
82039
82040 * conform/conformtest.pl: If macro or constant types start
82041 "promoted:", expect the symbol to be of the following type
82042 promoted by the integer promotions.
82043
82044 * conform/conformtest.pl: Parse all "constant" and "macro" lines
82045 in one place. Also handle "macro-constant".
82046
82047 * conform/conformtest.pl: Only accept expected macro values with
82048 "==". Parse all "macro" lines in one place.
82049 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
82050
82051 * conform/conformtest.pl: Handle braced types on "constant" lines
82052 instead of handling "typed-constant".
82053 * conform/data/signal.h-data: Use "constant" instead of
82054 "typed-constant".
82055
82056 * conform/conformtest.pl: Handle "optional-" at start of lines in
82057 one place rather than duplicating several cases. Handle each
82058 format of "macro" line with initial "optional-".
82059
82060 * conform/conformtest.pl: Only accept expected constant or
82061 optional-constant values with "==". Parse all "constant" lines in
82062 one place. Parse all "optional-constant" lines in one place.
82063 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
82064 * conform/data/fmtmsg.h-data: Likewise.
82065 * conform/data/netinet/in.h-data: Likewise.
82066 * conform/data/tar.h-data: Likewise.
82067 * conform/data/limits.h-data: Use "==" form on "constant" and
82068 "optional-constant" lines.
82069
82070 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
82071 Use -std=c99 for XOPEN2K.
82072 (@knownproblems): Remove.
82073 (newtoken): Don't check %isknown.
82074
82075 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
82076 Do not expect macro.
82077 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
82078 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
82079 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
82080 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
82081 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
82082 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
82083 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
82084 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
82085 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
82086 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
82087 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
82088 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
82089 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
82090 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
82091 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
82092 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
82093 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
82094 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
82095 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
82096 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
82097 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
82098 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
82099 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
82100 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
82101 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
82102 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
82103 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
82104 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
82105 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
82106 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
82107 [XPG3] (acosh): Likewise.
82108 [XPG3] (asinh): Likewise.
82109 [XPG3] (atanh): Likewise.
82110 [XPG3] (cbrt): Likewise.
82111 [XPG3] (expm1): Likewise.
82112 [XPG3] (ilogb): Likewise.
82113 [XPG3] (log1p): Likewise.
82114 [XPG3] (logb): Likewise.
82115 [XPG3] (nextafter): Likewise.
82116 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
82117 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
82118 [XPG3] (remainder): Likewise.
82119 [XPG3] (rint): Likewise.
82120 [XPG3 || XPG4 || UNIX98] (round): Likewise.
82121 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
82122 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
82123 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
82124 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
82125 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
82126 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
82127 [UNIX98 || XOPEN2K] (scalb): Expect.
82128 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
82129 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
82130 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
82131 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
82132 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
82133 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
82134 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
82135 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
82136 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
82137 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
82138 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
82139 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
82140 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
82141 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
82142 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
82143 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
82144 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
82145 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
82146 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
82147 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
82148 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
82149 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
82150 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
82151 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
82152 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
82153 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
82154 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
82155 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
82156 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
82157 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
82158 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
82159 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
82160 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
82161 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
82162 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
82163 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
82164 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
82165 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
82166 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
82167 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
82168 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
82169 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
82170 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
82171 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
82172 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
82173 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
82174 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
82175 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
82176 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
82177 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
82178 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
82179 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
82180 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
82181 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
82182 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
82183 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
82184 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
82185 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
82186 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
82187 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
82188 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
82189 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
82190 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
82191 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
82192 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
82193 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
82194 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
82195 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
82196 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
82197 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
82198 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
82199 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
82200 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
82201 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
82202 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
82203 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
82204 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
82205 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
82206 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
82207 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
82208 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
82209 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
82210 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
82211 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
82212 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
82213 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
82214 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
82215 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
82216 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
82217 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
82218 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
82219 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
82220 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
82221 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
82222 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
82223 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
82224 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
82225 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
82226 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
82227 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
82228 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
82229 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
82230 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
82231 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
82232 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
82233 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
82234 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
82235 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
82236 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
82237 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
82238 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
82239 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
82240 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
82241 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
82242 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
82243 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
82244 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
82245 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
82246 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
82247 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
82248 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
82249 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
82250 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
82251 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
82252 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
82253 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
82254 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
82255 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
82256 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
82257 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
82258 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
82259 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
82260 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
82261 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
82262 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
82263 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
82264 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
82265
82266 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
82267 _XOPEN_SOURCE_EXTENDED for XPG4.
82268
82269 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
82270
82271 * Makeconfig (localtime): Remove variable.
82272 (inst_localtime-file): Likewise.
82273
82274 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
82275
82276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
82277 Update.
82278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
82279 Update.
82280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
82281 Update.
82282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
82283 Update.
82284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
82285 Update.
82286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
82287 Update.
82288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
82289 Update.
82290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
82291 Update.
82292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
82293 Update.
82294
82295 2012-05-01 Joseph Myers <joseph@codesourcery.com>
82296
82297 [BZ #2550]
82298 [BZ #2570]
82299 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
82300 comparisons to determine direction to adjust input.
82301 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
82302 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
82303 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
82304 Likewise.
82305 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
82306 Likewise.
82307 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
82308 Likewise.
82309 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
82310 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
82311 Likewise.
82312 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
82313 Likewise.
82314 * math/libm-test.inc (nexttoward_test): Add more tests.
82315
82316 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
82317
82318 [BZ #14040]
82319 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
82320 in version GLIBC_2.1, not GLIBC_2.0.
82321 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
82322 Likewise.
82323
82324 2012-04-30 Joseph Myers <joseph@codesourcery.com>
82325
82326 [BZ #13942]
82327 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
82328 (1 - x) * (1 + x).
82329 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
82330 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
82331 * math/libm-test.inc (acos_test): Add more tests.
82332 (asin_test): Likewise.
82333 * sysdeps/i386/fpu/libm-test-ulps: Update.
82334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82335
82336 [BZ #14034]
82337 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
82338 of square root.
82339 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
82340 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
82341 * math/libm-test.inc (acos_test_tonearest): New function.
82342 (acos_test_towardzero): Likewise.
82343 (acos_test_downward): Likewise.
82344 (acos_test_upward): Likewise.
82345 (asin_test_tonearest): Likewise.
82346 (asin_test_towardzero): Likewise.
82347 (asin_test_downward): Likewise.
82348 (asin_test_upward): Likewise.
82349 (main): Call the new functions.
82350 * sysdeps/i386/fpu/libm-test-ulps: Update.
82351 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82352
82353 [BZ #13884]
82354 [BZ #13924]
82355 * math/e_exp10.c: Include <float.h>.
82356 (__ieee754_exp10): Handle underflow here rather than multiplying
82357 large negative argument by M_LN10.
82358 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
82359 of __ieee754_expf.
82360 * math/e_exp10l.c: Include <float.h>.
82361 (__ieee754_exp10l): Handle underflow here rather than multiplying
82362 large negative argument by M_LN10l.
82363 * math/libm-test.inc (exp10_test): Add another test. Do not allow
82364 spurious overflow exception on underflow.
82365
82366 2012-04-29 Marek Polacek <polacek@redhat.com>
82367
82368 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
82369 (__fortify_function): New macro.
82370 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
82371 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
82372 __extern_always_inline.
82373 * libio/bits/stdio2.h: Likewise.
82374 * libio/bits/stdio.h: Likewise.
82375 * string/string.h: Likewise.
82376 * string/bits/string3.h: Likewise.
82377 * include/stdio.h: Likewise.
82378 * stdlib/bits/stdlib.h: Likewise.
82379 * stdlib/stdlib.h: Likewise.
82380 * rt/bits/mqueue2.h: Likewise.
82381 * rt/mqueue.h: Likewise.
82382 * posix/bits/unistd.h: Likewise.
82383 * posix/unistd.h: Likewise.
82384 * io/bits/poll2.h: Likewise.
82385 * io/bits/fcntl2.h: Likewise.
82386 * io/fcntl.h: Likewise.
82387 * io/sys/poll.h: Likewise.
82388 * misc/bits/syslog.h: Likewise.
82389 * misc/bits/syslog-ldbl.h: Likewise.
82390 * misc/sys/syslog.h: Likewise.
82391 * socket/bits/socket2.h: Likewise.
82392 * socket/sys/socket.h: Likewise.
82393 * debug/tst-chk1.c: Likewise.
82394 * wcsmbs/bits/wchar2.h: Likewise.
82395 * wcsmbs/bits/wchar-ldbl.h: Likewise.
82396 * wcsmbs/wchar.h: Likewise.
82397
82398 2012-04-29 Andreas Jaeger <aj@suse.de>
82399
82400 * Makerules (tests): Remove enable-check-abi protection.
82401 (check-abi-warn): Remove.
82402 (check-abi-%): Remove check-abi-warn usage.
82403
82404 * configure.in: Remove check-abi configure option.
82405 * configure: Regenerated.
82406 * config.make.in (enable-check-abi): Remove.
82407
82408 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
82409
82410 [BZ #14033]
82411 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
82412 double functions to double *_finite functions.
82413
82414 [BZ #13941]
82415 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
82416 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
82417 LDBL_MIN_EXP.
82418 * stdio-common/Makefile (tests): Add tst-sprintf3.
82419 * stdio-common/tst-sprintf3.c: New file.
82420
82421 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
82422 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
82423
82424 2012-04-28 Joseph Myers <joseph@codesourcery.com>
82425
82426 * conform/conformtest.pl: Remove duplicate typed-constant
82427 handling.
82428
82429 2012-04-28 David S. Miller <davem@davemloft.net>
82430
82431 * Makerules (%.abilist): Add vpath on sysdep_dirs.
82432 (check-abi-%): Remove AWK script prerequisite and explicit
82433 abilist directory.
82434 (check-abi): Rewrite to just diff the symlist with the abilist.
82435 (config-tls, config-abi-config): Delete, no longer used.
82436 (update-abi-%): Remove AWK script and explicit abilist directory.
82437 (update-abi): Rewrite to simply compare and conditionally copy the
82438 symlist and the sysdep abilist file. Remove update-abi-config
82439 checks.
82440 * abilist/ld.abilist: Remove.
82441 * abilist/libBrokenLocale.abilist: Remove.
82442 * abilist/libanl.abilist: Remove.
82443 * abilist/libcrypt.abilist: Remove.
82444 * abilist/libdl.abilist: Remove.
82445 * abilist/librt.abilist: Remove.
82446 * abilist/libthread_db.abilist: Remove.
82447 * abilist/libutil.abilist: Remove.
82448 * scripts/extract-abilist.awk: Remove.
82449 * scripts/merge-abilist.awk: Remove.
82450 * sysdeps/generic/libcidn.abilist: New file.
82451 * sysdeps/generic/libnss_compat.abilist: New file.
82452 * sysdeps/generic/libnss_db.abilist: New file.
82453 * sysdeps/generic/libnss_dns.abilist: New file.
82454 * sysdeps/generic/libnss_files.abilist: New file.
82455 * sysdeps/generic/libnss_hesiod.abilist: New file.
82456 * sysdeps/generic/libnss_nis.abilist: New file.
82457 * sysdeps/generic/libnss_nisplus.abilist: New file.
82458 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
82459 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
82460 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
82461 file.
82462 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
82463 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
82464 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
82465 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
82466 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
82467 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
82468 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
82469 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
82470 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
82471 file.
82472 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
82473 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
82474 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
82475 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
82476 file.
82477 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
82478 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
82479 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
82480 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
82481 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
82482 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
82483 file.
82484 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
82485 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
82486 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
82487 file.
82488 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
82489 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
82490 New file.
82491 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
82492 New file.
82493 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
82494 New file.
82495 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
82496 New file.
82497 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
82498 New file.
82499 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
82500 New file.
82501 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
82502 New file.
82503 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
82504 New file.
82505 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
82506 New file.
82507 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
82508 New file.
82509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
82510 New file.
82511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
82512 New file.
82513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
82514 New file.
82515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
82516 file.
82517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
82518 New file.
82519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
82520 New file.
82521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
82522 file.
82523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
82524 New file.
82525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
82526 New file.
82527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
82528 file.
82529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
82530 New file.
82531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
82532 New file.
82533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
82534 New file.
82535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
82536 New file.
82537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
82538 New file.
82539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
82540 New file.
82541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
82542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
82543 file.
82544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
82545 New file.
82546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
82547 file.
82548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
82549 file.
82550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
82551 file.
82552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
82553 file.
82554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
82555 file.
82556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
82557 New file.
82558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
82559 file.
82560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
82561 file.
82562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
82563 New file.
82564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
82565 file.
82566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
82567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
82568 file.
82569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
82570 New file.
82571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
82572 file.
82573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
82574 file.
82575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
82576 file.
82577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
82578 file.
82579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
82580 file.
82581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
82582 New file.
82583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
82584 file.
82585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
82586 file.
82587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
82588 New file.
82589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
82590 file.
82591 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
82592 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
82593 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
82594 file.
82595 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
82596 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
82597 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
82598 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
82599 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
82600 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
82601 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
82602 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
82603 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
82604 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
82605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
82606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
82607 file.
82608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
82609 New file.
82610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
82611 file.
82612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
82613 file.
82614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
82615 file.
82616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
82617 file.
82618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
82619 file.
82620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
82621 New file.
82622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
82623 New file.
82624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
82625 file.
82626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
82627 New file.
82628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
82629 file.
82630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
82631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
82632 file.
82633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
82634 New file.
82635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
82636 file.
82637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
82638 file.
82639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
82640 file.
82641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
82642 file.
82643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
82644 file.
82645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
82646 New file.
82647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
82648 New file.
82649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
82650 file.
82651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
82652 New file.
82653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
82654 file.
82655
82656 2012-04-28 Joseph Myers <joseph@codesourcery.com>
82657
82658 * conform/conformtest.pl: Fix typo in handling typed-constant from
82659 allow-header.
82660
82661 2012-04-27 Joseph Myers <joseph@codesourcery.com>
82662
82663 * README: Cut down references to pre-2.6 Linux kernels and
82664 Linuxthreads. Update lists of configurations in libc and ports
82665 and sort alphabetically. Say "or newer" with Linux kernel version
82666 requirements.
82667
82668 * config.h.in [IS_IN_build]: Allow compiling without optimization.
82669
82670 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
82671
82672 [BZ #887]
82673 * math/libm-test.inc (logb_test_downward): New test to expose
82674 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
82675 rounding mode.
82676
82677 2012-04-27 Joseph Myers <joseph@codesourcery.com>
82678
82679 [BZ #14027]
82680 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
82681 to be done.
82682 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
82683 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
82684
82685 2012-04-26 Joseph Myers <joseph@codesourcery.com>
82686
82687 * sysdeps/unix/i386/brk.S: Remove file.
82688 * sysdeps/unix/i386/dl-brk.S: Likewise.
82689 * sysdeps/unix/i386/pipe.S: Likewise.
82690 * sysdeps/unix/i386/sigreturn.S: Likewise.
82691 * sysdeps/unix/i386/syscall.S: Likewise.
82692 * sysdeps/unix/i386/vfork.S: Likewise.
82693 * sysdeps/unix/i386/wait.S: Likewise.
82694
82695 * sysdeps/unix/common/tcsendbrk.c: Move to ...
82696 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
82697
82698 * configure.in (arm*-none*): Do not allow without
82699 --enable-hacker-mode.
82700 (netbsd*): Remove case setting base_os.
82701 (386bsd*): Likewise.
82702 (freebsd*): Likewise.
82703 (bsdi*): Likewise.
82704 (osf*): Likewise.
82705 (sunos*): Likewise.
82706 (ultrix*): Likewise.
82707 (newsos*): Likewise.
82708 (dynix*): Likewise.
82709 (*bsd*): Likewise.
82710 (sysv*): Likewise.
82711 (isc*): Likewise.
82712 (esix*): Likewise.
82713 (sco*): Likewise.
82714 (minix*): Likewise.
82715 (irix4*): Likewise.
82716 (irix6*): Likewise.
82717 (solaris[2-9]*): Likewise.
82718 (none): Likewise.
82719 * configure: Regenerated.
82720
82721 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82722
82723 [BZ #11521]
82724 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
82725 overflow or cancellation in calculating denominator.
82726 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
82727 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
82728 down expression to avoid unexpected rounding in newer GCCs.
82729 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
82730
82731 2012-04-26 David S. Miller <davem@davemloft.net>
82732
82733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
82734 long-double compat symbols.
82735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
82736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
82737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
82738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
82739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
82740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
82741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
82742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
82743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
82744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
82745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
82746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
82747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
82748
82749 2012-04-25 David S. Miller <davem@davemloft.net>
82750
82751 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
82752 HWCAP_* values only after the memory barriers have been defined.
82753 (atomic_full_barrier): Define.
82754 (atomic_read_barrier): Define.
82755 (atomic_write_barrier): Define.
82756
82757 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
82758
82759 * shlib-versions: Add libgcc_s version information.
82760 * sysdeps/generic/libgcc_s.h: Remove.
82761 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
82762 libgcc_s.h.
82763 * sysdeps/gnu/unwind-resume.c: Likewise.
82764 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
82765
82766 2012-04-25 David S. Miller <davem@davemloft.net>
82767
82768 * sysdeps/unix/sparc/brk.S: Delete.
82769 * sysdeps/unix/sparc/dl-brk.S: Delete.
82770 * sysdeps/unix/sparc/pipe.S: Delete.
82771 * sysdeps/unix/sparc/sysdep.S: Delete.
82772 * sysdeps/unix/sparc/sysdep.h: Delete.
82773 * sysdeps/unix/sparc/vfork.S: Delete.
82774 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
82775 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
82776 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
82777 (ret_ERRVAL, r0, r1, MOVE): Define.
82778 (JUMPTARGET): Remove.
82779 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
82780 sysdeps/unix/sparc/sysdep.h
82781 (ENTRY, END): Remove.
82782 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
82783
82784 2012-04-25 Joseph Myers <joseph@codesourcery.com>
82785
82786 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
82787 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
82788 -DIS_IN_build.
82789
82790 * timezone/README: Update upstream location and email address for
82791 tzcode and tzdata.
82792 * timezone/zdump.c: Update from tzcode 2012b.
82793 * timezone/zic.c: Likewise.
82794
82795 * configure.in (libc_cv_as_needed): Remove test.
82796 * configure: Regenerated.
82797 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
82798 conditional definition.
82799 [$(have-as-needed) != yes] (no-as-needed): Likewise.
82800 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
82801 * config.make.in (have-as-needed): Remove variable.
82802
82803 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
82804 Paul Pluzhnikov <ppluzhnikov@google.com>
82805
82806 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
82807 strings correctly.
82808
82809 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
82810
82811 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
82812 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
82813 * sysdeps/sh/strlen.S: Likewise.
82814
82815 2012-04-24 Joseph Myers <joseph@codesourcery.com>
82816
82817 * sysdeps/unix/fork.S: Remove file.
82818 * sysdeps/unix/i386/fork.S: Likewise.
82819 * sysdeps/unix/sparc/fork.S: Likewise.
82820
82821 * sysdeps/unix/system.c: Remove file.
82822 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
82823
82824 * sysdeps/unix/getegid.S: Remove file.
82825 * sysdeps/unix/geteuid.S: Likewise.
82826
82827 2012-04-24 Roland McGrath <roland@hack.frob.com>
82828
82829 * scripts/check-localplt.awk: New file.
82830 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
82831 of diff.
82832 * scripts/data/localplt-generic.data: Add a comment.
82833
82834 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
82835 NODE when __dir_mkfile failed.
82836 * sysdeps/mach/hurd/symlinkat.c: Likewise.
82837 Reported by Ludovic Courtès <ludo@gnu.org>.
82838
82839 2012-04-24 Andreas Jaeger <aj@suse.de>
82840
82841 * Makerules (common-clean): Also remove gen-as-const-headers
82842 files.
82843
82844 2012-04-24 Joseph Myers <joseph@codesourcery.com>
82845
82846 * Makerules (native-compile): Do not change working directory for
82847 build. Use $(OUTPUT_OPTION) in command.
82848 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
82849
82850 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82851
82852 [BZ #13886]
82853 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
82854 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
82855 * math/libm-test.inc (floor_test): Add more tests.
82856 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
82857
82858 2012-04-24 Joseph Myers <joseph@codesourcery.com>
82859
82860 * sysdeps/unix/getdents.c: Remove file.
82861 * sysdeps/unix/sysv/getdents.c: Likewise.
82862 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
82863
82864 * sysdeps/unix/syscalls.list (madvise): Add syscall from
82865 sysdeps/unix/mman/syscalls.list.
82866 (mmap): Likewise.
82867 (mprotect): Likewise.
82868 (msync): Likewise.
82869 (munmap): Likewise.
82870 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
82871 * sysdeps/unix/mman/syscalls.list: Remove.
82872 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
82873
82874 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
82875 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
82876 * configure: Regenerated.
82877 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
82878 $(libgcc_s_suffix).
82879 * config.make.in (libgcc_s_suffix): Remove variable.
82880
82881 2012-04-23 Joseph Myers <joseph@codesourcery.com>
82882
82883 * sysdeps/unix/sysv/gethostname.c: Move to ...
82884 * sysdeps/posix/gethostname.c: ... here.
82885
82886 * sysdeps/unix/execve.S: Remove file.
82887
82888 * sysdeps/unix/_exit.S: Remove file.
82889
82890 2012-04-23 Andreas Jaeger <aj@suse.de>
82891
82892 [BZ #13739]
82893 * manual/Makefile: Remove make dist support, there's no
82894 need for a stand-alone documentation tar ball.
82895 (TEXI2DVI): Define always, it's not in Makeconfig.
82896 (dist): Removed.
82897 (tar-it): Removed.
82898 (edition): Removed.
82899 (glibc-doc-$(edition).tar): Removed
82900 (%.Z): Removed.
82901 (%.gz): Removed.
82902 (%.uu): Removed.
82903 (ETAGS): Remove, it's in Makeconfig.
82904 (move-if-change): Remove, it's in Makeconfig.
82905
82906 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
82907
82908 [BZ #13970]
82909 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
82910 (strtod, strtof, strtold, strtol, strtoul, strtoq)
82911 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
82912 (strtod_l, strtof_l, strtold_l): Remove __wur.
82913 It is not necessarily an error to ignore strtol's return value.
82914 One can reliably look at the stored endptr to decide whether
82915 the number had valid syntax.
82916
82917 2012-04-21 Andreas Jaeger <aj@suse.de>
82918
82919 [BZ #13739]
82920 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
82921
82922 2012-04-21 Joseph Myers <joseph@codesourcery.com>
82923
82924 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
82925 * sysdeps/unix/sysv/Versions: Remove file.
82926
82927 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
82928
82929 [BZ #13927]
82930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82931
82932 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
82933
82934 [BZ #7064]
82935 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
82936 version from __vm86.
82937
82938 2012-04-20 Joseph Myers <joseph@codesourcery.com>
82939
82940 * sysdeps/unix/common/lxstat.c: Remove file.
82941 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
82942
82943 * sysdeps/unix/sysv/Makefile: Remove file.
82944
82945 * sysdeps/unix/sysv/direct.h: Remove file.
82946
82947 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
82948 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
82949 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
82950 * sysdeps/unix/sysv/bits/signum.h: Likewise.
82951 * sysdeps/unix/sysv/bits/stat.h: Likewise.
82952 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
82953 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
82954
82955 * sysdeps/unix/sysv/setrlimit.c: Remove file.
82956
82957 * sysdeps/unix/xmknod.c: Remove file.
82958 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
82959
82960 * sysdeps/unix/sysv/settimeofday.c: Remove file.
82961
82962 * sysdeps/unix/sysv/i386/time.S: Remove file.
82963
82964 * sysdeps/unix/fxstat.c: Remove file.
82965 * sysdeps/unix/xstat.c: Likewise.
82966 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
82967
82968 * sysdeps/unix/sysv/sigaction.c: Remove file.
82969
82970 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
82971 (sysdep_headers): Remove variable.
82972 [termio.h not in sysdep_headers] (generated): Likewise.
82973 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
82974 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
82975 * sysdeps/unix/sysv/tcdrain.c: Likewise.
82976 * sysdeps/unix/sysv/tcflow.c: Likewise.
82977 * sysdeps/unix/sysv/tcflush.c: Likewise.
82978 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
82979 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
82980 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
82981 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
82982 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
82983
82984 * sysdeps/unix/siglist.c: Remove file.
82985
82986 * sysdeps/unix/getppid.S: Remove file.
82987
82988 * sysdeps/unix/mkdir.c: Remove file.
82989 * sysdeps/unix/rmdir.c: Likewise.
82990
82991 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
82992
82993 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
82994 ERR_MAX value.
82995 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
82996 errlist-compat value.
82997
82998 2012-04-18 David S. Miller <davem@davemloft.net>
82999
83000 * sysdeps/generic/memcopy.h (reg_char): Delete.
83001 * debug/strcat_chk.c: Use char, not reg_char.
83002 * debug/strcpy_chk.c: Likewise.
83003 * debug/strncat_chk.c: Likewise.
83004 * debug/strncpy_chk.c: Likewise.
83005 * string/memchr.c: Likewise.
83006 * string/memrchr.c: Likewise.
83007 * string/rawmemchr.c: Likewise.
83008 * string/strcat.c: Likewise.
83009 * string/strchr.c: Likewise.
83010 * string/strchrnul.c: Likewise.
83011 * string/strcmp.c: Likewise.
83012 * string/strcpy.c: Likewise.
83013 * string/strncat.c: Likewise.
83014 * string/strncmp.c: Likewise.
83015 * string/strncpy.c: Likewise.
83016
83017 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
83018
83019 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
83020 __builtin_memcopy is called when src and dest ranges are known to not
83021 overlap.
83022
83023 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
83024
83025 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
83026 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
83027 fwd_align_merge macro call.
83028 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
83029 bwd_align_merge macro call.
83030 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
83031
83032 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
83033
83034 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
83035 bwd_align_merge macros.
83036 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
83037 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
83038 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
83039
83040 2012-04-18 David S. Miller <davem@davemloft.net>
83041
83042 * sysdeps/sparc/sparc64/memcopy.h: Delete.
83043
83044 2012-04-18 Andreas Jaeger <aj@suse.de>
83045
83046 [BZ #6794]
83047 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
83048 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
83049 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
83050
83051 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
83052 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
83053 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
83054
83055 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
83056 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
83057 Adjust for changed ldbl-128 files.
83058
83059 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
83060 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
83061 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
83062
83063 2012-04-17 David S. Miller <davem@davemloft.net>
83064
83065 * sysdeps/sparc/sparc32/memcopy.h: Delete.
83066
83067 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
83068
83069 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
83070 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
83071 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
83072 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
83073 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
83074 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
83075
83076 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83077
83078 [BZ #6794]
83079 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
83080 * math/libm-test.inc: Add ilogb errno and exception tests.
83081 * math/w_ilogb.c: New file: ilogb wrapper.
83082 * math/w_ilogbf.c: New file: ilogbf wrapper.
83083 * math/w_ilogbl.c: New file: ilogbl wrapper.
83084 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
83085 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
83086 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
83087 exception being thrown with 0.0 as argument.
83088 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
83089 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
83090 exception being thrown with 0.0 as argument.
83091 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
83092 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
83093 exception being thrown with 0.0 as argument.
83094 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
83095 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
83096 exception being thrown with 0.0 as argument.
83097 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
83098 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
83099 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
83100 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
83101 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
83102 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
83103 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
83104 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
83105 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
83106
83107 2012-04-17 Petr Baudis <pasky@ucw.cz>
83108
83109 * include/sys/uio.h: Change __vector to __iovec to avoid clash
83110 with altivec.
83111
83112 2012-04-16 Marek Polacek <polacek@redhat.com>
83113
83114 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
83115
83116 2012-04-16 Marek Polacek <polacek@redhat.com>
83117
83118 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
83119 operands of fdivp instruction.
83120
83121 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
83122
83123 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
83124 * elf/tst-auditmod3b.c: Likewise.
83125 * elf/tst-auditmod4b.c: Likewise.
83126 * elf/tst-auditmod5b.c: Likewise.
83127 * elf/tst-auditmod6b.c: Likewise.
83128 * elf/tst-auditmod6c.c: Likewise.
83129 * elf/tst-auditmod7b.c: Likewise.
83130 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
83131 * sysdeps/x86_64/preconfigure.in: Likewise.
83132 * sysdeps/x86_64/preconfigure: Regenerated.
83133
83134 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
83135
83136 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
83137 __ILP32__.
83138
83139 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
83140
83141 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
83142 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
83143
83144 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
83145
83146 [BZ #13973]
83147 * locale/iso-639.def: Fix gl language name. Spotted by
83148 Yaron Shahrabani.
83149
83150 2012-04-12 Roland McGrath <roland@hack.frob.com>
83151
83152 [BZ #2074]
83153 * libio/libio.h (__io_write_fn): Update comment.
83154
83155 2012-04-12 Petr Baudis <pasky@ucw.cz>
83156
83157 [BZ #2074]
83158 * stdio.texi (Hook Functions): The user provided writer function
83159 is not allowed to return -1.
83160
83161 2012-04-11 David S. Miller <davem@davemloft.net>
83162
83163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83164
83165 2012-04-11 Mike Frysinger <vapier@gentoo.org>
83166
83167 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
83168 Add a leading slash to rtkaio.
83169
83170 2012-04-11 Jim Meyering <meyering@redhat.com>
83171
83172 [BZ #11959]
83173 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
83174 It is not necessarily an error to ignore fwrite's return
83175 value. One can reliably use ferror to test for errors after
83176 the fact.
83177
83178 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
83179
83180 * bits/types.h (__snseconds_t): New type.
83181 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
83182
83183 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
83184 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
83185 (__SNSECONDS_T_TYPE): Likewise.
83186 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
83187 (__SNSECONDS_T_TYPE): Likewise.
83188 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
83189 (__SNSECONDS_T_TYPE): Likewise.
83190
83191 2012-04-10 Andreas Jaeger <aj@suse.de>
83192
83193 [BZ #2636]
83194 * manual/time.texi (Processor Time): Return type of times is
83195 elapsed real time since an arbitrary point in the past.
83196 (CPU Time): Move CLK_TCK from here...
83197 (Processor Time): ...to here. Correct description.
83198 * manual/conf.texi (Constants for Sysconf): Correct description of
83199 _SC_CLK_TCK.
83200
83201 2012-04-10 David S. Miller <davem@davemloft.net>
83202
83203 [BZ #13967]
83204 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
83205 where the is a gap between DT_REL(A) and DT_JMPREL.
83206
83207 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
83208
83209 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
83210 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
83211 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
83212
83213 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
83214
83215 * elf/dl-support.c (_dl_inhibit_cache): New variable.
83216 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
83217 (dl_main): Handle --inhibit-cache.
83218 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
83219 _dl_inhibit_cache.
83220 * elf/dl-load.c (_dl_map_object): Use it.
83221 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
83222
83223 2012-04-09 Joseph Myers <joseph@codesourcery.com>
83224
83225 [BZ #13872]
83226 * sysdeps/i386/fpu/e_powl.S (p78): New object.
83227 (__ieee754_powl): Saturate large exponents rather than testing for
83228 overflow of y*log2(x).
83229 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
83230 * math/libm-test.inc (pow_test): Do not permit spurious overflow
83231 exceptions.
83232
83233 [BZ #11521]
83234 * math/s_ctan.c: Include <float.h>.
83235 (__ctan): Avoid internal overflow or cancellation in calculating
83236 denominator.
83237 * math/s_ctanf.c: Likewise.
83238 * math/s_ctanl.c: Likewise.
83239 * math/s_ctanh.c: Likewise.
83240 * math/s_ctanhf.c: Likewise.
83241 * math/s_ctanhl.c: Likewise.
83242 * math/libm-test.inc (ctan_test): Add more tests.
83243 (ctanh_test): Likewise.
83244 * sysdeps/i386/fpu/libm-test-ulps: Update.
83245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83246
83247 2012-04-09 Andreas Jaeger <aj@suse.de>
83248
83249 [BZ #6894]
83250 * manual/filesys.texi (Directory Entries): Mention that d_namlen
83251 is an optional BSD extension.
83252
83253 [BZ #10254]
83254 * manual/stdio.texi (Opening Streams): Document additional fopen
83255 parameters.
83256
83257 2012-04-09 Roland McGrath <roland@hack.frob.com>
83258
83259 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
83260 %eax without telling the compiler.
83261
83262 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
83263
83264 [BZ # 13963]
83265 * manual/install.texi: Use sourceware.org.
83266
83267 2012-04-09 Joseph Myers <joseph@codesourcery.com>
83268
83269 [BZ #13873]
83270 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
83271 (__ieee754_pow): Generate overflow and underflow using huge*huge
83272 and tiny*tiny rather than just returning constant infinity or zero
83273 for large exponents.
83274 * math/libm-test.inc (pow_test): Require overflow exceptions for
83275 applicable cases of large exponents.
83276
83277 [BZ #706]
83278 * sysdeps/i386/fpu/e_pow.S (p10): New object.
83279 (__ieee754_pow): Use iterative multiplication algorithm only for
83280 integer exponents with absolute value below 1024. Check for odd
83281 integer exponents when using algorithm for real exponents.
83282 * math/libm-test.inc (pow_test): Add more tests.
83283 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83284
83285 2012-04-08 Joseph Myers <joseph@codesourcery.com>
83286
83287 [BZ #13705]
83288 * math/libm-test.inc (exp_test): Do not allow overflow exception
83289 on underflow test.
83290
83291 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
83292
83293 [BZ #13705]
83294 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
83295 instead of __kernel_standard_f.
83296
83297 2012-04-08 Mike Frysinger <vapier@gentoo.org>
83298
83299 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
83300 * sysdeps/x86_64/memset_chk.S: Likewise.
83301
83302 2012-04-08 Andreas Jaeger <aj@suse.de>
83303
83304 [BZ #10153]
83305 * manual/startup.texi (Environment Access): Describe return value
83306 for putenv and setenv.
83307
83308 [BZ #6895]
83309 * manual/filesys.texi (Directory Entries): Add description for
83310 DT_LNK.
83311
83312 [BZ #6890]
83313 * manual/filesys.texi (Directory Entries): Clarify that it's file
83314 system not operating system in the description of DT_UNKNOWN.
83315
83316 [BZ #6578]
83317 * manual/syslog.texi (closelog): Fix reference, it's openlog.
83318
83319 2012-04-08 Stephen Compall <s11@member.fsf.org>
83320
83321 [BZ #6649]
83322 * manual/llio.texi (Opening and Closing Files): Add cross
83323 reference to explain mode argument.
83324
83325 2012-04-07 Mike Frysinger <vapier@gentoo.org>
83326
83327 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
83328 * sysdeps/x86_64/memset_chk.S: Likewise.
83329
83330 2012-04-07 David S. Miller <davem@davemloft.net>
83331
83332 * elf/elf.h (R_SPARC_WDISP10): Define.
83333 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
83334 R_SPARC_SIZE32.
83335 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
83336 R_SPARC_SIZE64 and R_SPARC_H34.
83337
83338 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
83339
83340 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
83341 conditions and remove no longer applicable assertion.
83342
83343 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
83344
83345 * bits/byteswap.h: Include <features.h>.
83346 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
83347 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
83348
83349 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
83350
83351 * bits/byteswap.h (__bswap_16): Removed.
83352 Include <bits/byteswap-16.h> to get __bswap_16.
83353 * sysdeps/i386/bits/byteswap.h: Likewise.
83354 * sysdeps/s390/bits/byteswap.h: Likewise.
83355 * sysdeps/x86_64/bits/byteswap.h: Likewise.
83356 * bits/byteswap-16.h: New file.
83357 * sysdeps/i386/bits/byteswap-16.h: Likewise.
83358 * sysdeps/s390/bits/byteswap-16.h: Likewise.
83359 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
83360 * string/Makefile (headers): Add bits/byteswap-16.h.
83361
83362 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
83363
83364 [BZ #13895]
83365 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
83366 extra indirection.
83367 * nss/Makefile (tests-static, tests): Add tst-nss-static.
83368 * nss/tst-nss-static.c: New.
83369
83370 2012-04-06 Robert Millan <rmh@gnu.org>
83371
83372 [BZ #6486]
83373 * manual/llio.texi (File Position Primitive): lseek
83374 refers to WHENCE when it really means OFFSET.
83375
83376 2012-04-06 Andreas Jaeger <aj@suse.de>
83377
83378 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
83379 strncmp declarations.
83380
83381 * abilist/libc.abilist: Add __poll and __ppoll.
83382
83383 2012-04-05 David S. Miller <davem@davemloft.net>
83384
83385 * scripts/check-local-headers.sh: Accept a host triplet in the
83386 path matched by the exclude regexp.
83387
83388 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
83389 definition.
83390 * sysdeps/powerpc/powerpc32/dl-machine.h
83391 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
83392 * sysdeps/s390/s390-32/dl-machine.h
83393 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83394 * sysdeps/sparc/sparc32/dl-machine.h
83395 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83396 * sysdeps/sparc/sparc64/dl-machine.h
83397 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83398
83399 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
83400 lazy binding.
83401 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
83402 undefined symbol errors.
83403
83404 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
83405 DT_NEEDED entries.
83406
83407 2012-04-05 Michael Matz <matz@suse.de>
83408
83409 [BZ #13592]
83410 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
83411
83412 2012-04-05 Andreas Jaeger <aj@suse.de>
83413
83414 [BZ #13908]
83415 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
83416 comment.
83417
83418 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
83419
83420 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
83421 which ROUND is no valid rounding mode.
83422
83423 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
83424
83425 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
83426 read again.
83427 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
83428
83429 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
83430
83431 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
83432 an exception using FPU order intentionally.
83433
83434 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
83435
83436 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
83437 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
83438 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
83439 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
83440
83441 2012-04-05 Simon Josefsson <simon@josefsson.org>
83442
83443 [BZ #12340]
83444 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
83445 EINVAL when BUFLEN is too smal.
83446
83447 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
83448
83449 [BZ #13553]
83450 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
83451 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
83452
83453 2012-04-03 Andreas Jaeger <aj@suse.de>
83454
83455 [BZ #13938]
83456 * manual/setjmp.texi (System V contexts): Fix sentence.
83457
83458 [BZ #13926]
83459 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
83460 New macro for this case.
83461 [!__GNUC__] (__bswap_64): New inline function for this case.
83462 * sysdeps/x86_64/bits/byteswap.h: Likewise.
83463 * bits/byteswap.h: Likewise.
83464 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
83465 ull, guard with __GLIBC_HAVE_LONG_LONG.
83466
83467 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
83468 __GLIBC_HAVE_LONG_LONG.
83469
83470 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
83471 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
83472
83473 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
83474
83475 [BZ #13691]
83476 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
83477 inptr and inend, rather than using last_ch.
83478
83479 2012-04-02 David S. Miller <davem@davemloft.net>
83480
83481 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
83482 * stdio-common/printf-parse.h (read_int): Change return type to
83483 'int', return -1 on INT_MAX overflow.
83484 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
83485 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
83486 overflows INT_MAX. Check for overflow of in-format-string precision
83487 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
83488 SIZE_MAX not INT_MAX for integer overflow test.
83489 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
83490 skip the construct in the format string but do not record anything.
83491 * stdio-common/bug22.c: Adjust to test both width/prevision
83492 INT_MAX overflow as well as total length INT_MAX overflow. Check
83493 explicitly for proper errno values.
83494
83495 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
83496
83497 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
83498 CHAR_MAX.
83499 * string/test-strcmp.c [! WIDE]: Likewise.
83500 * time/tst-mktime2.c: Likewise for INT_MAX.
83501 * string/test-string.h: #include <sys/param.h> for MIN.
83502
83503 * csu/init-first.c (__libc_init_first): Call __ctype_init.
83504 * sysdeps/i386/init-first.c (init): Likewise.
83505 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
83506 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
83507 * sysdeps/sh/init-first.c (init): Likewise.
83508
83509 2012-04-01 Ulrich Drepper <drepper@gmail.com>
83510
83511 * po/ru.po: Update from translation team.
83512 * po/vi.po: Likewise.
83513
83514 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
83515
83516 * resolv/nss_dns/dns-host.c: Merge copyright years.
83517
83518 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
83519
83520 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
83521 Optimize memcpy with prefetch if
83522 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
83523 src, dst pointers have unequal 16 byte alignments.
83524
83525 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
83526
83527 [BZ #13928]
83528 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
83529 from a CNAME entry and return the minimum ttl for the query.
83530 (gaih_getanswer_slice): Likewise.
83531
83532 2012-03-30 Jeff Law <law@redhat.com>
83533
83534 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
83535 due to long keys.
83536 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
83537 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
83538
83539 * resolv/nss_dns/dns-host.c: Update copyright year.
83540
83541 2012-03-30 Ulrich Drepper <drepper@gmail.com>
83542
83543 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
83544 requests to save a system call. Fix check that all bytes are sent.
83545
83546 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
83547 comments for sendmmsg.
83548
83549 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
83550
83551 [BZ #13691]
83552 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
83553 with only 1 character between 0x0041 and 0x01b0.
83554 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
83555 * wcsmbs/tst-mbsnrtowcs.c: New file.
83556
83557 2012-03-29 David S. Miller <davem@davemloft.net>
83558
83559 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
83560 small copies by hand.
83561
83562 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
83563
83564 [BZ #13761]
83565 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
83566 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
83567 group memberships.
83568
83569 2012-03-28 David S. Miller <davem@davemloft.net>
83570
83571 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
83572 that branches into memcpy.
83573 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
83574 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
83575 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
83576 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
83577 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
83578 bits.
83579 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
83580 implementation too.
83581 * sysdeps/sparc/mempcpy.S: New file.
83582
83583 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
83584 the IFUNC routine in the libc case.
83585 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
83586
83587 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
83588 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
83589 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
83590 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
83591 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
83592 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
83593 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
83594 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
83595
83596 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
83597 loop to 256 bytes instead of 64 bytes and fix test signedness.
83598
83599 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
83600 * sysdeps/sparc/sparc32/Makefile: rather than here...
83601 * sysdeps/sparc/sparc64/Makefile: and here.
83602
83603 2012-03-28 Ulrich Drepper <drepper@gmail.com>
83604
83605 * malloc/mallocbug.c: Avoid warnings about unused variables.
83606
83607 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
83608
83609 [BZ #13760]
83610 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
83611 in the right place. Discard and retry query if response is
83612 larger than input buffer size.
83613
83614 2012-03-28 Joseph Myers <joseph@codesourcery.com>
83615
83616 [BZ #369]
83617 [BZ #2678]
83618 [BZ #3866]
83619 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
83620 x for large integer exponent.
83621 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
83622 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
83623 sign of result as needed afterwards.
83624 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
83625 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
83626 result for underflowing pow the same as for overflow.
83627 (__kernel_standard_l): Handle powl overflow and underflow here
83628 rather than calling __kernel_standard.
83629 * math/libm-test.inc (pow_test): Add more tests.
83630
83631 [BZ #3868]
83632 [BZ #13879]
83633 [BZ #13910]
83634 [BZ #13911]
83635 [BZ #13912]
83636 [BZ #13913]
83637 [BZ #13915]
83638 [BZ #13916]
83639 [BZ #13917]
83640 [BZ #13918]
83641 [BZ #13919]
83642 [BZ #13920]
83643 [BZ #13921]
83644 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
83645 * sysdeps/ieee754/k_standard.c: Include <float.h>.
83646 (__kernel_standard_l): New function.
83647 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
83648 __kernel_standard.
83649 * math/w_acosl.c (__acosl): Likewise.
83650 * math/w_asinl.c (__asinl): Likewise.
83651 * math/w_atan2l.c (__atan2l): Likewise.
83652 * math/w_atanhl.c (__atanhl): Likewise.
83653 * math/w_coshl.c (__coshl): Likewise.
83654 * math/w_exp10l.c (__exp10l): Likewise.
83655 * math/w_exp2l.c (__exp2l): Likewise.
83656 * math/w_fmodl.c (__fmodl): Likewise.
83657 * math/w_hypotl.c (__hypotl): Likewise.
83658 * math/w_j0l.c (__j0l, __y0l): Likewise.
83659 * math/w_j1l.c (__j1l, __y1l): Likewise.
83660 * math/w_jnl.c (__jnl, __ynl): Likewise.
83661 * math/w_lgammal.c (__lgammal): Likewise.
83662 * math/w_log10l.c (__log10l): Likewise.
83663 * math/w_log2l.c (__log2l): Likewise.
83664 * math/w_logl.c (__logl): Likewise.
83665 * math/w_powl.c (__powl): Likewise.
83666 * math/w_remainderl.c (__remainderl): Likewise.
83667 * math/w_scalbl.c (sysv_scalbl): Likewise.
83668 * math/w_sinhl.c (__sinhl): Likewise.
83669 * math/w_sqrtl.c (__sqrtl): Likewise.
83670 * math/w_tgammal.c (__tgammal): Likewise.
83671 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
83672 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
83673 * math/libm-test.inc (acos_test): Add more tests.
83674 (acosh_test): Likewise.
83675 (asin_test): Likewise.
83676 (atanh_test): Likewise.
83677 (exp_test): Likewise.
83678 (exp10_test): Likewise.
83679 (exp2_test): Likewise.
83680 (expm1_test): Likewise.
83681 (lgamma_test): Likewise.
83682 (log_test): Likewise.
83683 (log10_test): Likewise.
83684 (log1p_test): Likewise.
83685 (log2_test): Likewise.
83686 (pow_test): Do not allow some spurious overflow exceptions.
83687 (sqrt_test): Add more tests.
83688 (tgamma_test): Likewise.
83689 (y0_test): Likewise.
83690 (y1_test): Likewise.
83691 (yn_test): Likewise.
83692
83693 2012-03-27 Anton Blanchard <anton@samba.org>
83694
83695 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
83696 MAP_HUGETLB.
83697 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
83698 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
83699 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
83700
83701 2012-03-27 David S. Miller <davem@davemloft.net>
83702
83703 * conform/Makefile: Run run-conformtest.sh using $(BASH).
83704
83705 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
83706 have-as-vis3 check.
83707
83708 2012-03-27 Andreas Jaeger <aj@suse.de>
83709
83710 * sysdeps/x86_64/elf/configure.in: Moved to ...
83711 * sysdeps/x86_64/configure.in: ... here.
83712 * sysdeps/x86_64/elf/start.S: Moved to ...
83713 * sysdeps/x86_64/start.S: ... here.
83714 * sysdeps/x86_64/elf/configure: Delete.
83715
83716 * sysdeps/x86_64/configure.in: Merge contents from
83717 sysdeps/i386/configure.in (without i686 check).
83718
83719 * sysdeps/i386/elf/Versions: Merge into ...
83720 * sysdeps/i386/Versions: ... this.
83721 * sysdeps/i386/elf/Versions: Delete file.
83722 * sysdeps/i386/elf/start.S: Moved to ...
83723 * sysdeps/i386/start.S: ...here.
83724 * sysdeps/i386/elf/configure.in: Merge into...
83725 * sysdeps/i386/configure.in: ...here.
83726 * sysdeps/i386/elf/configure.in: Delete file.
83727 * sysdeps/i386/elf/configure: Delete file.
83728
83729 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
83730 * debug/backtracesyms.c: ... here.
83731 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
83732 * debug/backtracesymsfd.c: ... here.
83733 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
83734 * sysdeps/generic/ifunc-sel.h: ... here.
83735
83736 * sysdeps/unix/i386/start.c: Delete file.
83737 * sysdeps/unix/sparc/start.c: Delete file.
83738 * sysdeps/unix/start.c: Delete file.
83739
83740 * sysdeps/sh/elf/configure.in: Moved to ...
83741 * sysdeps/sh/configure.in: ... here.
83742 * sysdeps/sh/elf/start.S: Moved to ...
83743 * sysdeps/sh/start.S: ... here.
83744 * sysdeps/sh/elf/configure: Delete file.
83745
83746 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
83747 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
83748 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
83749 * sysdeps/powerpc/powerpc64/entry.h: ... here.
83750 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
83751 * sysdeps/powerpc/powerpc64/start.S: here.
83752 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
83753 * sysdeps/powerpc/powerpc64/Makefile: ... this.
83754 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
83755 * sysdeps/powerpc/powerpc64/configure.in: ... this.
83756 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
83757
83758 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
83759 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
83760 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
83761 * sysdeps/powerpc/powerpc32/start.S: ... here.
83762 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
83763 * sysdeps/powerpc/powerpc32/configure.in: ... this.
83764 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
83765
83766 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
83767 * sysdeps/powerpc/ifunc-sel.h: ... here.
83768 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
83769 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
83770
83771 * sysdeps/sparc/elf/configure.in: Moved to ...
83772 * sysdeps/sparc/configure.in: ... here.
83773 * sysdeps/sparc/elf/configure: Delete file.
83774 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
83775 * sysdeps/sparc/sparc32/start.S: ... here.
83776 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
83777 * sysdeps/sparc/sparc64/start.S: ... here.
83778 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
83779 * sysdeps/sparc/sparc32/Makefile: ... this.
83780 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
83781 * sysdeps/sparc/sparc64/Makefile: ... this.
83782
83783 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
83784 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
83785 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
83786 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
83787 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
83788 * sysdeps/s390/s390-32/setjmp.S: ... here.
83789 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
83790 * sysdeps/s390/s390-32/configure.in: ... here.
83791 * sysdeps/s390/s390-32/elf/configure: Delete file.
83792 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
83793 * sysdeps/s390/s390-32/start.S: ... here.
83794
83795 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
83796 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
83797 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
83798 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
83799 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
83800 * sysdeps/s390/s390-64/setjmp.S: ... here.
83801 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
83802 * sysdeps/s390/s390-64/configure.in: ... here
83803 * sysdeps/s390/s390-64/elf/configure: Delete file.
83804 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
83805 * sysdeps/s390/s390-64/start.S: ... here.
83806 * sysdeps/s390/s390-64/elf/configure: Delete.
83807
83808 * configure.in: Remove support for elf directories in sysdeps.
83809
83810 * configure: Regenerated.
83811 * sysdeps/i386/configure: Regenerated.
83812 * sysdeps/powerpc/powerpc32/configure: Regenerated.
83813 * sysdeps/powerpc/powerpc64/configure: Regenerated.
83814 * sysdeps/s390/s390-32/configure: Regenerated.
83815 * sysdeps/s390/s390-64/configure: Regenerated.
83816 * sysdeps/sh/configure: Regenerated.
83817 * sysdeps/sparc/configure: Regenerated.
83818 * sysdeps/x86_64/configure: Regenerated.
83819
83820 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
83821
83822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83823
83824 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
83825 denormal result into account.
83826
83827 2012-03-25 Roland McGrath <roland@hack.frob.com>
83828
83829 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
83830 Reported by Allan McRae <allan@archlinux.org>.
83831
83832 2012-03-23 Jeff Law <law@redhat.com>
83833
83834 * nss/getnssent.c (__nss_getent): Fix typo.
83835
83836 2012-03-23 David S. Miller <davem@davemloft.net>
83837
83838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83839
83840 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
83841
83842 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
83843 to pad to uint64_t for each field.
83844 (dl_tls_index): Replace unsigned long with uint64_t.
83845
83846 2012-03-23 Daniel Jacobowitz <dmj@google.com>
83847 Paul Pluzhnikov <ppluzhnikov@google.com>
83848
83849 [BZ #6528]
83850 * grp/Makefile (otherlibs): Don't set it.
83851 * inet/Makefile (otherlibs): Likewise.
83852 * login/Makefile (otherlibs): Likewise.
83853 * nscd/Makefile (otherlibs): Likewise.
83854 * posix/Makefile (otherlibs): Likewise.
83855 * pwd/Makefile (otherlibs): Likewise.
83856 * rt/Makefile (otherlibs): Likewise.
83857 * sunrpc/Makefile (otherlibs): Likewise.
83858 * nss/Makefile (otherlibs): Likewise.
83859 Add libnss_files to routines and static-only-routines.
83860 ($(objpfx)getent): Remove rule.
83861 * resolv/Makefile: Add libnss_dns and libresolv to routines and
83862 static-only-routines.
83863
83864 2012-03-22 Joseph Myers <joseph@codesourcery.com>
83865
83866 [BZ #13892]
83867 * math/s_cexp.c: Include <float.h>.
83868 (__cexp): Handle exp result overflowing not necessarily
83869 overflowing both real and imaginary parts of result.
83870 * math/s_cexpf.c: Likewise.
83871 * math/s_cexpl.c: Likewise.
83872 * math/libm-test.inc (cexp_test): Add more tests.
83873 * sysdeps/i386/fpu/libm-test-ulps: Update.
83874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83875
83876 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
83877
83878 * include/link.h (ELFW): New macro.
83879 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
83880 Replace ELF64_R_TYPE with ELFW(R_TYPE).
83881
83882 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
83883
83884 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
83885 with uint64_t.
83886
83887 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
83888
83889 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
83890 declaration.
83891 (struct La_x32_retval): Likewise.
83892
83893 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
83894
83895 * sysdeps/x86_64/preconfigure.in: New file.
83896 * sysdeps/x86_64/preconfigure: New generated file.
83897
83898 2012-03-22 Joseph Myers <joseph@codesourcery.com>
83899
83900 [BZ #13824]
83901 * math/e_exp2l.c: Include <float.h>.
83902 (__ieee754_exp2l): Handle overflow and underflow cases
83903 separately. Only pass fractional part of argument to
83904 __ieee754_expl.
83905 * math/libm-test.inc (exp2_test): Add more tests.
83906
83907 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
83908 negating x to take absolute value.
83909 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
83910 Likewise.
83911 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
83912 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
83913 Likewise.
83914 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
83915 computing low part if x was negated.
83916 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
83917
83918 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
83919
83920 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
83921 la_x32_gnu_pltexit.
83922 (pltexit): Cast int_retval to ptrdiff_t.
83923 * elf/tst-auditmod3b.c: Likewise.
83924 * elf/tst-auditmod4b.c: Likewise.
83925 * elf/tst-auditmod5b.c: Likewise.
83926 * elf/tst-auditmod6b.c: Likewise.
83927 * elf/tst-auditmod6c.c: Likewise.
83928 * elf/tst-auditmod7b.c: Likewise.
83929
83930 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
83931 and x32_gnu_pltexit.
83932
83933 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
83934 __ELF_NATIVE_CLASS.
83935 (La_x32_regs): New macro.
83936 (La_x32_retval): Likewise.
83937 (la_x32_gnu_pltenter): New function prototype.
83938 (la_x32_gnu_pltexit): Likewise.
83939
83940 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
83941
83942 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
83943 exponent.
83944
83945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83946
83947 * configure.in (libc_cv_cc_nofma): Check for option to disable
83948 generation of FMA instructions.
83949 * configure: Regenerate.
83950 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
83951 * sysdeps/ieee754/dbl-64/Makefile: New file.
83952 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
83953 Remove brandred-fma4.
83954 (CFLAGS-brandred-fma4.c): Remove.
83955 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
83956 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
83957 define.
83958 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
83959 define.
83960
83961 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
83962
83963 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
83964 LLONG_MAX != LONG_MAX.
83965 (_itoa_word): Use _ITOA_WORD_TYPE on value.
83966 (_fitoa_word): Likewise.
83967 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
83968 LLONG_MAX != LONG_MAX.
83969 * stdio-common/_itowa.h: Include <_itoa.h>.
83970 (_itowa_word): Use _ITOA_WORD_TYPE on value.
83971 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
83972 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
83973 only if not defined.
83974 (_ITOA_WORD_TYPE): Likewise.
83975 (_itoa_word): Use _ITOA_WORD_TYPE on value.
83976 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
83977
83978 2012-03-21 David S. Miller <davem@davemloft.net>
83979
83980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83981
83982 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
83983
83984 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
83985 of x86_64 when setting libc_cv_slibdir, libdir and
83986 libc_cv_localedir.
83987 * sysdeps/unix/sysv/linux/configure: Regenerated.
83988
83989 2012-03-21 Joseph Myers <joseph@codesourcery.com>
83990
83991 * manual/lang.texi (Old Varargs): Remove section.
83992 (How Variadic): Update menu.
83993 (va_start): Do not mention varargs.h.
83994
83995 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
83996 Joseph Myers <joseph@codesourcery.com>
83997
83998 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
83999 link test.
84000 * configure: Regenerated.
84001
84002 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
84003
84004 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
84005 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
84006 conformtest.pl
84007
84008 2012-03-21 Joseph Myers <joseph@codesourcery.com>
84009
84010 * NOTES: Remove.
84011 * Makefile (files-for-dist): Remove NOTES.
84012 (NOTES): Remove rule.
84013 * README: Don't refer to NOTES.
84014 * manual/creature.texi: Don't include macros.texi.
84015 * manual/intro.texi (creature.texi): Remove comment referring to
84016 NOTES.
84017
84018 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
84019 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
84020 * configure: Regenerated.
84021 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
84022 LIBC_TRY_CC_OPTION.
84023 (libc_cv_as_i686): Likewise.
84024 (libc_cv_cc_avx): Likewise.
84025 (libc_cv_cc_sse2avx): Likewise.
84026 (libc_cv_cc_fma4): Likewise.
84027 (libc_cv_cc_novzeroupper): Likewise.
84028 * sysdeps/i386/configure: Regenerated.
84029
84030 [BZ #13883]
84031 * sysdeps/i386/fpu/s_cexp.S: Remove.
84032 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
84033 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
84034 * math/libm-test.inc (cexp_test): Add more tests.
84035 * sysdeps/i386/fpu/libm-test-ulps: Update.
84036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84037
84038 2012-03-21 Allan McRae <allan@archlinux.org>
84039
84040 * timezone/Makefile: Do not install iso3166.tab and zone.tab
84041
84042 2012-03-21 Joseph Myers <joseph@codesourcery.com>
84043
84044 [BZ #13871]
84045 * math/w_exp2.c: Do not include <float.h>.
84046 (o_threshold, u_threshold): Remove.
84047 (__exp2): Calculate result before checking finiteness and calling
84048 __kernel_standard.
84049 * math/w_exp2f.c: Likewise.
84050 * math/w_exp2l.c: Likewise.
84051 * math/libm-test.inc (exp2_test): Require overflow exception for
84052 1e6 input.
84053
84054 [BZ #3866]
84055 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
84056 range of signed 64-bit integers before using fistpll. Remove
84057 checks for whether integers fit in mantissa bits.
84058 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
84059 the range of signed 32-bit integers before using fistpl. Remove
84060 checks for whether integers fit in mantissa bits.
84061 * sysdeps/i386/fpu/e_powl.S (p64): New object.
84062 (__ieee754_powl): Test for y outside the range of signed 64-bit
84063 integers before using fistpll. Reduce 64-bit values to 63-bit
84064 ones as needed.
84065 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
84066 divide-by-zero is raised for zero to large negative powers.
84067 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
84068 (__ieee754_powl): Test for y outside the range of signed 64-bit
84069 integers before using fistpll. Reduce 64-bit values to 63-bit
84070 ones as needed.
84071 * math/libm-test.inc (pow_test): Add more tests.
84072
84073 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
84074
84075 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
84076 <stdio-common/_itoa.h>.
84077 * debug/segfault.c: Likewise.
84078 * elf/dl-cache.c: Likewise.
84079 * elf/dl-minimal.c: Likewise.
84080 * elf/dl-misc.c: Likewise.
84081 * elf/dl-sysdep.c: Likewise.
84082 * elf/dl-version.c: Likewise.
84083 * elf/rtld.c: Likewise.
84084 * hurd/hurdsock.c: Likewise.
84085 * hurd/lookup-retry.c: Likewise.
84086 * malloc/malloc.c: Likewise.
84087 * malloc/mtrace.c: Likewise.
84088 * nscd/nscd_getgr_r.c: Likewise.
84089 * nscd/nscd_getpw_r.c: Likewise.
84090 * nscd/nscd_getserv_r.c: Likewise.
84091 * posix/getopt_init.c: Likewise.
84092 * posix/wordexp.c: Likewise.
84093 * stdio-common/_itoa.c: Likewise.
84094 * stdio-common/printf_fphex.c: Likewise.
84095 * stdio-common/vfprintf.c: Likewise.
84096 * string/_strerror.c: Likewise.
84097 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
84098 * sysdeps/i386/i686/hp-timing.h: Likewise.
84099 * sysdeps/mach/_strerror.c: Likewise.
84100 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
84101 * sysdeps/mach/hurd/sethostid.c: Likewise.
84102 * sysdeps/mach/hurd/xmknodat.c: Likewise.
84103 * sysdeps/mach/xpg-strerror.c: Likewise.
84104 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
84105 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
84106 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
84107 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
84108 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
84109 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
84110 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
84111 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
84112 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
84113 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
84114 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
84115 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
84116 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
84117 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
84118 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
84119 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
84120 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
84121 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
84122 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
84123 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
84124 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
84125
84126 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
84127
84128 * stdio-common/_itoa.h: Moved to ...
84129 * sysdeps/generic/_itoa.h: Here.
84130
84131 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
84132
84133 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
84134 instead of "_itoa.h" and "_itowa.h".
84135 * stdio-common/vfprintf.: Likewise.
84136
84137 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
84138
84139 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
84140 <bits/wordsize.h>.
84141 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
84142 (__signbit): Likewise.
84143 (llrintf): Likewise.
84144 (llrint): Likewise.
84145
84146 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
84147
84148 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
84149 __WORDSIZE != 64.
84150
84151 2012-03-20 Joseph Myers <joseph@codesourcery.com>
84152
84153 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
84154 OVERFLOW_EXCEPTION_OK.
84155 * math/libm-test.inc ("Philosophy"): Update comment about
84156 exception testing.
84157 (OVERFLOW_EXCEPTION): Define.
84158 (OVERFLOW_EXCEPTION_OK): Likewise.
84159 (INVALID_EXCEPTION_OK): Renumber.
84160 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
84161 (IGNORE_ZERO_INF_SIGN): Likewise.
84162 (test_exceptions): Handle FE_OVERFLOW.
84163 (exp10_test): Expect overflow exceptions.
84164 (exp2_test): Likewise.
84165 (expm1_test): Likewise.
84166 (nextafter_test): Likewise.
84167 (pow_test): Likewise.
84168 (scalbn_test): Likewise.
84169 (scalbln_test): Likewise.
84170
84171 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
84172
84173 * sysdeps/x86_64/bits/atomic.h
84174 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
84175 64bit integer.
84176 (atomic_exchange_acq): Likewise.
84177 (__arch_exchange_and_add_body): Likewise.
84178 (__arch_add_body): Likewise.
84179 (atomic_add_negative): Likewise.
84180 (atomic_add_zero): Likewise.
84181
84182 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
84183
84184 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
84185 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
84186
84187 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
84188
84189 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
84190 Check __x86_64__ instead of __WORDSIZE.
84191
84192 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
84193
84194 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
84195
84196 2012-03-19 David S. Miller <davem@davemloft.net>
84197
84198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
84199
84200 * sysdeps/sparc/fpu/fenv_private.h: New file.
84201 * sysdeps/sparc/fpu/math_private.h: Use it.
84202 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
84203 Remove.
84204 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
84205 (libc_feholdexcept_setroundl): Remove.
84206 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
84207 Remove.
84208 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
84209 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
84210
84211 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
84212
84213 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
84214 int64_t instead of long int.
84215 (INSERT_WORDS64): Likewise.
84216
84217 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
84218
84219 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
84220 _Unwind_GetCFA return to _Unwind_Ptr first.
84221
84222 2012-03-19 Joseph Myers <joseph@codesourcery.com>
84223
84224 [BZ #13629]
84225 * math/s_clog.c: Include <float.h>.
84226 (__clog): Scale large or subnormal inputs.
84227 * math/s_clogf.c: Likewise.
84228 * math/s_clogl.c: Likewise.
84229 * math/s_clog10.c: Include <float.h>.
84230 (M_LOG10_2): Define.
84231 (__clog10): Scale large or subnormal inputs.
84232 * math/s_clog10f.c: Likewise.
84233 * math/s_clog10l.c: Likewise.
84234 * math/libm-test.inc (clog_test): Add more tests.
84235 (clog10_test): Likewise.
84236 * sysdeps/i386/fpu/libm-test-ulps: Update.
84237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84238
84239 [BZ #11451]
84240 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
84241 x and y.
84242 * math/libm-test.inc (atan2_test): Add another test.
84243
84244 * Makerules (common-objdir-compile): Remove.
84245 * sysdeps/unix/Makefile (config-generated): Do not add
84246 $(unix-generated) to variable.
84247 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
84248 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
84249 Remove rule.
84250 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
84251 Likewise.
84252 [generic bits/local_lim.h] (before-compile): Do not append to
84253 variable.
84254 [generic bits/local_lim.h] (common-generated): Likewise.
84255 [generic sys/param.h] (before-compile): Do not append to variable.
84256 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
84257 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
84258 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
84259 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
84260 include.
84261 [generic sys/param.h] (sys/param.h-includes): Remove variable.
84262 [generic sys/param.h] (sys/param.h-includes): Remove rule.
84263 [generic sys/param.h] ($(addprefix
84264 $(common-objpfx),$(sys/param.h-includes))): Likewise.
84265 [generic sys/param.h] (common-generated): Do not append to
84266 variable.
84267 [generic sys/param.h] (sysdep_headers): Likewise.
84268 [generic bits/errno.h] (before-compile): Do not append to
84269 variable.
84270 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
84271 rule.
84272 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
84273 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
84274 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
84275 [generic bits/errno.h] (common-generated): Do not append to
84276 variable.
84277 [generic bits/ioctls.h] (before-compile): Do not append to
84278 variable.
84279 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
84280 rule.
84281 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
84282 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
84283 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
84284 rule.
84285 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
84286 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
84287 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
84288 [generic bits/ioctls.h] (common-generated): Do not append to
84289 variable.
84290 [generic sys/syscall.h] (syscall.h): Remove variable.
84291 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
84292 rule.
84293 [generic sys/syscall.h] (before-compile): Do not append to
84294 variable.
84295 [generic sys/syscall.h] (common-generated): Likewise.
84296 * sysdeps/unix/errnos-tmpl.c: Remove file.
84297 * sysdeps/unix/errnos.awk: Likewise.
84298 * sysdeps/unix/ioctls-tmpl.c: Likewise.
84299 * sysdeps/unix/ioctls.awk: Likewise.
84300 * sysdeps/unix/mk-local_lim.c: Likewise.
84301 * sysdeps/unix/snarf-ioctls: Likewise.
84302
84303 2012-03-19 Richard Henderson <rth@twiddle.net>
84304
84305 * sysdeps/i386/fpu/fenv_private.h: New file.
84306 * sysdeps/i386/fpu/math_private.h: Use it.
84307 (math_opt_barrier, math_force_eval): Remove.
84308 (libc_feholdexcept_setround_53bit): Remove.
84309 (libc_feupdateenv_53bit): Remove.
84310 * sysdeps/x86_64/fpu/math_private.h: Likewise.
84311 (math_opt_barrier, math_force_eval): Remove.
84312 (libc_feholdexcept): Remove.
84313 (libc_feholdexcept_setround): Remove.
84314 (libc_fetestexcept, libc_fesetenv): Remove.
84315 (libc_feupdateenv_test): Remove.
84316 (libc_feupdateenv, libc_feholdsetround): Remove.
84317 (libc_feresetround): Remove.
84318
84319 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
84320 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
84321
84322 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
84323 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
84324 (libc_feupdateenv_testl): New.
84325 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
84326 (libc_feupdateenv_testf): New.
84327 (libc_feupdateenv): Use libc_feupdateenv_test.
84328 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
84329 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
84330
84331 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
84332 (libc_feholdsetroundf, libc_feholdsetroundl): New.
84333 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
84334 (libc_feresetround_noex): New.
84335 (libc_feresetround_noexf): New.
84336 (libc_feresetround_noexl): New.
84337 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
84338 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
84339 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
84340 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
84341 SET_RESTORE_ROUND.
84342 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
84343 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
84344 (__cos): Likewise.
84345 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
84346 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
84347 SET_RESTORE_ROUND_NOEX.
84348 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
84349 SET_RESTORE_ROUND_NOEXF.
84350 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
84351 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
84352 (libc_feholdsetroundf): New.
84353 (libc_feresetround, libc_feresetroundf): New.
84354
84355 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
84356 (libc_feholdexcept_setround_53bit): Convert from macro to function.
84357 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
84358
84359 * sysdeps/generic/math_private.h: Include <fenv.h>.
84360 (default_libc_feholdexcept): New.
84361 (default_libc_feholdexcept_setround): New.
84362 (default_libc_fesetenv, default_libc_feupdateenv): New.
84363 (libc_feholdexcept): Only define if undefined.
84364 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
84365 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
84366 (libc_feholdexcept_setroundl): Likewise.
84367 (libc_feholdexcept_setround_53bit): Likewise.
84368 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
84369 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
84370 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
84371 (libc_feupdateenv_53bit): Likewise.
84372 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
84373 (libc_feholdexcept): Convert from macro to inline function.
84374 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
84375 (libc_fesetenv, libc_feupdateenv): Likewise.
84376
84377 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
84378 not previously defined.
84379 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
84380 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
84381 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
84382 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
84383 * sysdeps/ieee754/flt-32/math_private.h: New file.
84384 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
84385 math_private.h below SET_FLOAT_WORD.
84386 (__isnan, __isinf_ns, __finite): Remove.
84387 (__isnanf, __isinf_nsf, __finitef): Remove.
84388
84389 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
84390
84391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84392
84393 2012-03-17 David S. Miller <davem@davemloft.net>
84394
84395 [BZ #6471]
84396 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
84397 for 2.16.
84398
84399 2012-03-16 David S. Miller <davem@davemloft.net>
84400
84401 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
84402 warnings.
84403
84404 [BZ #6471]
84405 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
84406 properly.
84407 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
84408 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
84409 sysdep_routines when subdir is sysvipc.
84410 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
84411 __getshmlba helper.
84412
84413 * sysdeps/sparc/fpu/libm-test/ulps: Update.
84414
84415 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
84416
84417 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
84418 [__LP64__].
84419
84420 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
84421
84422 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
84423 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
84424 (__lround): Renamed to ...
84425 (__llround): This. Replace long int with long long int.
84426 Define lround functions as aliases of llround functions.
84427 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
84428
84429 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
84430
84431 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
84432 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
84433 adresses to uintptr_t. Replace "long int" and "unsigned long
84434 int" with "greg_t" on va_arg.
84435
84436 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
84437
84438 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
84439 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
84440
84441 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
84442 Move e_machine check before EI_CLASS check. Handle x32
84443 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
84444 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
84445 SKIP_EM_IA_64 and include
84446 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
84447
84448 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
84449 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
84450 (add_system_dir): New macro.
84451
84452 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
84453 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
84454
84455 2012-03-16 Joseph Myers <joseph@codesourcery.com>
84456
84457 [BZ #2551]
84458 [BZ #2552]
84459 [BZ #2553]
84460 [BZ #2554]
84461 [BZ #2562]
84462 [BZ #2563]
84463 [BZ #2565]
84464 [BZ #2566]
84465 [BZ #2576]
84466 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
84467 (y0): Likewise.
84468 * math/w_j0f.c (j0f): Likewise.
84469 (y0f): Likewise.
84470 * math/w_j0l.c (__j0l): Likewise.
84471 (__y0l): Likewise.
84472 * math/w_j1.c (j1): Likewise.
84473 (y1): Likewise.
84474 * math/w_j1f.c (j1f): Likewise.
84475 (y1f): Likewise.
84476 * math/w_j1l.c (__j1l): Likewise.
84477 (__y1l): Likewise.
84478 * math/w_jn.c (jn): Likewise.
84479 (yn): Likewise.
84480 * math/w_jnf.c (jnf): Likewise.
84481 (ynf): Likewise.
84482 * math/w_jnl.c (__jnl): Likewise.
84483 (__ynl): Likewise.
84484 * math/libm-test.inc (j0_test): Add more tests.
84485 (j1_test): Likewise.
84486 (jn_test): Likewise. Add trailing semicolon to existing test.
84487 (y0_test): Likewise.
84488 (y1_test): Likewise.
84489 * sysdeps/i386/fpu/libm-test-ulps: Update.
84490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84491
84492 [BZ #13851]
84493 [BZ #13854]
84494 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
84495 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
84496 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
84497 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
84498 (__tanl): Set errno for infinite argument.
84499 * sysdeps/i386/fpu/mptan.c: Remove.
84500 * sysdeps/i386/fpu/s_tan.S: Likewise.
84501 * sysdeps/i386/fpu/s_tanl.S: Likewise.
84502 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
84503 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
84504 * math/libm-test.inc (tan_test): Add more tests and enable more
84505 tests for double and long double.
84506 * sysdeps/i386/fpu/libm-test-ulps: Update.
84507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84508
84509 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
84510
84511 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
84512 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
84513
84514 2012-03-16 Roland McGrath <roland@hack.frob.com>
84515
84516 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
84517 * configure.in: Use it for both main tree and add-ons.
84518 * configure: Regenerated.
84519
84520 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
84521
84522 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
84523
84524 2012-03-16 Joseph Myers <joseph@codesourcery.com>
84525
84526 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
84527 in comment.
84528
84529 [BZ #13851]
84530 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
84531 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
84532 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
84533 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
84534 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
84535 infinite argument.
84536 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
84537 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
84538 != 0 for prec == 2.
84539 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
84540 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
84541 * sysdeps/i386/fpu/s_cosl.S: Likewise.
84542 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
84543 * sysdeps/i386/fpu/s_sinl.S: Likewise.
84544 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
84545 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
84546 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
84547 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
84548 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
84549 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
84550 * math/libm-test.inc (cos_test): Add more tests and enable more
84551 tests for long double.
84552 (sin_test): Likewise.
84553 (sincos_test): Likewise.
84554 * sysdeps/i386/fpu/libm-test-ulps: Update.
84555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84556
84557 2012-03-16 David S. Miller <davem@davemloft.net>
84558
84559 * sysdeps/sparc/fpu/math_private.h: New file.
84560
84561 2012-03-15 David S. Miller <davem@davemloft.net>
84562
84563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
84564 file.
84565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
84566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
84567 file.
84568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
84569 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
84570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
84571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
84572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
84573 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
84574 sysdep routines.
84575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
84576
84577 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
84578 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
84579
84580 * sysdeps/sparc/sparc-ifunc.h: New file.
84581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
84582 sparc-ifunc.h
84583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
84584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
84585 Likewise.
84586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
84587 Likewise.
84588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
84589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
84590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
84592 Likewise.
84593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
84595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
84597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
84598 Likewise.
84599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
84600 Likewise.
84601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
84603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
84604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
84605 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
84606 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
84607 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
84608 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
84609 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
84610 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
84611 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
84612 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
84613 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
84614 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
84615 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
84616 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
84617 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
84618 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
84619 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
84620 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
84621 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
84622 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
84623 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
84624 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
84625
84626 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
84627
84628 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
84629 scaling.
84630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84631
84632 2012-03-15 Andreas Jaeger <aj@suse.de>
84633
84634 [BZ #13852]
84635 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
84636 ieee754/flt-32 implementation for sin, cos and sincos.
84637 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
84638 * sysdeps/i386/fpu/s_cosf.S: Likewise.
84639 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
84640 * sysdeps/i386/fpu/s_sinf.S: Likewise.
84641 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
84642 ieee754/flt-32 implementation for tan.
84643
84644 * math/libm-test.inc (cos_test): Enable some large input tests for
84645 float as well
84646 (sin_test): Likewise.
84647 (sincos_test): Likewise.
84648 (tan_test): Add tests for large input.
84649
84650 * sysdeps/i386/fpu/libm-test-ulps: Update.
84651
84652 2012-03-15 Andreas Jaeger <aj@suse.de>
84653
84654 [BZ #13658]
84655 * math/libm-test.inc (cos_test): Add more test cases.
84656 (sin_test): Likewise.
84657 (sincos_test): Likewise.
84658
84659 2012-03-15 Andreas Jaeger <aj@suse.de>
84660
84661 [BZ #13837]
84662 * math/libm-test.inc (cos_test): Add a test case for large input
84663 value.
84664 (sin_test): Likewise.
84665 (sincos_test): Likewise.
84666
84667 2012-03-15 Andreas Jaeger <aj@suse.de>
84668 Joseph Myers <joseph@codesourcery.com>
84669
84670 [BZ #13658]
84671 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
84672 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
84673 * sysdeps/i386/fpu/branred.c: Likewise.
84674 * sysdeps/i386/fpu/dosincos.c: Likewise.
84675 * sysdeps/i386/fpu/mpa.c: Likewise.
84676 * sysdeps/i386/fpu/s_cos.S: Likewise.
84677 * sysdeps/i386/fpu/s_sin.S: Likewise.
84678 * sysdeps/i386/fpu/s_sincos.S: Likewise.
84679 * sysdeps/i386/fpu/sincos32.c: Likewise.
84680
84681 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
84682 Define.
84683 (libc_feupdateenv_53bit): Define.
84684 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
84685 Define.
84686 (libc_feupdateenv_53bit): Define.
84687
84688 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
84689 53 bit (without extend i386 double precision).
84690
84691 * math/libm-test.inc (sincos_test): Add tests for large input.
84692 (sin): Likewise.
84693 (cos): Likewise.
84694
84695 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
84696
84697 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
84698
84699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84700
84701 2012-03-15 David S. Miller <davem@davemloft.net>
84702
84703 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
84704 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
84705 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
84706 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
84707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
84708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
84709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
84710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
84711 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
84712 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
84713 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
84714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
84715 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
84716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
84717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
84718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
84719 file.
84720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
84721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
84722 file.
84723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
84724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
84725 file.
84726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
84727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
84728 file.
84729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
84730 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
84731 fmin/fmax sysdep routines.
84732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
84733
84734 2012-03-14 David S. Miller <davem@davemloft.net>
84735
84736 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
84737 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
84738 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
84739 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
84740 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
84741 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
84742 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
84743 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
84744 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
84745 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
84746 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
84747 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
84748 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
84749 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
84750 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
84751 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
84752 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
84753 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
84754 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
84755 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
84756 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
84757 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
84758 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
84759 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
84760 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
84761 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
84762 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
84763 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
84764 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
84765 routines.
84766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
84767 file.
84768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
84769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
84770 file.
84771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
84772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
84773 file.
84774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
84775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
84776 file.
84777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
84778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
84779 file.
84780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
84781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
84782 file.
84783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
84784 file.
84785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
84786 file.
84787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
84788 file.
84789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
84790 New file.
84791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
84792 file.
84793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
84794 file.
84795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
84796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
84797 file.
84798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
84799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
84800 file.
84801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
84802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
84803 file.
84804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
84805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
84806 VIS3 routines.
84807
84808 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
84809 New file.
84810
84811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
84812
84813 * sysdeps/sparc/configure.in: New file.
84814 * sysdeps/sparc/configure: Generate.
84815 * configure.in (libc_cv_sparc_as_vis3): Substitute.
84816 * configure: Regenerate.
84817 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
84818 * config.make.in (have-as-vis3): New.
84819 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
84820 available use -Av9d instead of -Av9a.
84821 * sysdeps/sparc/sparc64/Makefile: Likewise.
84822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
84823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
84824 New file.
84825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
84826 file.
84827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
84828 New file.
84829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
84830 file.
84831 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
84832 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
84833 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
84834 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
84835 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
84836
84837 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
84838 fzeros/fnegs to load 0x80000000 into a float register instead of
84839 using the stack.
84840 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
84841
84842 2012-03-14 Joseph Myers <joseph@codesourcery.com>
84843
84844 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84845 bits/syscall.h.
84846 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
84847 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
84848 ($(inst_includedir)/bits/syscall.h): Remove rule.
84849 ($(objpfx)bits/syscall.d): Include instead of
84850 $(objpfx)syscall-list.d.
84851 (generated): Change syscall-list.h and syscall-list.d to
84852 bits/syscall.h and bits/syscall.d.
84853
84854 2012-03-14 Roland McGrath <roland@hack.frob.com>
84855
84856 [BZ #13846]
84857 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
84858
84859 2012-03-14 Joseph Myers <joseph@codesourcery.com>
84860
84861 [BZ #13841]
84862 * math/s_csqrt.c: Include <float.h>.
84863 (__csqrt): Scale large or subnormal inputs.
84864 * math/s_csqrtf.c: Likewise.
84865 * math/s_csqrtl.c: Likewise.
84866 * math/libm-test.inc (csqrt_test): Add more tests.
84867 * sysdeps/i386/fpu/libm-test-ulps: Update.
84868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84869
84870 [BZ #13840]
84871 * math/libm-test.inc (hypot_test): Add more tests.
84872
84873 2012-03-13 David S. Miller <davem@davemloft.net>
84874
84875 [BZ #13840]
84876 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
84877 double-precision for the calculation instead of scaling.
84878
84879 2012-03-13 Joseph Myers <joseph@codesourcery.com>
84880
84881 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
84882 manipulate bits before adding and subtracting TWO52[sx].
84883 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
84884 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
84885 Likewise.
84886 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
84887
84888 2012-03-13 David S. Miller <davem@davemloft.net>
84889
84890 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
84891 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
84892 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
84893 rtld-global-offsets.h
84894 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
84895
84896 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
84897 large parameters.
84898
84899 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
84900
84901 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
84902 'err' in the ifdef scope in which it is actually used.
84903
84904 * nss/nss_db/db-init.c: Include string.h
84905
84906 2012-03-12 David S. Miller <davem@davemloft.net>
84907
84908 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
84909 masking out of the most significant byte of random value used.
84910 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
84911 Fix coding style in previous change.
84912
84913 * sysdeps/unix/sysv/linux/kernel-features.h
84914 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
84915 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
84916 expression.
84917 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
84918 later.
84919
84920 2012-03-11 David S. Miller <davem@davemloft.net>
84921
84922 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
84923 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
84924 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
84925 for 'resultvar' otherwise things get truncated on 64-bit.
84926
84927 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
84928 Fix masking out of the most significant byte of random value used.
84929
84930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
84931
84932 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
84933
84934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84935
84936 2012-03-09 David S. Miller <davem@davemloft.net>
84937
84938 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
84939 variables with appropriate CPP guards.
84940 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
84941 from the frame pointer, not the stack pointer. Correct layout
84942 comments. Fix test on resulting framesize and the management of
84943 the outregs buffer for pltexit. Preserve floating point return
84944 values across _dl_call_pltexit call.
84945 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
84946 framesize and the management of the outregs buffer for pltexit.
84947 Preserve floating point return values across _dl_call_pltexit
84948 call.
84949 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
84950 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
84951 (la_sparc64_gnu_pltexit): New functions.
84952 (print_exit): Fix format string for return register value.
84953
84954 2012-03-10 Joseph Myers <joseph@codesourcery.com>
84955
84956 * sunrpc/Makefile (others): Add rpcgen.
84957 ($(objpfx)rpcgen): Remove special build rule and dependency on
84958 libc.
84959 * sunrpc/rpcgen.c: New file.
84960
84961 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
84962
84963 [BZ #13673]
84964 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
84965 * stdio-common/bug-vfprintf-nargs.c: Likewise.
84966 * sysdeps/i386/crti.S: Likewise.
84967 * sysdeps/i386/crtn.S: Likewise.
84968 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
84969 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
84970 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
84971 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
84972 * sysdeps/sh/crti.S: Likewise.
84973 * sysdeps/sh/crtn.S: Likewise.
84974 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
84975
84976 [BZ #13673]
84977 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
84978 with URL.
84979 * locale/programs/locfile-kw.gperf: Likewise.
84980 * locale/programs/charmap-kw.h: Regenerated.
84981 * locale/programs/locfile-kw.h: Likewise.
84982
84983 [BZ #13673]
84984 * intl/plural.y: Replace FSF snail mail address with URL.
84985 * intl/plural.c: Regenerated.
84986
84987 2012-03-09 Richard Henderson <rth@twiddle.net>
84988
84989 * include/math_private.h: Remove file.
84990 * math/math_private.h: Move file ...
84991 * sysdeps/generic/math_private.h: ... here.
84992
84993 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
84994 * sysdeps/powerpc/fpu/math_private.h: Likewise.
84995 * sysdeps/x86_64/fpu/math_private.h: Likewise.
84996
84997 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
84998 and <math_private.h>.
84999 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
85000 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
85001 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
85002 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
85003 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
85004 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
85005 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
85006 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85007 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
85008 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
85009 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85010 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
85011 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
85012 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85013 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
85014 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
85015 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
85016 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
85017 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
85018 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
85019 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85020 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
85021 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
85022 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85023 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
85024 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
85025 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
85026 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
85027 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85028 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
85029 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
85030 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85031 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
85032 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
85033 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
85034 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
85035 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
85036 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
85037 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
85038 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85039 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
85040 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
85041 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
85042 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
85043 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
85044 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
85045 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
85046 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
85047 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
85048 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
85049 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
85050 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
85051 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
85052 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
85053 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
85054 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
85055 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
85056 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
85057 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
85058 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
85059 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
85060 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
85061 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85062 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
85063 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
85064 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
85065 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
85066 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
85067 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
85068 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
85069 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
85070 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
85071 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
85072 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
85073 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
85074 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
85075 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
85076 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
85077 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
85078 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
85079 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
85080 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
85081 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
85082 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
85083 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
85084 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
85085 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
85086 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
85087 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
85088 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85089 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85090 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
85091 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85092 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
85093 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
85094 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
85095 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
85096 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
85097 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85098 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
85099 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
85100 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
85101 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
85102 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
85103 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
85104 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
85105 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
85106 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
85107 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
85108 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
85109 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
85110 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
85111 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
85112 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
85113 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
85114 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
85115 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
85116 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
85117 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
85118 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
85119 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
85120 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
85121 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
85122 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
85123 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
85124 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
85125 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
85126 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
85127 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
85128 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
85129 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
85130 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
85131 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
85132 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
85133 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
85134 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
85135 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
85136 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
85137 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
85138 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
85139 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
85140 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
85141 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
85142 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
85143 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
85144 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
85145 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
85146 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
85147 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
85148 * sysdeps/ieee754/k_standard.c: Likewise.
85149 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
85150 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
85151 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
85152 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
85153 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
85154 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
85155 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
85156 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
85157 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
85158 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
85159 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
85160 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
85161 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
85162 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
85163 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
85164 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
85165 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
85166 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
85167 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
85168 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
85169 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
85170 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
85171 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
85172 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
85173 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
85174 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
85175 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
85176 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
85177 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
85178 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
85179 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
85180 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
85181 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
85182 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
85183 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
85184 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
85185 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
85186 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
85187 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
85188 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
85189 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
85190 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
85191 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
85192 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
85193 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
85194 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
85195 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
85196 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
85197 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
85198 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
85199 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
85200 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
85201 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
85202 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
85203 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
85204 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
85205 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
85206 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
85207 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
85208 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
85209 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
85210 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
85211 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
85212 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
85213 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
85214 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
85215 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
85216 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
85217 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
85218 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
85219 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
85220 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
85221 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
85222 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
85223 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
85224 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
85225 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
85226 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
85227 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85228 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
85229 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
85230 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
85231 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
85232 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
85233 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
85234 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
85235 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
85236 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
85237 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
85238 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
85239 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
85240 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
85241 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
85242 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
85243 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
85244 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
85245 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
85246 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
85247 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
85248 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
85249 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
85250 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
85251 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
85252 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
85253 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
85254 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
85255 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
85256 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
85257 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
85258 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
85259 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
85260 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
85261 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
85262 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
85263 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
85264 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
85265 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
85266 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
85267 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
85268 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
85269 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85270 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
85271 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
85272 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
85273 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
85274 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
85275 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
85276 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
85277 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
85278 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
85279 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
85280 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
85281 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
85282 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
85283 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
85284 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
85285 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
85286 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
85287 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
85288 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
85289 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
85290 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
85291 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
85292 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
85293 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
85294 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
85295 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
85296 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
85297 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
85298 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
85299 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
85300 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
85301 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
85302 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
85303 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
85304 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
85305 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
85306 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
85307 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
85308 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
85309 * sysdeps/ieee754/s_lib_version.c: Likewise.
85310 * sysdeps/ieee754/s_matherr.c: Likewise.
85311 * sysdeps/ieee754/s_signgam.c: Likewise.
85312 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
85313 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
85314 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
85315 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
85316 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
85317 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
85318 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
85319 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
85320 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
85321 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
85322 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
85323 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
85324 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
85325 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
85326 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
85327 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
85328 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
85329 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
85330 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
85331 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
85332 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
85333
85334 2012-03-09 Joseph Myers <joseph@codesourcery.com>
85335
85336 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
85337 * sunrpc/rpc_main.c: Likewise.
85338 * sunrpc/rpc_svcout.c: Likewise.
85339
85340 2012-03-09 David S. Miller <davem@davemloft.net>
85341
85342 * include/math_private.h: New file.
85343
85344 2012-03-09 Joseph Myers <joseph@codesourcery.com>
85345
85346 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
85347 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
85348 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
85349 from <bits/socket_type.h>.
85350 (enum __socket_type): Don't define here.
85351 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
85352 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85353 bits/socket_type.h.
85354
85355 [BZ #13566]
85356 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
85357 checking __USE_GNU.
85358
85359 * Makerules ($(inst_includedir)/%.h): New rule.
85360 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
85361 (install-others): Remove variable setting.
85362 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
85363
85364 2012-03-08 Richard Henderson <rth@twiddle.net>
85365
85366 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
85367 from macro to inline function; merge with the
85368 !__LIBC_INTERNAL_MATH_INLINES version.
85369 (__ieee754_sqrtf): Likewise.
85370
85371 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
85372 to inline function.
85373 (__rintf, __floor, __floorf): Likewise.
85374
85375 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
85376 macro to inline function.
85377 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
85378
85379 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
85380 not <math/math_private.h>.
85381
85382 2012-03-08 David S. Miller <davem@davemloft.net>
85383
85384 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
85385 copyright year.
85386 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
85387
85388 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
85389
85390 * resolv/gai_misc.c (handle_requests): Fix struct timespec
85391 normalization.
85392 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
85393 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
85394
85395 2012-03-08 Ulrich Drepper <drepper@gmail.com>
85396
85397 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
85398 be defined individually, they must be defined as a block. Define
85399 S for printing a string instead of hidint the different by using a
85400 macro for adding the 'l'.
85401 * stdio-common/tst-fphex-wide.c: Adjust.
85402
85403 2012-03-07 Marek Polacek <polacek@redhat.com>
85404
85405 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
85406
85407 2012-03-08 Marek Polacek <polacek@redhat.com>
85408
85409 [BZ #13806]
85410 * stdio-common/Makefile (tests): Add tst-fphex-wide.
85411 * stdio-common/tst-fphex.c: Define a few macros to make the
85412 test reusable. Use them.
85413 * stdio-common/tst-fphex-wide.c: New file.
85414
85415 2012-03-08 Joseph Myers <joseph@codesourcery.com>
85416
85417 [BZ #6911]
85418 * manual/macros.texi (gnusystems): New macro.
85419 (nongnusystems): Likewise.
85420 (gnulinuxhurdsystems): Likewise.
85421 (gnuhurdsystems): Likewise..
85422 (gnulinuxsystems): Likewise.
85423 * manual/charset.texi: Use new macros or @theglibc{} to refer to
85424 variants of the GNU system, not "GNU system".
85425 * manual/conf.texi: Likewise.
85426 * manual/errno.texi: Likewise. Update example of errno macro
85427 expansion.
85428 * manual/filesys.texi: Likewise.
85429 (getumask): Document as specific to GNU/Hurd.
85430 * manual/install.texi: Likewise. Reword some references to
85431 GNU/Linux.
85432 * manual/intro.texi: Likewise.
85433 * manual/io.texi: Likewise.
85434 (File Name Portability): Detail which constraints are inapplicable
85435 to all GNU systems and which are only inapplicable to GNU/Hurd.
85436 * manual/job.texi: Likewise.
85437 * manual/llio.texi: Likewise.
85438 (O_NOCTTY): Document as present on GNU/Linux.
85439 * manual/maint.texi: Likewise.
85440 * manual/memory.texi: Likewise.
85441 * manual/pattern.texi: Likewise.
85442 * manual/pipe.texi: Likewise.
85443 * manual/process.texi: Likewise.
85444 * manual/resource.texi: Likewise.
85445 (RUSAGE_CHILDREN): Remove statement about specifying a particular
85446 child on GNU/Hurd.
85447 * manual/setjmp.texi: Likewise.
85448 * manual/signal.texi: Likewise.
85449 * manual/startup.texi: Likewise.
85450 * manual/stdio.texi: Likewise.
85451 * manual/terminal.texi: Likewise.
85452 (ONLCR): Document as POSIX.
85453 (OXTABS): Document availability on GNU/Linux as XTABS.
85454 (ONOEOT): Document availability separately from other bits.
85455 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
85456 * manual/time.texi: Likewise.
85457 * manual/users.texi: Likewise.
85458 * INSTALL: Regenerated.
85459 * sysdeps/gnu/errlist.c: Regenerated.
85460
85461 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
85462 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
85463 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
85464 puts.
85465 * configure: Regenerated.
85466
85467 2012-03-07 Joseph Myers <joseph@codesourcery.com>
85468
85469 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
85470 default includes instead of AC_HEADER_CHECK.
85471 * sysdeps/i386/configure: Regenerated.
85472
85473 [BZ #10716]
85474 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
85475 * math/s_cacoshf.c (__cacoshf): Likewise.
85476 * math/s_cacoshl.c (__cacoshl): Likewise.
85477 * math/s_casinh.c (__casinh): Set signs of result from argument.
85478 * math/s_casinhf.c (__casinhf): Likewise.
85479 * math/s_casinhl.c (__casinhl): Likewise.
85480 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
85481 (casinh_test): Add more tests.
85482 * sysdeps/i386/fpu/libm-test-ulps: Update.
85483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85484
85485 2012-03-07 Ulrich Drepper <drepper@gmail.com>
85486
85487 * po/zh_TW.po: Update from translation team.
85488
85489 * login/Makefile (distribute): Remove variable.
85490 * catgets/Makefile: Likewise.
85491 * mach/Makefile: Likewise.
85492 * malloc/Makefile: Likewise.
85493 * misc/Makefile: Likewise.
85494 * iconv/Makefile: Likewise.
85495 * nscd/Makefile: Likewise.
85496 * hurd/Makefile: Likewise.
85497 * manual/Makefile: Likewise.
85498 * locale/Makefile: Likewise.
85499 * intl/Makefile: Likewise.
85500 * conform/Makefile: Likewise.
85501 * nss/Makefile: Likewise.
85502 * time/Makefile: Likewise.
85503 * soft-fp/Makefile: Likewise.
85504 * dirent/Makefile: Likewise.
85505 * gmon/Makefile: Likewise.
85506 * po/Makefile: Likewise.
85507 * rt/Makefile: Likewise.
85508 * socket/Makefile: Likewise.
85509 * math/Makefile: Likewise.
85510 * signal/Makefile: Likewise.
85511 * debug/Makefile: Likewise.
85512 * elf/Makefile: Likewise.
85513 * timezone/Makefile: Likewise.
85514 * stdlib/Makefile: Likewise.
85515 * iconvdata/Makefile: Likewise.
85516 * sunrpc/Makefile: Likewise.
85517 * io/Makefile: Likewise.
85518 * argp/Makefile: Likewise.
85519 * inet/Makefile: Likewise.
85520 * hesiod/Makefile: Likewise.
85521 * grp/Makefile: Likewise.
85522 * csu/Makefile: Likewise.
85523 * wctype/Makefile: Likewise.
85524 * crypt/Makefile: Likewise.
85525 * libio/Makefile: Likewise.
85526 * string/Makefile: Likewise.
85527 * nis/Makefile: Likewise.
85528 * resolv/Makefile: Likewise.
85529 * stdio-common/Makefile: Likewise.
85530 * wcsmbs/Makefile: Likewise.
85531 * dlfcn/Makefile: Likewise.
85532 * posix/Makefile: Likewise.
85533
85534 [BZ #6959]
85535 * timezone/Makefile: Don't install timezone files, just the programs
85536 and scripts.
85537
85538 2012-03-06 Ulrich Drepper <drepper@gmail.com>
85539
85540 * nss/databases.def: Add missing gshadow entry.
85541
85542 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
85543
85544 2012-03-06 Marek Polacek <polacek@redhat.com>
85545
85546 [BZ #13726]
85547 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
85548 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
85549 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
85550 * stdio-common/tst-long-dbl-fphex.c: New file.
85551
85552 2012-03-06 David S. Miller <davem@davemloft.net>
85553
85554 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
85555 (set_obp_int): New function.
85556 (get_obp_int): New function.
85557 (__get_clockfreq_via_dev_openprom): Likewise.
85558 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
85559 Avoid unused variable warnings on 'val' and use builtin_expect.
85560 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
85561 __builtin_expect.
85562 (INLINE_CLONE_SYSCALL): Likewise.
85563
85564 2012-03-05 David S. Miller <davem@davemloft.net>
85565
85566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85567
85568 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
85569
85570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85571
85572 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
85573 only for |x| >= 40.
85574 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85575
85576 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
85577
85578 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
85579 Replace gettimeofday with __vdso_gettimeofday.
85580
85581 * sysdeps/unix/sysv/linux/x86_64/init-first.c
85582 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
85583 __vdso_clock_gettime and __vdso_getcpu.
85584
85585 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
85586 time with __vdso_time.
85587
85588 2012-03-05 Joseph Myers <joseph@codesourcery.com>
85589
85590 * manual/lang.texi (size_t): Note types to which size_t may be
85591 equivalent with the GNU C Library, but do not describe when
85592 differences between them are significant.
85593
85594 2012-03-05 Andreas Jaeger <aj@suse.de>
85595
85596 * sysdeps/i386/fpu/libm-test-ulps: Update.
85597
85598 2012-03-05 Joseph Myers <joseph@codesourcery.com>
85599
85600 [BZ #3976]
85601 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
85602 (__ieee754_pow): Save and restore rounding mode and use
85603 round-to-nearest for main computations.
85604 * math/libm-test.inc (pow_test_tonearest): New function.
85605 (pow_test_towardzero): Likewise.
85606 (pow_test_downward): Likewise.
85607 (pow_test_upward): Likewise.
85608 (main): Call the new functions.
85609 * sysdeps/i386/fpu/libm-test-ulps: Update.
85610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85611
85612 [BZ #3976]
85613 * math/libm-test.inc (cosh_test_tonearest): New function.
85614 (cosh_test_towardzero): Likewise.
85615 (cosh_test_downward): Likewise.
85616 (cosh_test_upward): Likewise.
85617 (sinh_test_tonearest): Likewise.
85618 (sinh_test_towardzero): Likewise.
85619 (sinh_test_downward): Likewise.
85620 (sinh_test_upward): Likewise.
85621 (main): Call the new functions.
85622 * sysdeps/i386/fpu/libm-test-ulps: Update.
85623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85624
85625 2012-03-05 Tom de Vries <tom@codesourcery.com>
85626
85627 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
85628 default stack guard is set in last bytes.
85629 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
85630
85631 2012-03-05 Kees Cook <keescook@chromium.org>
85632
85633 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
85634
85635 [BZ #13656]
85636 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
85637 possibly allocate from heap instead of stack.
85638 * stdio-common/bug-vfprintf-nargs.c: New file.
85639 * stdio-common/Makefile (tests): Add nargs overflow test.
85640
85641 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
85642
85643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85644
85645 2012-03-03 Marek Polacek <polacek@redhat.com>
85646
85647 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
85648 * math/math_private.h: Likewise.
85649 * stdlib/tst-strtod.c: Likewise.
85650 * sysdeps/i386/i486/bits/atomic.h: Likewise.
85651 * sysdeps/x86_64/bits/atomic.h: Likewise.
85652
85653 2012-03-02 David S. Miller <davem@davemloft.net>
85654
85655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
85656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
85657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
85658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
85659 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
85660 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
85661 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
85662 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
85663
85664 2012-03-02 Roland McGrath <roland@hack.frob.com>
85665
85666 [BZ #13792]
85667 * manual/examples/README: New file, says the example source files
85668 can be used under GPL>=2.
85669 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
85670 line containing just "*/".
85671 * manual/examples/add.c: Add copyright header (GPL>=2).
85672 * manual/examples/argp-ex1.c: Likewise.
85673 * manual/examples/argp-ex2.c: Likewise.
85674 * manual/examples/argp-ex3.c: Likewise.
85675 * manual/examples/argp-ex4.c: Likewise.
85676 * manual/examples/atexit.c: Likewise.
85677 * manual/examples/db.c: Likewise.
85678 * manual/examples/dir.c: Likewise.
85679 * manual/examples/dir2.c: Likewise.
85680 * manual/examples/execinfo.c: Likewise.
85681 * manual/examples/filecli.c: Likewise.
85682 * manual/examples/filesrv.c: Likewise.
85683 * manual/examples/fmtmsgexpl.c: Likewise.
85684 * manual/examples/genpass.c: Likewise.
85685 * manual/examples/inetcli.c: Likewise.
85686 * manual/examples/inetsrv.c: Likewise.
85687 * manual/examples/isockad.c: Likewise.
85688 * manual/examples/longopt.c: Likewise.
85689 * manual/examples/memopen.c: Likewise.
85690 * manual/examples/memstrm.c: Likewise.
85691 * manual/examples/mkfsock.c: Likewise.
85692 * manual/examples/mkisock.c: Likewise.
85693 * manual/examples/mygetpass.c: Likewise.
85694 * manual/examples/pipe.c: Likewise.
85695 * manual/examples/popen.c: Likewise.
85696 * manual/examples/rprintf.c: Likewise.
85697 * manual/examples/search.c: Likewise.
85698 * manual/examples/select.c: Likewise.
85699 * manual/examples/setjmp.c: Likewise.
85700 * manual/examples/sigh1.c: Likewise.
85701 * manual/examples/sigusr.c: Likewise.
85702 * manual/examples/stpcpy.c: Likewise.
85703 * manual/examples/strdupa.c: Likewise.
85704 * manual/examples/strftim.c: Likewise.
85705 * manual/examples/strncat.c: Likewise.
85706 * manual/examples/subopt.c: Likewise.
85707 * manual/examples/swapcontext.c: Likewise.
85708 * manual/examples/termios.c: Likewise.
85709 * manual/examples/testopt.c: Likewise.
85710 * manual/examples/testpass.c: Likewise.
85711 * manual/examples/timeval_subtract.c: Likewise.
85712
85713 [BZ #13792]
85714 * manual/time.texi (Elapsed Time): Move timeval_subtract example
85715 function to ...
85716 * manual/timeval_subtract.c.texi: ... here, new file.
85717
85718 2012-03-02 David S. Miller <davem@davemloft.net>
85719
85720 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
85721
85722 2012-03-02 Joseph Myers <joseph@codesourcery.com>
85723
85724 [BZ #3976]
85725 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
85726 (__sin): Save and restore rounding mode and use round-to-nearest
85727 for all computations.
85728 (__cos): Save and restore rounding mode and use round-to-nearest
85729 for all computations.
85730 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
85731 <fenv.h>.
85732 (tan): Save and restore rounding mode and use round-to-nearest for
85733 all computations.
85734 * math/libm-test.inc (cos_test_tonearest): New function.
85735 (cos_test_towardzero): Likewise.
85736 (cos_test_downward): Likewise.
85737 (cos_test_upward): Likewise.
85738 (sin_test_tonearest): Likewise.
85739 (sin_test_towardzero): Likewise.
85740 (sin_test_downward): Likewise.
85741 (sin_test_upward): Likewise.
85742 (tan_test_tonearest): Likewise.
85743 (tan_test_towardzero): Likewise.
85744 (tan_test_downward): Likewise.
85745 (tan_test_upward): Likewise.
85746 (main): Call the new functions.
85747 * sysdeps/i386/fpu/libm-test-ulps: Update.
85748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85749
85750 [BZ #10135]
85751 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
85752 small n, then large n, before computing and testing k+n.
85753 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
85754 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
85755 Likewise.
85756 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
85757 Likewise.
85758 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
85759 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
85760 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
85761 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
85762 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
85763 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
85764 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
85765 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
85766 * math/libm-test.inc (scalbn_test): Add more tests.
85767 (scalbln_test): Likewise.
85768
85769 * manual/filesys.texi (mode_t): Describe constraints on size and
85770 signedness, not exact equivalence to a particular type.
85771 (ino_t): Likewise.
85772 (ino64_t): Likewise.
85773 (dev_t): Likewise.
85774 (nlink_t): Likewise.
85775 (blkcnt_t): Likewise.
85776 (blkcnt64_t): Likewise.
85777 * manual/llio.texi (off_t): Likewise.
85778
85779 [BZ #3976]
85780 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
85781 (__ieee754_exp): Save and restore rounding mode and use
85782 round-to-nearest for all computations.
85783 * math/libm-test.inc (exp_test_tonearest): New function.
85784 (exp_test_towardzero): Likewise.
85785 (exp_test_downward): Likewise.
85786 (exp_test_upward): Likewise.
85787 (main): Call the new functions.
85788 * sysdeps/i386/fpu/libm-test-ulps: Update.
85789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85790
85791 2012-03-01 Chris Demetriou <cgd@google.com>
85792
85793 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
85794 have predictable order.
85795
85796 2012-03-01 David S. Miller <davem@davemloft.net>
85797
85798 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
85799
85800 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
85801 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
85802 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
85803 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
85804
85805 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
85806 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
85807 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
85808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
85809 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
85810 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
85811 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
85812 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
85813 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
85814
85815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85816
85817 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
85818 * sysdeps/sparc/fpu/libm-test-ulps: to here.
85819 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
85820
85821 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
85822 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
85823 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
85824 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
85825 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
85826 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
85827 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
85828 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
85829 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
85830 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
85831 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
85832 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
85833 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
85834 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
85835 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
85836 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
85837 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
85838 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
85839 * sysdeps/sparc/elf/configure: Regenerated.
85840
85841 2012-03-01 Joseph Myers <joseph@codesourcery.com>
85842
85843 * configure.in (AS, LD): Require binutils 2.20 or later.
85844 * configure: Regenerated.
85845 * manual/install.texi (Tools for Compilation): Give binutils 2.20
85846 as required minimum version.
85847 * INSTALL: Regenerated.
85848
85849 [BZ #2541]
85850 [BZ #4108]
85851 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
85852 before squaring exponent.
85853 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
85854 bottom long double and 27 bits of top long double before squaring
85855 exponent.
85856 * math/libm-test.inc (erfc_test): Add more tests.
85857 * sysdeps/i386/fpu/libm-test-ulps: Update.
85858 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
85859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85860
85861 2012-03-01 Kai Tietz <ktietz@redhat.com>
85862
85863 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
85864 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
85865 containing bit-fields.
85866 * soft-fp/extended.h (_FP_UNION_E): Likewise.
85867 * soft-fp/single.h (_FP_UNION_S): Likewise.
85868 * soft-fp/double.h (_FP_UNION_D): Likewise.
85869
85870 2012-02-29 Joseph Myers <joseph@codesourcery.com>
85871
85872 [BZ #13786]
85873 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
85874 not include ../strcmp.S.
85875 [USE_AS_STRNCASECMP_L]: Likewise.
85876 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
85877 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
85878 * sysdeps/i386/i686/multiarch/strncase_l-c.c
85879 (__strncasecmp_l_ia32): Define as alias to
85880 __strncasecmp_l_nonascii.
85881
85882 [BZ #5794]
85883 * math/libm-test.inc (expm1_test): Add test for bug 5794.
85884 * sysdeps/i386/fpu/libm-test-ulps: Update.
85885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85886
85887 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
85888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85889
85890 2012-02-29 Jeff Law <law@redhat.com>
85891
85892 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
85893 out of bounds read.
85894
85895 2012-02-29 Marek Polacek <polacek@redhat.com>
85896
85897 [BZ #13706]
85898 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
85899 * elf/Makefile: Add rules to run tst-unused-dep.out.
85900
85901 2012-02-28 David S. Miller <davem@davemloft.net>
85902
85903 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
85904 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
85905 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
85906 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
85907 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
85908 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
85909
85910 2012-02-29 Joseph Myers <joseph@codesourcery.com>
85911
85912 * math/libm-test.inc (llround_test): Move one test from
85913 lround_test. Use TEST_f_L in moved test.
85914 (lround_test): Move misplaced test to llround_test. Add testcase
85915 from bug 2561.
85916
85917 2012-02-28 Ulrich Drepper <drepper@gmail.com>
85918
85919 * sysdeps/x86_64/fpu/e_expf.S: New file.
85920 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
85921
85922 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
85923
85924 [BZ #13637]
85925 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
85926 of remain_len that may cause incomplete multi-byte character and
85927 false match.
85928 * posix/bug-regex33.c: New file.
85929 * posix/Makefile (tests): Add bug-regex33.
85930
85931 2012-02-28 Joseph Myers <joseph@codesourcery.com>
85932
85933 * manual/macros.texi: New file.
85934 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
85935 * manual/libc.texinfo: Include macros.texi.
85936 * manual/creatute.texi: Likewise.
85937 * manual/install.texi: Likewise.
85938 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
85939 @glibcadj{} in references to the GNU C Library.
85940 * manual/charset.texi: Likewise.
85941 * manual/conf.texi: Likewise.
85942 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
85943 when not using those macros.
85944 * manual/creature.texi: Likewise.
85945 * manual/crypt.texi: Likewise.
85946 * manual/errno.texi: Likewise.
85947 * manual/filesys.texi: Likewise.
85948 * manual/header.texi: Likewise.
85949 * manual/install.texi: Likewise.
85950 * manual/intro.texi: Likewise.
85951 * manual/io.texi: Likewise.
85952 * manual/job.texi: Likewise.
85953 * manual/lang.texi: Likewise.
85954 * manual/libc.texiinfo: Likewise.
85955 * manual/llio.texi: Likewise.
85956 * manual/locale.texi: Likewise.
85957 * manual/maint.texi: Likewise.
85958 * manual/math.texi: Likewise.
85959 * manual/memory.texi: Likewise.
85960 * manual/message.texi: Likewise.
85961 * manual/nss.texi: Likewise.
85962 * manual/pattern.texi: Likewise.
85963 * manual/process.texi: Likewise.
85964 * manual/resource.texi: Likewise.
85965 * manual/search.texi: Likewise.
85966 * manual/setjmp.texi: Likewise.
85967 * manual/signal.texi: Likewise.
85968 * manual/socket.texi: Likewise.
85969 * manual/startup.texi: Likewise.
85970 * manual/stdio.texi: Likewise.
85971 * manual/string.texi: Likewise.
85972 * manual/sysinfo.texi: Likewise.
85973 * manual/syslog.texi: Likewise.
85974 * manual/terminal.texi: Likewise.
85975 * manual/time.texi: Likewise.
85976 * manual/users.texi: Likewise.
85977 * INSTALL: Regenerated.
85978 * NOTES: Regenerated.
85979 * sysdeps/gnu/errlist.c: Regenerated.
85980
85981 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
85982
85983 * include/dirent.h: Include <dirstream.h> before
85984 <dirent/dirent.h>.
85985
85986 2012-02-28 David S. Miller <davem@davemloft.net>
85987
85988 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
85989 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
85990 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
85991 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
85992
85993 2012-02-27 David S. Miller <davem@davemloft.net>
85994
85995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
85996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
85997 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
85998 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
85999
86000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
86001 frame pointer instead of stack pointer relative arg slot.
86002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
86003 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
86004 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
86005
86006 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
86007
86008 [BZ #3992]
86009 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
86010
86011 2012-02-27 David S. Miller <davem@davemloft.net>
86012
86013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
86014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
86015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
86016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
86017 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
86018 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
86019 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
86020 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
86021
86022 2012-02-27 Joseph Myers <joseph@codesourcery.com>
86023
86024 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
86025 later. Allow versions 5-9.
86026 * configure: Regenerated.
86027 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
86028 required minimum version and 4.6 as recommended version. Do not
86029 mention bugs in GCC 2.7 and 2.8.
86030 * INSTALL: Regenerated.
86031
86032 2012-02-27 David S. Miller <davem@davemloft.net>
86033
86034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
86035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
86036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
86037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
86038 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
86039 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
86040 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
86041 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
86042
86043 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
86044 manipulate bits before adding and subtracting TWO112[sx].
86045 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
86046
86047 2012-02-27 Roland McGrath <roland@hack.frob.com>
86048
86049 [BZ #13775]
86050 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
86051 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
86052 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
86053 being in POSIX, because they are in 1003.1-2008.
86054
86055 * rt/tst-aio.c: Include <fcntl.h>.
86056 * rt/tst-aio7.c: Likewise.
86057 * rt/tst-aio64.c: Likewise.
86058
86059 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
86060
86061 2012-02-27 Joseph Myers <joseph@codesourcery.com>
86062
86063 * manual/install.texi (--with-headers): Describe headers as
86064 interface headers, not private headers.
86065 (Specific advice for GNU/Linux systems): Describe use of headers
86066 from "make headers_install", not private headers from older
86067 kernels.
86068 * INSTALL: Regenerated.
86069 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
86070 Change to 2.6.19.
86071 * sysdeps/unix/sysv/linux/configure: Regenerated.
86072
86073 * manual/llio.texi (fclean): Remove documentation.
86074
86075 * manual/Makefile (libc-texi-generated): New variable. Include
86076 version.texi.
86077 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
86078 $(libc-texi-generated), not duplicated list of files.
86079 (version.texi, stamp-version): New rules.
86080 (realclean): Remove $(libc-texi-generated), not individual files
86081 from that list. Do not remove dir-add.texinfo.
86082 * manual/libc.texinfo: Comment out uses of edition numbers and
86083 references to printed manual. Remove last-updated dates.
86084 (EDITION): Comment out.
86085 (ISBN): Likewise.
86086 (VERSION, UPDATED): Remove.
86087 (version.texi): Include.
86088
86089 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
86090
86091 * sysdeps/posix/spawni.c: Include <signal.h>.
86092 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
86093 * sysdeps/pthread/aio_fsync.c: Likewise.
86094
86095 2012-02-26 Ulrich Drepper <drepper@gmail.com>
86096
86097 * conform/Makefile (tests): Run only when not cross-compiling and
86098 when fast-check is not defined.
86099
86100 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
86101 * conform/data/limits.h-data: Fixes for POSIX2008.
86102 * conform/run-conformtest.sh: Run all tests.
86103 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
86104 headers.
86105 * include/bits/dlfcn.h: Likewise.
86106 * include/langinfo.h: Likewise.
86107 * include/monetary.h: Likewise.
86108 * include/sys/poll.h: Likewise.
86109
86110 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
86111 for __USE_GNU.
86112 * posix/spawn.h: Define __need_sigset_t.
86113 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
86114 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
86115 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
86116 to get sigevent_t only.
86117 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
86118 only for __USE_GNU.
86119 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86120 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
86121 process_vm_writev only for __USE_GNU.
86122 * termios/termios.h: Declare tcgetsid also for POSIX2008.
86123
86124 * conform/Makefile: For now ignore errors from run-conformtest.
86125 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
86126 POSIX to avoid namespace pollution. Don't prepend headers.
86127 * conform/data/aio.h-data: Fixes for POSIX testing.
86128 * conform/data/fcntl.h-data: Likewise.
86129 * conform/data/glob.h-data: Likewise.
86130 * conform/data/grp.h-data: Likewise.
86131 * conform/data/pthread.h-data: Likewise.
86132 * conform/data/pwd.h-data: Likewise.
86133 * conform/data/signal.h-data: Likewise.
86134 * conform/data/spawn.h-data: Likewise.
86135 * conform/data/stdio.h-data: Likewise.
86136 * conform/data/stdlib.h-data: Likewise.
86137 * conform/data/stropts.h-data: Likewise.
86138 * conform/data/sys/mman.h-data: Likewise.
86139 * conform/data/sys/stat.h-data: Likewise.
86140 * conform/data/sys/types.h-data: Likewise.
86141 * conform/data/sys/wait.h-data: Likewise.
86142 * conform/data/time.h-data: Likewise.
86143 * conform/data/unistd.h-data: Likewise.
86144 * conform/data/utime.h-data: Likewise.
86145
86146 * io/sys/stat.h: fchmod was always in POSIX.
86147 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
86148 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
86149 * rt/aio.h: Define __need_timespec before including <time.h>.
86150 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
86151 struct. Add forward declaration of pthread_attr_t and use it in
86152 sigevent.
86153 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
86154 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
86155 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
86156 always remove CLK_TCK definition.
86157
86158 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
86159
86160 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
86161
86162 2012-02-25 Ulrich Drepper <drepper@gmail.com>
86163
86164 * conform/run-conformtest.sh: New file.
86165 * conform/Makefile: Run run-conformtest for tests.
86166 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
86167 support.
86168
86169 * conform/data/uchar.h-data: New file.
86170 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
86171 * conform/data/arpa/inet.h-data: Likewise.
86172 * conform/data/assert.h-data: Likewise.
86173 * conform/data/complex.h-data: Likewise.
86174 * conform/data/cpio.h-data: Likewise.
86175 * conform/data/ctype.h-data: Likewise.
86176 * conform/data/dirent.h-data: Likewise.
86177 * conform/data/dlfcn.h-data: Likewise.
86178 * conform/data/errno.h-data: Likewise.
86179 * conform/data/fcntl.h-data: Likewise.
86180 * conform/data/float.h-data: Likewise.
86181 * conform/data/fmtmsg.h-data: Likewise.
86182 * conform/data/fnmatch.h-data: Likewise.
86183 * conform/data/ftw.h-data: Likewise.
86184 * conform/data/glob.h-data: Likewise.
86185 * conform/data/grp.h-data: Likewise.
86186 * conform/data/iconv.h-data: Likewise.
86187 * conform/data/inttypes.h-data: Likewise.
86188 * conform/data/langinfo.h-data: Likewise.
86189 * conform/data/libgen.h-data: Likewise.
86190 * conform/data/limits.h-data: Likewise.
86191 * conform/data/locale.h-data: Likewise.
86192 * conform/data/math.h-data: Likewise.
86193 * conform/data/monetary.h-data: Likewise.
86194 * conform/data/mqueue.h-data: Likewise.
86195 * conform/data/ndbm.h-data: Likewise.
86196 * conform/data/net/if.h-data: Likewise.
86197 * conform/data/netdb.h-data: Likewise.
86198 * conform/data/netinet/in.h-data: Likewise.
86199 * conform/data/nl_types.h-data: Likewise.
86200 * conform/data/poll.h-data: Likewise.
86201 * conform/data/pthread.h-data: Likewise.
86202 * conform/data/pwd.h-data: Likewise.
86203 * conform/data/regex.h-data: Likewise.
86204 * conform/data/sched.h-data: Likewise.
86205 * conform/data/search.h-data: Likewise.
86206 * conform/data/semaphore.h-data: Likewise.
86207 * conform/data/setjmp.h-data: Likewise.
86208 * conform/data/signal.h-data: Likewise.
86209 * conform/data/spawn.h-data: Likewise.
86210 * conform/data/stdarg.h-data: Likewise.
86211 * conform/data/stdio.h-data: Likewise.
86212 * conform/data/stdlib.h-data: Likewise.
86213 * conform/data/string.h-data: Likewise.
86214 * conform/data/strings.h-data: Likewise.
86215 * conform/data/stropts.h-data: Likewise.
86216 * conform/data/sys/ipc.h-data: Likewise.
86217 * conform/data/sys/mman.h-data: Likewise.
86218 * conform/data/sys/msg.h-data: Likewise.
86219 * conform/data/sys/resource.h-data: Likewise.
86220 * conform/data/sys/select.h-data: Likewise.
86221 * conform/data/sys/sem.h-data: Likewise.
86222 * conform/data/sys/shm.h-data: Likewise.
86223 * conform/data/sys/socket.h-data: Likewise.
86224 * conform/data/sys/stat.h-data: Likewise.
86225 * conform/data/sys/statvfs.h-data: Likewise.
86226 * conform/data/sys/time.h-data: Likewise.
86227 * conform/data/sys/timeb.h-data: Likewise.
86228 * conform/data/sys/times.h-data: Likewise.
86229 * conform/data/sys/types.h-data: Likewise.
86230 * conform/data/sys/uio.h-data: Likewise.
86231 * conform/data/sys/un.h-data: Likewise.
86232 * conform/data/sys/utsname.h-data: Likewise.
86233 * conform/data/sys/wait.h-data: Likewise.
86234 * conform/data/syslog.h-data: Likewise.
86235 * conform/data/tar.h-data: Likewise.
86236 * conform/data/termios.h-data: Likewise.
86237 * conform/data/utime.h-data: Likewise.
86238 * conform/data/utmpx.h-data: Likewise.
86239 * conform/data/varargs.h-data: Likewise.
86240 * conform/data/wchar.h-data: Likewise.
86241 * conform/data/wctype.h-data: Likewise.
86242 * conform/data/wordexp.h-data: Likewise.
86243
86244 * include/stropts.h: New file.
86245 * include/uchar.h: New file.
86246 * include/aio.h: Changes to allow conformtest.pl to use the headers.
86247 * include/assert.h: Likewise.
86248 * include/ctype.h: Likewise.
86249 * include/dirent.h: Likewise.
86250 * include/dlfcn.h: Likewise.
86251 * include/fcntl.h: Likewise.
86252 * include/fnmatch.h: Likewise.
86253 * include/glob.h: Likewise.
86254 * include/grp.h: Likewise.
86255 * include/libio.h: Likewise.
86256 * include/locale.h: Likewise.
86257 * include/math.h: Likewise.
86258 * include/net/if.h: Likewise.
86259 * include/netdb.h: Likewise.
86260 * include/netinet/in.h: Likewise.
86261 * include/pthread.h: Likewise.
86262 * include/pwd.h: Likewise.
86263 * include/regex.h: Likewise.
86264 * include/sched.h: Likewise.
86265 * include/search.h: Likewise.
86266 * include/setjmp.h: Likewise.
86267 * include/signal.h: Likewise.
86268 * include/stdio.h: Likewise.
86269 * include/stdlib.h: Likewise.
86270 * include/string.h: Likewise.
86271 * include/sys/cdefs.h: Likewise.
86272 * include/sys/mman.h: Likewise.
86273 * include/sys/msg.h: Likewise.
86274 * include/sys/resource.h: Likewise.
86275 * include/sys/select.h: Likewise.
86276 * include/sys/socket.h: Likewise.
86277 * include/sys/stat.h: Likewise.
86278 * include/sys/statvfs.h: Likewise.
86279 * include/sys/time.h: Likewise.
86280 * include/sys/times.h: Likewise.
86281 * include/sys/uio.h: Likewise.
86282 * include/sys/utsname.h: Likewise.
86283 * include/sys/wait.h: Likewise.
86284 * include/termios.h: Likewise.
86285 * include/time.h: Likewise.
86286 * include/ulimit.h: Likewise.
86287 * include/unistd.h: Likewise.
86288 * include/utime.h: Likewise.
86289 * include/wchar.h: Likewise.
86290 * include/wctype.h: Likewise.
86291 * include/wordexp.h: Likewise.
86292
86293 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
86294
86295 * time/time.h: TIME_UTC must be a macro.
86296 Make timespec_get available for ISO C11 only as well.
86297
86298 2012-02-24 Ulrich Drepper <drepper@gmail.com>
86299
86300 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
86301 Reported by Peng Haitao <penght@cn.fujitsu.com>.
86302
86303 2012-02-24 Joseph Myers <joseph@codesourcery.com>
86304
86305 * configure.in: Use -o not -a in test for unsupported multi-arch.
86306
86307 2012-02-24 Joseph Myers <joseph@codesourcery.com>
86308
86309 * manual/texinfo.tex: Update to version 2012-01-19.16.
86310
86311 2012-02-24 Joseph Myers <joseph@codesourcery.com>
86312
86313 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
86314
86315 2012-02-24 Roland McGrath <roland@hack.frob.com>
86316
86317 [BZ #13738]
86318 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
86319 * manual/fdl-1.3.texi: New file.
86320 * manual/fdl-1.1.texi: File removed.
86321
86322 [BZ #13738]
86323 * manual/libc.texinfo (FDL_VERSION): New @set.
86324 Use it for mention of FDL in cover text.
86325 (Documentation License): Use it in @include file name.
86326
86327 2012-02-22 Joseph Myers <joseph@codesourcery.com>
86328 Roland McGrath <roland@hack.frob.com>
86329
86330 [BZ #5461]
86331 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
86332 (not LONG_LONG_MAX and LONG_LONG_MIN.
86333 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
86334 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
86335 name.
86336 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
86337
86338 2012-02-22 Joseph Myers <joseph@codesourcery.com>
86339
86340 [BZ #2547]
86341 [BZ #11365]
86342 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
86343 manipulate bits before adding and subtracting TWO23[sx].
86344 * math/libm-test.inc (nearbyint_test): Add more tests.
86345
86346 2012-02-22 Joseph Myers <joseph@codesourcery.com>
86347
86348 [BZ #2548]
86349 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
86350 bits before adding and subtracting TWO23[sx].
86351 * math/libm-test.inc (rint_test): Add more tests.
86352 (rint_test_tonearest): Likewise.
86353 (rint_test_towardzero): Likewise.
86354 (rint_test_downward): Likewise.
86355 (rint_test_upward: Likewise.
86356
86357 2012-02-22 Joseph Myers <joseph@codesourcery.com>
86358
86359 [BZ #10110]
86360 * include/stdc-predef.h: New file. Extracted from features.h.
86361 * include/features.h: Include stdc-predef.h.
86362 * Makefile (headers): Add stdc-predef.h.
86363 * CONFORMANCE (Compiler limitations): Update.
86364
86365 2012-02-22 Joseph Myers <joseph@codesourcery.com>
86366
86367 * manual/libc.texinfo (VERSION, UPDATED): Revert.
86368
86369 2012-02-21 David S. Miller <davem@davemloft.net>
86370
86371 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
86372 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
86373
86374 2012-02-20 David S. Miller <davem@davemloft.net>
86375
86376 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
86377 using a normal save/restore sequence, rather than allocating a
86378 dummy stack frame just to store a frame pointer and restore.
86379 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86380
86381 2012-02-21 Joseph Myers <joseph@codesourcery.com>
86382
86383 * manual/install.texi: Fix stray word in line-wrapped comment.
86384
86385 2012-02-20 David S. Miller <davem@davemloft.net>
86386
86387 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
86388 both binutils and gcc support GOTDATA.
86389
86390 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
86391 "rd %pc" in the PIC register setup sequences.
86392
86393 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
86394 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
86395 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
86396 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
86397 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
86398 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
86399 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86400 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86401 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
86402 (SYSCALL_ERROR_HANDLER): Likewise.
86403 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
86404 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
86405 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
86406 (SYSCALL_ERROR_HANDLER): Likewise.
86407
86408 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
86409 (HAVE_GCC_GOTDATA): New.
86410 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
86411 relocation support in both binutils and gcc.
86412 * sysdeps/sparc/elf/configure: Regenerate.
86413
86414 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
86415 * sysdeps/sparc/sparc32/elf/configure: Delete.
86416 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
86417 * sysdeps/sparc/sparc64/elf/configure: Delete.
86418 * sysdeps/sparc/elf/configure.in: New file.
86419 * sysdeps/sparc/elf/configure: Generate.
86420
86421 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
86422 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
86423 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
86424 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
86425 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
86426
86427 2012-02-21 Joseph Myers <joseph@codesourcery.com>
86428
86429 * manual/install.texi: Do not mention specific glibc version
86430 numbers.
86431 * manual/libc.texinfo (VERSION, UPDATED): Update.
86432 (@copying): Use @copyright{} and range of years.
86433
86434 2012-02-21 Joseph Myers <joseph@codesourcery.com>
86435
86436 [BZ #13695]
86437 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
86438 [crti.S not in sysdirs] (generated): Do not append.
86439 [crti.S not in sysdirs] (omit-deps): Likewise.
86440 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
86441 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
86442 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
86443 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
86444 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
86445 Likewise.
86446 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
86447 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
86448 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
86449 * csu/defs.awk: Remove file.
86450 * sysdeps/generic/initfini.c: Likewise.
86451 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
86452 variable.
86453 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
86454 Likewise.
86455
86456 2012-02-20 Joseph Myers <joseph@codesourcery.com>
86457
86458 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
86459 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
86460 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
86461 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
86462 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
86463 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
86464 <bits/epoll.h>.
86465 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
86466 (__EPOLL_PACKED): Define to empty if not defined by
86467 <bits/epoll.h>.
86468 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
86469 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86470 bits/epoll.h.
86471
86472 2012-02-20 Joseph Myers <joseph@codesourcery.com>
86473
86474 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
86475 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
86476 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
86477 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
86478 <bits/timerfd.h>.
86479 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
86480 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86481 bits/timerfd.h.
86482
86483 2012-02-20 Joseph Myers <joseph@codesourcery.com>
86484
86485 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
86486 in C locale.
86487 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
86488 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
86489 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
86490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86491
86492 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
86493
86494 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86495 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
86496
86497 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
86498
86499 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
86500 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
86501 defined.
86502 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
86503 Likewise.
86504 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
86505 entry for 2.16.
86506
86507 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
86508
86509 * math/w_acos.c: Use non-signaling floating-point comparisons.
86510 * math/w_acosf.c: Likewise.
86511 * math/w_acosh.c: Likewise.
86512 * math/w_acoshf.c: Likewise.
86513 * math/w_acoshl.c: Likewise.
86514 * math/w_acosl.c: Likewise.
86515 * math/w_asin.c: Likewise.
86516 * math/w_asinf.c: Likewise.
86517 * math/w_asinl.c: Likewise.
86518 * math/w_atanh.c: Likewise.
86519 * math/w_atanhf.c: Likewise.
86520 * math/w_atanhl.c: Likewise.
86521 * math/w_exp2.c: Likewise.
86522 * math/w_exp2f.c: Likewise.
86523 * math/w_exp2l.c: Likewise.
86524 * math/w_j0.c: Likewise.
86525 * math/w_j0f.c: Likewise.
86526 * math/w_j0l.c: Likewise.
86527 * math/w_j1.c: Likewise.
86528 * math/w_j1f.c: Likewise.
86529 * math/w_j1l.c: Likewise.
86530 * math/w_jn.c: Likewise.
86531 * math/w_jnf.c: Likewise.
86532 * math/w_log.c: Likewise.
86533 * math/w_log10.c: Likewise.
86534 * math/w_log10f.c: Likewise.
86535 * math/w_log10l.c: Likewise.
86536 * math/w_log2.c: Likewise.
86537 * math/w_log2f.c: Likewise.
86538 * math/w_log2l.c: Likewise.
86539 * math/w_logf.c: Likewise.
86540 * math/w_logl.c: Likewise.
86541 * math/w_sqrt.c: Likewise.
86542 * math/w_sqrtf.c: Likewise.
86543 * math/w_sqrtl.c: Likewise.
86544 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86545 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
86546 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86547 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
86548 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
86549
86550 2012-02-19 Joseph Myers <joseph@codesourcery.com>
86551
86552 [BZ #9739]
86553 * manual/string.texi (strnlen): Use correct parameter name in
86554 equivalent expression.
86555
86556 2012-02-19 Joseph Myers <joseph@codesourcery.com>
86557
86558 [BZ #11174]
86559 * manual/users.texi (seteuid): Consistently use neweuid for
86560 argument name.
86561
86562 2012-02-19 Joseph Myers <joseph@codesourcery.com>
86563
86564 [BZ #13704]
86565 * manual/nss.texi (Services in the NSS configuration): Correct
86566 list of services in example configuration file.
86567
86568 2012-02-19 Nick Bowler <nbowler@draconx.ca>
86569
86570 [BZ #11322]
86571 * manual/arith.texi: Remove statements about negative zero
86572 behaving identically to zero.
86573
86574 2012-02-18 Joseph Myers <joseph@codesourcery.com>
86575
86576 [BZ #5993]
86577 * manual/install.texi: Do not document upgrading from libc5.
86578
86579 2012-02-18 Joseph Myers <joseph@codesourcery.com>
86580
86581 [BZ #4596]
86582 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
86583
86584 2012-02-18 David S. Miller <davem@davemloft.net>
86585
86586 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
86587 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
86588 %o7 across the call.
86589 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
86590 instead.
86591 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
86592 SETUP_PIC_REG_LEAF.
86593 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
86594 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
86595 * sysdeps/sparc/crtn.S: Likewise.
86596
86597 2012-02-17 Ulrich Drepper <drepper@gmail.com>
86598
86599 * aout/Makefile: Remove.
86600
86601 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
86602
86603 [BZ #13058]
86604 * manual/examples/argp-ex1.c (main): Format definition in GNU
86605 style.
86606 * manual/examples/argp-ex2.c (main): Likewise.
86607 * manual/examples/argp-ex3.c (main): Likewise.
86608 * manual/examples/argp-ex4.c (main): Likewise.
86609 * manual/examples/longopt.c (main): Use new-style prototype
86610 definition.
86611 * manual/examples/strncat.c (main): Specify return type and use
86612 (void) for arguments.
86613 * manual/examples/subopt.c (main): Use char **argv argument.
86614
86615 2012-02-17 Joseph Myers <joseph@codesourcery.com>
86616
86617 [BZ #5077]
86618 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
86619 rounding modes.
86620
86621 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
86622
86623 [BZ #6907]
86624 * manual/string.texi (strchr): Change when strchrnul is
86625 recommended.
86626
86627 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
86628
86629 [BZ #174]
86630 * manual/locale.texi (setlocale): Document LOCPATH.
86631
86632 2012-02-17 Joseph Myers <joseph@codesourcery.com>
86633
86634 [BZ #10210]
86635 * manual/process.texi (execle): Move @dots{} before last argument.
86636
86637 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
86638
86639 [BZ #12047]
86640 * manual/charset.texi (Generic Charset Conversion): Fix typo
86641 (LC_TYPE -> LC_CTYPE).
86642
86643 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
86644
86645 [BZ #5805]
86646 * manual/arith.texi (scalbn): Use @var{} on parameter names.
86647 (scalbnf): Likewise.
86648 (scalbnl): Likewise.
86649 (scalbln): Likewise.
86650 (scalblnf): Likewise.
86651 (scalblnl): Likewise.
86652 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
86653 (vwarnx): Likewise.
86654 (verr): Likewise.
86655 (verrx): Likewise.
86656 * manual/filesys.texi (telldir): Use braces around return type.
86657 * manual/llio.texi (mmap): Add space after comma.
86658 (mmap64): Likewise.
86659 * manual/math.texi (jn): Use @var{} on parameter names.
86660 (jnf): Likewise.
86661 (jnl): Likewise.
86662 (yn): Likewise.
86663 (ynf): Likewise.
86664 (ynl): Likewise.
86665 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
86666 line.
86667 * manual/resource.texi (ulimit): Use @dots{} instead of literal
86668 "...".
86669 (sched_get_priority_min): Remove semicolon on @deftypefun line.
86670 (sched_get_priority_max): Likewise.
86671 * manual/signal.texi (sigvec): Add space after comma.
86672 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
86673 names.
86674 (if_indextoname): Likewise.
86675 (if_freenameindex): Likewise.
86676 (sendto): Use ',' instead of '.' in prototype.
86677 * manual/startup.texi (syscall): Use @dots{} instead of literal
86678 "...".
86679 * manual/stdio.texi (__fpending): Separate initial words of
86680 paragraph from @deftypefun line.
86681 * manual/syslog.texi (syslog): Use @dots{} instead of literal
86682 "...".
86683 (vsyslog): Use @var{} on parameter names.
86684 * manual/terminal.texi (stty): Use @var{} on parameter names.
86685 * manual/users.texi (getutmp): Use @var{} on parameter names.
86686 (getutmpx): Likewise.
86687
86688 2012-02-17 Joseph Myers <joseph@codesourcery.com>
86689
86690 [BZ #6884]
86691 * manual/stdio.texi (fopen): Fix typos in description of
86692 ",ccs=STRING".
86693
86694 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
86695
86696 [BZ #4026]
86697 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
86698 get clock_id definition.
86699
86700 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
86701
86702 [BZ #4822]
86703 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
86704 (madvise): Cast every argument to void on its own.
86705
86706 2012-02-17 Joseph Myers <joseph@codesourcery.com>
86707
86708 [BZ #9902]
86709 * manual/startup.texi (Exit Status): Fix typo.
86710
86711 2012-02-17 Joseph Myers <joseph@codesourcery.com>
86712
86713 [BZ #10140]
86714 * manual/examples/argp-ex1.c: Include <stdlib.h>.
86715 * manual/examples/argp-ex2.c: Likewise.
86716 * manual/examples/argp-ex3.c: Likewise.
86717
86718 2012-02-16 Richard Henderson <rth@redhat.com>
86719
86720 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
86721 * sysdeps/s390/s390-32/initfini.c: Remove.
86722 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
86723 * sysdeps/s390/s390-64/initfini.c: Remove.
86724
86725 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
86726
86727 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
86728 compiler output for sysdeps/generic/initfini.c.
86729 * sysdeps/sh/elf/initfini.c: Remove file.
86730
86731 2012-02-16 David S. Miller <davem@davemloft.net>
86732
86733 [BZ #11494]
86734 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
86735
86736 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
86737 * sysdeps/sparc/crti.S: New file.
86738 * sysdeps/sparc/crtn.S: New file.
86739 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
86740 * sysdeps/sparc/sparc64/Makefile: Likewise.
86741
86742 2012-02-15 Mike Frysinger <vapier@gentoo.org>
86743
86744 [BZ #3335]
86745 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
86746
86747 2012-02-15 Roland McGrath <roland@hack.frob.com>
86748
86749 [BZ #4822]
86750 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
86751
86752 * mach/devstream.c (cookie_io_functions_t): Macro removed.
86753 (write, read, close): Likewise.
86754 Patch by Aurelien Jarno <aurelien@aurel32.net>.
86755
86756 2012-02-15 Joseph Myers <joseph@codesourcery.com>
86757
86758 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
86759 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
86760 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
86761 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
86762 <bits/signalfd.h>.
86763 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
86764 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86765 bits/signalfd.h.
86766
86767 2012-02-14 Marek Polacek <polacek@redhat.com>
86768
86769 * sysdeps/x86_64/crti.S: New file.
86770 * sysdeps/x86_64/crtn.S: New file.
86771 * sysdeps/x86_64/elf/initfini.c: Remove file.
86772
86773 2012-02-13 Joseph Myers <joseph@codesourcery.com>
86774
86775 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
86776 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
86777 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
86778 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
86779 <bits/inotify.h>.
86780 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
86781 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86782 bits/inotify.h.
86783
86784 2012-02-13 Joseph Myers <joseph@codesourcery.com>
86785
86786 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
86787 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
86788 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
86789 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
86790 <bits/eventfd.h>.
86791 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
86792 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86793 bits/eventfd.h.
86794
86795 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
86796
86797 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
86798 __feraiseexcept instead of feraiseexcept.
86799
86800 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
86801 nanosleep invocations.
86802 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
86803 strings, and add error checking for a nanosleep invocations.
86804
86805 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
86806
86807 Replace FSF snail mail address with URLs, as per GNU coding standards.
86808 Most of the snail mail addresses were wrong anyway, and omitting
86809 them makes the source code easier to maintain. Almost all of the
86810 changes are to license notices and to locale LC_IDENTIFICATION
86811 addresses, except for this one:
86812 * manual/libc.texinfo: In "Published by", give the FSF's URL,
86813 not its snail mail address.
86814
86815 2012-02-09 Richard Henderson <rth@twiddle.net>
86816
86817 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
86818 of kernel-features.h.
86819
86820 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
86821
86822 2012-02-08 Marek Polacek <polacek@redhat.com>
86823
86824 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
86825 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
86826 * sysdeps/gnu/_G_config.h: Likewise.
86827 * sysdeps/generic/_G_config.h: Likewise.
86828
86829 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
86830
86831 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
86832 tests.
86833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86834
86835 * sysdeps/powerpc/powerpc32/crti.S: New file.
86836 * sysdeps/powerpc/powerpc32/crtn.S: New file.
86837 * sysdeps/powerpc/powerpc64/crti.S: New file.
86838 * sysdeps/powerpc/powerpc64/crtn.S: New file.
86839
86840 * Makeconfig (have-initfini): Don't set.
86841 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
86842 * configure.in (nopic_initfini): Don't substitute.
86843 * config.h.in (HAVE_INITFINI): Don't #undef.
86844 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
86845 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
86846
86847 2012-02-08 Joseph Myers <joseph@codesourcery.com>
86848
86849 Support crti.S and crtn.S provided directly by architectures.
86850 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
86851 [crti.S in sysdirs] (omit-deps): Likewise.
86852 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
86853 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
86854 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
86855 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
86856 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
86857 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
86858 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
86859 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
86860 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
86861 compiler output for sysdeps/generic/initfini.c.
86862 * sysdeps/i386/elf/Makefile: Remove file.
86863 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
86864
86865 2012-02-07 Marek Polacek <polacek@redhat.com>
86866
86867 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
86868 * sysdeps/gnu/_G_config.h: Likewise.
86869 * sysdeps/mach/hurd/_G_config.h: Likewise.
86870
86871 2012-02-07 Marek Polacek <polacek@redhat.com>
86872
86873 * math/Makefile (tests): Add tst-CMPLX2.
86874 * math/tst-CMPLX2.c: New file.
86875
86876 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
86877
86878 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86879
86880 * math/libm-test.inc (jn_test): Add missing L suffix.
86881
86882 2012-02-06 Marek Polacek <polacek@redhat.com>
86883
86884 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
86885 * sysdeps/i386/fpu/e_powf.S: Likewise.
86886 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
86887 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
86888 * sysdeps/i386/fpu/e_acosh.S: Likewise.
86889 * sysdeps/i386/fpu/e_pow.S: Likewise.
86890 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
86891 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
86892 * sysdeps/i386/fpu/s_expm1.S: Likewise.
86893 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
86894 * sysdeps/i386/fpu/e_log2.S: Likewise.
86895 * sysdeps/i386/fpu/e_log2l.S: Likewise.
86896 * sysdeps/i386/fpu/e_scalb.S: Likewise.
86897 * sysdeps/i386/fpu/e_powl.S: Likewise.
86898 * sysdeps/i386/fpu/s_log1p.S: Likewise.
86899 * sysdeps/i386/fpu/e_log10f.S: Likewise.
86900 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
86901 * sysdeps/i386/fpu/e_logl.S: Likewise.
86902 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
86903 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
86904 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
86905 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
86906 * sysdeps/i386/fpu/e_log2f.S: Likewise.
86907 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
86908 * sysdeps/i386/fpu/e_log.S: Likewise.
86909 * sysdeps/i386/fpu/s_cexp.S: Likewise.
86910 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
86911 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
86912 * sysdeps/i386/fpu/e_logf.S: Likewise.
86913 * sysdeps/i386/fpu/e_log10l.S: Likewise.
86914 * sysdeps/i386/fpu/e_atanh.S: Likewise.
86915 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
86916 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
86917 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
86918 * sysdeps/i386/fpu/e_log10.S: Likewise.
86919 * sysdeps/i386/fpu/s_frexp.S: Likewise.
86920 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
86921 * sysdeps/i386/fpu/s_asinh.S: Likewise.
86922 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
86923 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
86924 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
86925 * sysdeps/i386/asm-syntax.h: Likewise.
86926 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
86927 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
86928 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
86929 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
86930 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
86931 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
86932 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
86933 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
86934 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
86935 * sysdeps/powerpc/sysdep.h: Likewise.
86936 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
86937 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
86938
86939 2012-02-06 Joseph Myers <joseph@codesourcery.com>
86940
86941 [BZ #411]
86942 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
86943
86944 2012-02-06 Joseph Myers <joseph@codesourcery.com>
86945
86946 * sysdeps/i386/sysdep.h: Include <features.h>.
86947 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
86948 version.
86949
86950 2012-02-05 Joseph Myers <joseph@codesourcery.com>
86951
86952 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
86953 Define.
86954 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
86955 LOAD_PIC_REG_STR.
86956
86957 2012-02-03 Joseph Myers <joseph@codesourcery.com>
86958
86959 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
86960 (SETUP_PIC_REG): Use GET_PC_THUNK.
86961 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
86962 macro.
86963
86964 2012-02-03 Joseph Myers <joseph@codesourcery.com>
86965
86966 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
86967 for non-PIC compilation.
86968 (SETUP_PIC_REG): Add .p2align directive.
86969 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
86970 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
86971 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
86972 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
86973 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
86974 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
86975 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
86976 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
86977 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
86978 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
86979 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
86980 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
86981 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
86982 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
86983 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
86984 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
86985 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
86986 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
86987 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
86988 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
86989 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
86990 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
86991 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
86992 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
86993 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
86994 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
86995 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
86996 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
86997 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
86998 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
86999 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
87000 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
87001 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
87002 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
87003 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
87004 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
87005 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
87006 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
87007 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
87008 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
87009 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
87010
87011 2012-02-03 Joseph Myers <joseph@codesourcery.com>
87012
87013 * math/tst-CMPLX.c: Include <stdio.h>.
87014
87015 2012-01-31 Joseph Myers <joseph@codesourcery.com>
87016
87017 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
87018 float.
87019 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
87020 * sysdeps/sparc/bits/mathdef.h: Likewise.
87021
87022 2012-01-31 Marek Polacek <polacek@redhat.com>
87023
87024 * libio/libio.h: Don't define _PARAMS.
87025 * locale/programs/config.h: Don't define PARAMS.
87026 * stdlib/strtol_l.c: Likewise.
87027 (__strtol_l): Remove PARAMS from the prototype.
87028
87029 2012-01-31 Ulrich Drepper <drepper@gmail.com>
87030
87031 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
87032 names. Just use the correct names. Remove unnecessary wrapper
87033 functions.
87034 * malloc/arena.c: Likewise.
87035 * malloc/hooks.c: Likewise.
87036
87037 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
87038 ARENA_TEST says not to. Simplify test for creation of a new arena.
87039 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
87040
87041 2012-01-30 Ulrich Drepper <drepper@gmail.com>
87042
87043 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
87044 into tail calls.
87045 (update_get_addr): New function.
87046 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
87047 GET_ADDR_MODULE parameter.
87048
87049 2012-01-30 Joseph Myers <joseph@codesourcery.com>
87050
87051 * crypt/cert.c: Remove __STDC__ conditionals.
87052 * crypt/crypt-entry.c: Likewise.
87053 * crypt/crypt_util.c: Likewise.
87054 * libio/filedoalloc.c: Likewise.
87055 * libio/fileops.c: Likewise.
87056 * libio/genops.c: Likewise.
87057 * libio/iofclose.c: Likewise.
87058 * libio/iofdopen.c: Likewise.
87059 * libio/iofopen.c: Likewise.
87060 * libio/iofopen64.c: Likewise.
87061 * libio/iogetdelim.c: Likewise.
87062 * libio/iopopen.c: Likewise.
87063 * libio/obprintf.c: Likewise.
87064 * libio/oldfileops.c: Likewise.
87065 * libio/oldiofclose.c: Likewise.
87066 * libio/oldiofdopen.c: Likewise.
87067 * libio/oldiofopen.c: Likewise.
87068 * libio/oldiopopen.c: Likewise.
87069 * libio/wfiledoalloc.c: Likewise.
87070 * libio/wgenops.c: Likewise.
87071 * locale/programs/xmalloc.c: Likewise.
87072 * misc/syslog.c: Likewise.
87073 * stdio-common/xbug.c: Likewise.
87074 * string/memchr.c: Likewise.
87075 * string/memcmp.c: Likewise.
87076 * string/memrchr.c: Likewise.
87077 * string/rawmemchr.c: Likewise.
87078 * sysdeps/posix/getcwd.c: Likewise.
87079 * time/strftime_l.c: Likewise.
87080
87081 2012-01-30 Joseph Myers <joseph@codesourcery.com>
87082
87083 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
87084 * config.make.in (config-cflags-sse2avx): Define.
87085 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
87086 Fix typo.
87087
87088 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
87089
87090 * scripts/config.guess: Update from upstream config git repository.
87091 * scripts/config.sub: Likewise.
87092
87093 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
87094
87095 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
87096 (EM_NUM): Update.
87097 (R_TILEPRO_*, R_TILEGX_*): New macros.
87098
87099 * scripts/firstversions.awk: Fix bug in version range handling.
87100
87101 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
87102
87103 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
87104
87105 * include/sys/epoll.h: New file.
87106 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
87107 libc_hidden_def.
87108
87109 2012-01-28 Ulrich Drepper <drepper@gmail.com>
87110
87111 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
87112 Avoid unnecessary __WORDSIZE == 64 test.
87113 (fmaxf): Use VEX format if possible.
87114 (fmax): Likewise.
87115 (fminf): Likewise.
87116 (fmin): Likewise.
87117
87118 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
87119 * math/math_private.h: Remove libc_fegetround* and
87120 libc_fesetround*.
87121 * sysdeps/i386/configure.in: Check for -msse2avx.
87122 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
87123 also if SSE2AVX is defined.
87124 Remove libc_fegetround* and libc_fesetround*.
87125 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
87126 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
87127 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
87128 of HAS_YMM_USABLE.
87129 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
87130 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
87131 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
87132 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
87133 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
87134
87135 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
87136
87137 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
87138
87139 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
87140 size is not set.
87141 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
87142
87143 2012-01-27 Ulrich Drepper <drepper@gmail.com>
87144
87145 [BZ #13618]
87146 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
87147 relocation.
87148 * Makeconfig (libm): Define.
87149 * elf/Makefile: Add rules to build and run tst-relsort1.
87150 * elf/tst-relsort1.c: New file.
87151 * elf/tst-relsort1mod1.c: New file.
87152 * elf/tst-relsort1mod2.c: New file.
87153
87154 2012-01-27 Joseph Myers <joseph@codesourcery.com>
87155
87156 * math/s_ldexp.c: Remove __STDC__ conditionals.
87157 * math/s_ldexpf.c: Likewise.
87158 * math/s_ldexpl.c: Likewise.
87159 * math/s_nextafter.c: Likewise.
87160 * math/s_nexttowardf.c: Likewise.
87161 * math/s_significand.c: Likewise.
87162 * math/s_significandf.c: Likewise.
87163 * math/s_significandl.c: Likewise.
87164 * math/w_jnl.c: Likewise.
87165 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
87166 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
87167 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
87168 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
87169 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
87170 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
87171 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
87172 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
87173 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
87174 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
87175 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
87176 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
87177 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
87178 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
87179 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
87180 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
87181 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
87182 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
87183 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
87184 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
87185 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
87186 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
87187 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
87188 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
87189 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
87190 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
87191 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
87192 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
87193 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
87194 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
87195 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
87196 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
87197 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
87198 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
87199 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
87200 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
87201 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
87202 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
87203 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
87204 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
87205 * sysdeps/ieee754/k_standard.c: Likewise.
87206 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
87207 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
87208 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
87209 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
87210 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
87211 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
87212 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
87213 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
87214 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
87215 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
87216 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
87217 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
87218 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
87219 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
87220 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
87221 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
87222 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
87223 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
87224 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
87225 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
87226 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
87227 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
87228 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
87229 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
87230 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
87231 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
87232 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
87233 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
87234 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
87235 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
87236 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
87237 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
87238 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
87239 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
87240 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
87241 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
87242 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
87243 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
87244 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
87245 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
87246 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
87247 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
87248 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
87249 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
87250 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
87251 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
87252 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
87253 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
87254 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
87255 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
87256 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
87257 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
87258 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
87259 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
87260 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
87261 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
87262 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
87263 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87264 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87265 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87266 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
87267 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
87268 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
87269 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
87270 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
87271 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
87272 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
87273 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
87274 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
87275 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
87276 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
87277 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
87278 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
87279 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
87280 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
87281 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
87282 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
87283 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
87284 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
87285 * sysdeps/ieee754/s_matherr.c: Likewise.
87286 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
87287 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
87288 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
87289 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
87290
87291 2012-01-26 Joseph Myers <joseph@codesourcery.com>
87292
87293 * crypt/md5.h: Remove __STDC__ conditionals.
87294 * libio/libioP.h: Likewise.
87295 * locale/programs/config.h: Likewise.
87296 * sysdeps/generic/sysdep.h: Likewise.
87297 * sysdeps/i386/asm-syntax.h: Likewise.
87298 * sysdeps/s390/asm-syntax.h: Likewise.
87299 * sysdeps/unix/sysdep.h: Likewise.
87300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
87301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
87302
87303 2012-01-26 Joseph Myers <joseph@codesourcery.com>
87304
87305 * libio/libio.h: Remove __STDC__ conditionals.
87306 * malloc/obstack.h: Likewise.
87307 * math/complex.h: Likewise.
87308 * math/math.h: Likewise.
87309 * sysdeps/generic/_G_config.h: Likewise.
87310 * sysdeps/gnu/_G_config.h: Likewise.
87311 * sysdeps/mach/hurd/_G_config.h: Likewise.
87312 * sysdeps/powerpc/bits/mathdef.h: Likewise.
87313 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
87314 * sysdeps/sparc/bits/mathdef.h: Likewise.
87315
87316 2012-01-26 Ulrich Drepper <drepper@gmail.com>
87317
87318 [BZ #13583]
87319 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
87320 Clean up HAS_* macros.
87321 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
87322 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
87323 possible.
87324 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
87325 HAS_AVX.
87326 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
87327 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
87328 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
87329 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
87330 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
87331
87332 2012-01-25 Joseph Myers <joseph@codesourcery.com>
87333
87334 * elf/tst-unique3.cc (gets): Remove declaration.
87335 * elf/tst-unique3lib.cc (gets): Likewise.
87336 * elf/tst-unique3lib2.cc (gets): Likewise.
87337 * elf/tst-unique4.cc (gets): Likewise.
87338
87339 2012-01-24 Ulrich Drepper <drepper@gmail.com>
87340
87341 * include/stdio.h: Add C++ protection. Add gets declarations and
87342 definitions.
87343 * debug/tst-chk1.c: Don't declare gets here.
87344 * stdio-common/tst-gets.c: Likewise.
87345
87346 2012-01-24 Joseph Myers <joseph@codesourcery.com>
87347
87348 * posix/glob: Remove directory.
87349
87350 2012-01-24 Joseph Myers <joseph@codesourcery.com>
87351
87352 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
87353
87354 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
87355
87356 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
87357 of the non-standard EPFNOSUPPORT.
87358
87359 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
87360
87361 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
87362 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
87363 ANYWHERE set to 1 only on KERN_NO_SPACE error.
87364
87365 2012-01-21 Ulrich Drepper <drepper@gmail.com>
87366
87367 * wcsmbs/uchar.h: Test __STDC_VERSION__.
87368
87369 2012-01-20 Ulrich Drepper <drepper@gmail.com>
87370
87371 * nscd/aicache.c (addhstaiX): Do not cache negative results of
87372 transient errors.
87373 * nscd/grpcache.c (cache_addgr): Likewise.
87374 * nscd/hstcache.c (cache_addhst): Likewise.
87375 * nscd/initgrcache.c (addinitgroupsX): Likewise.
87376 * nscd/pwdcache.c (cache_addpw): Likewise.
87377 * nscd/servicescache.c (cache_addserv): Likewise.
87378
87379 2012-01-16 Ulrich Drepper <drepper@gmail.com>
87380
87381 * malloc/malloc.c: Various cleanups.
87382 * malloc/hooks.c: Likewise.
87383
87384 * stdlib/Makefile (tests): Add bug-fmtmsg1.
87385 * stdlib/bug-fmtmsg1.c: New file.
87386
87387 * stdlib/fmtmsg.c (init): Add missing unlock.
87388 Patch by Peng Haitao <penght@cn.fujitsu.com>.
87389
87390 2012-01-12 Marek Polacek <polacek@redhat.com>
87391
87392 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
87393 and _GNU_SOURCE.
87394
87395 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
87396
87397 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
87398 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
87399 macro to ensure uniqueness of label name.
87400 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
87401 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
87402
87403 2012-01-11 Ulrich Drepper <drepper@gmail.com>
87404
87405 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
87406
87407 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
87408 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
87409 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
87410 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
87411
87412 2012-01-10 Ulrich Drepper <drepper@gmail.com>
87413
87414 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
87415
87416 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
87417 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
87418 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
87419
87420 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
87421
87422 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
87423 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
87424 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
87425 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
87426
87427 * math/bits/math-finite.h: Add ldexp support.
87428
87429 2012-01-10 Marek Polacek <polacek@redhat.com>
87430
87431 * locale/programs/localedef.h (show_archive_content): Add noreturn
87432 attribute.
87433
87434 2012-01-09 Ulrich Drepper <drepper@gmail.com>
87435
87436 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
87437
87438 2012-01-08 Ulrich Drepper <drepper@gmail.com>
87439
87440 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
87441
87442 * io/Makefile (headers): Add bits/poll2.h.
87443
87444 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
87445
87446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
87447 typo #include statement.
87448
87449 2012-01-08 Ulrich Drepper <drepper@gmail.com>
87450
87451 * include/sys/cdefs.h: Define __attribute_alloc_size.
87452 * catgets/gencat.c: Add alloc_size attribute and apply consistently
87453 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
87454 * elf/pldd.c: Likewise.
87455 * iconv/iconv_charmap.c: Likewise.
87456 * iconv/iconvconfig.c: Likewise.
87457 * iconv/strtab.c: Likewise.
87458 * locale/programs/locale.c: Likewise.
87459 * locale/programs/localedef.h: Likewise.
87460 * locale/programs/simple-hash.c: Likewise.
87461 * nscd/nscd.h: Likewise.
87462 * nss/makedb.c: Likewise.
87463 * sysdeps/generic/ldconfig.h: Likewise.
87464 * locale/programs/localedef.c: Remove xmalloc prototype.
87465 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
87466
87467 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
87468
87469 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
87470 appropriate.
87471
87472 2012-01-08 Ulrich Drepper <drepper@gmail.com>
87473
87474 * math/Makefile (tests): Add tst-CMPLX.
87475 * math/tst-CMPLX.c: New file.
87476
87477 * math/complex.h (CMPLXL): Fix typo.
87478
87479 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
87480 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
87481 GLIBC_2.16.
87482 * debug/tst-chk1.c: Add poll and ppoll tests.
87483 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
87484 * include/sys/poll.h: Add hidden proto for ppoll.
87485 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
87486 * sysdeps/mach/hurd/ppoll.c: Likewise.
87487 * io/ppoll.c: Likewise.
87488 * debug/poll_chk.c: New file.
87489 * debug/ppoll_chk.c: New file.
87490 * include/bits/poll2.h: New file.
87491 * io/bits/poll2.h: New file.
87492
87493 [BZ #1350]
87494 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
87495
87496 * configure.in: static is always set to yes. Remove.
87497 * config.make.in: Don't set build-static.
87498 * Makeconfig: Remove use of build-static.
87499 * dlfcn/Makefile: Likewise.
87500 * elf/Makefile: Likewise.
87501 * math/Makefile: Likewise.
87502 * misc/Makefile: Likewise.
87503 * nptl/Makefile: Likewise.
87504 * sysdeps/mach/hurd/Makefile: Likewise.
87505
87506 * configure.in: PWD_P is not used anymore.
87507 * config.make.in: Remove PWD_P entry.
87508
87509 * configure.in: Remove last remnants of RANLIB.
87510 No need to check for signed size_t anymore.
87511 Don't set libc_commonpagesize and libc_relro_required here for Alpha
87512 and IA-64.
87513 Remove __builtin_expect test because we require at least gcc 3.4.
87514 * aclocal.m4: Likewise.
87515
87516 * wcsmbs/mbrtoc16.c: Implement using towc function.
87517 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
87518 * wcsmbs/wcsmbsload.c: Likewise.
87519 * iconv/gconv_simple.c: Likewise.
87520 * iconv/gconv_int.h: Likewise.
87521 * iconv/gconv_builtin.h: Likewise.
87522 * iconv/iconv_prog.c: Remove CHAR16 handling.
87523
87524 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
87525
87526 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
87527
87528 * configure.in: Remove --with-elf and --enable-bounded options.
87529 Dont set base_machine for ia64. More non-ELF conditions removed.
87530 Remove testing and setting of leading underscore information.
87531 * config.make.in (build-bounded): Set to no.
87532 * config.h.in: Remove NO_UNDERSCORES entry.
87533 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
87534 them.
87535 * csu/start.c: Remove !NO_UNDERSCORE code.
87536 * locale/localeinfo.h: Likewise.
87537 * sysdeps/generic/machine-gmon.h: Likewise.
87538 * sysdeps/generic/sysdep.h: Likewise.
87539 * sysdeps/i386/sysdep.h: Likewise.
87540 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
87541 * sysdeps/mach/sysdep.h: Likewise.
87542 * sysdeps/s390/s390-32/sysdep.h: Likewise.
87543 * sysdeps/s390/s390-64/sysdep.h: Likewise.
87544 * sysdeps/sh/sysdep.h: Likewise.
87545 * sysdeps/sparc/sparc32/alloca.S: Likewise.
87546 * sysdeps/unix/i386/sysdep.S: Likewise.
87547 * sysdeps/unix/sparc/start.c: Likewise.
87548 * sysdeps/unix/sparc/sysdep.S: Likewise.
87549 * sysdeps/unix/sparc/sysdep.h: Likewise.
87550 * sysdeps/unix/start.c: Likewise.
87551 * sysdeps/unix/x86_64/sysdep.S: Likewise.
87552 * sysdeps/x86_64/sysdep.h: Likewise.
87553
87554 2012-01-07 Ulrich Drepper <drepper@gmail.com>
87555
87556 [BZ #13553]
87557 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
87558 for non-gcc.
87559 * argp/argp-fmtstream.h: Use const instead __const.
87560 * argp/argp.h: Likewise.
87561 * assert/assert.h: Likewise.
87562 * bits/fenv.h: Likewise.
87563 * bits/sched.h: Likewise.
87564 * bits/sigset.h: Likewise.
87565 * bits/sigthread.h: Likewise.
87566 * catgets/nl_types.h: Likewise.
87567 * conform/data/pthread.h-data: Likewise.
87568 * crypt/crypt-private.h: Likewise.
87569 * crypt/crypt.h: Likewise.
87570 * crypt/crypt_util.c: Likewise.
87571 * ctype/ctype.h: Likewise.
87572 * debug/execinfo.h: Likewise.
87573 * debug/mbsnrtowcs_chk.c: Likewise.
87574 * debug/mbsrtowcs_chk.c: Likewise.
87575 * debug/wcsnrtombs_chk.c: Likewise.
87576 * debug/wcsrtombs_chk.c: Likewise.
87577 * debug/wcstombs_chk.c: Likewise.
87578 * dirent/dirent.h: Likewise.
87579 * dlfcn/dlfcn.h: Likewise.
87580 * elf/neededtest4.c: Likewise.
87581 * grp/grp.h: Likewise.
87582 * gshadow/gshadow.h: Likewise.
87583 * iconv/gconv.h: Likewise.
87584 * iconv/gconv_int.h: Likewise.
87585 * iconv/gconv_simple.c: Likewise.
87586 * iconv/iconv.h: Likewise.
87587 * iconv/loop.c: Likewise.
87588 * iconv/skeleton.c: Likewise.
87589 * include/aio.h: Likewise.
87590 * include/aliases.h: Likewise.
87591 * include/argz.h: Likewise.
87592 * include/arpa/inet.h: Likewise.
87593 * include/assert.h: Likewise.
87594 * include/dirent.h: Likewise.
87595 * include/dlfcn.h: Likewise.
87596 * include/execinfo.h: Likewise.
87597 * include/fcntl.h: Likewise.
87598 * include/fenv.h: Likewise.
87599 * include/glob.h: Likewise.
87600 * include/grp.h: Likewise.
87601 * include/libintl.h: Likewise.
87602 * include/mntent.h: Likewise.
87603 * include/netdb.h: Likewise.
87604 * include/pwd.h: Likewise.
87605 * include/rpc/netdb.h: Likewise.
87606 * include/sched.h: Likewise.
87607 * include/search.h: Likewise.
87608 * include/shadow.h: Likewise.
87609 * include/signal.h: Likewise.
87610 * include/stdio.h: Likewise.
87611 * include/stdlib.h: Likewise.
87612 * include/string.h: Likewise.
87613 * include/sys/socket.h: Likewise.
87614 * include/sys/stat.h: Likewise.
87615 * include/sys/statfs.h: Likewise.
87616 * include/sys/statvfs.h: Likewise.
87617 * include/sys/syslog.h: Likewise.
87618 * include/sys/time.h: Likewise.
87619 * include/sys/uio.h: Likewise.
87620 * include/time.h: Likewise.
87621 * include/unistd.h: Likewise.
87622 * include/utmp.h: Likewise.
87623 * include/wchar.h: Likewise.
87624 * include/wctype.h: Likewise.
87625 * inet/aliases.h: Likewise.
87626 * inet/arpa/inet.h: Likewise.
87627 * inet/netinet/ether.h: Likewise.
87628 * inet/netinet/in.h: Likewise.
87629 * intl/libintl.h: Likewise.
87630 * io/bits/fcntl2.h: Likewise.
87631 * io/fcntl.h: Likewise.
87632 * io/ftw.h: Likewise.
87633 * io/sys/poll.h: Likewise.
87634 * io/sys/stat.h: Likewise.
87635 * io/sys/statfs.h: Likewise.
87636 * io/sys/statvfs.h: Likewise.
87637 * io/utime.h: Likewise.
87638 * libio/bits/stdio.h: Likewise.
87639 * libio/bits/stdio2.h: Likewise.
87640 * libio/libio.h: Likewise.
87641 * libio/libioP.h: Likewise.
87642 * libio/stdio.h: Likewise.
87643 * locale/lc-ctype.c: Likewise.
87644 * locale/locale.h: Likewise.
87645 * login/utmp.h: Likewise.
87646 * malloc/arena.c: Likewise.
87647 * malloc/malloc.c: Likewise.
87648 * malloc/malloc.h: Likewise.
87649 * malloc/mcheck.c: Likewise.
87650 * malloc/mtrace.c: Likewise.
87651 * math/bits/mathcalls.h: Likewise.
87652 * math/fenv.h: Likewise.
87653 * math/math_private.h: Likewise.
87654 * misc/bits/error.h: Likewise.
87655 * misc/bits/syslog.h: Likewise.
87656 * misc/err.h: Likewise.
87657 * misc/error.h: Likewise.
87658 * misc/fstab.h: Likewise.
87659 * misc/mntent.h: Likewise.
87660 * misc/regexp.h: Likewise.
87661 * misc/search.h: Likewise.
87662 * misc/sgtty.h: Likewise.
87663 * misc/sys/mman.h: Likewise.
87664 * misc/sys/syslog.h: Likewise.
87665 * misc/sys/uio.h: Likewise.
87666 * misc/sys/xattr.h: Likewise.
87667 * misc/ttyent.h: Likewise.
87668 * nis/rpcsvc/ypclnt.h: Likewise.
87669 * nss/nss.h: Likewise.
87670 * posix/bits/unistd.h: Likewise.
87671 * posix/fnmatch.h: Likewise.
87672 * posix/glob.h: Likewise.
87673 * posix/sched.h: Likewise.
87674 * posix/spawn.h: Likewise.
87675 * posix/sys/wait.h: Likewise.
87676 * posix/unistd.h: Likewise.
87677 * posix/wordexp.h: Likewise.
87678 * pwd/pwd.h: Likewise.
87679 * resolv/netdb.h: Likewise.
87680 * resource/sys/resource.h: Likewise.
87681 * rt/aio.h: Likewise.
87682 * rt/bits/mqueue2.h: Likewise.
87683 * rt/mqueue.h: Likewise.
87684 * shadow/shadow.h: Likewise.
87685 * signal/signal.h: Likewise.
87686 * socket/send.c: Likewise.
87687 * socket/sendto.c: Likewise.
87688 * socket/sys/socket.h: Likewise.
87689 * stdio-common/printf.h: Likewise.
87690 * stdlib/bits/stdlib.h: Likewise.
87691 * stdlib/fmtmsg.h: Likewise.
87692 * stdlib/monetary.h: Likewise.
87693 * stdlib/stdlib.h: Likewise.
87694 * stdlib/ucontext.h: Likewise.
87695 * streams/stropts.h: Likewise.
87696 * string/argz.h: Likewise.
87697 * string/bits/string2.h: Likewise.
87698 * string/string.h: Likewise.
87699 * string/strings.h: Likewise.
87700 * sunrpc/rpc/auth.h: Likewise.
87701 * sunrpc/rpc/auth_des.h: Likewise.
87702 * sunrpc/rpc/clnt.h: Likewise.
87703 * sunrpc/rpc/netdb.h: Likewise.
87704 * sunrpc/rpc/pmap_clnt.h: Likewise.
87705 * sunrpc/rpc/xdr.h: Likewise.
87706 * sysdeps/generic/inttypes.h: Likewise.
87707 * sysdeps/generic/net/if.h: Likewise.
87708 * sysdeps/generic/sys/swap.h: Likewise.
87709 * sysdeps/gnu/net/if.h: Likewise.
87710 * sysdeps/gnu/utmpx.h: Likewise.
87711 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
87712 * sysdeps/i386/i486/bits/string.h: Likewise.
87713 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
87714 * sysdeps/s390/bits/string.h: Likewise.
87715 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
87716 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
87717 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
87718 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
87719 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
87720 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
87721 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
87722 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
87723 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
87724 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
87725 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
87726 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
87727 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
87728 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
87729 * sysdeps/unix/sysv/linux/readv.c: Likewise.
87730 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
87731 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
87732 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87733 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
87734 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
87735 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
87736 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
87737 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
87738 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
87739 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
87740 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
87741 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
87742 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
87743 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
87744 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
87745 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
87746 * sysvipc/sys/ipc.h: Likewise.
87747 * sysvipc/sys/msg.h: Likewise.
87748 * sysvipc/sys/sem.h: Likewise.
87749 * sysvipc/sys/shm.h: Likewise.
87750 * termios/termios.h: Likewise.
87751 * time/sys/time.h: Likewise.
87752 * time/time.h: Likewise.
87753 * wcsmbs/bits/wchar2.h: Likewise.
87754 * wcsmbs/uchar.h: Likewise.
87755 * wcsmbs/wchar.h: Likewise.
87756 * wctype/wctype.h: Likewise.
87757
87758 [BZ #13551]
87759 * Makeconfig: Remove all but ELF support including AIX support.
87760 * Makerules: Likewise.
87761 * config.h.in: Likewise.
87762 * config.make.in: Likewise.
87763 * configure: Likewise.
87764 * configure.in: Likewise.
87765 * csu/Makefile: Likewise.
87766 * csu/version.c: Likewise.
87767 * debug/Makefile: Likewise.
87768 * dlfcn/Makefile: Likewise.
87769 * elf/Makefile: Likewise.
87770 * extra-lib.mk: Likewise.
87771 * iconv/Makefile: Likewise.
87772 * include/libc-symbols.h: Likewise.
87773 * include/shlib-compat.h: Likewise.
87774 * resolv/Makefile: Likewise.
87775 * resolv/res_libc.c: Likewise.
87776 * rt/Makefile: Likewise.
87777 * sysdeps/i386/asm-syntax.h: Likewise.
87778 * sysdeps/i386/sysdep.h: Likewise.
87779 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
87780 * sysdeps/mach/sysdep.h: Likewise.
87781 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
87782 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
87783 * sysdeps/s390/asm-syntax.h: Likewise.
87784 * sysdeps/s390/s390-32/sysdep.h: Likewise.
87785 * sysdeps/s390/s390-64/sysdep.h: Likewise.
87786 * sysdeps/sh/sysdep.h: Likewise.
87787 * sysdeps/unix/sparc/sysdep.h: Likewise.
87788 * sysdeps/wordsize-32/divdi3.c: Likewise.
87789 * sysdeps/x86_64/sysdep.h: Likewise.
87790
87791 * argp/Versions: Remove _argp_unlock_xxx.
87792
87793 [BZ #13559]
87794 * abilist/ld.abilist: Update. Adjust for removal of tls option.
87795 * abilist/libBrokenLocale.abilist: Likewise.
87796 * abilist/libanl.abilist: Likewise.
87797 * abilist/libc.abilist: Likewise.
87798 * abilist/libcrypt.abilist: Likewise.
87799 * abilist/libdl.abilist: Likewise.
87800 * abilist/libm.abilist: Likewise.
87801 * abilist/libnsl.abilist: Likewise.
87802 * abilist/libpthread.abilist: Likewise.
87803 * abilist/libresolv.abilist: Likewise.
87804 * abilist/librt.abilist: Likewise.
87805 * abilist/libthread_db.abilist: Likewise.
87806 * abilist/libutil.abilist: Likewise.
87807 * abilist/libnss_db.abilist: New file.
87808
87809 * scripts/abilist.awk: Add support for indirect functions.
87810
87811 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
87812
87813 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
87814
87815 * shlib-versions: Remove entries for ports architectures.
87816
87817 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
87818 files in ports.
87819 * elf/stackguard-macros.h: Remove support for IA-64.
87820 * elf/tst-auditmod1.c: Likewise.
87821 * sysdeps/generic/ldsodefs.h: Likewise.
87822
87823 * sysdeps/unix/sysv/linux/configure.in: Ports should define
87824 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
87825 configure files.
87826
87827 [BZ #13552]
87828 * configure.in: Remove --enable-omitfp support.
87829 * FAQ.in: Adjust.
87830 * config.make.in: Likewise.
87831 * Makeconfig: Likewise.
87832 * manual/install.texi: Likewise.
87833
87834 In case anyone cares, the IA-64 architecture could move to ports.
87835 * sysdeps/ia64/*: Removed.
87836 * sysdeps/unix/sysv/linux/ia64/*: Removed.
87837 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
87838
87839 [BZ #13555]
87840 * configure.in: Remove entries for unsupported architectures.
87841
87842 [BZ #13533]
87843 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
87844 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
87845 routines.
87846 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
87847 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
87848 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
87849 fall back to using wcrtomb.
87850 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
87851 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
87852 renaming.
87853 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
87854 * wcsmbs/tst-c16c32-1.c: New file.
87855
87856 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
87857 local variable.
87858
87859 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
87860
87861 * elf/tst-unique3.cc: Add explicit declaration of gets.
87862 * elf/tst-unique3lib.cc: Likewise.
87863 * elf/tst-unique3lib2.cc: Likewise.
87864 * elf/tst-unique4.cc: Likewise.
87865
87866 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
87867
87868 2012-01-06 Joseph Myers <joseph@codesourcery.com>
87869
87870 [BZ #13566]
87871 * assert/assert.h (static_assert): Don't define for C++.
87872 * libio/stdio.h (gets): Do declare for C++ <= C++11.
87873 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
87874
87875 2012-01-03 Ulrich Drepper <drepper@gmail.com>
87876
87877 * iconv/loop.c (single loop): Fix assertion in storing of
87878 remaining bytes.
87879
87880 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
87881
87882 2012-01-01 Ulrich Drepper <drepper@gmail.com>
87883
87884 * posix/getconf.c: Update copyright year.
87885 * nss/getent.c: Likewise.
87886 * nss/makedb.c: Likewise.
87887 * iconv/iconvconfig.c: Likewise.
87888 * iconv/iconv_prog.c: Likewise.
87889 * elf/ldconfig.c: Likewise.
87890 * elf/pldd.c: Likewise.
87891 * elf/sotruss.ksh: Likewise.
87892 * catgets/gencat.c: Likewise.
87893 * csu/version.c: Likewise.
87894 * elf/ldd.bash.in: Likewise.
87895 * elf/sprof.c (print_version): Likewise.
87896 * locale/programs/locale.c: Likewise.
87897 * locale/programs/localedef.c: Likewise.
87898 * login/programs/pt_chown.c: Likewise.
87899 * nscd/nscd.c (print_version): Likewise.
87900 * debug/xtrace.sh: Likewise.
87901 * malloc/memusage.sh: Likewise.
87902 * malloc/mtrace.pl: Likewise.
87903 * debug/catchsegv.sh: Likewise.
87904
87905 2011-12-30 Jakub Jelinek <jakub@redhat.com>
87906
87907 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
87908 pure attribute.
87909
87910 2011-12-24 Ulrich Drepper <drepper@gmail.com>
87911
87912 [BZ #13533]
87913 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
87914 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
87915 transformations.
87916 * iconv/gconv_int.h: Likewise.
87917 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
87918 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
87919 from libc for GLIBC_2.16.
87920 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
87921 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
87922 * wcsmbs/uchar.h: Really define mbstate_t.
87923 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
87924 * wcsmbs/c16rtomb.c: New file.
87925 * wcsmbs/mbrtoc16.c: New file.
87926 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
87927 for C/POSIX locale.
87928 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
87929 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
87930
87931 * wcsmbs/wchar.h: Add missing __restrict.
87932
87933 2011-12-23 Ulrich Drepper <drepper@gmail.com>
87934
87935 [BZ #13532]
87936 * time/Makefile (routines): Add timespec_get.
87937 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
87938 * time/time.h: Define TIME_UTC and declare timespec_get. Define
87939 timespec for ISO C11.
87940 * time/timespec_get.c: New file.
87941 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
87942 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
87943
87944 [BZ #13531]
87945 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
87946 * stdlib/stdlib.h: Declare aligned_alloc.
87947 * Versions.def: Add GLIBC_2.16 for libc.
87948 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
87949
87950 [BZ 13527]
87951 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
87952 ISO C11.
87953
87954 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
87955 code.
87956
87957 [BZ #13528]
87958 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
87959
87960 [BZ #13529]
87961 * assert/assert.h (static_assert): Define.
87962
87963 * version.h: Update for 2.16 development version.
87964
87965 [BZ #13526]
87966 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
87967 _ISOC11_SOURCE.
87968
87969 * version.h (RELEASE): Bump for 2.15 release.
87970 * include/features.h (__GLIBC_MINOR__): Bump to 15.
87971
87972 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
87973 Patch by Marek Polacek <mpolacek@redhat.com>.
87974
87975 * bits/byteswap.h: Protect long long constants with __extension__.
87976 * sysdeps/i386/bits/byteswap.h: Likewise.
87977 * sysdeps/ia64/bits/byteswap.h: Likewise.
87978 * sysdeps/s390/bits/byteswap.h: Likewise.
87979 * sysdeps/x86_64/bits/byteswap.h: Likewise.
87980
87981 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
87982
87983 [BZ #13540]
87984 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
87985 destination buffer.
87986 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
87987
87988 2011-12-23 Marek Polacek <polacek@redhat.com>
87989
87990 * elf/dl-addr.c (determine_info): Add inline keyword.
87991 * elf/tst-auditmod4b.c (check_avx): Likewise.
87992 * elf/tst-auditmod6b.c (check_avx): Likewise.
87993 * elf/tst-auditmod6c.c (check_avx): Likewise.
87994 * elf/tst-auditmod7b.c (check_avx): Likewise.
87995
87996 2011-12-23 Ulrich Drepper <drepper@gmail.com>
87997
87998 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
87999 !__SSE_MATH__.
88000
88001 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
88002
88003 [BZ #13540]
88004 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
88005 processing for last bytes.
88006
88007 2011-08-06 Bruno Haible <bruno@clisp.org>
88008
88009 [BZ #13061]
88010 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
88011 U+0385, not to U+1FEE.
88012
88013 [BZ #13062]
88014 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
88015 entry for U+00A5 U+0301.
88016
88017 2011-12-22 Ulrich Drepper <drepper@gmail.com>
88018
88019 [BZ #13166]
88020 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
88021 buffer for the output is too small.
88022
88023 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
88024 optimization.
88025
88026 [BZ #13185]
88027 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
88028 SSE flags if possible.
88029
88030 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
88031
88032 [BZ #13540]
88033 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
88034 processing for last bytes.
88035
88036 2011-12-22 Joseph Myers <joseph@codesourcery.com>
88037
88038 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
88039 (syscall-list-default-options, syscall-list-default-condition)
88040 (syscall-list-includes): Define.
88041 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
88042 list of ABIs and options and #if conditions for each ABI. Do not
88043 handle common syscalls between ABIs specially.
88044 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
88045 Remove.
88046 (syscall-list-variants, syscall-list-32bit-options)
88047 (syscall-list-32bit-condition, syscall-list-64bit-options)
88048 (syscall-list-64bit-condition): Define.
88049 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
88050 (syscall-list-variants, syscall-list-32bit-options)
88051 (syscall-list-32bit-condition, syscall-list-64bit-options)
88052 (syscall-list-64bit-condition): Define.
88053 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
88054 Remove.
88055 (syscall-list-variants, syscall-list-32bit-options)
88056 (syscall-list-32bit-condition, syscall-list-64bit-options)
88057 (syscall-list-64bit-condition): Define.
88058 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
88059 Remove.
88060 (syscall-list-variants, syscall-list-32bit-options)
88061 (syscall-list-32bit-condition, syscall-list-64bit-options)
88062 (syscall-list-64bit-condition): Define.
88063
88064 2011-12-22 Ulrich Drepper <drepper@gmail.com>
88065
88066 * locale/iso-639.def: Add brx entry.
88067
88068 [BZ #13328]
88069 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
88070 Proposed by Mariusz_Cukr <marcukr@op.pl>.
88071
88072 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
88073 __feraiseexcept_renamed.
88074
88075 2011-12-21 Ulrich Drepper <drepper@gmail.com>
88076
88077 [BZ #13538]
88078 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
88079 EPOLLET with unsigned values.
88080 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88081 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
88082
88083 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
88084 to large cancellation.
88085 * math/s_cacoshf.c: Likewise.
88086 * math/s_cacoshl.c: Likewise.
88087
88088 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
88089
88090 [BZ #13305]
88091 [BZ #12786]
88092 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
88093 * math/s_cacoshf.c: Likewise.
88094 * math/s_cacoshl.c: Likewise.
88095
88096 2011-12-21 Ulrich Drepper <drepper@gmail.com>
88097
88098 [BZ #13439]
88099 * iconv/gconv.h: Define __GCONV_SWAP.
88100 * iconvdata/unicode.c: The swap bit must be stored in __flags.
88101 * iconvdata/utf-16.c: Likewise.
88102 * iconvdata/utf-32.c: Likewise.
88103
88104 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
88105
88106 [BZ #13524]
88107 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
88108 numerator after shifting it by one limb.
88109
88110 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
88111
88112 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
88113 under [__USE_EXTERN_INLINES].
88114
88115 2011-12-17 Ulrich Drepper <drepper@gmail.com>
88116
88117 [BZ #13446]
88118 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
88119
88120 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
88121
88122 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
88123 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
88124 optimized code.
88125 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
88126 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
88127 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
88128 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
88129 for strncasecmp/strncasecmp_l compilation.
88130 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
88131 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
88132
88133 2011-12-08 Marek Polacek <mpolacek@redhat.com>
88134
88135 [BZ #13484]
88136 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
88137 of __asm__.
88138
88139 2011-12-17 Ulrich Drepper <drepper@gmail.com>
88140
88141 [BZ #13506]
88142 * time/tzfile.c (__tzfile_read): Check values from file header.
88143
88144 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
88145
88146 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
88147 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
88148 * powerpc/powerpc32/dl-start.S: Likewise.
88149 * powerpc/powerpc32/elf/start.S: Likewise.
88150 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
88151 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
88152 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
88153 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
88154 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
88155 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
88156 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
88157 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
88158 * powerpc/powerpc32/fpu/s_round.S: Likewise.
88159 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
88160 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
88161 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
88162 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
88163 * powerpc/powerpc32/memset.S: Likewise.
88164 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
88165 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
88166 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
88167 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
88168 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
88169 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
88170 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
88171 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
88172 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
88173 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
88174 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
88175 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
88176 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
88177
88178 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
88179
88180 * math/libm-test.inc: Added more nearbyint tests.
88181 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
88182 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
88183 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
88184 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
88185
88186 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
88187
88188 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
88189 FD_CLOEXEC.
88190
88191 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
88192
88193 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
88194 Add wcscpy-ssse3 wcscpy-c.
88195 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
88196 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
88197 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
88198 * sysdeps/x86_64/wcschr.S: New file.
88199 * sysdeps/x86_64/wcsrchr.S: New file.
88200 * string/test-strcmp.c: Remove checking of wcscmp function for
88201 wrong alignments.
88202 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
88203 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
88204 wcsrchr-sse2 wcsrchr-c.
88205 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
88206 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
88207 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
88208 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
88209 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
88210 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
88211 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
88212 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
88213 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
88214 * wcsmbc/wcschr.c (WCSCHR): New macro.
88215
88216 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
88217
88218 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
88219 * wcsmbs/test-wcsrchr.c: New file.
88220 * string/test-strrchr.c: Add wcsrchr support.
88221 (WIDE): New macro.
88222 * wcsmbs/test-wcscpy.c: New file.
88223 * string/test-strcpy.c: Add wcscpy support.
88224 (WIDE): New macro.
88225
88226 2011-12-10 Ulrich Drepper <drepper@gmail.com>
88227
88228 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
88229 the inner loop.
88230
88231 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
88232
88233 [BZ #13472]
88234 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
88235
88236 2011-12-04 Ulrich Drepper <drepper@gmail.com>
88237
88238 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
88239 Minor optimizations.
88240
88241 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
88242 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
88243 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
88244
88245 2011-12-03 Ulrich Drepper <drepper@gmail.com>
88246
88247 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
88248 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
88249 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
88250 for gcc to avoid warnings.
88251 * inet/Makefile (tests): Add tst-checks.
88252 * inet/tst-checks.c: New file.
88253
88254 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
88255 warning.
88256
88257 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
88258 __wmemcmp_sse2.
88259
88260 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
88261 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
88262
88263 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
88264
88265 2011-12-02 Ulrich Drepper <drepper@gmail.com>
88266
88267 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
88268 problem.
88269
88270 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
88271
88272 2011-11-29 Joseph Myers <joseph@codesourcery.com>
88273
88274 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
88275 conditional on GCC version.
88276 (__arch_compare_and_exchange_val_8_acq)
88277 (__arch_compare_and_exchange_val_16_acq)
88278 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
88279 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
88280 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
88281
88282 2011-12-02 Joseph Myers <joseph@codesourcery.com>
88283
88284 * sysdeps/sh/backtrace.c: New file.
88285
88286 2011-12-02 Andreas Schwab <schwab@redhat.com>
88287
88288 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
88289 parenthesis.
88290
88291 2011-12-01 Andreas Schwab <schwab@redhat.com>
88292
88293 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
88294 falling back to utime.
88295
88296 2011-11-30 Andreas Schwab <schwab@redhat.com>
88297
88298 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
88299 expectations for float.
88300
88301 2011-11-29 Andreas Schwab <schwab@redhat.com>
88302
88303 * locale/weight.h (findidx): Add parameter len.
88304 * locale/weightwc.h (findidx): Likewise.
88305 * posix/fnmatch_loop.c (FCT): Adjust caller.
88306 * posix/regcomp.c (build_equiv_class): Likewise.
88307 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
88308 * posix/regexec.c (check_node_accept_bytes): Likewise.
88309 * string/strcoll_l.c (STRCOLL): Likewise.
88310 * string/strxfrm_l.c (STRXFRM): Likewise.
88311
88312 2011-11-17 Ulrich Drepper <drepper@gmail.com>
88313
88314 * Makefile.in: Remove CVSOPT handling.
88315 * configure.in: Remove use of AC_REVISION.
88316 * iconvdata/Makefile (distribute): No need to filter out CVS.
88317 * scripts/list-sources.sh: Remove CVS, subversion and monotone
88318 handling.
88319
88320 2011-11-16 Andreas Schwab <schwab@redhat.com>
88321
88322 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
88323 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
88324 [USE_AS_STRNCASECMP_L]: Likewise.
88325 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
88326 NO_TLS_DIRECT_SEG_REFS.
88327 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
88328 Fix argument offsets for non-PIC.
88329 [USE_AS_STRNCASECMP_L]: Likewise.
88330 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
88331 NO_TLS_DIRECT_SEG_REFS.
88332
88333 2011-11-15 Ulrich Drepper <drepper@gmail.com>
88334
88335 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
88336 O_CLOEXEC.
88337 * locale/loadlocale.c (_nl_load_locale): Likewise.
88338
88339 2011-11-15 Andreas Schwab <schwab@redhat.com>
88340
88341 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
88342 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
88343 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
88344 (SYSCALL_GETTIME): Set errno on error.
88345
88346 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
88347 count references to noai6ai_cached.
88348
88349 2011-11-15 Ulrich Drepper <drepper@gmail.com>
88350
88351 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
88352
88353 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
88354 FD_CLOEXEC for /proc/self/maps.
88355
88356 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
88357 FD_CLOEXEC for /proc/meminfo.
88358
88359 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
88360 gai.conf.
88361
88362 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
88363 FD_CLOEXEC for given file.
88364
88365 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
88366
88367 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
88368 FD_CLOEXEC for /etc/hosts.
88369 (_gethtent): Likewise.
88370
88371 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
88372
88373 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
88374 cancellation and set FD_CLOEXEC for /etc/netgroup.
88375
88376 * nss/nss_files/files-key.c (search): Don't allow cancellation when
88377 reading /etc/publickey.
88378
88379 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
88380 allow cancellation when reading /etc/group.
88381
88382 * nss/nss_files/files-alias.c (internal_setent): Don't allow
88383 cancellation.
88384 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
88385
88386 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
88387 when using data file.
88388
88389 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
88390
88391 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
88392 (write_nis_obj): Use "c" and "e" in fopen.
88393
88394 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
88395
88396 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
88397
88398 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
88399
88400 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
88401
88402 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
88403 locale.alias.
88404
88405 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
88406
88407 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
88408
88409 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
88410
88411 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
88412 file parsing and set FD_CLOEXEC.
88413
88414 2011-11-14 Ulrich Drepper <drepper@gmail.com>
88415
88416 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
88417
88418 2011-11-14 Andreas Schwab <schwab@redhat.com>
88419
88420 * malloc/arena.c (arena_get2): Don't call reused_arena when
88421 _int_new_arena failed.
88422
88423 2011-11-14 Ulrich Drepper <drepper@gmail.com>
88424
88425 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
88426 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
88427 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
88428 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88429 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88430 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
88431 to compile strcasecmp and strncasecmp.
88432 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
88433 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
88434
88435 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
88436
88437 2011-11-13 Ulrich Drepper <drepper@gmail.com>
88438
88439 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
88440 locale-defines.sym to gen-as-const-headers.
88441 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
88442 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
88443 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
88444 to compile strcasecmp and strncasecmp.
88445 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
88446 strcasecmp_l and strncasecmp_l.
88447 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
88448 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
88449 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
88450 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
88451 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
88452 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
88453 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
88454 * sysdeps/i386/i686/multiarch/strncase.S: New file.
88455 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
88456 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
88457 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
88458
88459 2011-11-12 Ulrich Drepper <drepper@gmail.com>
88460
88461 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
88462 result of SYSDEP_GETTIME_CPU to retval.
88463 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
88464 parameter list to macro. Remove trailing semicolon. Adjust users.
88465
88466 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
88467 variable.
88468
88469 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
88470 mantissa words.
88471 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
88472
88473 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
88474 from unused variable.
88475
88476 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
88477 DWARF definitions.
88478 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
88479 for assembling.
88480
88481 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
88482 over namespaces.
88483
88484 * sunrpc/rpc_prot.c (rejected): Fix case value.
88485
88486 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
88487 unsigned long long int to avoid warnings in shift.
88488
88489 * posix/regex_internal.c (re_string_reconstruct): Actually use result
88490 of use of trans.
88491 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
88492 variable tmp.
88493
88494 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
88495 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
88496 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
88497
88498 * nis/nis_table.c (nis_list): Use variable of correct type for
88499 result of __follow_path call.
88500
88501 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
88502
88503 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
88504 of math functions ceil, trunc, floor, round, and sqrt, when
88505 avaliable on the platform.
88506 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
88507 name clash.
88508 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
88509 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
88510 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
88511
88512 2011-10-30 Marek Polacek <mpolacek@redhat.com>
88513
88514 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
88515 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
88516
88517 2011-11-11 Roland McGrath <roland@hack.frob.com>
88518
88519 * include/unistd.h: Fix __readlink return type.
88520 Reported by Chris Metcalf <cmetcalf@tilera.com>.
88521
88522 2011-11-11 Ulrich Drepper <drepper@gmail.com>
88523
88524 * stdlib/ucontext.h: Undo last change for makecontext.
88525
88526 2011-11-11 Andreas Schwab <schwab@redhat.com>
88527
88528 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
88529
88530 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
88531 * setjmp/setjmp.h: Mark functions as non-leaf.
88532 * setjmp/bits/setjmp2.h: Likewise.
88533 * stdlib/ucontext.h: Likewise.
88534
88535 2011-11-10 Andreas Schwab <schwab@redhat.com>
88536
88537 * malloc/arena.c (_int_new_arena): Don't increment narenas.
88538 (reused_arena): Don't check arena limit.
88539 (arena_get2): Atomically check arena limit.
88540
88541 2011-11-08 Ulrich Drepper <drepper@gmail.com>
88542
88543 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
88544 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
88545
88546 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
88547 instructions.
88548
88549 2011-11-07 Andreas Schwab <schwab@redhat.com>
88550
88551 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
88552 handler when locking.
88553
88554 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
88555 Fix size of allocated buffer.
88556
88557 2011-11-04 Andreas Schwab <schwab@redhat.com>
88558
88559 [BZ #10103]
88560 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
88561 declarations for long double functions.
88562 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
88563
88564 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
88565
88566 2011-11-03 Andreas Schwab <schwab@redhat.com>
88567
88568 * nscd/nscd.c (main): Don't start AVC thread until credentials are
88569 installed.
88570
88571 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
88572 is disabled.
88573
88574 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
88575
88576 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
88577
88578 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
88579
88580 * include/alloca.h (stackinfo_alloca_round): Define.
88581 (extend_alloca): Use it.
88582 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
88583 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
88584 here.
88585
88586 * scripts/check-local-headers.sh: Ignore libaudit.h.
88587
88588 * nscd/Makefile (extra-objs): Make recursively expanded.
88589
88590 2011-11-01 Ulrich Drepper <drepper@gmail.com>
88591
88592 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
88593 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
88594
88595 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
88596 * posix/tst-rfc3484-2.c: Likewise.
88597 * posix/tst-rfc3484-3.c: Likewise.
88598
88599 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
88600 process_vm_writev.
88601 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
88602 process_vm_writev.
88603 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
88604 process_vm_writev from libc using GLIBC_2.15 version.
88605
88606 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
88607
88608 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
88609
88610 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
88611 stack usage.
88612
88613 2011-10-31 Ulrich Drepper <drepper@gmail.com>
88614
88615 [BZ #13367]
88616 * nss/getent.c (initgroups_keys): Show error message in case no group
88617 names are given.
88618
88619 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
88620 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
88621 __bump_nl_timestamp.
88622 * nscd/connections (nscd_init): When host database is served open
88623 netlink socket and request notification about configuration changes.
88624 (main_loop_poll): Track netlink file descriptor and bump timestamp
88625 in case data becomes available.
88626 (main_loop_epoll): Likewise.
88627 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
88628 (database_pers_head): Add extra_data fileds.
88629 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
88630 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
88631 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
88632 Adjust caller.
88633 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
88634 in6ai data, call __free_in6ai.
88635 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
88636 Add -DHAVE_NETLINK.
88637 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
88638 interface information. Reuse previous data if netlink timestamp
88639 is not changed.
88640 (__bump_nl_timestamp): New function.
88641 (__free_in6ai): New function.
88642
88643 2011-10-30 Ulrich Drepper <drepper@gmail.com>
88644
88645 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
88646 close_not_cancel_no_status here.
88647 (__check_pf): Reorganize code a bit to not call close twice if OOM.
88648
88649 2011-10-29 Ulrich Drepper <drepper@gmail.com>
88650
88651 [BZ #13276]
88652 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
88653 return value.
88654
88655 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
88656 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
88657 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
88658
88659 2011-07-03 Andreas Jaeger <aj@suse.de>
88660
88661 [BZ #10709]
88662 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
88663 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
88664 * math/libm-test.inc (sin_test): Add test case.
88665
88666 2011-10-29 Ulrich Drepper <drepper@gmail.com>
88667
88668 [BZ #13337]
88669 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
88670 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
88671
88672 * elf/chroot_canon.c (chroot_canon): Cleanups.
88673
88674 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
88675
88676 [BZ #13335]
88677 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
88678 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
88679
88680 * string/test-strchr.c: Make usable for strchrnul testing.
88681 * string/test-strchrnul.c: New file.
88682 * string/Makefile (strop-tests): Add strchrnul.
88683
88684 * po/it.po: Update from translation team.
88685 * po/es.po: Likewise.
88686
88687 2011-10-28 Ulrich Drepper <drepper@gmail.com>
88688
88689 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
88690 the three constants needed as parameters. Drop the others.
88691 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
88692 __m128i_strloadu_tolower.
88693 Create and initialize variable zero and use it in all the places
88694 where _mm_setzero_si128 was used.
88695
88696 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
88697 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
88698 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
88699 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
88700 anymore.
88701 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
88702 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
88703 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
88704 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
88705 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
88706 __mpranred, __mptan.
88707 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
88708 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
88709 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
88710 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
88711 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
88712 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
88713 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
88714 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
88715 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
88716
88717 2011-10-28 Andreas Schwab <schwab@redhat.com>
88718
88719 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
88720 redefine if SHARED.
88721 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
88722
88723 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
88724 wide char related routines to wcsmbs subdir.
88725
88726 2011-10-27 Andreas Schwab <schwab@redhat.com>
88727
88728 [BZ #13344]
88729 * misc/sys/cdefs.h (__THROWNL): Define.
88730 * posix/unistd.h: Use __THREADNL instead of __THREAD
88731 for memory synchronization functions.
88732
88733 2011-10-26 Roland McGrath <roland@hack.frob.com>
88734
88735 [BZ #13349]
88736 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
88737 doesn't exist.
88738 * manual/stdio.texi (Obstack Streams): Node removed.
88739
88740 2011-10-26 Andreas Schwab <schwab@redhat.com>
88741
88742 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
88743 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
88744 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
88745
88746 * math/math_private.h (math_force_eval): Allow non-addressable
88747 arguments.
88748 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
88749
88750 2011-10-25 Ulrich Drepper <drepper@gmail.com>
88751
88752 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
88753 file is not needed.
88754
88755 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
88756 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
88757 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88758 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88759 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88760 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88761 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88762 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
88763 Add AVX variants.
88764 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
88765 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
88766 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
88767 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
88768 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
88769 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
88770 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
88771 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
88772 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
88773 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
88774 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
88775 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
88776 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
88777 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
88778 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
88779 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
88780 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
88781 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
88782 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
88783
88784 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
88785 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
88786
88787 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
88788 place. Use VEX encoding when compiling for AVX.
88789
88790 2011-10-25 Andreas Schwab <schwab@redhat.com>
88791
88792 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
88793 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
88794
88795 * string/test-strchr.c (do_test): Don't generate NUL bytes.
88796
88797 2011-10-25 Ulrich Drepper <drepper@gmail.com>
88798
88799 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
88800 useless if() expression.
88801 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
88802 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
88803 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
88804 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88805 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
88806 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
88807 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
88808 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
88809 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
88810 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88811 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
88812 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
88813 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
88814 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
88815 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
88816 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
88817 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
88818 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
88819 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
88820
88821 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
88822
88823 2011-10-25 Andreas Schwab <schwab@redhat.com>
88824
88825 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
88826 condition.
88827 * elf/dl-fini.c (_dl_sort_fini): Likewise.
88828
88829 2011-10-25 Ulrich Drepper <drepper@gmail.com>
88830
88831 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
88832 .text section. Avoid duplicate constants.
88833 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
88834 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88835 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
88836 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88837 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
88838 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88839 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88840 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88841 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
88842 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
88843 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
88844 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
88845 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
88846 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
88847 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
88848 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
88849 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
88850 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
88851 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
88852 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
88853 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
88854 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
88855 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
88856 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
88857 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
88858 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
88859 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
88860 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
88861 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
88862 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
88863 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
88864 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
88865 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
88866 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
88867 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
88868 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
88869 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
88870 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
88871 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
88872 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
88873 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
88874 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
88875 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
88876 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
88877 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
88878
88879 2011-10-24 Ulrich Drepper <drepper@gmail.com>
88880
88881 * sysdeps/x86_64/dla.h: Move to ...
88882 * sysdeps/x86_64/fpu/dla.h: ...here.
88883 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
88884 situations. Use __builtin_fma only for gcc 4.6 and up.
88885
88886 * config.make.in: Add have-mfma4 entry.
88887 * configure.in: Substitute libc_cv_cc_fma4.
88888 * math/Makefile (dbl-only-routines): Add sincostab.
88889 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
88890 Use __sincostab not sincos.
88891 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
88892 name is a macro.
88893 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
88894 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88895 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88896 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
88897 using __copysign.
88898 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
88899 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
88900 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
88901 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
88902 and __inv.
88903 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
88904 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
88905 __copysign.
88906 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
88907 define aliases when function name is a macro.
88908 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
88909 sysdeps/ieee754/dbl-64/sincos.tbl.
88910 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
88911 fma4-enabled routines.
88912 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
88913 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
88914 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
88915 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
88916 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
88917 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
88918 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
88919 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
88920 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
88921 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
88922 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
88923 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
88924 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
88925 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
88926 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
88927 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
88928 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
88929 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
88930 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
88931 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
88932 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
88933 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
88934 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
88935 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
88936 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
88937 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
88938 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
88939 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
88940 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
88941 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
88942
88943 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
88944 rename.
88945 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88946 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88947 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88948 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88949 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88950 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88951 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
88952 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
88953
88954 2011-10-24 Andreas Schwab <schwab@redhat.com>
88955
88956 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
88957
88958 2011-10-23 Ulrich Drepper <drepper@gmail.com>
88959
88960 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
88961
88962 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
88963 prediction.
88964 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
88965
88966 * string/strnlen.c: Don't define STRNLEN, reverse logic.
88967 Remove unused variable magic_bits.
88968 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
88969
88970 * string/strnlen.c: Define and use STRNLEN macro.
88971 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
88972 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
88973 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
88974 * wcsmbs/wcslen.c: Define and use WCSLEN.
88975 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
88976 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
88977 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
88978 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
88979 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
88980 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
88981 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
88982
88983 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
88984
88985 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88986 strnlen-sse2-no-bsf.
88987 Rename strlen-no-bsf to strlen-sse2-no-bsf.
88988 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
88989 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
88990 Add strnlen support.
88991 (USE_AS_STRNLEN): New macro.
88992 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
88993 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
88994 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
88995 * sysdeps/x86_64/wcslen.S: New file.
88996
88997 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
88998
88999 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
89000 XMM-moves are used for copying on small sizes.
89001
89002 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89003
89004 * wcsmbs/Makefile (strop-tests): Add wcschr.
89005 * wcsmbs/test-wcschr.c: New file.
89006 * string/test-strchr.c: Update.
89007 Add wcschr support.
89008 (WIDE): New macro.
89009
89010 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89011
89012 * wcsmbs/Makefile (strop-tests): Add wcslen.
89013 * wcsmbs/test-wcslen.c: New file.
89014 * string/test-strlen.c: Update.
89015 Add wcslen support.
89016 (WIDE): New macro.
89017
89018 2011-10-23 Ulrich Drepper <drepper@gmail.com>
89019
89020 * po/it.po: Update from translation team.
89021
89022 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89023
89024 * sysdeps/x86_64/wcscmp.S: Update.
89025 Fix wrong comparison semantics.
89026 wcscmp shall use signed comparison not unsigned.
89027 Don't use substraction to avoid overflow bug.
89028 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
89029 * wcsmbc/wcscmp.c: Likewise.
89030 * string/test-strcmp.c: Likewise.
89031 Add new tests to check cases with negative values.
89032
89033 2011-10-23 Ulrich Drepper <drepper@gmail.com>
89034
89035 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
89036 * sysdeps/x86_64/dla.h: ...here. New file.
89037 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
89038 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89039 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89040 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89041 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89042 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
89043 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89044 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
89045 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89046
89047 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
89048
89049 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
89050 __ynl_finite aliases.
89051
89052 2011-10-22 Ulrich Drepper <drepper@gmail.com>
89053
89054 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
89055
89056 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
89057 define DLA_FMA.
89058 [DLA_FMA] (EMULV): Use DLA_FMA.
89059 [DLA_FMA] (MUL12): Use EMULV.
89060 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
89061 that are not needed.
89062 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89063 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89064 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89065 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89066 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89067 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
89068 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89069
89070 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
89071
89072 * math/s_nan.c: Undef __nan.
89073 * math/s_nanf.c: Undef __nanf.
89074 * math/s_nanl.c: Undef __nanl.
89075 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
89076 "math_private.h".
89077
89078 2011-10-22 Ulrich Drepper <drepper@gmail.com>
89079
89080 * math/s_catan.c: Add branch predictions.
89081 * math/s_catanf.c: Likewise.
89082 * math/s_catanh.c: Likewise.
89083 * math/s_catanhf.c: Likewise.
89084 * math/s_catanhl.c: Likewise.
89085 * math/s_catanl.c: Likewise.
89086 * math/s_cexp.c: Likewise.
89087 * math/s_cexpf.c: Likewise.
89088 * math/s_cexpl.c: Likewise.
89089 * math/s_clog.c: Likewise.
89090 * math/s_clog10.c: Likewise.
89091 * math/s_clog10f.c: Likewise.
89092 * math/s_clog10l.c: Likewise.
89093 * math/s_clogf.c: Likewise.
89094 * math/s_clogl.c: Likewise.
89095 * math/s_csqrt.c: Likewise.
89096 * math/s_csqrtf.c: Likewise.
89097 * math/s_csqrtl.c: Likewise.
89098 * math/s_ctanf.c: Likewise.
89099 * math/s_ctanh.c: Likewise.
89100 * math/s_ctanhf.c: Likewise.
89101 * math/s_ctanhl.c: Likewise.
89102 * math/s_ctanl.c: Likewise.
89103
89104 * math/math_private.h: Define __nan, __nanf, __nanl.
89105 * math/s_cacosh.c: Include <math_private.h>.
89106 * math/s_cacoshl.c: Likewise.
89107 * math/s_casinh.c: Likewise.
89108 * math/s_casinhf.c: Likewise.
89109 * math/s_casinhl.c: Likewise.
89110 * math/s_ccos.c: Rely entire on ccosh.
89111 * math/s_ccosf.c: Rely entire on ccoshf.
89112 * math/s_ccosl.c: Rely entirely on ccoshl.
89113 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
89114 Remove tests for FE_INVALID.
89115 * math/s_ccoshf.c: Likewise.
89116 * math/s_ccoshl.c: Likewise.
89117 * math/s_csin.c: Likewise.
89118 * math/s_csinf.c: Likewise.
89119 * math/s_csinh.c Likewise.
89120 * math/s_csinhf.c: Likewise.
89121 * math/s_csinhl.c: Likewise.
89122 * math/s_csinl.c: Likewise.
89123 * math/s_ctan.c: Likewise.
89124 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
89125 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
89126 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
89127
89128 2011-10-21 Ulrich Drepper <drepper@gmail.com>
89129
89130 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
89131 compilation problems.
89132
89133 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
89134 __builtin_expect.
89135
89136 2011-10-20 Ulrich Drepper <drepper@gmail.com>
89137
89138 * sysdeps/i386/configure.in: Test for -mfma4 option.
89139 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
89140 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
89141 COMMON_CPUID_INDEX_80000001.
89142 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
89143 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
89144 use it if FMA3 is not supported.
89145 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
89146
89147 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
89148 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
89149
89150 2011-10-20 Andreas Schwab <schwab@redhat.com>
89151
89152 [BZ #12892]
89153 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
89154 it would create a cycle with a link time dependency.
89155
89156 2011-10-19 Ulrich Drepper <drepper@gmail.com>
89157
89158 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
89159 instruction.
89160 * string/Makefile (strop-tests): Add rawmemchr.
89161 * string/test-rawmemchr.c: New file.
89162
89163 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
89164 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
89165 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
89166 when compiling str{,n}casecmp and when AVX is available. Hook up
89167 new optimized code in initializers.
89168
89169 2011-10-19 Andreas Schwab <schwab@redhat.com>
89170
89171 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
89172 __feraiseexcept instead of feraiseexcept.
89173
89174 2011-10-18 Ulrich Drepper <drepper@gmail.com>
89175
89176 * math/math_private.h: Define defaults for libc_fetestexcept and
89177 libc_feupdateenv.
89178 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
89179 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
89180 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
89181 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
89182 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
89183 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
89184 libc_fetestexcept and libc_feupdateenv.
89185
89186 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
89187 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
89188 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
89189 * sysdeps/x86_64/fpu/math_private.h: Define special version of
89190 libc_feholdexcept_setround.
89191
89192 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
89193 Add s_nearbyint-c and s_nearbyintf-c.
89194 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
89195 nearbyintf inlines.
89196 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
89197 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
89198 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
89199 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
89200
89201 * math/math_private.h: Define defaults for libc_fegetround,
89202 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
89203 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
89204 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
89205 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
89206 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
89207 standard functions.
89208 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
89209 Remove comments and hacks for old compiler versions.
89210 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
89211 libc_fegetround, libc_fesetround, libc_feholdexcept, and
89212 libc_feholdexceptl.
89213
89214 2011-10-18 Andreas Schwab <schwab@redhat.com>
89215
89216 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
89217 (__feraiseexcept_renamed): Add __NTH.
89218 (feraiseexcept): Add __NTH. Rename local variables to fix
89219 namespace violations.
89220
89221 2011-10-17 Ulrich Drepper <drepper@gmail.com>
89222
89223 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
89224
89225 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
89226
89227 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
89228 recently added interfaces.
89229 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
89230
89231 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
89232 about macro parameter expansion.
89233
89234 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
89235 __NO_MATH_INLINES is defined. Cleanups.
89236
89237 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
89238 and __floorf is target has SSE4.1.
89239 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
89240 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
89241 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
89242 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
89243
89244 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
89245 name.
89246 (floorf): Likewise.
89247
89248 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
89249
89250 2011-10-17 Andreas Schwab <schwab@redhat.com>
89251
89252 * misc/sys/cdefs.h: Fix last change.
89253
89254 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
89255 database lookup.
89256
89257 2011-10-16 Ulrich Drepper <drepper@gmail.com>
89258
89259 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
89260
89261 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
89262 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
89263 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
89264 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
89265 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
89266 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
89267 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
89268 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
89269 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
89270 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
89271 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
89272 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
89273 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
89274 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
89275 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
89276 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
89277 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
89278 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
89279 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
89280 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
89281 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
89282 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
89283
89284 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
89285 ceil, ceilf, floor, floorf.
89286
89287 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
89288 Perform IRELATIVE relocations last.
89289
89290 * elf/do-rel.h: Add another parameter nrelative, replacing the
89291 local variable with the same name. Change name of the function
89292 to end in Rel or Rela (uppercase).
89293 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
89294 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
89295 elf_dynamic_do_##reloc function.
89296
89297 2011-10-15 Ulrich Drepper <drepper@gmail.com>
89298
89299 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
89300 is sufficient, at least on modern CPUs.
89301
89302 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
89303
89304 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
89305 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
89306
89307 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
89308 __expl_finite.
89309 * math/bits/math-finite.h: Add entries for exp.
89310 * math/e_expl.c: Add __*_finite alias.
89311 * sysdeps/i386/fpu/e_exp.S: Likewise.
89312 * sysdeps/i386/fpu/e_expf.S: Likewise.
89313 * sysdeps/i386/fpu/e_expl.c: Likewise.
89314 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
89315 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
89316 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
89317 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
89318 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
89319 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
89320 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
89321
89322 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
89323 is sufficient, at least on modern CPUs.
89324
89325 * ctype/ctype-info.c (__ctype_init): Define.
89326 * include/ctype.h (__ctype_init): Declare.
89327 (__ctype_b_loc): The variable is always initialized.
89328 (__ctype_toupper_loc): Likewise.
89329 (__ctype_tolower_loc): Likewise.
89330 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
89331 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
89332
89333 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
89334
89335 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
89336
89337 * configure.in: Also look in $cxxmachine/include for C++ system
89338 headers.
89339
89340 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89341
89342 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
89343 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
89344 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
89345 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
89346 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
89347 (USE_AS_WMEMCMP): New macro.
89348 Fixing indents.
89349 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
89350 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
89351 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
89352 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
89353 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89354 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
89355 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
89356 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
89357 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
89358 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
89359 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
89360 (USE_AS_WMEMCMP): New macro.
89361 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
89362 * sysdeps/string/test-memcmp.c: Update.
89363 Fix simple_wmemcmp.
89364 Add new tests.
89365 * wcsmbs/wmemcmp.c: Update.
89366 (WMEMCMP): New macro.
89367 Fix overflow bug.
89368
89369 2011-10-12 Andreas Jaeger <aj@suse.de>
89370
89371 [BZ #13268]
89372 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
89373
89374 2011-10-15 Ulrich Drepper <drepper@gmail.com>
89375
89376 * libio/iofwide.c (do_length): Avoid warning.
89377
89378 * ctype/ctype.h (__isctype_f): Add missing __THROW.
89379
89380 2011-10-14 Ulrich Drepper <drepper@gmail.com>
89381
89382 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
89383
89384 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
89385 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
89386 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
89387 * sysdeps/i386/i686/fpu/e_log.S: New file.
89388 * sysdeps/i386/i686/fpu/e_logf.S: New file.
89389 * sysdeps/i386/i686/fpu/e_logl.S: New file.
89390
89391 * ctype/ctype.h: Add support for inlined isXXX functions when
89392 compiling C++ code.
89393
89394 2011-10-14 Andreas Schwab <schwab@redhat.com>
89395
89396 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
89397
89398 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
89399
89400 2011-10-13 Roland McGrath <roland@hack.frob.com>
89401
89402 [BZ #13291]
89403 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
89404
89405 2011-10-13 Andreas Schwab <schwab@redhat.com>
89406
89407 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
89408 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
89409 feraiseexcept.
89410
89411 * sysdeps/x86_64/memrchr.S: Check for zero size.
89412
89413 * string/stratcliff.c: Add memrchr tests.
89414
89415 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89416
89417 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89418 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
89419 rawmemchr-sse2 rawmemchr-sse2-bsf.
89420 * sysdeps/i386/i686/multiarch/memchr.S: New file.
89421 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
89422 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
89423 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
89424 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
89425 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
89426 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
89427 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
89428 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
89429 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
89430 * string/memrchr.c (MEMRCHR): New macro.
89431
89432 2011-10-12 Ulrich Drepper <drepper@gmail.com>
89433
89434 Add integration with gcc's -ffinite-math-only and optimize wrapper
89435 functions in libm.
89436 * Versions.def: Define GLIBC_2.15 version for libm.
89437 * math/Makefile (headers): Add bits/math-finite.h.
89438 * math/bits/math-finite.h: New file.
89439 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
89440 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
89441 * math/e_acoshl.c: Add __*_finite alias.
89442 * math/e_acosl.c: Likewise.
89443 * math/e_asinl.c: Likewise.
89444 * math/e_atan2l.c: Likewise.
89445 * math/e_atanhl.c: Likewise.
89446 * math/e_coshl.c: Likewise.
89447 * math/e_exp10.c: Likewise.
89448 * math/e_exp10f.c: Likewise.
89449 * math/e_exp10l.c: Likewise.
89450 * math/e_exp2l.c: Likewise.
89451 * math/e_fmodl.c: Likewise.
89452 * math/e_gammal_r.c: Likewise.
89453 * math/e_hypotl.c: Likewise.
89454 * math/e_j0l.c: Likewise.
89455 * math/e_j1l.c: Likewise.
89456 * math/e_jnl.c: Likewise.
89457 * math/e_lgammal_r.c: Likewise.
89458 * math/e_log10l.c: Likewise.
89459 * math/e_log2l.c: Likewise.
89460 * math/e_logl.c: Likewise.
89461 * math/e_powl.c: Likewise.
89462 * math/e_sinhl.c: Likewise.
89463 * math/e_sqrtl.c: Likewise.
89464 * math/e_scalb.c: Completely rewritten and optimized.
89465 * math/e_scalbf.c: Likewise.
89466 * math/e_scalbl.c: Likewise.
89467 * math/w_acos.c: Likewise.
89468 * math/w_acosf.c: Likewise.
89469 * math/w_acosl.c: Likewise.
89470 * math/w_acosh.c: Likewise.
89471 * math/w_acoshf.c: Likewise.
89472 * math/w_acoshl.c: Likewise.
89473 * math/w_asin.c: Likewise.
89474 * math/w_asinf.c: Likewise.
89475 * math/w_asinl.c: Likewise.
89476 * math/w_atan2.c: Likewise.
89477 * math/w_atan2f.c: Likewise.
89478 * math/w_atan2l.c: Likewise.
89479 * math/w_atanh.c: Likewise.
89480 * math/w_atanhf.c: Likewise.
89481 * math/w_atanhl.c: Likewise.
89482 * math/w_exp10.c: Likewise.
89483 * math/w_exp10f.c: Likewise.
89484 * math/w_exp10l.c: Likewise.
89485 * math/w_fmod.c: Likewise.
89486 * math/w_fmodf.c: Likewise.
89487 * math/w_fmodl.c: Likewise.
89488 * math/w_j0.c: Likewise.
89489 * math/w_j0f.c: Likewise.
89490 * math/w_j0l.c: Likewise.
89491 * math/w_j1.c: Likewise.
89492 * math/w_j1f.c: Likewise.
89493 * math/w_j1l.c: Likewise.
89494 * math/w_jn.c: Likewise.
89495 * math/w_jnf.c: Likewise.
89496 * math/w_log.c: Likewise.
89497 * math/w_logf.c: Likewise.
89498 * math/w_logl.c: Likewise.
89499 * math/w_log10.c: Likewise.
89500 * math/w_log10f.c: Likewise.
89501 * math/w_log10l.c: Likewise.
89502 * math/w_log2.c: Likewise.
89503 * math/w_log2f.c: Likewise.
89504 * math/w_log2l.c: Likewise.
89505 * math/w_pow.c: Likewise.
89506 * math/w_powf.c: Likewise.
89507 * math/w_powl.c: Likewise.
89508 * math/w_remainder.c: Likewise.
89509 * math/w_remainderf.c: Likewise.
89510 * math/w_remainderl.c: Likewise.
89511 * math/w_scalb.c: Likewise.
89512 * math/w_scalbf.c: Likewise.
89513 * math/w_scalbl.c: Likewise.
89514 * math/w_sqrt.c: Likewise.
89515 * math/w_sqrtf.c: Likewise.
89516 * math/w_sqrtl.c: Likewise.
89517 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
89518 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
89519 used.
89520 * math/math_private.h: Declare __kernel_standard_f.
89521 * math/w_cosh.c: Remove cruft and optimize a bit.
89522 * math/w_coshf.c: Likewise.
89523 * math/w_coshl.c: Likewise.
89524 * math/w_exp2.c: Likewise.
89525 * math/w_exp2f.c: Likewise.
89526 * math/w_exp2l.c: Likewise.
89527 * math/w_hypot.c: Likewise.
89528 * math/w_hypotf.c: Likewise.
89529 * math/w_hypotl.c: Likewise.
89530 * math/w_lgamma.c: Likewise.
89531 * math/w_lgamma_r.c: Likewise.
89532 * math/w_lgammaf.c: Likewise.
89533 * math/w_lgammaf_r.c: Likewise.
89534 * math/w_lgammal.c: Likewise.
89535 * math/w_lgammal_r.c: Likewise.
89536 * math/w_sinh.c: Likewise.
89537 * math/w_sinhf.c: Likewise.
89538 * math/w_sinhl.c: Likewise.
89539 * math/w_tgamma.c: Likewise.
89540 * math/w_tgammaf.c: Likewise.
89541 * math/w_tgammal.c: Likewise.
89542 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
89543 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
89544 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
89545 Minor optimizations. Pretty printing. Remove cruft.
89546 * sysdeps/i386/fpu/e_acosf.S: Likewise.
89547 * sysdeps/i386/fpu/e_acosh.S: Likewise.
89548 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
89549 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
89550 * sysdeps/i386/fpu/e_acosl.c: Likewise.
89551 * sysdeps/i386/fpu/e_asin.S: Likewise.
89552 * sysdeps/i386/fpu/e_asinf.S: Likewise.
89553 * sysdeps/i386/fpu/e_atan2.S: Likewise.
89554 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
89555 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
89556 * sysdeps/i386/fpu/e_atanh.S: Likewise.
89557 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
89558 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
89559 * sysdeps/i386/fpu/e_exp10.S: Likewise.
89560 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
89561 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
89562 * sysdeps/i386/fpu/e_exp2.S: Likewise.
89563 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
89564 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
89565 * sysdeps/i386/fpu/e_fmod.S: Likewise.
89566 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
89567 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
89568 * sysdeps/i386/fpu/e_hypot.S: Likewise.
89569 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
89570 * sysdeps/i386/fpu/e_log.S: Likewise.
89571 * sysdeps/i386/fpu/e_log10.S: Likewise.
89572 * sysdeps/i386/fpu/e_log10f.S: Likewise.
89573 * sysdeps/i386/fpu/e_log10l.S: Likewise.
89574 * sysdeps/i386/fpu/e_log2.S: Likewise.
89575 * sysdeps/i386/fpu/e_log2f.S: Likewise.
89576 * sysdeps/i386/fpu/e_log2l.S: Likewise.
89577 * sysdeps/i386/fpu/e_logf.S: Likewise.
89578 * sysdeps/i386/fpu/e_logl.S: Likewise.
89579 * sysdeps/i386/fpu/e_pow.S: Likewise.
89580 * sysdeps/i386/fpu/e_powf.S: Likewise.
89581 * sysdeps/i386/fpu/e_powl.S: Likewise.
89582 * sysdeps/i386/fpu/e_remainder.S: Likewise.
89583 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
89584 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
89585 * sysdeps/i386/fpu/e_scalb.S: Likewise.
89586 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
89587 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
89588 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
89589 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
89590 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
89591 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
89592 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
89593 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89594 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
89595 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
89596 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
89597 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
89598 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
89599 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
89600 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
89601 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
89602 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
89603 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89604 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
89605 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
89606 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89607 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
89608 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
89609 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
89610 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89611 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
89612 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
89613 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
89614 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
89615 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
89616 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
89617 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
89618 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
89619 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
89620 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
89621 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
89622 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
89623 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
89624 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
89625 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
89626 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
89627 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
89628 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
89629 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
89630 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
89631 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
89632 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
89633 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
89634 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
89635 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
89636 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
89637 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
89638 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
89639 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
89640 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
89641 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
89642 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
89643 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
89644 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
89645 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
89646 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
89647 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
89648 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
89649 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
89650 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
89651 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
89652 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
89653 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
89654 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
89655 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
89656 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
89657 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
89658 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
89659 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
89660 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
89661 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
89662 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
89663 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
89664 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
89665 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
89666 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
89667 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
89668 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
89669 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
89670 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
89671 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
89672 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
89673 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
89674 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
89675 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
89676 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
89677 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
89678 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
89679 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
89680 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
89681 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
89682 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
89683 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
89684 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
89685 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
89686 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
89687 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
89688 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
89689 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
89690 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
89691 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
89692 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
89693 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
89694 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
89695 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
89696 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
89697 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
89698 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
89699 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
89700 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
89701 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
89702 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
89703 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
89704 (__isnanf): Likewise.
89705 (__isinf_ns): Likewise.
89706 (__isinf_nsf): Likewise.
89707 (__finite): Likewise.
89708 (__finitef): Likewise.
89709 (__ieee754_sqrt): Define as macro.
89710 (__ieee754_sqrtf): Define as macro.
89711 (__ieee754_sqrtl): Define as macro.
89712 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
89713 inlined copy.
89714 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
89715 __FINITE_MATH_ONLY__ consistent.
89716 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
89717
89718 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
89719
89720 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
89721 of rawmemchr.
89722
89723 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
89724
89725 2011-10-09 Ulrich Drepper <drepper@gmail.com>
89726
89727 * po/ja.po: Update from translation team.
89728
89729 2011-10-08 Roland McGrath <roland@hack.frob.com>
89730
89731 * locale/programs/locarchive.c (prepare_address_space): New function.
89732 (create_archive, enlarge_archive, open_archive): Use it.
89733
89734 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
89735 inside [SHARED], where it is used.
89736
89737 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
89738
89739 * nss/getent.c (netgroup_keys): Remove unused variable.
89740 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
89741
89742 2011-10-08 Ulrich Drepper <drepper@gmail.com>
89743
89744 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
89745 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
89746 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
89747 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
89748 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
89749 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
89750 * math/Makefile (libm-calls): Add s_isinf_ns.
89751 * math/divtc3.c: Use __isinf_nsl instead of isinf.
89752 * math/multc3.c: Likewise.
89753 * math/s_casin.c: Likewise.
89754 * math/s_casinf.c: Likewise.
89755 * math/s_casinl.c: Likewise.
89756 * math/s_ccos.c: Likewise.
89757 * math/s_ccosf.c: Likewise.
89758 * math/s_ccosl.c: Likewise.
89759 * math/s_ctan.c: Likewise.
89760 * math/s_ctanf.c: Likewise.
89761 * math/s_ctanh.c: Likewise.
89762 * math/s_ctanhf.c: Likewise.
89763 * math/s_ctanhl.c: Likewise.
89764 * math/s_ctanl.c: Likewise.
89765 * math/w_fmod.c: Likewise.
89766 * math/w_fmodf.c: Likewise.
89767 * math/w_fmodl.c: Likewise.
89768 * math/w_remainder.c: Likewise.
89769 * math/w_remainderf.c: Likewise.
89770 * math/w_remainderl.c: Likewise.
89771 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
89772 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
89773 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
89774 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
89775 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
89776 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
89777 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
89778 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
89779
89780 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
89781 of the number.
89782 * stdio-common/printf_fphex.c: Likewise.
89783 * stdio-common/printf_size.c: Likewise.
89784
89785 * math/e_exp10.c: Include math_private.h using <...> not "...".
89786 * math/e_exp10f.c: Likewise.
89787 * math/e_exp10l.c: Likewise.
89788 * math/e_exp2l.c: Likewise.
89789 * math/e_j0l.c: Likewise.
89790 * math/e_j1l.c: Likewise.
89791 * math/e_jnl.c: Likewise.
89792 * math/e_lgammal_r.c: Likewise.
89793 * math/e_rem_pio2l.c: Likewise.
89794 * math/e_scalb.c: Likewise.
89795 * math/e_scalbf.c: Likewise.
89796 * math/e_scalbl.c: Likewise.
89797 * math/k_cosl.c: Likewise.
89798 * math/k_sinl.c: Likewise.
89799 * math/k_tanl.c: Likewise.
89800 * math/s_cacoshf.c: Likewise.
89801 * math/s_catan.c: Likewise.
89802 * math/s_catanf.c: Likewise.
89803 * math/s_catanh.c: Likewise.
89804 * math/s_catanhf.c: Likewise.
89805 * math/s_catanhl.c: Likewise.
89806 * math/s_catanl.c: Likewise.
89807 * math/s_ccosh.c: Likewise.
89808 * math/s_ccoshf.c: Likewise.
89809 * math/s_ccoshl.c: Likewise.
89810 * math/s_cexp.c: Likewise.
89811 * math/s_cexpf.c: Likewise.
89812 * math/s_cexpl.c: Likewise.
89813 * math/s_clog.c: Likewise.
89814 * math/s_clog10.c: Likewise.
89815 * math/s_clog10f.c: Likewise.
89816 * math/s_clog10l.c: Likewise.
89817 * math/s_clogf.c: Likewise.
89818 * math/s_clogl.c: Likewise.
89819 * math/s_csin.c: Likewise.
89820 * math/s_csinf.c: Likewise.
89821 * math/s_csinh.c: Likewise.
89822 * math/s_csinhf.c: Likewise.
89823 * math/s_csinhl.c: Likewise.
89824 * math/s_csinl.c: Likewise.
89825 * math/s_csqrt.c: Likewise.
89826 * math/s_csqrtf.c: Likewise.
89827 * math/s_csqrtl.c: Likewise.
89828 * math/s_ctan.c: Likewise.
89829 * math/s_ctanf.c: Likewise.
89830 * math/s_ctanh.c: Likewise.
89831 * math/s_ctanhf.c: Likewise.
89832 * math/s_ctanhl.c: Likewise.
89833 * math/s_ctanl.c: Likewise.
89834 * math/s_ldexp.c: Likewise.
89835 * math/s_ldexpf.c: Likewise.
89836 * math/s_ldexpl.c: Likewise.
89837 * math/s_significand.c: Likewise.
89838 * math/s_significandf.c: Likewise.
89839 * math/s_significandl.c: Likewise.
89840 * math/w_acos.c: Likewise.
89841 * math/w_acosf.c: Likewise.
89842 * math/w_acosh.c: Likewise.
89843 * math/w_acoshf.c: Likewise.
89844 * math/w_acoshl.c: Likewise.
89845 * math/w_acosl.c: Likewise.
89846 * math/w_asin.c: Likewise.
89847 * math/w_asinf.c: Likewise.
89848 * math/w_asinl.c: Likewise.
89849 * math/w_atan2.c: Likewise.
89850 * math/w_atan2f.c: Likewise.
89851 * math/w_atan2l.c: Likewise.
89852 * math/w_atanh.c: Likewise.
89853 * math/w_atanhf.c: Likewise.
89854 * math/w_atanhl.c: Likewise.
89855 * math/w_cosh.c: Likewise.
89856 * math/w_coshf.c: Likewise.
89857 * math/w_coshl.c: Likewise.
89858 * math/w_dremf.c: Likewise.
89859 * math/w_exp10.c: Likewise.
89860 * math/w_exp10f.c: Likewise.
89861 * math/w_exp10l.c: Likewise.
89862 * math/w_exp2.c: Likewise.
89863 * math/w_exp2f.c: Likewise.
89864 * math/w_fmod.c: Likewise.
89865 * math/w_fmodf.c: Likewise.
89866 * math/w_fmodl.c: Likewise.
89867 * math/w_hypot.c: Likewise.
89868 * math/w_hypotf.c: Likewise.
89869 * math/w_hypotl.c: Likewise.
89870 * math/w_j0.c: Likewise.
89871 * math/w_j0f.c: Likewise.
89872 * math/w_j0l.c: Likewise.
89873 * math/w_j1.c: Likewise.
89874 * math/w_j1f.c: Likewise.
89875 * math/w_j1l.c: Likewise.
89876 * math/w_jn.c: Likewise.
89877 * math/w_jnf.c: Likewise.
89878 * math/w_jnl.c: Likewise.
89879 * math/w_lgamma.c: Likewise.
89880 * math/w_lgamma_r.c: Likewise.
89881 * math/w_lgammaf.c: Likewise.
89882 * math/w_lgammaf_r.c: Likewise.
89883 * math/w_lgammal.c: Likewise.
89884 * math/w_lgammal_r.c: Likewise.
89885 * math/w_log.c: Likewise.
89886 * math/w_log10.c: Likewise.
89887 * math/w_log10f.c: Likewise.
89888 * math/w_log10l.c: Likewise.
89889 * math/w_log2.c: Likewise.
89890 * math/w_log2f.c: Likewise.
89891 * math/w_log2l.c: Likewise.
89892 * math/w_logf.c: Likewise.
89893 * math/w_logl.c: Likewise.
89894 * math/w_pow.c: Likewise.
89895 * math/w_powf.c: Likewise.
89896 * math/w_powl.c: Likewise.
89897 * math/w_remainder.c: Likewise.
89898 * math/w_remainderf.c: Likewise.
89899 * math/w_remainderl.c: Likewise.
89900 * math/w_scalb.c: Likewise.
89901 * math/w_scalbf.c: Likewise.
89902 * math/w_scalbl.c: Likewise.
89903 * math/w_sinh.c: Likewise.
89904 * math/w_sinhf.c: Likewise.
89905 * math/w_sinhl.c: Likewise.
89906 * math/w_sqrt.c: Likewise.
89907 * math/w_sqrtf.c: Likewise.
89908 * math/w_sqrtl.c: Likewise.
89909 * math/w_tgamma.c: Likewise.
89910 * math/w_tgammaf.c: Likewise.
89911 * math/w_tgammal.c: Likewise.
89912
89913 * po/ja.po: Update from translation team.
89914
89915 2011-09-29 Andreas Jaeger <aj@suse.de>
89916
89917 [BZ #13179]
89918 * sunrpc/netname.c (netname2host): Fix logic.
89919
89920 [BZ #6779]
89921 [BZ #6783]
89922 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
89923 correctly.
89924 * math/w_remainder.c (__remainder): Likewise.
89925 * math/w_remainderf.c (__remainderf): Likewise.
89926 * math/libm-test.inc (remainder_test): Add test cases.
89927
89928 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
89929
89930 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
89931 sdiv_qrnnd.
89932
89933 2011-10-07 Ulrich Drepper <drepper@gmail.com>
89934
89935 * string/test-memcmp.c: Avoid unncessary #defines.
89936 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
89937
89938 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89939
89940 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
89941 Use new sse2 version for core i3 - i7 as it's faster
89942 than sse42 version.
89943 (bit_Prefer_PMINUB_for_stringop): New.
89944 * sysdeps/x86_64/rawmemchr.S: Update.
89945 Replace with faster SSE2 version.
89946 * sysdeps/x86_64/memrchr.S: New file.
89947 * sysdeps/x86_64/memchr.S: Update.
89948 Replace with faster SSE2 version.
89949
89950 2011-09-12 Marek Polacek <mpolacek@redhat.com>
89951
89952 * elf/dl-load.c (lose): Add cast to avoid warning.
89953
89954 2011-10-07 Ulrich Drepper <drepper@gmail.com>
89955
89956 * po/ca.po: Update from translation team.
89957
89958 * inet/getnetgrent_r.c: Hook up nscd.
89959 * nscd/Makefile (routines): Add nscd_netgroup.
89960 (nscd-modules): Add netgroupcache.
89961 (CFLAGS-netgroupcache.c): Define.
89962 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
89963 (cache_search): Add const to second parameter.
89964 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
89965 INNETGR.
89966 (dbs): Add netgrdb entry.
89967 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
89968 (verify_persistent_db): Handle netgrdb.
89969 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
89970 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
89971 GETFDNETGR.
89972 (netgroup_response_header): Define.
89973 (innetgroup_response_header): Define.
89974 (datahead): Add netgroup_response_header and innetgroup_response_header
89975 elements.
89976 * nscd/nscd.conf: Add entries for netgroup cache.
89977 * nscd/nscd.h (dbtype): Add netgrdb.
89978 (_PATH_NSCD_NETGROUP_DB): Define.
89979 (netgroup_iov_disabled): Declare.
89980 (xmalloc, xcalloc, xrealloc): Move declarations here.
89981 (cache_search): Adjust prototype.
89982 Add netgroup-related prototypes.
89983 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
89984 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
89985 (__nscd_innetgr): Declare.
89986 * nscd/selinux.c (perms): Use access_vector_t as element type and
89987 add netgroup-related initializers.
89988 * nscd/netgroupcache.c: New file.
89989 * nscd/nscd_netgroup.c: New file.
89990 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
89991 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
89992 For four parameters use innetgr.
89993 * nss/nss_files/files-init.c: Add definition and callback for netgr.
89994 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
89995 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
89996 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
89997
89998 * nscd/connections.c (register_traced_file): Don't register file
89999 for disabled databases.
90000
90001 2011-10-06 Ulrich Drepper <drepper@gmail.com>
90002
90003 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
90004
90005 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
90006 from tree and freeing node.
90007
90008 2011-09-25 Jiri Olsa <jolsa@redhat.com>
90009
90010 * nss/nsswitch.c (__nss_database_lookup): Handle
90011 nss_parse_service_list out of memory case.
90012
90013 2011-09-15 Jiri Olsa <jolsa@redhat.com>
90014
90015 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
90016 out of memory case.
90017
90018 2011-10-04 Andreas Schwab <schwab@redhat.com>
90019
90020 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
90021 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
90022 pass it down.
90023 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
90024 elf_machine_rela, elf_machine_lazy_rel.
90025 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
90026 (ELF_DYNAMIC_DO_REL): Likewise.
90027 (ELF_DYNAMIC_DO_RELA): Likewise.
90028 (ELF_DYNAMIC_RELOCATE): Likewise.
90029 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
90030 to ELF_DYNAMIC_DO_REL.
90031 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
90032 (dl_main): In trace mode always set __RTLD_NOIFUNC.
90033 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
90034 elf_machine_rela.
90035 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
90036 skip_ifunc, don't call ifunc function if non-zero.
90037 (elf_machine_rela): Likewise.
90038 (elf_machine_lazy_rel): Likewise.
90039 (elf_machine_lazy_rela): Likewise.
90040 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
90041 (elf_machine_lazy_rel): Likewise.
90042 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
90043 Likewise.
90044 (elf_machine_lazy_rel): Likewise.
90045 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
90046 Likewise.
90047 (elf_machine_lazy_rel): Likewise.
90048 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
90049 (elf_machine_lazy_rel): Likewise.
90050 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
90051 (elf_machine_lazy_rel): Likewise.
90052 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
90053 (elf_machine_lazy_rel): Likewise.
90054 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
90055 (elf_machine_lazy_rel): Likewise.
90056 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
90057 (elf_machine_lazy_rel): Likewise.
90058 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
90059 (elf_machine_lazy_rel): Likewise.
90060
90061 2011-09-28 Ulrich Drepper <drepper@gmail.com>
90062
90063 * nss/nss_files/files-init.c (_nss_files_init): Use static
90064 initialization for all the *_traced_file variables.
90065
90066 2011-09-28 Andreas Schwab <schwab@redhat.com>
90067
90068 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
90069
90070 2011-09-27 Roland McGrath <roland@hack.frob.com>
90071
90072 [BZ #13226]
90073 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
90074
90075 2011-09-27 Andreas Schwab <schwab@redhat.com>
90076
90077 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90078 Reread the line before reparsing it.
90079
90080 2011-09-26 Andreas Schwab <schwab@redhat.com>
90081
90082 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
90083
90084 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
90085 Maxim Kuvyrkov <maxim@codesourcery.com>
90086 Joseph Myers <joseph@codesourcery.com>
90087
90088 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
90089 if needed for __stack_chk_guard.
90090
90091 2011-09-19 Roland McGrath <roland@hack.frob.com>
90092
90093 * sysdeps/posix/spawni.c (script_execute): Always define it.
90094 It will be optimized away if unused.
90095 (maybe_script_execute): New function.
90096 (__spawni): Call it.
90097
90098 * Makerules: Don't include tls.make.
90099 (config-tls): Always set to thread.
90100 * tls.make.c: File removed.
90101
90102 2011-09-19 Mike Frysinger <vapier@gentoo.org>
90103
90104 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
90105 * config.make.in (CPPFLAGS-config): New substituted variable.
90106
90107 2011-09-15 Ulrich Drepper <drepper@gmail.com>
90108
90109 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
90110
90111 [BZ #13192]
90112 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
90113 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
90114
90115 2011-09-15 Roland McGrath <roland@hack.frob.com>
90116
90117 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
90118 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
90119 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
90120 (CALL_FAIL): Likewise.
90121 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
90122 (CALL_FAIL): Macro removed.
90123 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
90124
90125 2011-09-15 Ulrich Drepper <drepper@gmail.com>
90126
90127 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
90128 for __FINITE_MATH_ONLY__ == 1.
90129
90130 2011-09-15 Andreas Schwab <schwab@redhat.com>
90131
90132 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
90133 __ieee754_sqrt instead of sqrt.
90134 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
90135 __ieee754_sqrtf instead of sqrtf.
90136 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
90137 __floorf instead of floorf.
90138 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
90139 __floorf, __truncf instead of floorf, truncf.
90140
90141 2011-09-14 Ulrich Drepper <drepper@gmail.com>
90142
90143 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
90144
90145 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
90146 __extern_always_inline.
90147 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
90148 32-bit.
90149
90150 2011-09-14 Andreas Schwab <schwab@redhat.com>
90151
90152 * elf/rtld.c (dl_main): Also relocate in dependency order when
90153 doing symbol dependency testing.
90154
90155 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
90156
90157 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
90158 Always define `refsym'.
90159
90160 2011-09-13 Andreas Schwab <schwab@redhat.com>
90161
90162 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
90163 (__FD_ELT): Renamed from __FDELT.
90164 * misc/bits/select2.h (__FD_ELT): Likewise.
90165 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
90166 __FD_MASK instead of __FDELT, __FDMASK.
90167 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
90168 Likewise.
90169 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
90170 Likewise.
90171
90172 * elf/Makefile (gen-ldd): Fix pattern.
90173
90174 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
90175 (init_tls): Likewise.
90176
90177 2011-09-12 Ulrich Drepper <drepper@gmail.com>
90178
90179 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
90180
90181 2011-09-12 Andreas Schwab <schwab@redhat.com>
90182
90183 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
90184 `struct cmsghdr *' instead of `void *'.
90185 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
90186 Likewise.
90187
90188 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
90189
90190 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
90191 if non-absolute.
90192 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
90193 ldd_rewrite_script.
90194
90195 2011-09-11 Ulrich Drepper <drepper@gmail.com>
90196
90197 * configure.in: Remove --with-tls option.
90198 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
90199 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
90200 out in case it is missing.
90201 * sysdeps/ia64/elf/configure.in: Likewise.
90202 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
90203 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
90204 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
90205 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
90206 * sysdeps/sh/elf/configure.in: Likewise.
90207 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
90208 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
90209 * sysdeps/x86_64/elf/configure.in: Likewise.
90210 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
90211 * sysdeps/mach/hurd/tls.h: Likewise.
90212
90213 [BZ #13067]
90214 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
90215
90216 [BZ #13090]
90217 * configure.in: Fix use of AC_INIT.
90218
90219 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
90220
90221 2011-09-10 Ulrich Drepper <drepper@gmail.com>
90222
90223 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
90224 __set_errno.
90225 * malloc/hooks.c: Likewise.
90226
90227 [BZ #11929]
90228 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
90229 variables statically.
90230 (narenas): Initialize.
90231 (list_lock): Initialize.
90232 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
90233 initializtion of main_arena and list_lock. Small cleanups.
90234 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
90235 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
90236 Add initializers to main_arena and mp_.
90237 (malloc_state): Remove pagesize member. Change all users to use
90238 GLRO(dl_pagesize).
90239
90240 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
90241 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
90242 is always initialized.
90243
90244 * malloc/malloc.c: Removed unused configurations and dead code.
90245 * malloc/arena.c: Likewise.
90246 * malloc/hooks.c: Likewise.
90247 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
90248
90249 * include/tls.h: Removed. USE___THREAD must always be defined.
90250 * bits/libc-tsd.h: Don't handle !USE___THREAD.
90251 * elf/dl-libc.c: Likewise.
90252 * elf/dl-tsd.c: Likewise.
90253 * include/errno.h: Likewise.
90254 * include/netdb.h: Likewise.
90255 * include/resolv.h: Likewise.
90256 * inet/herrno-loc.c: Likewise.
90257 * inet/herrno.c: Likewise.
90258 * malloc/arena.c: Likewise.
90259 * malloc/hooks.c: Likewise.
90260 * malloc/malloc.c: Likewise.
90261 * resolv/res-state.c: Likewise.
90262 * resolv/res_libc.c: Likewise.
90263 * sysdeps/i386/dl-machine.h: Likewise.
90264 * sysdeps/ia64/dl-machine.h: Likewise.
90265 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
90266 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
90267 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
90268 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
90269 * sysdeps/sh/dl-machine.h: Likewise.
90270 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
90271 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
90272 * sysdeps/unix/i386/sysdep.S: Likewise.
90273 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
90274 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
90275 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
90276 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
90277 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
90278 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
90279 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
90280 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
90281 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
90282 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
90283 * sysdeps/unix/x86_64/sysdep.S: Likewise.
90284 * sysdeps/x86_64/dl-machine.h: Likewise.
90285 * tls.make.c: Likewise.
90286
90287 * configure.in: Remove --with-__thread option. Make tests for
90288 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
90289 tls_model attribute fail if no support is available. Remove
90290 USE_IN_LIBIO.
90291 * Makeconfig: Adjust for dropped configure option. All features are
90292 now mandatory.
90293 * Makerules: Likewise.
90294 * Versions.def: Likewise.
90295 * argp/argp-fmtstream.c: Likewise.
90296 * argp/argp-fmtstream.h: Likewise.
90297 * argp/argp-help.c: Likewise.
90298 * assert/assert.c: Likewise.
90299 * config.h.in: Likewise.
90300 * config.make.in: Likewise.
90301 * configure: Likewise.
90302 * configure.in: Likewise.
90303 * csu/Versions: Likewise.
90304 * csu/init.c: Likewise.
90305 * elf/tst-audit2.c: Likewise.
90306 * elf/tst-tls10.c: Likewise.
90307 * elf/tst-tls10.h: Likewise.
90308 * elf/tst-tls11.c: Likewise.
90309 * elf/tst-tls12.c: Likewise.
90310 * elf/tst-tls14.c: Likewise.
90311 * elf/tst-tlsmod11.c: Likewise.
90312 * elf/tst-tlsmod12.c: Likewise.
90313 * elf/tst-tlsmod13.c: Likewise.
90314 * elf/tst-tlsmod13a.c: Likewise.
90315 * elf/tst-tlsmod14a.c: Likewise.
90316 * elf/tst-tlsmod15b.c: Likewise.
90317 * elf/tst-tlsmod16a.c: Likewise.
90318 * elf/tst-tlsmod16b.c: Likewise.
90319 * elf/tst-tlsmod7.c: Likewise.
90320 * elf/tst-tlsmod8.c: Likewise.
90321 * elf/tst-tlsmod9.c: Likewise.
90322 * gmon/gmon.c: Likewise.
90323 * grp/fgetgrent_r.c: Likewise.
90324 * grp/putgrent.c: Likewise.
90325 * hurd/fopenport.c: Likewise.
90326 * include/libc-symbols.h: Likewise.
90327 * include/tls.h: Likewise.
90328 * intl/gettextP.h: Likewise.
90329 * intl/loadinfo.h: Likewise.
90330 * locale/global-locale.c: Likewise.
90331 * locale/localeinfo.h: Likewise.
90332 * mach/devstream.c: Likewise.
90333 * malloc/arena.c: Likewise.
90334 * malloc/set-freeres.c: Likewise.
90335 * misc/err.c: Likewise.
90336 * misc/getttyent.c: Likewise.
90337 * misc/mntent_r.c: Likewise.
90338 * posix/getopt.c: Likewise.
90339 * posix/wordexp.c: Likewise.
90340 * pwd/fgetpwent_r.c: Likewise.
90341 * resolv/Versions: Likewise.
90342 * resolv/res_hconf.c: Likewise.
90343 * shadow/fgetspent_r.c: Likewise.
90344 * shadow/putspent.c: Likewise.
90345 * stdio-common/printf_fphex.c: Likewise.
90346 * stdio-common/tmpfile.c: Likewise.
90347 * stdlib/abort.c: Likewise.
90348 * stdlib/fmtmsg.c: Likewise.
90349 * sunrpc/auth_unix.c: Likewise.
90350 * sunrpc/clnt_perr.c: Likewise.
90351 * sunrpc/clnt_tcp.c: Likewise.
90352 * sunrpc/clnt_udp.c: Likewise.
90353 * sunrpc/clnt_unix.c: Likewise.
90354 * sunrpc/openchild.c: Likewise.
90355 * sunrpc/svc_simple.c: Likewise.
90356 * sunrpc/svc_tcp.c: Likewise.
90357 * sunrpc/svc_udp.c: Likewise.
90358 * sunrpc/svc_unix.c: Likewise.
90359 * sunrpc/xdr.c: Likewise.
90360 * sunrpc/xdr_array.c: Likewise.
90361 * sunrpc/xdr_rec.c: Likewise.
90362 * sunrpc/xdr_ref.c: Likewise.
90363 * sunrpc/xdr_stdio.c: Likewise.
90364
90365 2011-09-09 Ulrich Drepper <drepper@gmail.com>
90366
90367 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
90368
90369 2011-07-03 Andreas Jaeger <aj@suse.de>
90370
90371 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
90372 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
90373 regenerate with gen-libm-tests.pl.
90374
90375 2010-05-12 Petr Baudis <pasky@suse.cz>
90376
90377 [BZ #11589]
90378 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
90379 around j0() zero points by switching to j1().
90380 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
90381 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
90382 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
90383 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
90384
90385 2011-09-09 Ulrich Drepper <drepper@gmail.com>
90386
90387 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
90388 instead of 0.
90389 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
90390 instead of 0.
90391 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
90392 Patch in part by Pavel Roskin <proski@gnu.org>.
90393
90394 [BZ #13138]
90395 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
90396 realloc.
90397 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
90398 Free memory block if necessary.
90399
90400 [BZ #12847]
90401 * libio/genops.c (INTDEF): For string streams the _lock pointer can
90402 be NULL. Don't lock in this case.
90403
90404 2011-09-09 Roland McGrath <roland@hack.frob.com>
90405
90406 * elf/elf.h (ELFOSABI_GNU): New macro.
90407 (ELFOSABI_LINUX): Define to that.
90408
90409 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
90410
90411 * string/strncat.c (strncat): Undef the symbol in case it has been
90412 defined in bits/string.h.
90413
90414 2011-09-09 Ulrich Drepper <drepper@gmail.com>
90415
90416 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
90417
90418 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
90419 link map.
90420
90421 2011-08-17 Andreas Jaeger <aj@suse.de>
90422
90423 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
90424
90425 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
90426 Ian Lance Taylor <iant@google.com>
90427
90428 * math/libm-test.inc (lround_test): New testcase.
90429 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
90430
90431 2011-09-08 Ulrich Drepper <drepper@gmail.com>
90432
90433 * Makefile: Remove support for automatic cvs check-ins.
90434 * Makerules: Likewise.
90435 * config.make.in: Likewise.
90436 * configure.in: Likewise.
90437 * intl/Makefile: Likewise.
90438 * locale/Makefile: Likewise.
90439 * po/Makefile: Likewise.
90440 * posix/Makefile: Likewise.
90441 * sysdeps/gnu/Makefile: Likewise.
90442 * sysdeps/mach/hurd/Makefile: Likewise.
90443 * sysdeps/sparc/sparc32/Makefile: Likewise.
90444
90445 [BZ #13118]
90446 * posix/Makefile (bug-regex32-ENV): Define.
90447 Patch by John Stanley <jpsinthemix@verizon.net>.
90448
90449 * misc/Makefile (headers): Add bits/select2.h.
90450 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
90451 * misc/bits/select2.h: New file.
90452 * include/bits/select2.h: New file.
90453 * debug/Makefile (routines): Add fdelt_chk.
90454 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
90455 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
90456 FD_ISSET.
90457 * debug/fdelt_chk.c: New file.
90458
90459 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
90460 * wcsmbs/test-wmemcmp.c: Likewise.
90461 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
90462 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
90463
90464 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90465
90466 * string/Makefile (strop-tests): Add memcmp.
90467 * string/test-wmemcmp.c: New file.
90468 * string/test-memcmp.c: Add wmemcmp support.
90469
90470 2011-09-08 Roland McGrath <roland@hack.frob.com>
90471
90472 [BZ #13153]
90473 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
90474 2011-07-19 change.
90475
90476 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
90477 garbage value in a __mach_port_mod_refs call in the cases of the
90478 task-self and thread-self ports.
90479
90480 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
90481
90482 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
90483
90484 2011-09-08 Andreas Schwab <schwab@redhat.com>
90485
90486 * elf/dl-load.c (lose): Check for non-null L.
90487
90488 2011-09-07 Ulrich Drepper <drepper@gmail.com>
90489
90490 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
90491
90492 * elf/dl-libc.c (dlerror_run): Pass back error code from
90493 dl_catch_error.
90494
90495 [BZ #13123]
90496 * elf/dl-load.c (lose): Free l_origin if it is valid.
90497
90498 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
90499 names.
90500 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
90501 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
90502 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
90503 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
90504 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
90505 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
90506
90507 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
90508
90509 * sysdeps/powerpc/fpu/e_hypot.c: New file.
90510 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
90511 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
90512 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
90513 * sysdeps/powerpc/fpu/k_cosf.c: New file.
90514 * sysdeps/powerpc/fpu/k_sinf.c: New file.
90515 * sysdeps/powerpc/fpu/s_cosf.c: New file.
90516 * sysdeps/powerpc/fpu/s_sinf.c: New file.
90517 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
90518 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
90519
90520 2011-08-15 Alan Modra <amodra@gmail.com>
90521
90522 [BZ #13092]
90523 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
90524 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
90525 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
90526 ppc_mcount to static-only-routines.
90527 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
90528 __mcount_internal.
90529 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
90530 __mcount_internal with usual JUMPTARGET. Remove useless nop.
90531
90532 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
90533
90534 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
90535 for finite and infinity parameters.
90536
90537 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
90538
90539 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
90540 and add nop instructions for throughput optimization.
90541 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
90542
90543 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
90544
90545 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
90546 aligned copy for power7 with vector-scalar instructions.
90547 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
90548
90549 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
90550
90551 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
90552 AVX check.
90553
90554 2011-09-07 Andreas Schwab <schwab@redhat.com>
90555
90556 [BZ #13144]
90557 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
90558 last change.
90559
90560 2011-09-07 Ulrich Drepper <drepper@gmail.com>
90561
90562 * sysdeps/unix/sysv/linux/x86_64/init-first.c
90563 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
90564 syscall wrapper around clock_gettime in __vdso_clock_gettime.
90565 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
90566 clock_gettime.
90567
90568 2011-09-06 Ulrich Drepper <drepper@gmail.com>
90569
90570 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
90571 Forgot to demangle the pointer.
90572
90573 * sysdeps/i386/sysdep.h: Define atom_text_section.
90574 * sysdeps/x86_64/sysdep.h: Likewise.
90575 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
90576 section with atom_text_section.
90577 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
90578 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
90579 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
90580 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
90581 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
90582
90583 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
90584 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
90585 already be defined. Change to take two parameters and don't assign
90586 result to variable. Adjust all users.
90587 Define INTERNAL_GETTIME if not already defined.
90588 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
90589 call.
90590 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
90591 HAVE_CLOCK_GETTIME_VSYSCALL.
90592 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
90593
90594 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
90595 gettimeofday vsyscall, just use time.
90596
90597 2011-09-06 Andreas Schwab <schwab@redhat.com>
90598
90599 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
90600 <errno.h>.
90601
90602 2011-09-06 Ulrich Drepper <drepper@gmail.com>
90603
90604 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
90605 syscall on x86-64.
90606 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
90607 syscall.
90608 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
90609 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
90610 syscall if possible.
90611
90612 2011-09-05 Ulrich Drepper <drepper@gmail.com>
90613
90614 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
90615 e_ident. Don't pass to find_mapsXX.
90616 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
90617
90618 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
90619
90620 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90621 strchr-sse2-no-bsf strrchr-sse2-no-bsf
90622 * sysdeps/x86_64/multiarch/strchr.S: Update.
90623 Check bit_slow_BSF bit.
90624 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
90625 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
90626 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
90627
90628 2011-09-05 Ulrich Drepper <drepper@gmail.com>
90629
90630 [BZ #13134]
90631 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
90632 before glibc 2.15.
90633 (tryshell): Define.
90634 (__spawni): Change last parameter to be flag. Test
90635 SPAWN_XFLAGS_USE_PATH flag to use path or not.
90636 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
90637 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
90638 * posix/spawni.c: Likewise.
90639 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
90640 * posix/spawnp.c: Likewise. Change normal version to use
90641 SPAWN_XFLAGS_USE_PATH.
90642 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
90643 SPAWN_XFLAGS_TRY_SHELL.
90644
90645 [BZ #13150]
90646 * posix/glob.h: Remove gcc 1.x support.
90647
90648 [BZ #13068]
90649 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
90650
90651 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
90652
90653 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90654 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
90655 strrchr-sse2-bsf
90656 * sysdeps/i386/i686/multiarch/strchr.S: New file.
90657 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
90658 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
90659 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
90660 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
90661 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
90662
90663 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90664
90665 * sysdeps/x86_64/wcscmp.S: New file.
90666
90667 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
90668 wcscmp-c wcscmp-sse2
90669 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
90670 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
90671 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
90672 * wcsmbs/wcscmp.c: Allow renaming.
90673
90674 2011-09-05 David S. Miller <davem@davemloft.net>
90675
90676 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
90677 stack slot, rather than the struct return pointer slot.
90678 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
90679 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
90680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
90681 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
90682
90683 2011-09-05 Ulrich Drepper <drepper@gmail.com>
90684
90685 * po/ja.po: Update from translation team.
90686
90687 [BZ #13144]
90688 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
90689 kernel in 64-bit binaries.
90690
90691 2011-09-01 David S. Miller <davem@davemloft.net>
90692
90693 * elf/elf.h (HWCAP_SPARC_*): Move to..
90694 * sysdeps/sparc/sysdep.h: this new file and add new values.
90695 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
90696 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
90697 _DL_HWCAP_COUNT to 24.
90698 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
90699 entries.
90700 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
90701 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
90702 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
90703 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
90704 instead of magic constants.
90705 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
90706
90707 2011-08-31 David S. Miller <davem@davemloft.net>
90708
90709 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
90710 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
90711 Reimplement to do errno handling inline.
90712 (SYSCALL_ERROR_HANDLER): New macro.
90713 (__SYSCALL_STRING): Do not do errno handling in asm.
90714 (__CLONE_SYSCALL_STRING): Delete.
90715 (__INTERNAL_SYSCALL_STRING): Delete.
90716 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
90717 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
90718 (PSEUDO): Reimplement to do errno handling inline.
90719 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
90720 (SYSCALL_ERROR_HANDLER): New macro.
90721 (__SYSCALL_STRING): Do not do errno handling in asm.
90722 (__CLONE_SYSCALL_STRING): Delete.
90723 (__INTERNAL_SYSCALL_STRING): Delete.
90724 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
90725 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
90726 i386.
90727 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
90728 (inline_syscall*): Add 'err' argument.
90729 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
90730 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
90731 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
90732 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
90733
90734 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
90735 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
90736
90737 2011-08-30 Andreas Schwab <schwab@redhat.com>
90738
90739 * elf/rtld.c (dl_main): Relocate objects in dependency order.
90740
90741 2011-08-29 Jiri Olsa <jolsa@redhat.com>
90742
90743 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
90744 directive.
90745
90746 2011-08-24 David S. Miller <davem@davemloft.net>
90747
90748 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
90749
90750 2011-08-24 Andreas Schwab <schwab@redhat.com>
90751
90752 * elf/Makefile: Add rules to build and run unload8 test.
90753 * elf/unload8.c: New file.
90754 * elf/unload8mod1.c: New file.
90755 * elf/unload8mod1x.c: New file.
90756 * elf/unload8mod2.c: New file.
90757 * elf/unload8mod3.c: New file.
90758
90759 * elf/dl-close.c (_dl_close_worker): Reset private search list if
90760 it wasn't used.
90761
90762 2011-08-23 David S. Miller <davem@davemloft.net>
90763
90764 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
90765 subtract stack bias.
90766 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
90767 %sp not %fp in calculations.
90768 (_JMPBUF_UNWINDS_ADJ): Likewise.
90769
90770 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
90771 (aio_suspend): Call it to force an exception region around the
90772 AIO_MISC_WAIT() invocation.
90773
90774 2011-08-23 Andreas Schwab <schwab@redhat.com>
90775
90776 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
90777 backslash.
90778
90779 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
90780
90781 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
90782 protection macro.
90783 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
90784 and <dl-machine.h>.
90785 (Elf64_FuncDesc): Remove.
90786
90787 2011-08-22 David S. Miller <davem@davemloft.net>
90788
90789 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
90790 sigaltstack check, add missing cfi directives.
90791 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
90792 missing cfi directives, and sigaltstack handling.
90793
90794 2011-08-16 Andreas Schwab <schwab@redhat.com>
90795
90796 [BZ #11724]
90797 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
90798 object is seen twice.
90799 * elf/dl-fini.c (_dl_sort_fini): Likewise.
90800
90801 * elf/Makefile (distribute): Add tst-initorder2.c.
90802 (tests): Add tst-initorder2.
90803 (modules-names): Add tst-initorder2a tst-initorder2b
90804 tst-initorder2c tst-initorder2d. Add rules to build them.
90805 ($(objpfx)tst-initorder2.out): New rule.
90806 * elf/tst-initorder2.c: New file.
90807 * elf/tst-initorder2.exp: New file.
90808
90809 2011-08-22 Andreas Schwab <schwab@redhat.com>
90810
90811 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
90812
90813 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
90814 dependencies back to end of function.
90815
90816 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
90817 $(elfobjdir)/ld.so.
90818
90819 2011-08-21 Ulrich Drepper <drepper@gmail.com>
90820
90821 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
90822 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
90823 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
90824 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
90825 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
90826 of __vdso_gettimeofday.
90827 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
90828 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
90829 attribute_hidden.
90830 (_libc_vdso_platform_setup): Remove initialization of
90831 __vdso_gettimeofday and __vdso_time.
90832
90833 2011-08-20 Ulrich Drepper <drepper@gmail.com>
90834
90835 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
90836 and fgetc_unlocked.
90837 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
90838 getc_unlocked.
90839
90840 * elf/dl-open.c (add_to_global): Report additions to the global scope
90841 for LD_DEBUG=scopes.
90842 (dl_open_worker): Also print scope of newly loaded dependencies.
90843 (_dl_show_scope): Indicate if there is no scope.
90844
90845 [BZ #13114]
90846 * stdio-common/Makefile (tests): Add bug24.
90847 * stdio-common/bug24.c: New file.
90848
90849 2011-08-19 Andreas Jaeger <aj@suse.de>
90850
90851 [BZ #13114]
90852 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
90853 non-existant file when using close-on-exec mode.
90854
90855 2011-08-20 Ulrich Drepper <drepper@gmail.com>
90856
90857 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
90858 the very first instruction.
90859
90860 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
90861 the CFI state in the end.
90862 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
90863 inclusion of dl-trampoline.h.
90864 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
90865
90866 2011-08-19 Andreas Schwab <schwab@redhat.com>
90867
90868 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
90869 expectations for long double.
90870
90871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
90872 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
90873
90874 2011-08-14 David S. Miller <davem@davemloft.net>
90875
90876 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
90877 artificual limit depends upon the system page size.
90878
90879 2011-08-17 Ulrich Drepper <drepper@gmail.com>
90880
90881 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
90882 * resolv/Makefile: Define CFLAGS-libresolv.
90883
90884 2011-08-17 Andreas Schwab <schwab@redhat.com>
90885
90886 * nss/makedb.c (compute_tables): Make variables used in nested
90887 function static.
90888
90889 2011-08-17 Ulrich Drepper <drepper@gmail.com>
90890
90891 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
90892 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
90893 if buffer was too small.
90894
90895 * elf/pldd.c (main): Attach to all threads in the process.
90896 Rewrite /proc handling to use *at functions.
90897
90898 2011-08-16 Ulrich Drepper <drepper@gmail.com>
90899
90900 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
90901 specifies first scope to show.
90902 (dl_open_worker): Update callers. Move printing scope of new
90903 object to before the relocation.
90904 * elf/rtld.c (dl_main): Update _dl_show_scope call.
90905 * sysdeps/generic/ldsodefs.h: Update declaration.
90906
90907 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
90908 string for the scope number.
90909
90910 2011-08-14 Ulrich Drepper <drepper@gmail.com>
90911
90912 * nscd/servicescache.c (cache_addserv): Make sure written is always
90913 initialized.
90914
90915 2011-08-14 Roland McGrath <roland@hack.frob.com>
90916
90917 * sysdeps/i386/i486/bits/atomic.h
90918 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
90919 statement expression, so as to suppress "set but not used" warning.
90920 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
90921
90922 * string/strncat.c (STRNCAT): Use prototype definition.
90923
90924 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
90925 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
90926 -Iprograms here.
90927 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
90928 (localedef-modules): Add localedef.
90929 (locale-modules): Add locale.
90930
90931 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
90932 * elf/rtld.c (dl_main): Invert order of assignment in last change,
90933 to avoid a warning.
90934
90935 2011-08-14 David S. Miller <davem@davemloft.net>
90936
90937 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
90938 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
90939
90940 2011-08-13 Ulrich Drepper <drepper@gmail.com>
90941
90942 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
90943 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
90944 * elf/rtld.c (dl_main): Set l_name of vDSO.
90945 Call _dl_show_scope when DL_DEBUG_SCOPES.
90946 (process_dl_debug): Recognize scopes flag and also set it for all.
90947 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
90948 Declare _dl_show_scope.
90949
90950 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
90951 (do_dlopen): Pass caller_dlopen to dl_open.
90952 (__libc_dlopen_mode): Initialize caller_dlopen.
90953
90954 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
90955 of libc. Make tolower call locale-independent. Optimize a bit by
90956 using isdigit instead of isalnum.
90957 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
90958
90959 2011-08-12 Ulrich Drepper <drepper@gmail.com>
90960
90961 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
90962 was a dependency or dynamically loaded.
90963
90964 2011-08-11 Ulrich Drepper <drepper@gmail.com>
90965
90966 * intl/l10nflist.c: Allow architecture-specific pop function.
90967 * sysdeps/x86_64/l10nflist.c: New file.
90968
90969 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
90970 classification.
90971
90972 2011-08-10 Andreas Schwab <schwab@redhat.com>
90973
90974 * include/dirent.h: Add libc_hidden_proto for scandirat and
90975 scandirat64. Don't declare __scandirat64.
90976 * dirent/scandirat.c: Add libc_hidden_def.
90977 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
90978 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
90979
90980 2011-08-10 David S. Miller <davem@davemloft.net>
90981
90982 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
90983 enum.
90984 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
90985 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
90986 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
90987
90988 2011-08-09 Ulrich Drepper <drepper@gmail.com>
90989
90990 * Versions.def [libc]: Add GLIBC_2.15.
90991 * dirent/Makefile (routines): Add scandirat and scandirat64.
90992 * dirent/Versions [libc]: Export scandirat and scandirat64 for
90993 GLIBC_2.15.
90994 * dirent/dirent.h: Declare scandirat and scandirat64.
90995 * dirent/scandirat.c: New file.
90996 * dirent/scandirat64.c: New file.
90997 * sysdeps/wordsize-64/scandirat.c: New file.
90998 * sysdeps/wordsize-64/scandirat64.c: New file.
90999 * dirent/opendir.c: Define opendirat.
91000 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
91001 using scandirat.
91002 * dirent/scandir64.c: Adjust for scandir.c change.
91003 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
91004 __scandirat64, and __scandir_cancel_handler.
91005 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
91006 additional parameter and use openat instead of open (outside of ld.so).
91007 Add new __opendir as wrapper around __opendirat.
91008 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
91009 here without requiring old scandirat implementation.
91010
91011 2011-08-08 Ulrich Drepper <drepper@gmail.com>
91012
91013 * dirent/scandir.c (cancel_handler): Renamed to
91014 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
91015 defined. Adjust users.
91016 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
91017 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
91018
91019 2011-08-04 Ulrich Drepper <drepper@gmail.com>
91020
91021 * string/test-string.h (IMPL): Use __STRING to expand name and then
91022 stringify it.
91023
91024 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
91025 of cleanups.
91026
91027 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91028
91029 * string/Makefile: Update.
91030 (strop-tests): Append strncat.
91031 * string/test-wcscmp.c: New file.
91032 New comprehensive test for wcscmp.
91033 * string/test-strcmp.c: Update.
91034 (WIDE): New define.
91035
91036 2011-07-22 Andreas Schwab <schwab@redhat.com>
91037
91038 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
91039 line.
91040
91041 2011-07-26 Andreas Schwab <schwab@redhat.com>
91042
91043 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
91044 encoding to ACE if AI_IDN.
91045
91046 2011-08-01 Jakub Jelinek <jakub@redhat.com>
91047
91048 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
91049 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
91050
91051 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
91052
91053 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
91054 Fix overflow bug in strncat.
91055 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
91056
91057 * string/test-strncat.c: Update.
91058 Add new tests for checking overflow bugs.
91059
91060 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
91061
91062 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91063 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
91064 * sysdeps/i386/i686/multiarch/strcat.S: New file.
91065 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
91066 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
91067 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
91068 * sysdeps/i386/i686/multiarch/strncat.S: New file.
91069 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
91070 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
91071
91072 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
91073 (USE_AS_STRCAT): Define.
91074 Add strcat and strncat support.
91075 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
91076
91077 2011-07-25 Andreas Schwab <schwab@redhat.com>
91078
91079 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
91080 __n bigger than INT_MAX+1.
91081 (__strncmp_g): Likewise.
91082
91083 2011-07-23 Ulrich Drepper <drepper@gmail.com>
91084
91085 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
91086 * libio/stido.h: Likewise.
91087
91088 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
91089 (AF_NFC): Define.
91090 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
91091 (AF_NFC): Define.
91092
91093 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
91094 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
91095 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
91096 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
91097 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
91098
91099 [BZ #13021]
91100 * scripts/test-installation.pl: Don't expect libnss_test1 to be
91101 installed.
91102
91103 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
91104 typo.
91105 (_dl_x86_64_save_sse): Likewise.
91106
91107 2011-07-22 Ulrich Drepper <drepper@gmail.com>
91108
91109 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
91110 OSXSAVE.
91111 (_dl_x86_64_save_sse): Likewise.
91112
91113 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
91114
91115 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
91116
91117 2011-07-21 Andreas Schwab <schwab@redhat.com>
91118
91119 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
91120 change.
91121 (_dl_x86_64_save_sse): Use correct AVX check.
91122
91123 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91124
91125 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
91126 bug in strncpy/strncat.
91127 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
91128
91129 2011-07-21 Ulrich Drepper <drepper@gmail.com>
91130
91131 * string/tester.c (test_strcat): Add tests for different alignments
91132 of source and destination.
91133 (test_strncat): Likewise.
91134
91135 2011-07-20 Ulrich Drepper <drepper@gmail.com>
91136
91137 [BZ #12852]
91138 * posix/glob.c (glob): Check passed in values before using them in
91139 expressions to avoid some overflows.
91140 (glob_in_dir): Likewise.
91141
91142 [BZ #13007]
91143 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
91144 check for AVX enablement so that we don't crash with old kernels and
91145 new hardware.
91146 * elf/tst-audit4.c: Add same checks here.
91147 * elf/tst-audit6.c: Likewise.
91148
91149 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
91150
91151 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
91152
91153 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
91154
91155 2011-07-20 Ulrich Drepper <drepper@gmail.com>
91156
91157 * po/cs.po: Update from translation team.
91158 * po/bg.po: Likewise.
91159
91160 2011-07-12 Marek Polacek <mpolacek@redhat.com>
91161
91162 * misc/sys/cdefs.h: Add support for const attribute.
91163 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
91164 to gnu_dev_{major,minor,makedev} functions.
91165
91166 2011-07-20 Marek Polacek <mpolacek@redhat.com>
91167
91168 * intl/dcigettext.c (get_output_charset): Add missing bracket.
91169
91170 2011-07-20 Andreas Schwab <schwab@redhat.com>
91171
91172 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
91173 strlen results.
91174
91175 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
91176
91177 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
91178 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
91179 register in order to avoid conflicts with the soft frame pointer
91180 being held in r11 when necessary.
91181 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
91182 (INTERNAL_VSYSCALL_NCS): Likewise.
91183
91184 2011-07-14 Marek Polacek <mpolacek@redhat.com>
91185
91186 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
91187 * elf/dl-fini.c (_dl_fini): Adjust caller.
91188 * elf/dl-close.c (_dl_close_worker): Likewise.
91189 * sysdeps/generic/ldsodefs.h: Adjust declaration.
91190
91191 2011-07-15 Marek Polacek <mpolacek@redhat.com>
91192
91193 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
91194 "aux_cache->nlibs < 0".
91195
91196 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
91197 in the reload-count case.
91198
91199 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
91200
91201 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91202 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
91203 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
91204 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
91205 * sysdeps/x86_64/multiarch/strcat.S: New file.
91206 * sysdeps/x86_64/multiarch/strncat.S: New file.
91207 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
91208 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
91209 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
91210 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
91211 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
91212 (USE_AS_STRCAT): Define.
91213 Add strcat and strncat support.
91214 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
91215 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
91216 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
91217 * string/strncat.c: Update.
91218 (USE_AS_STRNCAT): Define.
91219 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91220 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
91221 and i7.
91222 * sysdeps/x86_64/multiarch/init-arch.h
91223 (bit_Prefer_PMINUB_for_stringop): New.
91224 (index_Prefer_PMINUB_for_stringop): Likewise.
91225 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
91226 bit_Prefer_PMINUB_for_stringop.
91227
91228 2011-07-19 Ulrich Drepper <drepper@gmail.com>
91229
91230 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
91231 buffer64.
91232 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
91233 of casting of buffer.
91234 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
91235 buffer32 and buffer64.
91236 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
91237 writes instead of casting of buffer.
91238 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
91239 buffer32.
91240 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
91241 casting of buffer.
91242
91243 2011-07-19 Andreas Schwab <schwab@redhat.com>
91244
91245 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
91246
91247 2011-07-19 Ulrich Drepper <drepper@gmail.com>
91248
91249 * nscd/nscd.c (termination_handler): Don't do anything for a database
91250 if it has not yet been initialized.
91251
91252 2011-07-18 Ulrich Drepper <drepper@gmail.com>
91253
91254 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
91255
91256 2011-07-15 Marek Polacek <mpolacek@redhat.com>
91257
91258 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
91259
91260 2011-07-18 Ulrich Drepper <drepper@gmail.com>
91261
91262 * po/nl.po: Update from translation team.
91263 * po/sv.po: Likewise.
91264
91265 2011-07-16 Roland McGrath <roland@hack.frob.com>
91266
91267 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
91268 now disallowed by GCC.
91269
91270 * configure.in (use-default-link): Default to yes if a test -shared
91271 link meets our qualifications.
91272 * configure: Regenerated.
91273
91274 * config.make.in (output-format): New variable.
91275 * configure.in: Check for ld --print-output-format support.
91276 * configure: Regenerated.
91277 * Makerules ($(common-objpfx)format.lds)
91278 [$(output-format) != unknown]: Just use $(output-format),
91279 instead of the linker-script munging.
91280
91281 2011-07-14 Roland McGrath <roland@hack.frob.com>
91282
91283 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
91284 of $(common-objpfx)shlib.lds.
91285 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
91286
91287 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
91288 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
91289
91290 * configure.in (-z relro check): Adjust test code to add a large
91291 writable data section after it.
91292 * configure: Regenerated.
91293
91294 2011-07-11 Roland McGrath <roland@hack.frob.com>
91295
91296 * configure.in (-z relro check): Fix test code to make the variable
91297 truly const.
91298 * configure: Regenerated.
91299
91300 2011-07-11 Ulrich Drepper <drepper@gmail.com>
91301
91302 * nscd/nscd.h (struct traced_file): Define.
91303 (struct database_dyn): Remove inotify_descr, reset_res, and filename
91304 elements. Add traced_files.
91305 (inotify_fd): Declare.
91306 (register_traced_file): Declare.
91307 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
91308 (inotify_fd): Export.
91309 (resolv_conf_descr): Remove.
91310 (nscd_init): Move inotify descriptor creation to main.
91311 Don't register files for notification here.
91312 (register_traced_file): New function.
91313 (invalidate_cache): Don't use reset_res to determine whether to call
91314 res_init, go through the list of registered files.
91315 (main_loop_poll): The inotify descriptors are now stored in the
91316 structures for the traced files.
91317 (main_loop_epoll): Likewise.
91318 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
91319 to __nss_disable_nscd.
91320 * nscd/cache.c (prune_cache): There is no single inotify descriptor
91321 for a database anymore. Check the records for all the registered
91322 files instead.
91323 * nss/Makefile (libnss_files-routines): Add files-init.
91324 (libnss_db-routines): Add db-init.
91325 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
91326 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
91327 * nss/nss_db/db-init.c: New file.
91328 * nss/nss_files/files-init.c: New file.
91329 * nss/nsswitch.c (nss_load_library): New function. Broken out of
91330 __nss_lookup_function.
91331 (__nss_lookup_function): Call nss_load_library.
91332 (nss_load_all_libraries): New function.
91333 (__nss_disable_nscd): Take parameter with callback function for files
91334 to register. Set is_nscd. Load all the DSOs for the NSS modules
91335 used for the cached services.
91336 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
91337 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
91338 options for features to all the files in nscd.
91339
91340 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
91341
91342 2011-07-10 Roland McGrath <roland@hack.frob.com>
91343
91344 * csu/elf-init.c (__libc_csu_init): Comment typo.
91345
91346 2011-07-09 Ulrich Drepper <drepper@gmail.com>
91347
91348 * po/pl.po: Update from translation team.
91349 * po/ja.po: Likewise.
91350 * po/ru.po: Likewise.
91351 * po/ko.po: Likewise.
91352 * po/fr.po: Likewise.
91353
91354 2011-07-09 Roland McGrath <roland@hack.frob.com>
91355
91356 * configure.in (.ctors/.dtors header and trailer check):
91357 Use an empirical test on a built program.
91358 * configure: Regenerated.
91359
91360 * configure.in (-z relro check): Use an empirical test on a built DSO.
91361 Detect, but do not require, on ia64.
91362 * configure: Regenerated.
91363
91364 * configure.in (READELF): Find it with AC_CHECK_TOOL.
91365 Update tests that use readelf to use $READELF instead.
91366 * configure: Regenerated.
91367
91368 2011-07-08 Ulrich Drepper <drepper@gmail.com>
91369
91370 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
91371 if the result is not used.
91372
91373 2011-07-05 Andreas Jaeger <aj@suse.de>
91374
91375 [BZ #9696]
91376 * stdlib/tst-strtod.c: Add testcase.
91377
91378 2011-07-07 Ulrich Drepper <drepper@gmail.com>
91379
91380 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
91381 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
91382 The latter has a higher limit. Take additional parameter to pass to
91383 the new function.
91384 (__pathconf): Pass file to __statfs_link_max.
91385 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
91386 __statfs_link_max.
91387 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
91388 __statfs_link_max.
91389
91390 [BZ #12868]
91391 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
91392 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
91393 Handle Lustre.
91394 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
91395 (__statfs_filesize_max): Likewise.
91396 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
91397
91398 2011-07-05 Andreas Jaeger <aj@suse.de>
91399
91400 * resolv/res_comp.c (dn_skipname): Remove unused variable.
91401
91402 2011-07-06 Marek Polacek <mpolacek@redhat.com>
91403
91404 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
91405 `status' variable.
91406 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
91407 Likewise.
91408
91409 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
91410
91411 * Makefile (strop-tests): Add strncat.
91412 * string/test-strncat.c: New file.
91413
91414 2011-06-30 Marek Polacek <mpolacek@redhat.com>
91415
91416 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
91417
91418 2011-06-21 Andreas Jaeger <aj@suse.de>
91419
91420 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
91421 Copy rule from iconvdata/Makefile.
91422
91423 2011-07-06 Ulrich Drepper <drepper@gmail.com>
91424
91425 [BZ #12922]
91426 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
91427 but no long options are defined, just return 'W'.
91428
91429 2011-06-22 Marek Polacek <mpolacek@redhat.com>
91430
91431 [BZ #9696]
91432 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
91433
91434 2011-07-06 Ulrich Drepper <drepper@gmail.com>
91435
91436 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
91437 netgroups to read.
91438 (innetgr): Likewise.
91439
91440 2011-07-05 Roland McGrath <roland@hack.frob.com>
91441
91442 * config.make.in (install_root): Default to $(DESTDIR).
91443
91444 2011-07-05 Ulrich Drepper <drepper@gmail.com>
91445
91446 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
91447
91448 2011-07-02 Roland McGrath <roland@hack.frob.com>
91449
91450 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
91451
91452 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
91453 containing directory rather than embedding absolute directory names.
91454
91455 * scripts/check-local-headers.sh: Rewritten using awk.
91456 Match by word, not by line. Print error messages for matches.
91457 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
91458
91459 * Makerules [shlib-lds-flags empty]:
91460 ($(common-objpfx)libc_pic.opts): New target.
91461 ($(common-objpfx)libc_pic.os.clean): New target.
91462 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
91463
91464 * config.make.in (OBJCOPY): New variable.
91465 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
91466 * configure: Regenerated.
91467
91468 * config.make.in (use-default-link): New variable.
91469 * configure.in (use_default_link): Grok --with-default-link to set it.
91470 * configure: Regenerated.
91471 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
91472 (shlib-lds, shlib-lds-flags): Define to empty.
91473
91474 * Makerules (shlib-lds): New variable.
91475 (shlib-lds-flags): New variable.
91476 (build-shlib, build-moduile, build-module-asneeded): Use it.
91477 ($(common-objpfx)libc.so): Use $(shlib-lds).
91478 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
91479 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
91480
91481 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
91482 DT_FLAGS/DT_FLAGS_1 with zero flags.
91483
91484 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
91485 linker script munging.
91486
91487 2011-07-02 Ulrich Drepper <drepper@gmail.com>
91488
91489 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
91490 as 128-bit value.
91491 * crypt/sha512.c (sha512_process_block): Perform total addition using
91492 128-bit if possible.
91493 (__sha512_finish_ctx): Likewise.
91494 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
91495 as 64-bit value.
91496 * crypt/sha256.c (SWAP64): Define.
91497 (sha256_process_block): Perform total addition using 64-bit if
91498 possible.
91499 (__sha256_finish_ctx): Likewise.
91500
91501 2011-07-01 Ulrich Drepper <drepper@gmail.com>
91502
91503 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
91504 * nscd/initgrcache.c (addinitgroupsX): Likewise.
91505 * nscd/hstcache.c (cache_addhst): Likewise.
91506 * nscd/grpcache.c (cache_addgr): Likewise.
91507 * nscd/aicache.c (addhstaiX): Likewise.
91508 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
91509
91510 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
91511
91512 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
91513 * nscd/initgrcache.c (addinitgroupsX): Likewise.
91514 * nscd/hstcache.c (cache_addhst): Likewise.
91515 * nscd/grpcache.c (cache_addgr): Likewise.
91516 * nscd/aicache.c (addhstaiX): Likewise.
91517
91518 2011-07-01 Andreas Schwab <schwab@redhat.com>
91519
91520 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
91521 domain only when needed.
91522
91523 2011-06-30 Andreas Schwab <schwab@redhat.com>
91524
91525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
91526 is always restored.
91527
91528 2011-06-29 Ulrich Drepper <drepper@gmail.com>
91529
91530 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
91531 are re-adding the entry.
91532 * nscd/servicescache.c (cache_addserv): Likewise.
91533
91534 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
91535
91536 * sysdeps/generic/dl-irel.h: fix protection against multiple
91537 inclusions.
91538 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
91539
91540 2011-06-28 Ulrich Drepper <drepper@gmail.com>
91541
91542 [BZ #12935]
91543 * malloc/memusage.sh: Fix quoting in message.
91544 * debug/xtrace.sh: Likewise.
91545
91546 * configure.in: Remove support for --experimental-malloc option, make
91547 it the default.
91548 * config.make.in: Likewise.
91549 * malloc/Makefile: Likewise.
91550
91551 2011-06-27 Andreas Schwab <schwab@redhat.com>
91552
91553 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
91554 two-byte characters.
91555
91556 2011-06-27 Roland McGrath <roland@hack.frob.com>
91557
91558 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
91559 AC_CACHE_CHECK invocation.
91560 * configure: Regenerated.
91561
91562 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
91563
91564 2011-06-27 Ulrich Drepper <drepper@gmail.com>
91565
91566 [BZ #12350]
91567 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
91568 bit from old_res_options.
91569
91570 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
91571
91572 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
91573 value type for setfct.
91574
91575 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
91576
91577 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
91578 __gettimeofday instead of gettimeofday.
91579
91580 2011-06-26 Ulrich Drepper <drepper@gmail.com>
91581
91582 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
91583
91584 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
91585
91586 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
91587
91588 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
91589 info.
91590
91591 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
91592
91593 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91594 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
91595 strcpy-sse2-unaligned strncpy-sse2-unaligned
91596 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
91597 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
91598 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
91599 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
91600 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
91601 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
91602 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
91603 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
91604 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
91605 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
91606 (STRCPY): Support SSE2 and SSSE3 versions.
91607
91608 2011-06-24 Ulrich Drepper <drepper@gmail.com>
91609
91610 [BZ #12874]
91611 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
91612 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
91613 kernels which artificially limit size of requests.
91614
91615 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
91616
91617 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91618 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
91619 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
91620 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
91621 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
91622 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
91623 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
91624 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
91625 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
91626 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
91627 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
91628 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
91629 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
91630 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
91631 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
91632 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91633 Enable unaligned load optimization for Intel Core i3, i5 and i7
91634 processors.
91635 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
91636 Define.
91637 (index_Fast_Unaligned_Load): Define.
91638 (HAS_FAST_UNALIGNED_LOAD): Define.
91639
91640 2011-06-23 Marek Polacek <mpolacek@redhat.com>
91641
91642 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
91643
91644 2011-06-22 Ulrich Drepper <drepper@gmail.com>
91645
91646 [BZ #12907]
91647 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
91648 until it is clear that the information is realy needed.
91649 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
91650
91651 2011-06-22 Andreas Schwab <schwab@redhat.com>
91652
91653 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
91654
91655 2011-06-22 Ulrich Drepper <drepper@gmail.com>
91656
91657 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
91658 /sys/devices/system/cpu/online if it is usable.
91659
91660 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
91661 reading the information from the /proc filesystem to once a second.
91662
91663 2011-06-21 Andreas Jaeger <aj@suse.de>
91664
91665 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
91666 NULL after inclusion of kernel headers.
91667
91668 2011-06-21 Ulrich Drepper <drepper@gmail.com>
91669
91670 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
91671 calls to internal_setent.
91672
91673 [BZ #12885]
91674 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
91675 addresses using gethostbyname4_r ignore IPv4 addresses.
91676
91677 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
91678 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
91679
91680 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
91681
91682 2011-06-20 David S. Miller <davem@davemloft.net>
91683
91684 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
91685 inclusions.
91686 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
91687
91688 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
91689 (elf_irel): Use it.
91690 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
91691 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
91692 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
91693 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
91694 * sysdeps/x86_64/dl-irel.h: Likewise.
91695
91696 * elf/dl-runtime.c: Use elf_ifunc_invoke.
91697 * elf/dl-sym.c: Likewise.
91698
91699 2011-06-15 Ulrich Drepper <drepper@gmail.com>
91700
91701 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
91702 need to dereference resplen2.
91703
91704 2011-06-14 Andreas Schwab <schwab@redhat.com>
91705
91706 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
91707
91708 2011-06-15 Ulrich Drepper <drepper@gmail.com>
91709
91710 * Makeconfig: Define vardbdir and inst_vardbdir.
91711 * nss/Makefile: Add rules to install db-Makefile.
91712
91713 * nss/nss_db/db-XXX.c: Cleanup.
91714
91715 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
91716 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
91717 GLIBC_PRIVATE.
91718 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
91719 * nss/makedb.c: Implement -g option to specify that value strings
91720 are generated and should not be added to table iterated over for
91721 get*ent calls.
91722 * nss/nss_db/db-initgroups.c: New file.
91723
91724 * nss/getent.c: Add support for initgroups lookups through getgrouplist
91725 interface.
91726
91727 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
91728 (internal_getgrouplist): Adjust to name change.
91729 Update use_initgroups_entry if this is not the first call.
91730 * nss/databases.def: Add initgroups entry.
91731
91732 * nss/makedb.c (compute_tables): Check result of multiple hash table
91733 sizes to minimize maximum chain length.
91734
91735 2011-06-14 Ulrich Drepper <drepper@gmail.com>
91736
91737 * Versions.def: Add entry for libnss_db.
91738 * shlib-versions: Likewise.
91739 * nss/Makefile: Add rules to build libnss_db.
91740 * nss/Versions: Add libnss_db information. Organize libnss_files
91741 entries better.
91742 * nss/db-Makefile: Add gshadow support. Change rules for the new
91743 makedb progra. Some minor improvements to generate smaller files.
91744 * nss/nss_db/nss_db.h: Move NSS database header data structures to
91745 here from...
91746 * nss/makedb.c: ...here.
91747 Improve database format to be smaller and require less memory at
91748 runtime.
91749 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
91750 db anymore.
91751 * nss/nss_db/db-netgrp.c: Likewise.
91752 * nss/nss_db/db-open.c: Likewise.
91753 * nss/nss_files/flies-XXX.x: Adjust comments.
91754 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
91755 * nss/nss_files/files-grp.c: Likewise.
91756 * nss/nss_files/files-hosts.c: Likewise.
91757 * nss/nss_files/files-network.c: Likewise.
91758 * nss/nss_files/files-proto.c: Likewise.
91759 * nss/nss_files/files-pwd.c: Likewise.
91760 * nss/nss_files/files-rpc.c: Likewise.
91761 * nss/nss_files/files-service.c: Likewise.
91762 * nss/nss_files/files-sgrp.c: Likewise.
91763 * nss/nss_files/files-spwd.c: Likewise.
91764 * nss/nss_db/db-alias.c: Removed.
91765 * nss/nss_db/dummy-db.h: Removed.
91766
91767 2011-06-02 Ulrich Drepper <drepper@gmail.com>
91768
91769 * nss/makedb.c: Rewritten to not use database library.
91770 * nss/Makefile: Update to build new makedb program.
91771
91772 2011-06-14 Andreas Jaeger <aj@suse.de>
91773
91774 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
91775 memset declaration.
91776
91777 2011-06-10 Andreas Schwab <schwab@redhat.com>
91778
91779 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
91780 tmpbuf.
91781
91782 2011-06-10 Roland McGrath <roland@hack.frob.com>
91783
91784 * Makerules (shlib.lds): Fail if the linker script comes out empty.
91785 * elf/Makefile ($(objpfx)ld.so): Likewise.
91786
91787 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
91788 Don't list ld.so twice in dependencies.
91789
91790 * posix/bug-regex31.c: Include <stdlib.h>.
91791
91792 * nscd/hstcache.c (cache_addhst): Remove unused variable.
91793
91794 * nis/nss_compat/compat-spwd.c
91795 (getspent_next_nss_netgr): Remove unused variable.
91796 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
91797
91798 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
91799 nonmembers" output to use the right array.
91800
91801 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
91802
91803 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
91804
91805 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
91806 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
91807 * catgets/gencat.c (read_input_file): Likewise.
91808 * locale/programs/locarchive.c (enlarge_archive): Likewise.
91809
91810 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
91811 variable definition inside #if's controlling its use.
91812
91813 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
91814
91815 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
91816
91817 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
91818
91819 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
91820 unreachable code.
91821
91822 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
91823
91824 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
91825 * configure: Regenerated.
91826
91827 * Makerules: Revert last change.
91828 * elf/Makefile: Likewise.
91829
91830 2011-06-09 Roland McGrath <roland@hack.frob.com>
91831
91832 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
91833 * elf/Makefile ($(objpfx)librtld.os): Likewise.
91834 (reloc-link): Likewise.
91835
91836 2011-06-09 Ulrich Drepper <drepper@gmail.com>
91837
91838 * elf/Makefile: Add rules to build pldd.
91839 * elf/pldd.c: New file.
91840 * elf/pldd-xx.c: New file.
91841
91842 2011-06-07 Ulrich Drepper <drepper@gmail.com>
91843
91844 * version.h: Update for 2.15 development version.
91845
91846 2011-06-07 David S. Miller <davem@davemloft.net>
91847
91848 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
91849 ifuncs.
91850 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
91851 elf_machine_lazy_rel): Likewise.
91852 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
91853 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
91854 elf_machine_lazy_rel): Likewise.
91855 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
91856 dl_hwcap via passed in argument.
91857 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
91858 Likewise.
91859
91860 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
91861
91862 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
91863
91864 2011-06-06 Roland McGrath <roland@hack.frob.com>
91865
91866 [BZ #12849]
91867 * manual/fdl-1.1.texi: New file, verbatim from:
91868 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
91869 * manual/lgpl-2.1.texi: New file, verbatim from:
91870 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
91871 * manual/Makefile (licenses): New variable, list those new file names.
91872 (texis): Use it.
91873 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
91874
91875 * manual/fdl.texi: File removed.
91876 * manual/lesser.texi: File removed.
91877 * manual/libc.texinfo (Copying, Documentation License):
91878 Use new @include file names, put @appendix directive before @include.
91879
91880 2011-06-04 Jakub Jelinek <jakub@redhat.com>
91881
91882 [BZ #12841]
91883 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
91884 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
91885 (mq_open): Add __NTH.
91886
91887 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
91888
91889 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91890 Assume Intel Core i3/i5/i7 processor if AVX is available.
91891
91892 2011-05-31 Ulrich Drepper <drepper@gmail.com>
91893
91894 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
91895 typo.
91896
91897 2011-05-31 Andreas Schwab <schwab@redhat.com>
91898
91899 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
91900 memory. Use alloca_account. Fix memory leak when retrying.
91901
91902 2011-05-31 Ulrich Drepper <drepper@gmail.com>
91903
91904 * version.h (RELEASE): Bump for 2.14 release.
91905 * include/features.h (__GLIBC_MINOR__): Bump to 14.
91906
91907 * config.make.in (RANLIB): Remove entry.
91908
91909 2011-05-30 Ulrich Drepper <drepper@gmail.com>
91910
91911 * po/Makefile (po-sed-cmd): Add ksh to extensions.
91912 (libc.pot): Work around missing support for .ksh extension in xgettext.
91913
91914 [BZ #12684]
91915 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
91916 if both request failed.
91917 (send_dg): In case of server errors clear resplen or *resplen2.
91918
91919 [BZ #12454]
91920 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
91921 when there are multiple maps.
91922 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
91923 (_dl_fini): Remove test here.
91924
91925 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
91926
91927 2011-05-29 Ulrich Drepper <drepper@gmail.com>
91928
91929 [BZ #12350]
91930 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
91931 bit from old_res_options.
91932 (gaih_inet): Likewise.
91933
91934 [BZ #11099]
91935 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
91936 as signed.
91937
91938 * resolv/res_init.c (res_setoptions): Make the code more compact.
91939
91940 [BZ #11558]
91941 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
91942 set RES_USEVC.
91943
91944 [BZ #11634]
91945 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
91946
91947 * malloc/malloc.h: Mark malloc hook variables as deprecated.
91948
91949 [BZ #11781]
91950 * malloc/malloc.h: Declare malloc hook variables as volatile.
91951
91952 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
91953 in last patch.
91954
91955 [BZ #11799]
91956 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
91957 raise in the comment.
91958 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
91959 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
91960 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
91961
91962 2011-05-28 Ulrich Drepper <drepper@gmail.com>
91963
91964 [BZ #12811]
91965 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
91966 grow the buffers more if it already has to be sufficient.
91967 (build_wcs_upper_buffer): Likewise.
91968 * posix/regexec.c (check_matching): Likewise.
91969 (clean_state_log_if_needed): Likewise.
91970 (extend_buffers): Don't enlarge buffers beyond size of the input
91971 buffer.
91972 Patches mostly by Emil Wojak <emil@wojak.eu>.
91973 * posix/bug-regex32.c: New file.
91974 * posix/Makefile (tests): Add bug-regex32.
91975
91976 * locale/findlocale.c (_nl_find_locale): Return right away if
91977 _nl_explode_name failed.
91978 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
91979
91980 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
91981
91982 * debug/xtrace.sh: Unify messages.
91983 * malloc/memusage.sh: Likewise.
91984
91985 [BZ #12813]
91986 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
91987 time symbol from vDSO. Substitute with vsyscall if not available.
91988 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
91989 __vdso_time.
91990
91991 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
91992 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
91993 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
91994 Add sendmmsg and internal_sendmmsg.
91995 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
91996 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
91997 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
91998
91999 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
92000 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
92001 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
92002
92003 2011-05-27 Ulrich Drepper <drepper@gmail.com>
92004
92005 [BZ #12813]
92006 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
92007 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
92008 available.
92009 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
92010 __vdso_getcpu.
92011
92012 [BZ #12814]
92013 * iconvdata/Makefile (tests): Add bug-iconv9.
92014 * iconvdata/bug-iconv9.c: New file.
92015
92016 2011-05-27 Andreas Schwab <schwab@redhat.com>
92017
92018 [BZ #12814]
92019 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
92020
92021 2011-05-25 Jakub Jelinek <jakub@redhat.com>
92022
92023 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
92024 (struct user_regs_struct): Change intcs field back to cs.
92025
92026 2011-05-25 Ulrich Drepper <drepper@gmail.com>
92027
92028 * po/ja.po: Update from translation team.
92029
92030 2011-05-23 Ulrich Drepper <drepper@gmail.com>
92031
92032 [BZ #12795]
92033 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
92034 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
92035
92036 2011-05-20 Andreas Schwab <schwab@redhat.com>
92037
92038 * stdlib/longlong.h: Update from GCC.
92039
92040 2011-05-23 Andreas Schwab <schwab@redhat.com>
92041
92042 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
92043 parameter name.
92044 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
92045 Add parameter name.
92046 (__sysconf): Pass it down.
92047
92048 2011-05-22 Ulrich Drepper <drepper@gmail.com>
92049
92050 [BZ #12671]
92051 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
92052 some situations.
92053 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
92054 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
92055 add in in __libc_use_alloca calls. Adjust callers.
92056 (glob): Use malloc in some situations.
92057
92058 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
92059 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
92060 pltexit.
92061
92062 2011-05-21 Ulrich Drepper <drepper@gmail.com>
92063
92064 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
92065 and CLOCK_BOOTTIME_ALARM.
92066
92067 [BZ #12782]
92068 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
92069 is returned.
92070
92071 * string/_strerror.c (__strerror_r): Print negative errors as signed
92072 numbers.
92073
92074 [BZ #12777]
92075 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
92076 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
92077 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
92078
92079 * configure.in: Fix typo in redirection and correct removal of test
92080 files in two cases.
92081
92082 [BZ #12788]
92083 * locale/setlocale.c (new_composite_name): Fix test to check for
92084 identical name of all categories.
92085
92086 [BZ #12792]
92087 * libio/filedoalloc.c (local_isatty): New function.
92088 (_IO_file_doallocate): Use local_isatty.
92089 * stdio-common/perror.c (perror): In case a new stream is used
92090 forward the stream error.
92091 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
92092 error flag.
92093
92094 2011-05-20 Ulrich Drepper <drepper@gmail.com>
92095
92096 [BZ #11884]
92097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
92098 alloca.
92099 * include/alloca.h (extend_alloca_account): Define.
92100
92101 [BZ #11857]
92102 * posix/regex.h: Fix comments with documentation of user-accessible
92103 fields after compilation and describe correct free'ing of pattern
92104 after re_compile_pattern.
92105 Patch by Reuben Thomas <rrt@sc3d.org>.
92106
92107 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
92108
92109 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
92110 and -mno-altivec to prevent the compiler from using Altivec and/or
92111 VSX instructions when the corresponding registers are not available.
92112
92113 2011-05-19 Andreas Schwab <schwab@redhat.com>
92114
92115 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
92116
92117 2011-05-19 Ulrich Drepper <drepper@gmail.com>
92118
92119 * libio/freopen.c (freopen): Use __dup2, not dup2.
92120 * libio/freopen64.c (freopen64): Likewise.
92121
92122 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
92123
92124 [BZ #12775]
92125 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
92126 * math/Makefile (tests): Add test-powl.
92127 (CFLAGS-test-powl.c): Define.
92128 * math/test-powl.c: New file.
92129
92130 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
92131
92132 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
92133
92134 2011-05-17 Ulrich Drepper <drepper@gmail.com>
92135
92136 [BZ #11837]
92137 * iconvdata/gb18030.c: Update to GB18020-2005.
92138
92139 2011-05-16 Ulrich Drepper <drepper@gmail.com>
92140
92141 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
92142 RE_SYNTAX_POSIX_AWK): Update to match recent development.
92143 Patch by Aharon Robbins <arnold@skeeve.com>.
92144
92145 [BZ #11892]
92146 * stdlib/putenv.c (putenv): Don't always create copy of the variable
92147 on the stack.
92148
92149 [BZ #11895]
92150 * misc/pselect.c (__pselect): Handle timeout value errors hidden
92151 through underflows.
92152
92153 [BZ #12766]
92154 * misc/error.c (error_at_line): Ensure file_name and old_file_name
92155 point to strings before performing equality test for error_one_per_line
92156 mode.
92157
92158 [BZ #11697]
92159 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
92160
92161 [BZ #11820]
92162 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
92163 (struct user_fpregs_struct): Avoid __uint*_t types.
92164
92165 [BZ #6420]
92166 * malloc/mtrace.c (tr_where): Add additional parameter to point to
92167 symbol info. Use it instead of calling _dl_addr locally.
92168 (lock_and_info): New function.
92169 (tr_freehook): Call lock_and_info and pass symbol info as additional
92170 parameter to tr_where.
92171 (tr_mallochook): Likewise.
92172 (tr_reallochook): Likewise.
92173 (tr_memalignhook): Likewise.
92174
92175 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
92176 used and couldn't be at all thread-safe.
92177
92178 2011-05-15 Ulrich Drepper <drepper@gmail.com>
92179
92180 * libio/freopen.c (freopen): Don't close old file descriptor
92181 before the new one is opened. Instead dup the new file descriptor
92182 to the old one after the new stream is created.
92183 * libio/freopen64.c (freopen64): Likewise.
92184 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
92185 * libio/fileops.c (_IO_new_file_close_it): Handle new
92186 _IO_FLAGS2_NOCLOSE flag.
92187 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
92188 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
92189 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
92190 _IO_FLAGS2_NOCLOSE flag.
92191 * include/unistd.h: Add hidden_proto for dup3.
92192 Define __have_dup3.
92193 * io/dup3.c: Define hidden symbol.
92194 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
92195
92196 [BZ #7101]
92197 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
92198 when an incomplete long option is used.
92199 * posix/tst-getopt_long1.c: New file.
92200 * posix/Makefile (tests): Add tst-getopt_long1.
92201
92202 [BZ #10138]
92203 * scripts/config.guess: Update from autoconf-2.68.
92204 * scripts/config.sub: Likewise.
92205
92206 [BZ #10157]
92207 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
92208 tests into ...
92209 (has_cpuclock): ...this. New function.
92210 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
92211 macro here based on has_cpuclock code.
92212
92213 [BZ #10149]
92214 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
92215 First byte (not low byte) is now always NUL.
92216 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
92217
92218 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
92219 Use non-cancelable interfaces.
92220
92221 [BZ #9809]
92222 * locale/iso-639.def: Add entry for Sorani.
92223
92224 [BZ #11901]
92225 * include/stdlib.h: Move include protection to the right place.
92226 Define abort_msg_s. Declare __abort_msg with it.
92227 * stdlib/abort.c (__abort_msg): Adjust type.
92228 * assert/assert.c (__assert_fail_base): New function. Majority
92229 of code from __assert_fail. Allocate memory for __abort_msg with
92230 mmap.
92231 (__assert_fail): Now call __assert_fail_base.
92232 * assert/assert-perr.c: Remove bulk of implementation. Use
92233 __assert_fail_base.
92234 * include/assert.hL Declare __assert_fail_base.
92235 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
92236 mmap.
92237 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
92238
92239 2011-05-14 Ulrich Drepper <drepper@gmail.com>
92240
92241 [BZ #11952]
92242 [BZ #12453]
92243 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
92244 until all modules are registered in the DTV.
92245 * elf/Makefile: Add rules to build and run tst-tls19.
92246 * elf/tst-tls19.c: New file.
92247 * elf/tst-tls19mod1.c: New file.
92248 * elf/tst-tls19mod2.c: New file.
92249 * elf/tst-tls19mod3.c: New file.
92250 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
92251
92252 [BZ #12083]
92253 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
92254 correctly.
92255
92256 [BZ #12601]
92257 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
92258 two-byte sequence errors.
92259 * iconvdata/Makefile (tests): Add bug-iconv8.
92260 * iconvdata/bug-iconv8.c: New file.
92261
92262 [BZ #12626]
92263 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
92264 buf2 definition.
92265
92266 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
92267
92268 [BZ #12432]
92269 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
92270 (dummy_getcfa): New function.
92271 (init): Get _Unwind_GetCFA address, use dummy if not found.
92272 (backtrace_helper): In recursion check, also check whether CFA changes.
92273 (__backtrace): Completely initialize arg.
92274
92275 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
92276 storing incomplete byte sequence in state object. Avoid testing for
92277 guaranteed too small input if we know there is enough data available.
92278
92279 2011-05-11 Andreas Schwab <schwab@redhat.com>
92280
92281 * Makeconfig (+link-pie): Indent.
92282 * Rules (binaries-pie): Define if $(have-fpie) and
92283 $(build-shared).
92284 (binaries-shared): Also filter out $(binaries-pie).
92285 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
92286 * nscd/Makefile (others-pie): Add nscd.
92287 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
92288 ($(objpfx)nscd): Remove command override.
92289 * login/Makefile (others-pie): Add pt_chown.
92290 ($(objpfx)pt_chown): Remove command override.
92291 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
92292 remove command overrides.
92293
92294 2011-05-13 Ulrich Drepper <drepper@gmail.com>
92295
92296 * libio/tst_putwc.c: Fix error messages.
92297
92298 [BZ #12724]
92299 * libio/fileops.c (_IO_new_file_close_it): Always flush when
92300 currently writing and seek to current position when not.
92301 * libio/Makefile (tests): Add bug-fclose1.
92302 * libio/bug-fclose1.c: New file.
92303
92304 2011-05-12 Ulrich Drepper <drepper@gmail.com>
92305
92306 [BZ #12511]
92307 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
92308 don't set DF_1_NODELETE here.
92309 (do_lookup_x): When entering new entry test for copy relocation
92310 and if necessary set DF_1_NODELETE flag.
92311 * elf/tst-unique4.cc: New file.
92312 * elf/tst-unique4.h: New file.
92313 * elf/tst-unique4lib.cc: New file.
92314 * elf/Makefile: Add rules to build and run tst-unique4.
92315 Patch by Piotr Bury <pbury@goahead.com>.
92316
92317 2011-05-11 Ulrich Drepper <drepper@gmail.com>
92318
92319 [BZ #12052]
92320 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
92321
92322 [BZ #12625]
92323 * misc/mntent_r.c (addmntent): Flush the stream after the output
92324
92325 [BZ #12393]
92326 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
92327 (is_trusted_path_normalize): Skip initial colon. Append slash
92328 to empty buffer. Duplicate is_trusted_path code but allow
92329 constructed patch to be prefix.
92330 (is_dst): Allow $ORIGIN followed by /.
92331 (_dl_dst_substitute): Correct clearing of check_for_trusted.
92332 Correct testing of result of is_trusted_path_normalize
92333 (decompose_rpath): Fix warning.
92334
92335 2011-05-10 Ulrich Drepper <drepper@gmail.com>
92336
92337 [BZ #11257]
92338 * grp/initgroups.c (internal_getgrouplist): When we found the service
92339 list through the initgroups entry in nsswitch.conf do not always
92340 continue on a successful lookup. Don't always use the
92341 __nss_group_database value if it is set.
92342 * nss/nsswitch.conf (initgroups): Change action for successful db
92343 lookup to continue for compatibility.
92344
92345 2011-05-09 Ulrich Drepper <drepper@gmail.com>
92346
92347 [BZ #11532]
92348 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
92349 and CP774 modules.
92350 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
92351 and CP774 modules.
92352 * iconvdata/tst-tables.sh: Likewise.
92353 * iconvdata/cp770.c: New file.
92354 * iconvdata/cp771.c: New file.
92355 * iconvdata/cp772.c: New file.
92356 * iconvdata/cp773.c: New file.
92357 * iconvdata/cp774.c: New file.
92358 * iconvdata/testdata/CP770: New file.
92359 * iconvdata/testdata/CP770..UTF8: New file.
92360 * iconvdata/testdata/CP771: New file.
92361 * iconvdata/testdata/CP771..UTF8: New file.
92362 * iconvdata/testdata/CP772: New file.
92363 * iconvdata/testdata/CP772..UTF8: New file.
92364 * iconvdata/testdata/CP773: New file.
92365 * iconvdata/testdata/CP773..UTF8: New file.
92366 * iconvdata/testdata/CP774: New file.
92367 * iconvdata/testdata/CP774..UTF8: New file.
92368
92369 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
92370 END CHARMAP line.
92371 * iconvdata/gen-8bit-gap.sh: Likewise.
92372 * iconvdata/gen-8bit.sh: Likewise.
92373
92374 * locale/iso-639.def: Add ary entry.
92375
92376 [BZ #11258]
92377 * locale/C-translit.h.in: Add U20A1 transliteration.
92378
92379 [BZ #12178]
92380 * locale/iso-639.def: Add wae entry.
92381 Patch by Kevin Bortis <bortis@translate-wae.ch>.
92382
92383 [BZ #12545]
92384 * locale/programs/localedef.c (construct_output_path): Use ssize_t
92385 for n.
92386
92387 [BZ #12711]
92388 * locale/C-translit.h.in: Add entry for U20B9.
92389 Patch by pravin.d.s@gmail.com.
92390
92391 2011-05-08 Ulrich Drepper <drepper@gmail.com>
92392
92393 [BZ #12713]
92394 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
92395 ENAMETOOLONG use generic getcwd.
92396 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
92397 in rtld. Use *stat64.
92398 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
92399 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
92400 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
92401 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
92402 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
92403 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
92404 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
92405 __fstatat64 macros.
92406 * include/dirent.h: Add libc_hidden_proto for rewinddir.
92407 * dirent/rewinddir.c: Add libc_hidden_def.
92408 * sysdeps/mach/hurd/rewinddir.c: Likewise.
92409 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
92410
92411 * include/dirent.h (__alloc_dir): Add flags parameter.
92412 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
92413 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
92414 __alloc_dir.
92415 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
92416 from fdopendir if O_CLOEXEC is already set.
92417
92418 2011-03-15 Alan Modra <amodra@gmail.com>
92419
92420 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
92421 l_tls_firstbyte_offset non-zero. Save padding offset in
92422 l_tls_firstbyte_offset for later use.
92423 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
92424 freeing static tls block.
92425
92426 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
92427
92428 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
92429 where #ifdef was intended. The intent is to prevent ARG_MAX from
92430 being defined by the kernel headers.
92431
92432 2011-05-07 Ulrich Drepper <drepper@gmail.com>
92433
92434 [BZ #12734]
92435 * resolv/resolv.h: Define RES_NOTLDQUERY.
92436 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
92437 no-tld-query and set RES_NOTLDQUERY.
92438 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
92439 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
92440 modern BIND to search name as TLD unless forbidden.
92441
92442 2011-05-07 Petr Baudis <pasky@suse.cz>
92443 Ulrich Drepper <drepper@gmail.com>
92444
92445 [BZ #12393]
92446 * elf/dl-load.c (fillin_rpath): Move trusted path check...
92447 (is_trusted_path): ...to here.
92448 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
92449 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
92450 using is_trusted_path_normalize() in setuid scripts.
92451
92452 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
92453
92454 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
92455 __BEGIN/__END_DECLS.
92456
92457 2011-05-06 Ulrich Drepper <drepper@gmail.com>
92458
92459 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
92460 NSS_STATUS_NOTFOUND if no record was found.
92461
92462 2011-05-05 Andreas Schwab <schwab@redhat.com>
92463
92464 * sunrpc/Makefile (headers): Add rpc/netdb.h.
92465 (headers-not-in-tirpc): Remove rpc/netdb.h
92466 * resolv/netdb.h: Revert last change.
92467
92468 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
92469
92470 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
92471 circular dependency between libgcc.a and libc.a.
92472
92473 2011-05-05 Andreas Schwab <schwab@redhat.com>
92474
92475 * resolv/netdb.h: Don't include <rpc/netdb.h>.
92476 * nis/Makefile: Don't install rpcsvc/*.
92477 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
92478 instead of <rpc/types.h>.
92479 (MAXHOSTNAMELEN): Define.
92480
92481 2011-05-03 Andreas Schwab <schwab@redhat.com>
92482
92483 * elf/ldconfig.c (add_dir): Don't crash on empty path.
92484
92485 2011-04-28 Maciej Babinski <mbabinski@google.com>
92486
92487 [BZ #12714]
92488 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
92489 gethostbyname4_r when IPv6 results are possible.
92490
92491 2011-05-02 Ulrich Drepper <drepper@gmail.com>
92492
92493 [BZ #12723]
92494 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
92495 _PC_PIPE_BUF handling.
92496
92497 2011-04-30 Bruno Haible <bruno@clisp.org>
92498
92499 [BZ #12717]
92500 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
92501 * resolv/netdb.h (getnameinfo): Change type of flags parameter
92502 to 'int'.
92503 * inet/getnameinfo.c (getnameinfo): Likewise.
92504
92505 2011-04-29 Ulrich Drepper <drepper@gmail.com>
92506
92507 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
92508 to groups setting in database lookup.
92509 * nss/nsswitch.conf: Add initgroups entry.
92510
92511 2011-04-22 Ulrich Drepper <drepper@gmail.com>
92512
92513 [BZ #12685]
92514 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
92515 mode string.
92516 Patch by Eric Blake <eblake@redhat.com>.
92517
92518 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
92519
92520 * sunrpc/Makefile (need-export-routines): Add svc_run.
92521 (routines): Remove svc_run.
92522 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
92523 * sunrpc/clnt_perr.c (clnt_perrno): Export.
92524 * sunrpc/svc_run.c (svc_run): Likewise.
92525 * sunrpc/svc_udp.c (svcudp_create): Likewise.
92526
92527 2011-04-21 Ulrich Drepper <drepper@gmail.com>
92528
92529 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
92530 problem in reallocation in last patch.
92531
92532 2011-04-20 Ulrich Drepper <drepper@gmail.com>
92533
92534 * sunrpc/Makefile: Move inclusion of Rules.
92535
92536 2011-04-19 Ulrich Drepper <drepper@gmail.com>
92537
92538 * nss/nss_files/files-initgroups.c: New file.
92539 * nss/Makefile (libnss_files-routines): Add files-initgroups.
92540 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
92541 _nss_files_initgroups_dyn.
92542
92543 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
92544
92545 * elf/elf.h (R_ARM_IRELATIVE): Define.
92546
92547 2011-04-19 Ulrich Drepper <drepper@gmail.com>
92548
92549 * po/ru.po: Update from translation team.
92550
92551 2011-04-17 Ulrich Drepper <drepper@gmail.com>
92552
92553 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
92554 dependencies.
92555
92556 2011-02-06 Mike Frysinger <vapier@gentoo.org>
92557
92558 [BZ #12653]
92559 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
92560 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
92561 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
92562 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
92563 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
92564
92565 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
92566
92567 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
92568 differing bytes.
92569 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
92570 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
92571 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92572
92573 2011-04-17 Ulrich Drepper <drepper@gmail.com>
92574
92575 [BZ #12420]
92576 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
92577 storing it.
92578 * stdlib/bug-getcontext.c: New file.
92579 * stdlib/Makefile: Add rules to build and run bug-getcontext.
92580
92581 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
92582
92583 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
92584 instructions into .machine "z9-109".
92585 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
92586 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
92587
92588 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
92589
92590 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
92591 between environment variables and auxiliary vector.
92592
92593 2011-04-16 Ulrich Drepper <drepper@gmail.com>
92594
92595 * Makefile: Add rules to build linkobj/libc.so.
92596 * include/libc-symbols.h: Define libc_hidden_nolink.
92597 * include/rpc/auth.h: Mark functions which are to be hidden.
92598 * include/rpc/auth_des.h: Likewise.
92599 * include/rpc/auth_unix.h: Likewise.
92600 * include/rpc/clnt.h: Likewise.
92601 * include/rpc/des_crypt.h: Likewise.
92602 * include/rpc/key_prot.h: Likewise.
92603 * include/rpc/pmap_clnt.h: Likewise.
92604 * include/rpc/pmap_prot.h: Likewise.
92605 * include/rpc/pmap_rmt.h: Likewise.
92606 * include/rpc/rpc_msg.h: Likewise.
92607 * include/rpc/svc.h: Likewise.
92608 * include/rpc/svc_auth.h: Likewise.
92609 * include/rpc/xdr.h: Likewise.
92610 * nis/Makefile: Link all DSOs against linkobj/libc.so.
92611 * nss/Makefile: Likewise.
92612 * sunrpc/Makefile: Don't install headers. Build library with normal
92613 entry points. Don't build rpcinfo. Link RPC tests appropriately.
92614 * sunrpc/auth_des.c: Hide exported symbols by default, export some
92615 for the compat linking library. Remove use of INTDEF/INTUSE.
92616 * sunrpc/auth_none.c: Likewise.
92617 * sunrpc/auth_unix.c: Likewise.
92618 * sunrpc/authdes_prot.c: Likewise.
92619 * sunrpc/authuxprot.c: Likewise.
92620 * sunrpc/clnt_gen.c: Likewise.
92621 * sunrpc/clnt_perr.c: Likewise.
92622 * sunrpc/clnt_raw.c: Likewise.
92623 * sunrpc/clnt_simp.c: Likewise.
92624 * sunrpc/clnt_tcp.c: Likewise.
92625 * sunrpc/clnt_udp.c: Likewise.
92626 * sunrpc/clnt_unix.c: Likewise.
92627 * sunrpc/des_crypt.c: Likewise.
92628 * sunrpc/des_soft.c: Likewise.
92629 * sunrpc/get_myaddr.c: Likewise.
92630 * sunrpc/key_call.c: Likewise.
92631 * sunrpc/key_prot.c: Likewise.
92632 * sunrpc/netname.c: Likewise.
92633 * sunrpc/pm_getmaps.c: Likewise.
92634 * sunrpc/pm_getport.c: Likewise.
92635 * sunrpc/pmap_clnt.c: Likewise.
92636 * sunrpc/pmap_prot.c: Likewise.
92637 * sunrpc/pmap_prot2.c: Likewise.
92638 * sunrpc/pmap_rmt.c: Likewise.
92639 * sunrpc/publickey.c: Likewise.
92640 * sunrpc/rpc_cmsg.c: Likewise.
92641 * sunrpc/rpc_common.c: Likewise.
92642 * sunrpc/rpc_dtable.c: Likewise.
92643 * sunrpc/rpc_prot.c: Likewise.
92644 * sunrpc/rpc_thread.c: Likewise.
92645 * sunrpc/rtime.c: Likewise.
92646 * sunrpc/svc.c: Likewise.
92647 * sunrpc/svc_auth.c: Likewise.
92648 * sunrpc/svc_authux.c: Likewise.
92649 * sunrpc/svc_raw.c: Likewise.
92650 * sunrpc/svc_run.c: Likewise.
92651 * sunrpc/svc_simple.c: Likewise.
92652 * sunrpc/svc_tcp.c: Likewise.
92653 * sunrpc/svc_udp.c: Likewise.
92654 * sunrpc/svc_unix.c: Likewise.
92655 * sunrpc/svcauth_des.c: Likewise.
92656 * sunrpc/xcrypt.c: Likewise.
92657 * sunrpc/xdr.c: Likewise.
92658 * sunrpc/xdr_array.c: Likewise.
92659 * sunrpc/xdr_float.c: Likewise.
92660 * sunrpc/xdr_intXX_t.c: Likewise.
92661 * sunrpc/xdr_mem.c: Likewise.
92662 * sunrpc/xdr_rec.c: Likewise.
92663 * sunrpc/xdr_ref.c: Likewise.
92664 * sunrpc/xdr_sizeof.c: Likewise.
92665 * sunrpc/xdr_stdio.c: Likewise.
92666
92667 2011-04-10 Ulrich Drepper <drepper@gmail.com>
92668
92669 [BZ #12650]
92670 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
92671 * sysdeps/ia64/dl-tls.h: Likewise.
92672 * sysdeps/powerpc/dl-tls.h: Likewise.
92673 * sysdeps/s390/dl-tls.h: Likewise.
92674 * sysdeps/sh/dl-tls.h: Likewise.
92675 * sysdeps/sparc/dl-tls.h: Likewise.
92676 * sysdeps/x86_64/dl-tls.h: Likewise.
92677 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
92678
92679 2011-03-14 Andreas Schwab <schwab@redhat.com>
92680
92681 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
92682 rpath element also skip the following colon.
92683 (expand_dynamic_string_token): Add is_path parameter and pass
92684 down to DL_DST_REQUIRED and _dl_dst_substitute.
92685 (decompose_rpath): Call expand_dynamic_string_token with
92686 non-zero is_path. Ignore empty rpaths.
92687 (_dl_map_object_from_fd): Call expand_dynamic_string_token
92688 with zero is_path.
92689
92690 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
92691
92692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
92693 Make cancelable.
92694
92695 2011-04-09 Ulrich Drepper <drepper@gmail.com>
92696
92697 [BZ #12655]
92698 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
92699 Patch by Filipe David Manana <fdmanana@apache.org>.
92700
92701 2011-04-07 Andreas Schwab <schwab@redhat.com>
92702
92703 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
92704 Maintain aligned stack.
92705 (CHECK_RSP): Remove unused macro.
92706
92707 2011-04-03 Ulrich Drepper <drepper@gmail.com>
92708
92709 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
92710 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
92711
92712 2011-04-02 Ulrich Drepper <drepper@gmail.com>
92713
92714 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
92715
92716 * include/features.h: Mention __USE_XOPEN2K8 in comment.
92717
92718 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
92719
92720 [BZ #12518]
92721 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
92722 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
92723 * sysdeps/x86_64/memmove.c: New file.
92724 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
92725 (memcpy): Renamed to ...
92726 (__new_memcpy): This.
92727 (memcpy): Provide GLIBC_2_14 memcpy.
92728 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
92729 (memcpy): Provide GLIBC_2_2_5 memcpy.
92730
92731 2011-04-01 Ulrich Drepper <drepper@gmail.com>
92732
92733 [BZ #12631]
92734 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
92735
92736 2011-03-30 Andreas Schwab <schwab@redhat.com>
92737
92738 * misc/syncfs.c: New file.
92739 * misc/Makefile (routines): Add syncfs.
92740 * posix/unistd.h: Declare syncfs.
92741 * sysdeps/unix/syscalls.list: Add syncfs.
92742
92743 2011-04-01 Andreas Schwab <schwab@redhat.com>
92744
92745 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
92746 open_by_handle_at.
92747 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
92748 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92749 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92750 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92751 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92752 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
92753 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92754
92755 2011-04-01 Ulrich Drepper <drepper@gmail.com>
92756
92757 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
92758 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92759 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
92760 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92761 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92762 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92763 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92764
92765 * io/Makefile: Compile fallocate.c, fallocate64.c, and
92766 sync_file_range.c with -fexceptions.
92767 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
92768 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
92769 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
92770 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
92771 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
92772 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
92773 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
92774 sync_file_range as cancellation point
92775 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
92776 now a wrapper around __call_sync_file_range with cancellation handling.
92777 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
92778 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
92779 function name to __call_sync_file_range.
92780 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
92781 Add call_sync_file_range.
92782
92783 2011-04-01 Andreas Schwab <schwab@redhat.com>
92784
92785 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
92786 bits/timex.h.
92787
92788 2011-04-01 Ulrich Drepper <drepper@gmail.com>
92789
92790 * iconv/iconv.h: Fix typo in comment.
92791 * io/fcntl.h: Likewise.
92792 * libio/stdio.h: Likewise.
92793 * posix/spawn.h: Likewise.
92794 * posix/unistd.h: Likewise.
92795 * stdlib/stdlib.h: Likewise.
92796 * time/time.h: Likewise.
92797 * wcsmbs/wchar.h: Likewise.
92798
92799 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
92800 open_by_handle): Add.
92801 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
92802 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
92803 Augment a few comments.
92804 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92805 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92806 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92807 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92808 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92809 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
92810 open_by_handle.
92811
92812 * io/fcntl.h (AT_EMPTY_PATH): Define.
92813
92814 2011-03-30 Ulrich Drepper <drepper@gmail.com>
92815
92816 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
92817 * sysdeps/unix/sysv/linux/bits/time.h: New file.
92818 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
92819 to...
92820 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
92821 * Versions.def: Add GLIBC_2.14.
92822 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
92823 Export.
92824
92825 2011-03-22 Ulrich Drepper <drepper@gmail.com>
92826
92827 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
92828 round counter.
92829 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
92830
92831 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
92832
92833 [BZ #12597]
92834 * string/test-strncmp.c (do_page_test): New function.
92835 (check2): Likewise.
92836 (test_main): Call check2.
92837 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
92838
92839 2011-03-20 Ulrich Drepper <drepper@gmail.com>
92840
92841 [BZ #12587]
92842 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
92843 Handle cache information in CPU leaf 4.
92844 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
92845
92846 2011-03-18 Ulrich Drepper <drepper@gmail.com>
92847
92848 [BZ #12583]
92849 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
92850 character representation.
92851 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
92852
92853 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
92854
92855 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
92856 END(__isnan) to END(__isnanf) to match function entry point/label
92857 EALIGN(__isnanf,...).
92858
92859 2011-03-10 Jakub Jelinek <jakub@redhat.com>
92860
92861 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
92862
92863 2011-03-10 Ulrich Drepper <drepper@gmail.com>
92864
92865 [BZ #12510]
92866 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
92867 copy from the symbol referenced in the relocation to initialize the
92868 used variable.
92869 Patch by Piotr Bury <pbury@goahead.com>.
92870 * elf/Makefile: Add rules to build and tst-unique3.
92871 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
92872 * elf/tst-unique3.cc: New file.
92873 * elf/tst-unique3.h: New file.
92874 * elf/tst-unique3lib.cc: New file.
92875 * elf/tst-unique3lib2.cc: New file.
92876
92877 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
92878
92879 2011-03-10 Mike Frysinger <vapier@gentoo.org>
92880
92881 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
92882 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
92883 to _start.
92884
92885 2011-03-06 Ulrich Drepper <drepper@gmail.com>
92886
92887 * elf/dl-load.c (_dl_map_object): If we are looking for the first
92888 to-be-loaded object along a path to loader is ld.so.
92889
92890 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
92891 Ulrich Drepper <drepper@gmail.com>
92892
92893 * sysdeps/x86_64/memset.S: After aligning destination, code
92894 branches to different locations depending on the value of
92895 misalignment, when multiarch is enabled. Fix this.
92896
92897 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
92898
92899 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
92900 Set _x86_64_preferred_memory_instruction for AMD processsors.
92901 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92902 Set bit_Prefer_SSE_for_memop for AMD processors.
92903
92904 2011-03-04 Ulrich Drepper <drepper@gmail.com>
92905
92906 * libio/fmemopen.c (fmemopen): Optimize a bit.
92907
92908 2011-03-03 Andreas Schwab <schwab@redhat.com>
92909
92910 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
92911
92912 2011-03-03 Roland McGrath <roland@redhat.com>
92913
92914 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
92915
92916 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
92917
92918 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
92919 __bzero_ultra1 instead of __memset_ultra1.
92920
92921 2011-02-23 Andreas Schwab <schwab@redhat.com>
92922 Ulrich Drepper <drepper@gmail.com>
92923
92924 [BZ #12509]
92925 * include/link.h (struct link_map): Add l_orig_initfini.
92926 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
92927 returning unsuccessfully.
92928 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
92929 close of a file loaded at startup, restore the original l_initfini
92930 list.
92931 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
92932 list, store the pointer.
92933 * elf/Makefile ($(objpfx)noload-mem): New rule.
92934 (noload-ENV): Define.
92935 (tests): Add $(objpfx)noload-mem.
92936 * elf/noload.c: Include <memcheck.h>.
92937 (main): Call mtrace. Close all opened handles.
92938
92939 2011-02-17 Andreas Schwab <schwab@redhat.com>
92940
92941 [BZ #12454]
92942 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
92943 dependencies are missing.
92944
92945 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
92946
92947 Fix __if_freereq crash: Unlike the generic version which uses free,
92948 Hurd needs munmap.
92949 * sysdeps/mach/hurd/ifreq.h: New file.
92950
92951 2011-01-27 Petr Baudis <pasky@suse.cz>
92952 Ulrich Drepper <drepper@gmail.com>
92953
92954 [BZ 12445]#
92955 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
92956 to extend_alloca().
92957 * stdio-common/bug23.c: New file.
92958 * stdio-common/Makefile (tests): Add bug23.
92959
92960 2010-09-28 Andreas Schwab <schwab@redhat.com>
92961 Ulrich Drepper <drepper@gmail.com>
92962
92963 [BZ #12489]
92964 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
92965 before performing relro protection. At old place add assertion
92966 to make sure nothing changed.
92967
92968 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
92969 Glauber de Oliveira Costa <glommer@gmail.com>
92970
92971 * elf/elf.h: Add new ARM TLS relocs.
92972
92973 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
92974
92975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
92976 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
92977 cast from r3.
92978 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
92979 'tests' variable.
92980 * sysdeps/wordsize-64/tst-writev.c: New file.
92981
92982 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
92983
92984 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
92985 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
92986 insns in _dl_start to prevent a TOC reference before relocs are
92987 resolved.
92988
92989 2011-02-15 Ulrich Drepper <drepper@gmail.com>
92990
92991 [BZ #12469]
92992 * Makeconfig: Remove RANLIB definition.
92993 * Makerules: Don't use RANLIB.
92994 * aclocal.m4: Remove ranlib test.
92995 * configure.in: No need to check for ranlib.
92996 * elf/rtld-Rules: Don't use RANLIB.
92997
92998 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
92999
93000 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
93001 protection macro.
93002 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
93003 inclusion protection macro.
93004
93005 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
93006 SIGRTMIN and SIGRTMAX and print information in that case only when
93007 SIGRTMIN is defined.
93008
93009 2011-02-11 Jakub Jelinek <jakub@redhat.com>
93010
93011 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
93012 arginfo fn returning -1.
93013
93014 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
93015 and thousands string is zero terminated.
93016
93017 2011-02-03 Andreas Schwab <schwab@redhat.com>
93018
93019 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
93020 sysdeps/unix/sysv/linux/bits/socket.h.
93021
93022 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
93023
93024 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
93025 (__CPU_COUNT): Remove old macros.
93026 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
93027 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
93028 (__CPU_ALLOC, __CPU_FREE): Add macros.
93029 (__sched_cpualloc, __sched_cpufree): Add declarations.
93030
93031 2011-02-05 Ulrich Drepper <drepper@gmail.com>
93032
93033 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
93034 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
93035 * nscd/aicache.c (addhstaiX): Return timeout of added value.
93036 (readdhstai): Return value of addhstaiX call.
93037 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
93038 (addgrbyX): Return value returned by cache_addgr.
93039 (readdgrbyname): Return value returned by addgrbyX.
93040 (readdgrbygid): Likewise.
93041 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
93042 (addpwbyX): Return value returned by cache_addpw.
93043 (readdpwbyname): Return value returned by addhstbyX.
93044 (readdpwbyuid): Likewise.
93045 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
93046 (addservbyX): Return value returned by cache_addserv.
93047 (readdservbyname): Return value returned by addservbyX:
93048 (readdservbyport): Likewise.
93049 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
93050 (addhstbyX): Return value returned by cache_addhst.
93051 (readdhstbyname): Return value returned by addhstbyX.
93052 (readdhstbyaddr): Likewise.
93053 (readdhstbynamev6): Likewise.
93054 (readdhstbyaddrv6): Likewise.
93055 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
93056 (readdinitgroups): Return value returned by addinitgroupsX.
93057 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
93058 (prune_cache): Keep track of timeout value of re-added entries.
93059 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
93060 * nscd/nscd.h: Adjust prototypes of readd* functions.
93061
93062 2011-02-04 Roland McGrath <roland@redhat.com>
93063
93064 * nis/nis_server.c (nis_servstate): Use the right name for 0.
93065 (nis_stats): Likewise.
93066 * nis/nis_modify.c (nis_modify): Likewise.
93067 * nis/nis_remove.c (nis_remove): Likewise.
93068 * nis/nis_add.c (nis_add): Likewise.
93069
93070 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
93071
93072 * posix/fnmatch_loop.c: Add some consts.
93073
93074 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
93075
93076 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
93077
93078 [BZ #12460]
93079 * config.make.in (config-cflags-novzeroupper): Define.
93080 * configure.in: Substitute libc_cv_cc_novzeroupper.
93081 * elf/Makefile (AVX-CFLAGS): Define.
93082 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
93083 (CFLAGS-tst-auditmod4a.c): Likewise.
93084 (CFLAGS-tst-auditmod4b.c): Likewise.
93085 (CFLAGS-tst-auditmod6b.c): Likewise.
93086 (CFLAGS-tst-auditmod6c.c): Likewise.
93087 (CFLAGS-tst-auditmod7b.c): Likewise.
93088 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
93089
93090 2011-02-02 Ulrich Drepper <drepper@gmail.com>
93091
93092 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
93093 function to the callback.
93094 Patch partly by Jiri Olsa <jolsa@redhat.com>.
93095
93096 2011-02-02 Andreas Schwab <schwab@redhat.com>
93097
93098 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
93099 of errno.
93100
93101 2011-01-19 Ulrich Drepper <drepper@gmail.com>
93102
93103 [BZ #11724]
93104 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
93105 of constructors.
93106 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
93107 of destructors.
93108 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
93109
93110 [BZ #11724]
93111 * elf/Makefile: Add rules to build and run new test.
93112 * elf/tst-initorder.c: New file.
93113 * elf/tst-initorder.exp: New file.
93114 * elf/tst-initordera1.c: New file.
93115 * elf/tst-initordera2.c: New file.
93116 * elf/tst-initordera3.c: New file.
93117 * elf/tst-initordera4.c: New file.
93118 * elf/tst-initorderb1.c: New file.
93119 * elf/tst-initorderb2.c: New file.
93120 * elf/tst-order-a1.c: New file.
93121 * elf/tst-order-a2.c: New file.
93122 * elf/tst-order-a3.c: New file.
93123 * elf/tst-order-a4.c: New file.
93124 * elf/tst-order-b1.c: New file.
93125 * elf/tst-order-b2.c: New file.
93126 * elf/tst-order-main.c: New file.
93127 New test case by George Gensure <werkt0@gmail.com>.
93128
93129 2010-10-01 Andreas Schwab <schwab@redhat.com>
93130
93131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
93132 decoding ACE if AI_CANONIDN.
93133
93134 2011-01-18 Ulrich Drepper <drepper@gmail.com>
93135
93136 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
93137
93138 2011-01-17 Ulrich Drepper <drepper@gmail.com>
93139
93140 * version.h (RELEASE): Bump for 2.13 release.
93141 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
93142
93143 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
93144
93145 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
93146 MADV_NOHUGEPAGE.
93147 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
93148 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
93149 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
93150 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
93151 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
93152 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
93153
93154 * posix/getconf.c: Update copyright year.
93155 * catgets/gencat.c: Likewise.
93156 * csu/version.c: Likewise.
93157 * debug/catchsegv.sh: Likewise.
93158 * debug/xtrace.sh: Likewise.
93159 * elf/ldconfig.c: Likewise.
93160 * elf/ldd.bash.in: Likewise.
93161 * elf/sprof.c (print_version): Likewise.
93162 * iconv/iconv_prog.c: Likewise.
93163 * iconv/iconvconfig.c: Likewise.
93164 * locale/programs/locale.c: Likewise.
93165 * locale/programs/localedef.c: Likewise.
93166 * malloc/memusage.sh: Likewise.
93167 * malloc/mtrace.pl: Likewise.
93168 * nscd/nscd.c (print_version): Likewise.
93169 * nss/getent.c: Likewise.
93170
93171 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
93172 PF_CAIF, and PF_ALG.
93173 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
93174
93175 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
93176
93177 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
93178 (modules-names): Use them.
93179 (ifunc-test-modules, ifunc-pie-tests): Define.
93180 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
93181 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
93182 (test-extras): Likewise.
93183 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
93184 $(compile-command.c).
93185 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
93186 (all-built-dso): Define.
93187 (check-textrel.out, check-execstack.out): Depend on it.
93188
93189 * configure.in: Don't override --enable-multi-arch.
93190
93191 2011-01-15 Ulrich Drepper <drepper@gmail.com>
93192
93193 [BZ #6812]
93194 * nscd/hstcache.c (tryagain): Define.
93195 (cache_addhst): Return tryagain not notfound for temporary errors.
93196 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
93197 failed.
93198
93199 2011-01-14 Ulrich Drepper <drepper@gmail.com>
93200
93201 [BZ #10563]
93202 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
93203 to make the syscall.
93204 * sysdeps/unix/sysv/linux/setgroups.c: New file.
93205
93206 [BZ #12378]
93207 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
93208 and fall back to matching as normal character if the string ends before
93209 the matching ']' is found. This is what POSIX requires.
93210 * posix/testfnm.c: Adjust test result.
93211 * posix/globtest.sh: Adjust test result. Add new test.
93212 * posix/tst-fnmatch.input: Likewise.
93213 * posix/tst-fnmatch2.c: Add new test.
93214
93215 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
93216
93217 * elf/Makefile (check-execstack): Revert last change. Depend on
93218 check-execstack.h.
93219 (check-execstack.h): New target.
93220 (generated): Add check-execstack.h.
93221 * elf/check-execstack.c: Include "check-execstack.h".
93222 (main): Revert last change.
93223 (handle_file): Return zero if GNU_STACK is absent and
93224 DEFAULT_STACK_PERMS doesn't include PF_X.
93225
93226 2011-01-13 Ulrich Drepper <drepper@gmail.com>
93227
93228 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
93229 in child fails because the descriptor is already closed.
93230 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
93231 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
93232 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
93233
93234 [BZ #12397]
93235 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
93236 syscall.
93237
93238 [BZ #10484]
93239 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
93240 temporary buffer used to handle multi lookups locally.
93241 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
93242
93243 2011-01-12 Ulrich Drepper <drepper@gmail.com>
93244
93245 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
93246 loader is ld.so.
93247
93248 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
93249
93250 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
93251 alignment for SSE2.
93252
93253 2011-01-12 Ulrich Drepper <drepper@gmail.com>
93254
93255 [BZ #12394]
93256 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
93257 characters. When rounding increased number of integer digits recompute
93258 number of groups.
93259 * stdio-common/tst-grouping.c: New file.
93260 * stdio-common/Makefile: Add rules to build and run tst-grouping.
93261
93262 2011-01-09 Ulrich Drepper <drepper@gmail.com>
93263
93264 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
93265 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
93266
93267 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
93268 void.
93269 * bits/select.h: Likewise.
93270
93271 2011-01-08 Ulrich Drepper <drepper@gmail.com>
93272
93273 * po/ja.po: Update from translation team.
93274
93275 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
93276
93277 [BZ #11155]
93278 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
93279 implementation just like for lxstat, fxstatat, et al.
93280
93281 2010-12-27 Jim Meyering <meyering@redhat.com>
93282
93283 [BZ #12348]
93284 * posix/regexec.c (build_trtable): Return failure indication upon
93285 calloc failure. Otherwise, re_search_internal could infloop on OOM.
93286
93287 2010-12-25 Ulrich Drepper <drepper@gmail.com>
93288
93289 [BZ #12201]
93290 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
93291 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
93292 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
93293 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
93294
93295 [BZ #12207]
93296 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
93297
93298 [BZ #12204]
93299 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
93300 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
93301
93302 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
93303
93304 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
93305 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
93306 script has SORT_BY_INIT_PRIORITY.
93307 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
93308 NO_CTORS_DTORS_SECTIONS is defined.
93309 * elf/soinit.c: Likewise.
93310 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
93311 NO_CTORS_DTORS_SECTIONS is defined.
93312 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
93313 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
93314 * sysdeps/sh/init-first.c: Likewise.
93315 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
93316
93317 2010-12-24 Ulrich Drepper <drepper@gmail.com>
93318
93319 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
93320 always use the slow path.
93321
93322 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
93323
93324 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
93325 similar rule which adds the sysdep directories to the header search in
93326 order to pick up the correct platform stackinfo.h.
93327 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
93328 perform test if it is, otherwise return successfully without testing.
93329 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
93330 DEFAULT_STACK_PERMS define in stackinfo.h.
93331 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
93332 defined in stackinfo.h.
93333 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
93334 DEFAULT_STACK_PERMS defined in stackinfo.h.
93335 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
93336 * sysdeps/ia64/stackinfo.h: Likewise.
93337 * sysdeps/s390/stackinfo.h: Likewise.
93338 * sysdeps/sh/stackinfo.h: Likewise.
93339 * sysdeps/sparc/stackinfo.h: Likewise.
93340 * sysdeps/x86_64/stackinfo.h: Likewise.
93341 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
93342 PF_X for powerpc64. Retain PF_X for powerpc32.
93343
93344 2010-12-19 Ulrich Drepper <drepper@gmail.com>
93345
93346 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
93347 accurately.
93348 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
93349 GETDENTS_64BIT_ALIGNED.
93350
93351 2010-12-14 Ulrich Drepper <dreper@gmail.com>
93352
93353 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
93354
93355 2010-12-10 Andreas Schwab <schwab@redhat.com>
93356
93357 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
93358 _GNU_SOURCE.
93359
93360 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
93361 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
93362 Remove __restrict.
93363 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
93364 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
93365
93366 2010-12-09 Ulrich Drepper <drepper@gmail.com>
93367
93368 [BZ #11655]
93369 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
93370 are initialized.
93371
93372 2010-12-09 Jakub Jelinek <jakub@redhat.com>
93373
93374 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
93375
93376 2010-12-03 Ulrich Drepper <drepper@gmail.com>
93377
93378 * po/it.po: Update from translation team.
93379
93380 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
93381
93382 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
93383 unused codes.
93384
93385 2010-11-30 Ulrich Drepper <drepper@gmail.com>
93386
93387 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
93388
93389 2010-11-24 Andreas Schwab <schwab@redhat.com>
93390
93391 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
93392 specially.
93393 (gaih_getanswer_slice): Likewise.
93394
93395 2010-10-20 Jakub Jelinek <jakub@redhat.com>
93396
93397 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
93398
93399 2010-05-31 Petr Baudis <pasky@suse.cz>
93400
93401 [BZ #11149]
93402 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
93403 silently even in the chroot mode.
93404
93405 2010-11-22 Ulrich Drepper <drepper@gmail.com>
93406
93407 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
93408 last patch a bit. Pretty printing
93409
93410 2010-05-31 Petr Baudis <pasky@suse.cz>
93411
93412 [BZ #10085]
93413 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
93414 initialization of skip_initgroups_dyn.
93415
93416 2010-11-19 Ulrich Drepper <drepper@gmail.com>
93417
93418 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
93419 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
93420
93421 2010-11-16 Ulrich Drepper <drepper@gmail.com>
93422
93423 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
93424
93425 2010-11-11 Andreas Schwab <schwab@redhat.com>
93426
93427 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
93428 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
93429 (tst-fnmatch-ENV): Set MALLOC_TRACE.
93430 ($(objpfx)tst-fnmatch-mem): New rule.
93431 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
93432 * posix/tst-fnmatch.c (main): Call mtrace.
93433
93434 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
93435
93436 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93437 Support Intel processor model 6 and model 0x2c.
93438
93439 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
93440
93441 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
93442 signed comparison.
93443
93444 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
93445
93446 [BZ #12205]
93447 * string/test-strncasecmp.c (check_result): New function.
93448 (do_one_test): Use it.
93449 (check1): New function.
93450 (test_main): Use it.
93451 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
93452 Support strcasecmp and strncasecmp.
93453
93454 2010-11-08 Ulrich Drepper <drepper@gmail.com>
93455
93456 [BZ #12194]
93457 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
93458 * sysdeps/x86_64/bits/byteswap.h: Likewise.
93459
93460 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
93461
93462 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
93463 IFUNC support.
93464 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93465 memset-x86-64.
93466 * sysdeps/x86_64/multiarch/bzero.S: New file.
93467 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
93468 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
93469 * sysdeps/x86_64/multiarch/memset.S: New file.
93470 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
93471 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93472 Set bit_Prefer_SSE_for_memop for Intel processors.
93473 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
93474 Define.
93475 (index_Prefer_SSE_for_memop): Define.
93476 (HAS_PREFER_SSE_FOR_MEMOP): Define.
93477
93478 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
93479
93480 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
93481 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
93482
93483 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
93484
93485 [BZ #12191]
93486 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
93487 (__x86_64_raw_data_cache_size_half): Likewise.
93488 (__x86_64_raw_shared_cache_size): Likewise.
93489 (__x86_64_raw_shared_cache_size_half): Likewise.
93490
93491 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
93492 (__x86_64_raw_data_cache_size_half): Likewise.
93493 (__x86_64_raw_shared_cache_size): Likewise.
93494 (__x86_64_raw_shared_cache_size_half): Likewise.
93495 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
93496 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
93497 and __x86_64_raw_shared_cache_size_half. Round
93498 __x86_64_data_cache_size_half, __x86_64_data_cache_size
93499 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
93500 to multiple of 256 bytes.
93501
93502 2010-11-03 Ulrich Drepper <drepper@gmail.com>
93503
93504 [BZ #12167]
93505 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
93506 of inacessible symlinks. Verify result of symlink before returning it.
93507 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
93508 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
93509
93510 2010-10-28 Erich Ritz <erichritz@gmail.com>
93511
93512 * math/math.h (isinf): Fix typo in comment.
93513
93514 2010-11-01 Ulrich Drepper <drepper@gmail.com>
93515
93516 * po/da.po: Update from translation team.
93517
93518 2010-10-26 Ulrich Drepper <drepper@gmail.com>
93519
93520 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
93521 is added to the list.
93522
93523 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
93524 Ulrich Drepper <drepper@gmail.com>
93525
93526 * elf/dl-object.c (_dl_new_object): Don't append the new object to
93527 the global list here. Move code to...
93528 (_dl_add_to_namespace_list): ...here. New function.
93529 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
93530 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
93531 * elf/dl-load.c (lose): Don't remove the element from the list.
93532 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
93533 (_dl_map_object): Likewise.
93534
93535 2010-10-25 Ulrich Drepper <drepper@gmail.com>
93536
93537 [BZ #12159]
93538 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
93539 into all bytes of SSE register.
93540 Patch by Richard Li <richardpku@gmail.com>.
93541
93542 2010-10-24 Ulrich Drepper <drepper@gmail.com>
93543
93544 [BZ #12140]
93545 * malloc/malloc.c (_int_free): Fill correct number of bytes when
93546 perturbing.
93547
93548 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
93549
93550 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
93551 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
93552 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
93553 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
93554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
93555 submachine.
93556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
93557
93558 2010-10-22 Andreas Schwab <schwab@redhat.com>
93559
93560 * include/dlfcn.h (__RTLD_SECURE): Define.
93561 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
93562 mode & __RTLD_SECURE instead.
93563 (open_path): Rename preloaded parameter to secure.
93564 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
93565 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
93566 * elf/dl-deps.c (openaux): Likewise.
93567 * elf/rtld.c (struct map_args): Remove is_preloaded.
93568 (map_doit): Don't use it.
93569 (dl_main): Likewise.
93570 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
93571 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
93572
93573 2010-09-09 Andreas Schwab <schwab@redhat.com>
93574
93575 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
93576 (sysd-rules-targets): Remove duplicates.
93577 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
93578 rtld-%.$o dependency.
93579
93580 2010-10-18 Andreas Schwab <schwab@redhat.com>
93581
93582 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
93583 _dl_map_object do it.
93584
93585 2010-10-19 Ulrich Drepper <drepper@gmail.com>
93586
93587 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
93588 fast fma builtins, define the macros in the C99 standard.
93589 (FP_FAST_FMAF): Likewise.
93590 (FP_FAST_FMAL): Likewise.
93591 * sysdeps/x86_64/bits/mathdef.h: Likewise.
93592
93593 * bits/mathdef.h: Update copyright year.
93594 * sysdeps/powerpc/bits/mathdef.h: Likewise.
93595
93596 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
93597
93598 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
93599 builtins, define the macros in the C99 standard.
93600 (FP_FAST_FMAF): Likewise.
93601 (FP_FAST_FMAL): Likewise.
93602 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
93603 multiply/add.
93604 (FP_FAST_FMAF): Likewise.
93605
93606 2010-10-15 Jakub Jelinek <jakub@redhat.com>
93607
93608 [BZ #3268]
93609 * math/libm-test.inc (fma_test): Some new testcases.
93610 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
93611 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
93612 y and infinite z. Do multiplication by C already in long double.
93613 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
93614 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
93615 y and infinite z. Do bitwise or of inexact bit into u.d.
93616 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
93617 * sysdeps/i386/fpu/s_fmaf.S: Removed.
93618 * sysdeps/i386/fpu/s_fma.S: Removed.
93619 * sysdeps/i386/fpu/s_fmal.S: Removed.
93620
93621 2010-10-16 Jakub Jelinek <jakub@redhat.com>
93622
93623 [BZ #3268]
93624 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
93625 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
93626 computation is not scheduled after fetestexcept. Fix value
93627 of minimum denormal long double.
93628
93629 2010-10-14 Jakub Jelinek <jakub@redhat.com>
93630
93631 [BZ #3268]
93632 * math/libm-test.inc (fma_test): Add some more tests.
93633 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
93634 correctly.
93635
93636 2010-10-15 Andreas Schwab <schwab@redhat.com>
93637
93638 * scripts/data/localplt-s390-linux-gnu.data: New file.
93639 * scripts/data/localplt-s390x-linux-gnu.data: New file.
93640
93641 2010-10-13 Jakub Jelinek <jakub@redhat.com>
93642
93643 [BZ #3268]
93644 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
93645 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
93646 instead of dbl-64.
93647 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
93648 inlines.
93649 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
93650 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
93651 if one of x and y is very large and the other is subnormal.
93652 * sysdeps/s390/fpu/s_fmaf.c: New file.
93653 * sysdeps/s390/fpu/s_fma.c: New file.
93654 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
93655 * sysdeps/powerpc/fpu/s_fma.S: New file.
93656 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
93657 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
93658 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
93659
93660 2010-10-12 Jakub Jelinek <jakub@redhat.com>
93661
93662 [BZ #3268]
93663 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
93664 fma tests.
93665 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
93666 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
93667 * sysdeps/i386/i686/multiarch/s_fma.c: Include
93668 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
93669 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
93670 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
93671 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
93672
93673 2010-10-12 Ulrich Drepper <drepper@redhat.com>
93674
93675 [BZ #12078]
93676 * posix/regcomp.c (parse_branch): One more memory leak plugged.
93677 * posix/bug-regex31.input: Add test case.
93678
93679 2010-10-11 Ulrich Drepper <drepper@gmail.com>
93680
93681 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
93682 * posix/bug-regex31.input: New file.
93683
93684 [BZ #12078]
93685 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
93686 (parse_sub_exp): Fix last change, use postorder.
93687
93688 * posix/bug-regex31.c: New file.
93689 * posix/Makefile: Add rules to build and run bug-regex31.
93690
93691 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
93692
93693 [BZ #12078]
93694 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
93695
93696 [BZ #12108]
93697 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
93698 to have entries in sys_siglist.
93699
93700 [BZ #12093]
93701 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
93702 be NULL.
93703
93704 2010-10-07 Jakub Jelinek <jakub@redhat.com>
93705
93706 [BZ #3268]
93707 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
93708 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
93709 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
93710 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
93711 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
93712 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
93713 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
93714 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
93715 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
93716 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
93717 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
93718 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
93719 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
93720 * math/ftestexcept.c (fetestexcept): Likewise.
93721 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
93722 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
93723 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
93724 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
93725 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
93726 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
93727 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
93728
93729 2010-10-11 Ulrich Drepper <drepper@gmail.com>
93730
93731 [BZ #12107]
93732 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
93733 newline.
93734
93735 2010-10-06 Ulrich Drepper <drepper@gmail.com>
93736
93737 * string/bug-strstr1.c: New file.
93738 * string/Makefile: Add rules to build and run bug-strstr1.
93739
93740 2010-10-05 Eric Blake <eblake@redhat.com>
93741
93742 [BZ #12092]
93743 * string/str-two-way.h (two_way_long_needle): Always clear memory
93744 when skipping input due to the shift table.
93745
93746 2010-10-03 Ulrich Drepper <drepper@gmail.com>
93747
93748 [BZ #12005]
93749 * malloc/mcheck.c: Handle large requests.
93750
93751 [BZ #12077]
93752 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
93753 for strncmp and strncasecmp.
93754 * string/stratcliff.c: Add tests for strcmp and strncmp.
93755 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
93756
93757 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
93758
93759 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
93760 __set_fpscr.
93761
93762 2010-09-30 Andreas Jaeger <aj@suse.de>
93763
93764 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
93765 (CGROUP_SUPER_MAGIC): Define.
93766 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93767 Handle btrfs and cgroup file systems.
93768 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
93769 Likewise.
93770
93771 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
93772
93773 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
93774 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
93775
93776 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
93777
93778 [BZ #12067]
93779 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
93780 trying to locate the ELF header.
93781
93782 2010-09-27 Andreas Schwab <schwab@redhat.com>
93783
93784 [BZ #11611]
93785 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
93786 Mask out sign-bit copies when constructing f_fsid.
93787
93788 2010-09-24 Petr Baudis <pasky@suse.cz>
93789
93790 * debug/stack_chk_fail_local.c: Add missing licence exception.
93791 * debug/warning-nop.c: Likewise.
93792
93793 2010-09-15 Joseph Myers <joseph@codesourcery.com>
93794
93795 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
93796 implementing getdents64 using getdents syscall, set d_type if
93797 __ASSUME_GETDENTS32_D_TYPE.
93798
93799 2010-09-16 Andreas Schwab <schwab@redhat.com>
93800
93801 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
93802 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
93803
93804 2010-09-21 Ulrich Drepper <drepper@redhat.com>
93805
93806 [BZ #12037]
93807 * posix/unistd.h: Undo change of feature selection for ftruncate from
93808 2010-01-11.
93809
93810 2010-09-20 Ulrich Drepper <drepper@redhat.com>
93811
93812 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
93813 detection.
93814
93815 2010-09-20 Andreas Schwab <schwab@redhat.com>
93816
93817 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
93818 fanotify_mark.
93819 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
93820
93821 2010-09-14 Andreas Schwab <schwab@redhat.com>
93822
93823 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
93824 variables after CHECK_SP call.
93825 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
93826
93827 2010-09-13 Andreas Schwab <schwab@redhat.com>
93828 Ulrich Drepper <drepper@redhat.com>
93829
93830 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
93831 re-relocationg ld.so.
93832 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
93833 _dl_init_paths call.
93834 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
93835 here anymore.
93836
93837 2010-09-14 Ulrich Drepper <drepper@redhat.com>
93838
93839 * resolv/res_init.c (__res_vinit): Count the default server we added.
93840
93841 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
93842 Ulrich Drepper <drepper@redhat.com>
93843
93844 [BZ #11968]
93845 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
93846 (____longjmp_chk): Use %ebx for saving value across system call.
93847 Add unwind info.
93848
93849 2010-09-06 Andreas Schwab <schwab@redhat.com>
93850
93851 * manual/Makefile: Don't mix pattern rules with normal rules.
93852
93853 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
93854
93855 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
93856 operation.
93857 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
93858 * libio/iofopncook.c (_IO_cookie_init): Likewise.
93859 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
93860 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
93861 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
93862 Likewise.
93863
93864 2010-09-04 Ulrich Drepper <drepper@redhat.com>
93865
93866 [BZ #11979]
93867 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
93868 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
93869
93870 2010-09-02 Ulrich Drepper <drepper@redhat.com>
93871
93872 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
93873 * sysdeps/x86_64/addmul_1.S: Likewise.
93874 * sysdeps/x86_64/lshift.S: Likewise.
93875 * sysdeps/x86_64/mul_1.S: Likewise.
93876 * sysdeps/x86_64/rshift.S: Likewise.
93877 * sysdeps/x86_64/sub_n.S: Likewise.
93878 * sysdeps/x86_64/submul_1.S: Likewise.
93879
93880 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
93881
93882 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
93883 Define __sched_param instead of SCHED_* and sched_param when
93884 <bits/sched.h> is included with __need_schedparam defined.
93885 * bits/sched.h [__need_schedparam]
93886 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
93887 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
93888 (__defined_schedparam): Define to 1.
93889 (__sched_param): New structure, identical to sched_param.
93890 (__need_schedparam): Undefine.
93891
93892 2010-08-31 Mike Frysinger <vapier@gentoo.org>
93893
93894 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
93895 (epoll_create1): Declare.
93896
93897 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
93898
93899 2010-08-31 Andreas Schwab <schwab@redhat.com>
93900
93901 [BZ #7066]
93902 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
93903 shifting retval into place.
93904
93905 2010-09-01 Ulrich Drepper <drepper@redhat.com>
93906
93907 * nis/rpcsvc/nis.h: Update copyright notice.
93908 * nis/rpcsvc/nis.x: Likewise.
93909 * nis/rpcsvc/nis_callback.h: Likewise.
93910 * nis/rpcsvc/nis_callback.x: Likewise.
93911 * nis/rpcsvc/nis_object.x: Likewise.
93912 * nis/rpcsvc/nis_tags.h: Likewise.
93913 * nis/rpcsvc/yp.h: Likewise.
93914 * nis/rpcsvc/yp.x: Likewise.
93915 * nis/rpcsvc/ypupd.h: Likewise.
93916 * nis/yp_xdr.c: Likewise.
93917 * nis/ypupdate_xdr.c: Likewise.
93918
93919 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
93920 mainly the body of pmap_getport. Add parameters to specify timeouts.
93921 (pmap_getport): Use __libc_rpc_getport.
93922 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
93923 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
93924 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
93925
93926 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
93927
93928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
93929 fanotify_mark.
93930
93931 2010-08-27 Roland McGrath <roland@redhat.com>
93932
93933 * sysdeps/i386/i686/multiarch/Makefile
93934 (CFLAGS-varshift.c): New variable.
93935
93936 2010-08-27 Ulrich Drepper <drepper@redhat.com>
93937
93938 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
93939 * sysdeps/i386/i686/multiarch/varshift.c: New file.
93940
93941 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
93942
93943 * sysdeps/x86_64/strlen.S: Minimal code improvement.
93944
93945 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
93946
93947 * sysdeps/x86_64/strlen.S: Unroll the loop.
93948 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93949 strlen-sse2 strlen-sse2-bsf.
93950 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
93951 __strlen_no_bsf if bit_Slow_BSF is set.
93952 (__strlen_sse42): Removed.
93953 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
93954 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
93955
93956 2010-08-25 Roland McGrath <roland@redhat.com>
93957
93958 * sysdeps/x86_64/multiarch/varshift.S: File removed.
93959 * sysdeps/x86_64/multiarch/varshift.c: New file.
93960 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
93961 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
93962 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
93963 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
93964
93965 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
93966
93967 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93968 strlen-sse2 strlen-sse2-bsf.
93969 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
93970 __strlen_sse2_bsf if bit_Slow_BSF is unset.
93971 (__strlen_sse2): Removed.
93972 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
93973 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
93974 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
93975 bit_Slow_BSF for Atom.
93976 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
93977 (index_Slow_BSF): Define.
93978 (HAS_SLOW_BSF): Define.
93979
93980 2010-08-25 Ulrich Drepper <drepper@redhat.com>
93981
93982 [BZ #10851]
93983 * resolv/res_init.c (__res_vinit): When no server address at all
93984 is given default to loopback.
93985
93986 2010-08-24 Roland McGrath <roland@redhat.com>
93987
93988 * configure.in: Remove config-name.h generation.
93989 * configure: Regenerated.
93990 * config-name.in: File removed.
93991 * scripts/config-uname.sh: New file.
93992 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
93993 ($(objdir)config-name.h): New target.
93994
93995 * sunrpc/rpc_parse.h: Avoid nested comment.
93996
93997 2010-08-24 Richard Henderson <rth@redhat.com>
93998 Ulrich Drepper <drepper@redhat.com>
93999 H.J. Lu <hongjiu.lu@intel.com>
94000
94001 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
94002 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
94003 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
94004 Replace _mm_srli_si128 with __m128i_shift_right. Replace
94005 _mm_alignr_epi8 with _mm_loadu_si128.
94006 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
94007 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
94008 (__m128i_shift_right): Removed.
94009 * sysdeps/i386/i686/multiarch/varshift.h: New file.
94010 * sysdeps/i386/i686/multiarch/varshift.S: New file.
94011 * sysdeps/x86_64/multiarch/varshift.h: New file.
94012 * sysdeps/x86_64/multiarch/varshift.S: New file.
94013
94014 2010-08-21 Mike Frysinger <vapier@gentoo.org>
94015
94016 * configure.in: Move assembler checks to before sysdep dir checking.
94017
94018 2010-08-20 Petr Baudis <pasky@suse.cz>
94019
94020 * LICENSES: Sync the sunrpc license.
94021
94022 2010-08-19 Ulrich Drepper <drepper@redhat.com>
94023
94024 * sunrpc/auth_des.c: Update copyright notice once again.
94025 * sunrpc/auth_none.c: Likewise.
94026 * sunrpc/auth_unix.c: Likewise.
94027 * sunrpc/authdes_prot.c: Likewise.
94028 * sunrpc/authuxprot.c: Likewise.
94029 * sunrpc/bindrsvprt.c: Likewise.
94030 * sunrpc/clnt_gen.c: Likewise.
94031 * sunrpc/clnt_perr.c: Likewise.
94032 * sunrpc/clnt_raw.c: Likewise.
94033 * sunrpc/clnt_simp.c: Likewise.
94034 * sunrpc/clnt_tcp.c: Likewise.
94035 * sunrpc/clnt_udp.c: Likewise.
94036 * sunrpc/clnt_unix.c: Likewise.
94037 * sunrpc/des_crypt.c: Likewise.
94038 * sunrpc/des_soft.c: Likewise.
94039 * sunrpc/get_myaddr.c: Likewise.
94040 * sunrpc/getrpcport.c: Likewise.
94041 * sunrpc/key_call.c: Likewise.
94042 * sunrpc/key_prot.c: Likewise.
94043 * sunrpc/openchild.c: Likewise.
94044 * sunrpc/pm_getmaps.c: Likewise.
94045 * sunrpc/pm_getport.c: Likewise.
94046 * sunrpc/pmap_clnt.c: Likewise.
94047 * sunrpc/pmap_prot.c: Likewise.
94048 * sunrpc/pmap_prot2.c: Likewise.
94049 * sunrpc/pmap_rmt.c: Likewise.
94050 * sunrpc/rpc/auth.h: Likewise.
94051 * sunrpc/rpc/auth_unix.h: Likewise.
94052 * sunrpc/rpc/clnt.h: Likewise.
94053 * sunrpc/rpc/des_crypt.h: Likewise.
94054 * sunrpc/rpc/key_prot.h: Likewise.
94055 * sunrpc/rpc/netdb.h: Likewise.
94056 * sunrpc/rpc/pmap_clnt.h: Likewise.
94057 * sunrpc/rpc/pmap_prot.h: Likewise.
94058 * sunrpc/rpc/pmap_rmt.h: Likewise.
94059 * sunrpc/rpc/rpc.h: Likewise.
94060 * sunrpc/rpc/rpc_des.h: Likewise.
94061 * sunrpc/rpc/rpc_msg.h: Likewise.
94062 * sunrpc/rpc/svc.h: Likewise.
94063 * sunrpc/rpc/svc_auth.h: Likewise.
94064 * sunrpc/rpc/types.h: Likewise.
94065 * sunrpc/rpc/xdr.h: Likewise.
94066 * sunrpc/rpc_clntout.c: Likewise.
94067 * sunrpc/rpc_cmsg.c: Likewise.
94068 * sunrpc/rpc_common.c: Likewise.
94069 * sunrpc/rpc_cout.c: Likewise.
94070 * sunrpc/rpc_dtable.c: Likewise.
94071 * sunrpc/rpc_hout.c: Likewise.
94072 * sunrpc/rpc_main.c: Likewise.
94073 * sunrpc/rpc_parse.c: Likewise.
94074 * sunrpc/rpc_parse.h: Likewise.
94075 * sunrpc/rpc_prot.c: Likewise.
94076 * sunrpc/rpc_sample.c: Likewise.
94077 * sunrpc/rpc_scan.c: Likewise.
94078 * sunrpc/rpc_scan.h: Likewise.
94079 * sunrpc/rpc_svcout.c: Likewise.
94080 * sunrpc/rpc_tblout.c: Likewise.
94081 * sunrpc/rpc_util.c: Likewise.
94082 * sunrpc/rpc_util.h: Likewise.
94083 * sunrpc/rpcinfo.c: Likewise.
94084 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
94085 * sunrpc/rpcsvc/key_prot.x: Likewise.
94086 * sunrpc/rpcsvc/klm_prot.x: Likewise.
94087 * sunrpc/rpcsvc/mount.x: Likewise.
94088 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
94089 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
94090 * sunrpc/rpcsvc/rex.x: Likewise.
94091 * sunrpc/rpcsvc/rstat.x: Likewise.
94092 * sunrpc/rpcsvc/rusers.x: Likewise.
94093 * sunrpc/rpcsvc/sm_inter.x: Likewise.
94094 * sunrpc/rpcsvc/spray.x: Likewise.
94095 * sunrpc/rpcsvc/yppasswd.x: Likewise.
94096 * sunrpc/rtime.c: Likewise.
94097 * sunrpc/svc.c: Likewise.
94098 * sunrpc/svc_auth.c: Likewise.
94099 * sunrpc/svc_authux.c: Likewise.
94100 * sunrpc/svc_raw.c: Likewise.
94101 * sunrpc/svc_run.c: Likewise.
94102 * sunrpc/svc_simple.c: Likewise.
94103 * sunrpc/svc_tcp.c: Likewise.
94104 * sunrpc/svc_udp.c: Likewise.
94105 * sunrpc/svc_unix.c: Likewise.
94106 * sunrpc/svcauth_des.c: Likewise.
94107 * sunrpc/xcrypt.c: Likewise.
94108 * sunrpc/xdr.c: Likewise.
94109 * sunrpc/xdr_array.c: Likewise.
94110 * sunrpc/xdr_float.c: Likewise.
94111 * sunrpc/xdr_mem.c: Likewise.
94112 * sunrpc/xdr_rec.c: Likewise.
94113 * sunrpc/xdr_ref.c: Likewise.
94114 * sunrpc/xdr_sizeof.c: Likewise.
94115 * sunrpc/xdr_stdio.c: Likewise.
94116
94117 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
94118 handling.
94119
94120 2010-08-19 Andreas Schwab <schwab@redhat.com>
94121
94122 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
94123
94124 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
94125
94126 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
94127 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
94128 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
94129 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
94130 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
94131 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
94132 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
94133 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
94134 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
94135 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
94136 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
94137 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
94138 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
94139 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
94140
94141 2010-07-26 Anton Blanchard <anton@samba.org>
94142
94143 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
94144 * malloc/arena.c (heap_trim): Likewise.
94145
94146 2010-08-16 Ulrich Drepper <drepper@redhat.com>
94147
94148 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
94149 here. Not...
94150 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
94151 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
94152
94153 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
94154
94155 * sysdeps/i386/elf/Makefile: New file.
94156
94157 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
94158
94159 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
94160 from fanotify_init.
94161 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
94162 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
94163
94164 2010-08-15 Ulrich Drepper <drepper@redhat.com>
94165
94166 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
94167 of strncasecmp_l.
94168 * sysdeps/multiarch/strcmp.S: Likewise.
94169
94170 2010-08-14 Ulrich Drepper <drepper@redhat.com>
94171
94172 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
94173 strncase_l-nonascii.
94174 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
94175 Add strncase_l-ssse3.
94176 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
94177 * sysdeps/x86_64/strcmp.S: Likewise.
94178 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
94179 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
94180 * sysdeps/x86_64/strncase.S: New file.
94181 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
94182 * sysdeps/x86_64/strncase_l.S: New file.
94183 * string/Makefile (strop-tests): Add strncasecmp.
94184 * string/test-strncasecmp.c: New file.
94185
94186 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
94187 warning.
94188
94189 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
94190 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
94191
94192 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
94193
94194 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
94195
94196 2010-08-12 Ulrich Drepper <drepper@redhat.com>
94197
94198 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
94199 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
94200 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
94201
94202 2010-05-01 Alan Modra <amodra@gmail.com>
94203
94204 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
94205 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
94206 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
94207 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
94208 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
94209 tidying. Don't tail-call __sigjmp_save for static lib.
94210 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
94211 save location.
94212 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
94213 (CALL_MCOUNT): Add eh info, and nop after bl.
94214 (TAIL_CALL_SYSCALL_ERROR): New macro.
94215 (PSEUDO_RET): Use it.
94216 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
94217 Correct save location of integer regs and cr.
94218 (_dl_profile_resolve): Correct cr save location. Delete nops
94219 after bl when SHARED. Reduce cfi size a little by better
94220 placement of cfi directives.
94221 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
94222 make a stack frame. Instead use parm save area as a temp.
94223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
94224 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
94225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
94226 Don't make a stack frame for parent, use parm save area.
94227 Increase child stack frame to 112 bytes. Don't save unused reg,
94228 and adjust reg usage. Set up cfi on error recovery and
94229 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
94230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
94231 (__makecontext): Add dummy nop after jump to exit.
94232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
94233 Use correct parm save area and cr save, reduce stack frame.
94234 Correct cfi for possible PSEUDO_RET frame setup.
94235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
94236 Branch to local label emitted by PSEUDO_RET rather than
94237 __syscall_error.
94238
94239 2010-08-12 Andreas Schwab <schwab@redhat.com>
94240
94241 [BZ #11904]
94242 * locale/programs/locale.c (print_assignment): New function.
94243 (show_locale_vars): Use it.
94244
94245 2010-08-11 Ulrich Drepper <drepper@redhat.com>
94246
94247 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
94248 field.
94249 (struct statfs64): Likewise.
94250 (_STATFS_F_FLAGS): Define.
94251 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
94252 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
94253 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
94254 (ST_VALID): Define locally.
94255 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
94256 __statvfs_getflags, use the provided value.
94257 * sysdeps/unix/sysv/linux/kernel-features.h: Define
94258 __ASSUME_STATFS_F_FLAGS.
94259
94260 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
94261
94262 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
94263 Add sys/fanotify.h.
94264 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
94265 fanotify_mask for GLIBC_2.13.
94266 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
94267 fanotify_init and fanotify_mark.
94268 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
94269 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
94270
94271 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
94272 Add prlimit.
94273 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
94274 prlimit64 for GLIBC_2.13.
94275 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
94276 prlimit64.
94277 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
94278 syscall.
94279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
94280 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
94281 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
94282 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
94283 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
94284 add prlimit alias.
94285 * sysdeps/unix/sysv/linux/prlimit.c: New file.
94286
94287 [BZ #11903]
94288 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
94289 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
94290
94291 * nss/Makefile: Add rules to build and run tst-nss-test1.
94292 * shlib-versions: Add entry for libnss_test1.
94293 * nss/nss_test1.c: New file.
94294 * nss/tst-nss-test1.c: New file.
94295
94296 * nss/nsswitch.c (__nss_database_custom): Define new variable.
94297 (__nss_configure_lookup): Set appropriate entry in
94298 __nss_configure_lookup to true.
94299 * nss/nsswitch.h: Define enum with indeces of databases in
94300 databases and __nss_database_custom arrays. Declare
94301 __nss_database_custom.
94302 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
94303 to avoid using nscd when custom rules are installed.
94304 * nss/getXXbyYY_r.c: Likewise.
94305 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
94306
94307 * nss/nss_files/files-parse.c: Whitespace fixes.
94308
94309 2010-08-09 Ulrich Drepper <drepper@redhat.com>
94310
94311 [BZ #11883]
94312 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
94313 * posix/fnmatch_loop.c: Likewise.
94314
94315 2010-07-17 Andi Kleen <ak@linux.intel.com>
94316
94317 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
94318 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
94319 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
94320 * Versions.def [GLIBC_2.13]: Add.
94321
94322 2010-08-06 Ulrich Drepper <drepper@redhat.com>
94323
94324 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
94325 Also fail if tpwd after pwuid call is NULL.
94326
94327 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
94328
94329 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
94330 when converting to ms.
94331
94332 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
94333
94334 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
94335 EOPNOTSUPP errors with ENOTTY.
94336 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
94337 EOPNOTSUPP errors with ENOTTY.
94338
94339 2010-07-31 Ulrich Drepper <drepper@redhat.com>
94340
94341 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
94342 Add strcasecmp_l-ssse3.
94343 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
94344 strcasecmp.
94345 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
94346 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
94347 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
94348
94349 2010-07-30 Ulrich Drepper <drepper@redhat.com>
94350
94351 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
94352
94353 * string/Makefile (strop-tests): Add strcasecmp.
94354 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
94355 strcasecmp_l-nonascii.
94356 (gen-as-const-headers): Add locale-defines.sym.
94357 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
94358 * sysdeps/x86_64/strcasecmp.S: New file.
94359 * sysdeps/x86_64/strcasecmp_l.S: New file.
94360 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
94361 * sysdeps/x86_64/locale-defines.sym: New file.
94362 * string/test-strcasecmp.c: New file.
94363
94364 * string/test-strcasestr.c: Test both ends of the range of characters.
94365 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
94366
94367 2010-07-29 Roland McGrath <roland@redhat.com>
94368
94369 [BZ #11856]
94370 * manual/locale.texi (Yes-or-No Questions): Fix example code.
94371
94372 2010-07-27 Ulrich Drepper <drepper@redhat.com>
94373
94374 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
94375 for ld.so.
94376
94377 2010-07-27 Andreas Schwab <schwab@redhat.com>
94378
94379 * manual/memory.texi (Malloc Tunable Parameters): Document
94380 M_PERTURB.
94381
94382 2010-07-26 Roland McGrath <roland@redhat.com>
94383
94384 [BZ #11840]
94385 * configure.in (-fgnu89-inline check): Set and substitute
94386 gnu89_inline, not libc_cv_gnu89_inline.
94387 * configure: Regenerated.
94388 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
94389
94390 2010-07-26 Ulrich Drepper <drepper@redhat.com>
94391
94392 * string/test-strnlen.c: New file.
94393 * string/Makefile (strop-tests): Add strnlen.
94394 * string/tester.c (test_strnlen): Add a few more test cases.
94395 * string/tst-strlen.c: Better error reporting.
94396
94397 * sysdeps/x86_64/strnlen.S: New file.
94398
94399 2010-07-24 Ulrich Drepper <drepper@redhat.com>
94400
94401 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
94402 lower-latency instructions.
94403
94404 2010-07-23 Ulrich Drepper <drepper@redhat.com>
94405
94406 * string/test-strcasestr.c: New file.
94407 * string/test-strstr.c: New file.
94408 * string/Makefile (strop-tests): Add strstr and strcasestr.
94409 * string/str-two-way.h: Don't undefine MAX.
94410 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
94411
94412 2010-07-21 Andreas Schwab <schwab@redhat.com>
94413
94414 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
94415 strcasestr-nonascii.
94416 (CFLAGS-strcasestr-nonascii.c): Define.
94417 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
94418 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
94419 Remove unused attribute.
94420
94421 2010-07-20 Roland McGrath <roland@redhat.com>
94422
94423 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
94424 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
94425 ld.so.cache was broken. With it, there is no way to disable dsocaps
94426 like LD_HWCAP_MASK can disable hwcaps.
94427
94428 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
94429
94430 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
94431
94432 2010-07-16 Ulrich Drepper <drepper@redhat.com>
94433
94434 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
94435 call in strcasestr.
94436 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
94437 __strcasestr_sse42_nonascii.
94438 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
94439 strcasestr-nonascii.c.
94440 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
94441
94442 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
94443
94444 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
94445 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
94446 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
94447 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
94448
94449 2010-07-09 Ulrich Drepper <drepper@redhat.com>
94450
94451 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
94452 fcntl.
94453
94454 2010-07-06 Andreas Schwab <schwab@redhat.com>
94455
94456 [BZ #11577]
94457 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
94458 dl_signal_cerror.
94459
94460 2010-07-06 Ulrich Drepper <drepper@redhat.com>
94461
94462 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
94463 _PC_PIPE_BUF using F_GETPIPE_SZ.
94464
94465 2010-07-05 Roland McGrath <roland@redhat.com>
94466
94467 * manual/arith.texi (Rounding Functions): Fix rint description
94468 implicit in round description.
94469
94470 2010-07-02 Ulrich Drepper <drepper@redhat.com>
94471
94472 * elf/Makefile: Fix linking for a few tests to make recent linker
94473 happy.
94474
94475 2010-06-30 Andreas Schwab <schwab@redhat.com>
94476
94477 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
94478 $(common-objpfx)libc_nonshared.a.
94479
94480 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
94481
94482 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
94483 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
94484 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
94485 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
94486 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
94487 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
94488 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
94489 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
94490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
94491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
94492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
94493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
94494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
94495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
94496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
94497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
94498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
94499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
94500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
94501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
94502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
94503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
94504 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
94505 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
94506 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
94507 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
94508 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
94509 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
94510 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
94511 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
94512 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
94513 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
94514 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
94515 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
94516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
94517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
94518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
94519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
94520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
94521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
94522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
94523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
94524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
94525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
94526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
94527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
94528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
94529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
94530
94531 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
94532
94533 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
94534 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
94535 * string/memmove.c (memmove): Renamed to ...
94536 (MEMMOVE): ...this. Default to memmove.
94537 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
94538 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
94539 (END_CHK): Define.
94540 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
94541 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
94542 mempcpy-ssse3-back memmove-ssse3-back.
94543 * sysdeps/x86_64/multiarch/bcopy.S: New file .
94544 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
94545 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
94546 * sysdeps/x86_64/multiarch/memcpy.S: New file.
94547 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
94548 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
94549 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
94550 * sysdeps/x86_64/multiarch/memmove.c: New file.
94551 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
94552 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
94553 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
94554 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
94555 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
94556 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
94557 Define.
94558 (index_Fast_Copy_Backward): Define.
94559 (HAS_ARCH_FEATURE): Define.
94560 (HAS_FAST_REP_STRING): Define.
94561 (HAS_FAST_COPY_BACKWARD): Define.
94562
94563 2010-06-21 Andreas Schwab <schwab@redhat.com>
94564
94565 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
94566 Restore proper fallback handling.
94567
94568 2010-06-19 Ulrich Drepper <drepper@redhat.com>
94569
94570 [BZ #11701]
94571 * posix/group_member.c (__group_member): Correct checking loop.
94572
94573 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
94574 OOM in getpwuid_r correctly. Return error number when the caller
94575 should return, otherwise -1.
94576 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
94577 call returning > 0 value.
94578 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
94579
94580 2010-06-07 Andreas Schwab <schwab@redhat.com>
94581
94582 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
94583 libc_nonshared.a from targets in modules-names.
94584
94585 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
94586
94587 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
94588 requires it.
94589
94590 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
94591
94592 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
94593 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
94594 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
94595 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
94596
94597 2010-06-02 Andreas Schwab <schwab@redhat.com>
94598
94599 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
94600
94601 2010-06-14 Ulrich Drepper <drepper@redhat.com>
94602
94603 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
94604 and F_GETPIPE_SZ.
94605 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94606 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94607 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94608 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94609 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94610 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94611
94612 2010-06-14 Roland McGrath <roland@redhat.com>
94613
94614 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
94615
94616 2010-06-07 Jakub Jelinek <jakub@redhat.com>
94617
94618 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
94619 __REDIRECT followed by __THROW.
94620 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
94621 * posix/getopt.h (getopt): Likewise.
94622
94623 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
94624
94625 * hurd/lookup-at.c (__file_name_lookup_at): Accept
94626 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
94627 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
94628 in AT_FLAGS.
94629 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
94630 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
94631
94632 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
94633
94634 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
94635
94636 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
94637
94638 [BZ #11640]
94639 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94640 Properly check family and model.
94641
94642 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
94643
94644 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
94645
94646 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
94647
94648 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
94649
94650 2010-05-21 Ulrich Drepper <drepper@redhat.com>
94651
94652 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
94653 symbol reference.
94654
94655 2010-05-19 Andreas Schwab <schwab@redhat.com>
94656
94657 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
94658 symbol reference.
94659
94660 2010-05-21 Andreas Schwab <schwab@redhat.com>
94661
94662 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
94663 and internal_recvmmsg.
94664 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
94665 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
94666 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
94667 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
94668
94669 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
94670 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
94671 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
94672
94673 2010-05-20 Andreas Schwab <schwab@redhat.com>
94674
94675 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
94676
94677 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
94678
94679 POWER7 optimizations.
94680 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
94681 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
94682
94683 2010-05-19 Ulrich Drepper <drepper@redhat.com>
94684
94685 * version.h: Update for 2.13 development version.
94686
94687 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
94688
94689 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
94690 exceptions. Return 0.
94691
94692 2010-05-07 Roland McGrath <roland@redhat.com>
94693
94694 * elf/ldconfig.c (main): Add a const.
94695
94696 2010-05-06 Ulrich Drepper <drepper@redhat.com>
94697
94698 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
94699 (args_options): Add no-idn option.
94700 (ahosts_keys_int): Add idn_flags to ai_flags.
94701 (parse_option): Handle 'i' option to clear idn_flags.
94702
94703 * malloc/malloc.c (_int_free): Possible race in the most recently
94704 added check. Only act on the data if no current modification
94705 happened.
94706
94707 See ChangeLog.17 for earlier changes.